Closed maximilien-noal closed 3 years ago
Thanks for reporting this. Could you supply the binary that triggered the problem?
Here it is: RUNEXIT.reko.zip
The latest official release is rather old tho. Please try the latest nightly build from appveyor instead or build it yourself
Will do !
I've reproduced this on master
. I'm working on a fix.
After 1869cc5, I see this:
void fn00401000()
{
word32 ecx_143;
word32 * edi_140 = fp - 0x44;
for (ecx_143 = 0x11; ecx_143 != 0x00; --ecx_143)
{
*edi_140 = 0x00;
++edi_140;
}
CreateProcessA(&g_t40402C, 0x00, null, null, 0x00, 0x00, 0x00, &g_t40404C, fp - 0x44, fp - 0x54);
Sleep(5000);
Eq_38 eax_65 = FindWindowA(&g_t404020, null);
SetForegroundWindow(eax_65);
MoveWindow(eax_65, 0x00, 0x00, 0x0280, 0x01E0, 0x01);
SetActiveWindow(eax_65);
PostMessageA(eax_65, 0x0111, 0x012D, 0x00);
CloseHandle(null);
CloseHandle(null);
while (true)
{
if (FindWindowA(&g_t404020, null) != null)
Sleep(400);
else
ExitWindowsEx(0x00, 0x00);
}
}
Full sourcecode of the Win32s C++ console program :
function output (there is a lot more output than that, of course) :
Reko diagnostics after 'Finish decompilation':
Reko version 0.9.2.0 (latest official release).
Compiled with Microsoft Visual C++ 4.1 on Windows 10 x64 20H2, Release mode.