Function at 0x402090
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x220]
push ebx
push ecx
sub esp, 0x418
mov eax, dword [ecx]
mov dword [ebp - 0x3bc], ecx
mov dword [ebp - 0x220], 0x30
mov dword [ebp - 0x3cc], eax
mov eax, dword [sym.imp.user32.dll_DefWindowProcW]
mov dword [ebp - 0x21c], 3
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x208], 0
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
call dword [sym.imp.user32.dll_LoadCursorW]
mov dword [ebp - 0x200], 6
sub esp, 8
mov dword [ebp - 0x204], eax
mov dword [ebp - 0x1fc], 0
mov dword [ebp - 0x1f8], str.class_rundll32
mov dword [ebp - 0x1f4], 0
mov dword [esp], esi
call dword [sym.imp.user32.dll_RegisterClassExW]
sub esp, 4
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0x80000000
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x80000000
mov dword [esp + 0xc], 0x10cf0000
mov dword [esp + 8], str.rundll32
mov dword [esp + 4], str.class_rundll32
mov dword [esp], 0
call dword [sym.imp.user32.dll_CreateWindowExW]
mov dword [ebp - 0x3c0], eax
sub esp, 0x30
test byte [0x404020], 8
jne 0x402530
mov eax, dword [ebp - 0x3bc]
lea edi, [eax + 8]
mov eax, edi
call sym._get_next_arg
mov ebx, eax
test eax, eax
je 0x402508
cmp word [eax], 0
je 0x402508
test byte [0x404020], 8
jne 0x402570
mov dword [esp + 4], 0x2c
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcschr]
test eax, eax
je 0x402728
lea edx, [eax + 2]
xor edi, edi
mov dword [ebp - 0x3c8], edx
mov word [eax], di
test byte [0x404020], 8
jne 0x4027b0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x104
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_SearchPathW]
sub esp, 0x18
test eax, eax
jne 0x4027f0
mov dword [ebp - 0x3c4], 0xffffffff
mov dword [ebp - 0x3d8], 0
mov eax, dword [sym.imp.kernel32.dll_LoadLibraryW]
mov dword [esp], ebx
mov dword [ebp - 0x3e0], eax
call eax
mov dword [ebp - 0x3d0], eax
sub esp, 4
test eax, eax
je 0x402880
mov eax, dword [ebp - 0x3c8]
cmp word [eax], 0x23
je 0x402b80
mov edx, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0x3c8]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [ebp - 0x3d4], edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call edx
mov edi, eax
sub esp, 0x20
lea ecx, [edi + 1]
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov edx, dword [ebp - 0x3d4]
sub esp, 0xc
test eax, eax
mov esi, eax
je 0x402b20
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x3c8]
mov dword [esp + 0x14], edi
mov edi, 1
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call edx
sub esp, 0x20
mov dword [esp], esi
call sym._strlen
mov ecx, 0x57
mov word [esi + eax], cx
mov eax, dword [ebp - 0x3d0]
mov dword [esp + 4], esi
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [ebp - 0x3dc], eax
call eax
mov dword [ebp - 0x3d4], eax
sub esp, 8
test eax, eax
je 0x402cf0
mov dword [esp + 8], esi
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov dword [ebp - 0x3e4], 0
sub esp, 0xc
mov edx, dword [ebp - 0x3d4]
test edx, edx
je 0x402b26
lea eax, [ebp - 0x390]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x364], 1
je 0x4025a8
mov eax, dword [ebp - 0x3bc]
mov eax, dword [eax + 8]
test edi, edi
je 0x4025c5
test byte [0x404020], 8
jne 0x402740
movzx eax, word [ebp - 0x360]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x3bc]
mov eax, dword [eax + 8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x3cc]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x3c0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3d4]
mov dword [esp], eax
call sym._call_entry_point
mov eax, dword [ebp - 0x3c0]
test eax, eax
je 0x402486
mov dword [esp], eax
call dword [sym.imp.user32.dll_DestroyWindow]
sub esp, 4
mov eax, dword [ebp - 0x3d0]
test eax, eax
je 0x40249c
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
sub esp, 4
mov edx, dword [ebp - 0x3d8]
test edx, edx
je 0x4024c0
mov eax, dword [ebp - 0x3b4]
mov dword [esp], 0
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_DeactivateActCtx]
sub esp, 8
mov eax, dword [ebp - 0x3c4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ReleaseActCtx]
sub esp, 4
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
xor eax, eax
sub esp, 0xc
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov eax, dword [ebp - 0x3c0]
test eax, eax
je 0x40251e
mov dword [esp], eax
call dword [sym.imp.user32.dll_DestroyWindow]
sub esp, 4
mov dword [ebp - 0x3c4], 0xffffffff
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x4024c0
mov eax, dword [ebp - 0x3bc]
mov eax, dword [eax + 8]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.CmdLine_s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.wWinMain
mov dword [esp + 4], 0x404020
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x4021cf
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.DllName_s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.wWinMain
mov dword [esp + 4], 0x404020
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x402200
mov eax, 0xa
mov word [ebp - 0x360], ax
mov eax, dword [ebp - 0x3bc]
mov eax, dword [eax + 8]
test edi, edi
jne 0x402429
mov edx, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [ebp - 0x3ec], edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call edx
sub esp, 0x20
mov ecx, eax
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x3e8], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x402470
mov dword [esp + 0x10], eax
mov ecx, dword [ebp - 0x3e8]
mov eax, dword [ebp - 0x3bc]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov edx, dword [ebp - 0x3ec]
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [eax + 8]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], 0
call edx
sub esp, 0x20
test byte [0x404020], 8
jne 0x402d68
mov ecx, dword [ebp - 0x3e4]
test ecx, ecx
je 0x402c80
mov dword [esp], str.shell32.dll
mov eax, dword [ebp - 0x3e0]
call eax
sub esp, 4
test eax, eax
je 0x402ce0
mov dword [esp], eax
mov eax, dword [ebp - 0x3dc]
mov dword [esp + 4], 0x7a
call eax
mov dword [0x4040e8], eax
sub esp, 8
test eax, eax
je 0x402cb1
movzx edx, word [ebp - 0x360]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
mov edx, dword [ebp - 0x3cc]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x3c0]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x3d4]
mov dword [esp], edx
call eax
sub esp, 0x14
jmp 0x402cb1
mov eax, edi
call sym._get_next_arg
mov dword [ebp - 0x3c8], eax
jmp 0x402227
movzx edi, word [ebp - 0x360]
call sym._wine_dbgstr_wn.constprop.0
mov dword [ebp - 0x3dc], eax
mov eax, dword [ebp - 0x3c8]
call sym._wine_dbgstr_wn.constprop.0
mov edx, dword [ebp - 0x3dc]
mov dword [esp + 0x20], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], edx
mov edx, dword [ebp - 0x3cc]
mov dword [esp + 0xc], str.Calling__s___p__p__s__d__n
mov dword [esp + 0x18], edx
mov edx, dword [ebp - 0x3c0]
mov dword [esp + 8], str.wWinMain
mov dword [esp + 0x14], edx
mov dword [esp + 4], 0x404020
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x402436
mov eax, dword [ebp - 0x3c8]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.EntryPoint_s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.wWinMain
mov dword [esp + 4], 0x404020
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x402234
lea eax, [ebp - 0x3b0]
mov dword [ebp - 0x3a8], esi
mov dword [ebp - 0x3a4], 0
mov dword [ebp - 0x3a0], 0
mov dword [ebp - 0x398], 0
mov dword [ebp - 0x394], 0
mov dword [ebp - 0x3b0], 0x20
mov dword [ebp - 0x39c], 0x7b
mov dword [ebp - 0x3ac], 8
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CreateActCtxW]
mov dword [ebp - 0x3c4], eax
sub esp, 4
mov edx, eax
cmp eax, 0xffffffff
je 0x402be0
lea eax, [ebp - 0x3b4]
mov dword [esp], edx
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_ActivateActCtx]
mov dword [ebp - 0x3d8], eax
sub esp, 8
jmp 0x402280
mov eax, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x3d4], eax
call eax
sub esp, 0x20
mov dword [ebp - 0x3dc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edi, dword fs:[0x18]
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x3e8], eax
call eax
mov ecx, dword [ebp - 0x3dc]
sub esp, 0xc
test eax, eax
mov esi, eax
je 0x402ff8
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x3d4]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], 0
call eax
mov eax, dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 0x20
mov dword [esp], str.kernel32.dll
mov dword [ebp - 0x3ec], eax
call eax
sub esp, 4
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [esp + 4], 0x23
mov dword [ebp - 0x3dc], eax
call eax
sub esp, 8
test eax, eax
je 0x402c30
mov dword [esp], esi
call eax
sub esp, 4
mov word [ebp - 0x3e4], ax
mov dword [esp + 8], esi
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
cmp word [ebp - 0x3e4], 0x20
jbe 0x402c50
mov eax, dword [ebp - 0x3c8]
mov edx, dword [ebp - 0x3d4]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call edx
mov ecx, dword [ebp - 0x3e8]
sub esp, 0x20
mov dword [ebp - 0x3f0], eax
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ecx
sub esp, 0xc
test eax, eax
je 0x402b26
mov ecx, dword [ebp - 0x3f0]
mov edx, dword [ebp - 0x3d4]
mov dword [esp + 0x10], eax
mov dword [ebp - 0x3e8], eax
mov eax, dword [ebp - 0x3c8]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call edx
mov eax, dword [ebp - 0x3ec]
sub esp, 0x20
mov dword [esp], str.kernel32.dll
call eax
sub esp, 4
mov dword [esp], eax
mov eax, dword [ebp - 0x3dc]
mov dword [esp + 4], 0x25
call eax
mov edx, dword [ebp - 0x3e8]
sub esp, 8
test eax, eax
mov edi, eax
je 0x402ae1
movzx eax, word [ebp - 0x3e4]
mov dword [esp + 4], edx
mov dword [ebp - 0x3d4], edx
mov dword [esp], eax
call edi
mov edx, dword [ebp - 0x3d4]
sub esp, 8
mov edi, eax
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov dword [ebp - 0x3d4], edi
xor edi, edi
mov dword [ebp - 0x3e4], 1
sub esp, 0xc
jmp 0x4023eb
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
test byte [0x404020], 2
je 0x402470
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0
mov edi, eax
mov eax, dword [ebp - 0x3c8]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Unable_to_find_the_entry_point__s_in__s_n
mov dword [esp + 8], str.wWinMain
mov dword [esp + 4], 0x404020
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x402470
add eax, 2
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcstol]
test eax, eax
jle 0x402b20
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3d0]
mov edi, 1
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [ebp - 0x3dc], eax
call eax
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x3e4], 0
mov dword [ebp - 0x3d4], eax
sub esp, 8
jmp 0x4023eb
test byte [0x404020], 8
je 0x40226c
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.No_manifest_at_ID_123_in__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.wWinMain
mov dword [esp + 4], 0x404020
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov dword [ebp - 0x3d8], 0
jmp 0x402280
mov dword [esp + 8], esi
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
test byte [0x404020], 2
jne 0x402f00
mov eax, dword [ebp - 0x3c0]
test eax, eax
je 0x40249c
mov dword [esp], eax
call dword [sym.imp.user32.dll_DestroyWindow]
sub esp, 4
jmp 0x40249c
movzx eax, word [ebp - 0x360]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x3cc]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x3c0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3d4]
mov dword [esp], eax
call sym._call_entry_point
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
jmp 0x402470
mov eax, dword [0x4040e8]
jmp 0x4026e4
mov edx, dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp], esi
xor edi, edi
mov dword [ebp - 0x3e4], edx
call edx
mov byte [esi + eax - 1], 0x41
mov eax, dword [ebp - 0x3d0]
mov dword [esp + 4], esi
mov dword [esp], eax
mov eax, dword [ebp - 0x3dc]
call eax
mov edx, dword [ebp - 0x3e4]
sub esp, 8
test eax, eax
mov dword [ebp - 0x3d4], eax
jne 0x4023bb
mov dword [esp], esi
call edx
mov byte [esi + eax - 1], 0
mov eax, dword [ebp - 0x3d0]
mov dword [esp + 4], esi
mov dword [esp], eax
mov eax, dword [ebp - 0x3dc]
call eax
mov dword [ebp - 0x3d4], eax
sub esp, 8
jmp 0x4023bb
movzx eax, word [ebp - 0x360]
mov dword [ebp - 0x3e8], eax
mov eax, edi
shr eax, 0x10
je 0x402fb8
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrA]
mov dword [ebp - 0x3bc], str._invalid_
sub esp, 8
mov ecx, eax
test eax, eax
jne 0x402ea0
movzx eax, byte [edi]
test al, al
je 0x402fde
lea esi, [esi]
nop
mov edx, ecx
lea ecx, [ecx + 1]
cmp byte [edi + edx + 1], 0
jne 0x402db8
mov byte [ebp - 0x34c], 0x22
test ecx, ecx
jle 0x403003
mov dword [ebp - 0x3bc], edi
lea ecx, [ebp - 0x34b]
mov dword [ebp - 0x3ec], ebx
mov dword [ebp - 0x3f0], edi
jmp 0x402e2c
cmp al, 9
je 0x402f50
cmp al, 0xa
jne 0x402f6b
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea esi, [esi]
lea eax, [ebp - 0x229]
lea edi, [edx - 1]
cmp ecx, eax
ja 0x402e60
test edx, edx
jle 0x402e60
mov eax, dword [ebp - 0x3bc]
mov edx, edi
movzx eax, byte [eax]
inc dword [ebp - 0x3bc]
cmp al, 0xd
je 0x402f38
jle 0x402df0
cmp al, 0x22
je 0x402fa0
cmp al, 0x5c
jne 0x402f61
mov edi, 0x5c5c
add ecx, 2
mov word [ecx - 2], di
jmp 0x402e10
mov eax, edi
mov ebx, dword [ebp - 0x3ec]
mov edi, dword [ebp - 0x3f0]
mov byte [ecx], 0x22
test eax, eax
jle 0x402ff0
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x34c]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov dword [ebp - 0x3bc], eax
mov eax, dword [ebp - 0x3c8]
call sym._wine_dbgstr_wn.constprop.0
mov ecx, dword [ebp - 0x3e8]
mov edx, dword [ebp - 0x3bc]
mov dword [esp + 0xc], str.Calling__s___p__p__s__d__n
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp - 0x3cc]
mov dword [esp + 0x1c], edx
mov edx, dword [ebp - 0x3c0]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 8], str.wWinMain
mov dword [esp + 4], 0x404020
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x4026a1
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.Unable_to_load__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.wWinMain
mov dword [esp + 4], 0x404020
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x402c5d
mov eax, GetModuleHandleW
add ecx, 2
mov word [ecx - 2], ax
jmp 0x402e10
mov eax, fwrite
add ecx, 2
mov word [ecx - 2], ax
jmp 0x402e10
lea edi, [eax - 0x20]
mov ebx, edi
cmp bl, 0x5e
jbe 0x402fd6
mov ebx, 0x785c
add ecx, 4
mov word [ecx - 4], bx
mov ebx, eax
and eax, 0xf
shr bl, 4
movzx eax, byte [eax + str.0123456789abcdefGCC:__GNU__10.3.0]
movzx edi, bl
movzx ebx, byte [edi + str.0123456789abcdefGCC:__GNU__10.3.0]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x402e10
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x402e10
movzx eax, di
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
mov dword [ebp - 0x3bc], eax
jmp 0x402ea0
mov byte [ecx], al
inc ecx
jmp 0x402e10
mov eax, 0x2222
lea ecx, [ebp - 0x34b]
mov word [ebp - 0x34c], ax
lea eax, [ecx + 1]
jmp 0x402e89
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x402c50
mov eax, edx
lea ecx, [ebp - 0x34b]
jmp 0x402e6e