Description
I replaced our syssetup with the one from Windows at the end of 1st stage. It also needed sfcfiles.dll to be copied into system32. Upon starting 2nd stage, we see in the log:
WARNING: calling stub pSetupMalloc()
(dll/win32/kernel32/client/except.c:721) Missing function in : setupapi.dll
(dll/win32/kernel32/client/except.c:722) with the functionname : pSetupMalloc
We have it as a stub while Wine forwards it to another function. Would be a good place to start. https://github.com/wine-mirror/wine/blob/e2ebc0dc23f0fa04ea79cefc9e3d2faf189a6bf7/dlls/setupapi/setupapi.spec#L576