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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x214]
push ebx
sub esp, 0x3fc
mov eax, dword [sym.imp.user32.dll_DefWindowProcW]
mov dword [ebp - 0x214], 0x30
mov dword [ebp - 0x210], 3
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x204], 0
mov dword [ebp - 0x200], 0
mov dword [ebp - 0x1fc], 0
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
call dword [sym.imp.user32.dll_LoadCursorW]
mov dword [ebp - 0x1f4], 6
sub esp, 8
mov dword [ebp - 0x1f8], eax
mov dword [ebp - 0x1f0], 0
mov dword [ebp - 0x1ec], str.class_rundll32
mov dword [ebp - 0x1e8], 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 - 0x3ac], eax
sub esp, 0x30
test byte [0x404020], 8
jne 0x402500
lea eax, [ebp + 0x10]
call sym._get_next_arg
mov ebx, eax
test eax, eax
je 0x4024d0
cmp word [eax], 0
je 0x4024d0
test byte [0x404020], 8
jne 0x402538
mov dword [esp + 4], 0x2c
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcschr]
test eax, eax
je 0x4026e0
lea ecx, [eax + 2]
xor edi, edi
mov dword [ebp - 0x3b4], ecx
mov word [eax], di
test byte [0x404020], 8
jne 0x402770
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 0x4027b0
mov dword [ebp - 0x3b0], 0xffffffff
mov dword [ebp - 0x3c0], 0
mov eax, dword [sym.imp.kernel32.dll_LoadLibraryW]
mov dword [esp], ebx
mov dword [ebp - 0x3c8], eax
call eax
mov dword [ebp - 0x3b8], eax
sub esp, 4
test eax, eax
je 0x402840
mov eax, dword [ebp - 0x3b4]
cmp word [eax], 0x23
je 0x402b40
mov edx, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0x3b4]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [ebp - 0x3bc], 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 esi, eax
sub esp, 0x20
lea ecx, [esi + 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 - 0x3bc]
sub esp, 0xc
test eax, eax
mov edi, eax
je 0x402ae0
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x3b4]
mov dword [esp + 0x14], esi
mov esi, 0x57
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], edi
call sym._strlen
mov word [edi + eax], si
mov eax, dword [ebp - 0x3b8]
mov esi, 1
mov dword [esp + 4], edi
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [ebp - 0x3c4], eax
call eax
mov dword [ebp - 0x3bc], eax
sub esp, 8
test eax, eax
je 0x402cb0
mov dword [esp + 8], edi
mov edi, 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 edi
mov dword [ebp - 0x3cc], 0
sub esp, 0xc
mov ecx, dword [ebp - 0x3bc]
test ecx, ecx
je 0x402ae6
lea eax, [ebp - 0x384]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x358], 1
je 0x402570
mov eax, dword [ebp + 0x10]
test esi, esi
je 0x402587
test byte [0x404020], 8
jne 0x4026f8
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
movzx edx, word [ebp - 0x354]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x3ac]
mov dword [esp + 0x10], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3bc]
mov dword [esp], eax
call sym._call_entry_point
mov eax, dword [ebp - 0x3ac]
test eax, eax
je 0x402453
mov dword [esp], eax
call dword [sym.imp.user32.dll_DestroyWindow]
sub esp, 4
mov eax, dword [ebp - 0x3b8]
test eax, eax
je 0x402469
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
sub esp, 4
mov edx, dword [ebp - 0x3c0]
test edx, edx
je 0x40248d
mov eax, dword [ebp - 0x3a8]
mov dword [esp], 0
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_DeactivateActCtx]
sub esp, 8
mov eax, dword [ebp - 0x3b0]
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 edi
xor eax, eax
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword [ebp - 0x3ac]
test eax, eax
je 0x4024e6
mov dword [esp], eax
call dword [sym.imp.user32.dll_DestroyWindow]
sub esp, 4
mov dword [ebp - 0x3b0], 0xffffffff
mov edi, dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x40248d
mov eax, dword [ebp + 0x10]
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 0x4021b6
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 0x4021df
mov edx, 0xa
mov eax, dword [ebp + 0x10]
mov word [ebp - 0x354], dx
test esi, esi
jne 0x402402
mov edx, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
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
sub esp, 0x20
mov esi, eax
mov dword [esp + 8], esi
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 dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x3d0], eax
sub esp, 0xc
test eax, eax
je 0x40243d
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x1c], 0
mov edx, dword [ebp - 0x3d4]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call edx
sub esp, 0x20
test byte [0x404020], 8
jne 0x402d28
mov ecx, dword [ebp - 0x3cc]
test ecx, ecx
je 0x402c40
mov dword [esp], str.shell32.dll
mov eax, dword [ebp - 0x3c8]
call eax
sub esp, 4
test eax, eax
je 0x402ca0
mov dword [esp], eax
mov eax, dword [ebp - 0x3c4]
mov dword [esp + 4], 0x7a
call eax
mov dword [0x4040e8], eax
sub esp, 8
test eax, eax
je 0x402c74
movzx edx, word [ebp - 0x354]
mov ecx, dword [ebp - 0x3d0]
mov dword [esp + 0x10], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp - 0x3ac]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x3bc]
mov dword [esp + 4], ecx
mov dword [esp], edx
call eax
sub esp, 0x14
jmp 0x402c74
lea eax, [ebp + 0x10]
call sym._get_next_arg
mov dword [ebp - 0x3b4], eax
jmp 0x402206
movzx ecx, word [ebp - 0x354]
mov word [ebp - 0x3c4], cx
call sym._wine_dbgstr_wn.constprop.0
mov esi, eax
mov eax, dword [ebp - 0x3b4]
call sym._wine_dbgstr_wn.constprop.0
movzx edx, word [ebp - 0x3c4]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0xc], str.Calling__s___p__p__s__d__n
mov dword [esp + 0x18], edx
mov edx, dword [ebp - 0x3ac]
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
mov eax, dword [ebp + 0x10]
jmp 0x40240f
mov eax, dword [ebp - 0x3b4]
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 0x402213
lea eax, [ebp - 0x3a4]
mov dword [ebp - 0x39c], esi
mov dword [ebp - 0x398], 0
mov dword [ebp - 0x394], 0
mov dword [ebp - 0x38c], 0
mov dword [ebp - 0x388], 0
mov dword [ebp - 0x3a4], 0x20
mov dword [ebp - 0x390], 0x7b
mov dword [ebp - 0x3a0], 8
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CreateActCtxW]
mov dword [ebp - 0x3b0], eax
sub esp, 4
mov ecx, eax
cmp eax, 0xffffffff
je 0x402ba0
lea eax, [ebp - 0x3a8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_ActivateActCtx]
mov dword [ebp - 0x3c0], eax
sub esp, 8
jmp 0x40225f
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 - 0x3bc], eax
call eax
sub esp, 0x20
mov dword [ebp - 0x3c4], eax
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov esi, dword fs:[0x18]
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x3d0], eax
call eax
mov ecx, dword [ebp - 0x3c4]
sub esp, 0xc
test eax, eax
mov edi, eax
je 0x402fa8
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x3bc]
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 - 0x3d4], 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 - 0x3c4], eax
call eax
sub esp, 8
test eax, eax
je 0x402bf0
mov dword [esp], edi
call eax
sub esp, 4
mov word [ebp - 0x3cc], ax
mov dword [esp + 8], edi
mov edi, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
sub esp, 0xc
cmp word [ebp - 0x3cc], 0x20
jbe 0x402c10
mov eax, dword [ebp - 0x3b4]
mov edx, dword [ebp - 0x3bc]
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 - 0x3d0]
sub esp, 0x20
mov dword [ebp - 0x3d8], eax
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ecx
sub esp, 0xc
test eax, eax
je 0x402ae6
mov ecx, dword [ebp - 0x3d8]
mov edx, dword [ebp - 0x3bc]
mov dword [esp + 0x10], eax
mov dword [ebp - 0x3d0], eax
mov eax, dword [ebp - 0x3b4]
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 - 0x3d4]
sub esp, 0x20
mov dword [esp], str.kernel32.dll
call eax
sub esp, 4
mov dword [esp], eax
mov eax, dword [ebp - 0x3c4]
mov dword [esp + 4], 0x25
call eax
mov edx, dword [ebp - 0x3d0]
sub esp, 8
test eax, eax
mov esi, eax
je 0x402aa1
movzx eax, word [ebp - 0x3cc]
mov dword [esp + 4], edx
mov dword [ebp - 0x3bc], edx
mov dword [esp], eax
call esi
mov edx, dword [ebp - 0x3bc]
sub esp, 8
mov esi, 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 edi
mov dword [ebp - 0x3bc], esi
xor esi, esi
mov dword [ebp - 0x3cc], 1
sub esp, 0xc
jmp 0x4023ca
mov edi, dword [sym.imp.kernel32.dll_HeapFree]
test byte [0x404020], 2
je 0x40243d
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0
mov esi, eax
mov eax, dword [ebp - 0x3b4]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0x14], esi
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 0x40243d
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 0x402ae0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3b8]
mov esi, 1
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [ebp - 0x3c4], eax
call eax
mov edi, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x3cc], 0
mov dword [ebp - 0x3bc], eax
sub esp, 8
jmp 0x4023ca
test byte [0x404020], 8
je 0x40224b
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 - 0x3c0], 0
jmp 0x40225f
mov dword [esp + 8], edi
mov edi, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
sub esp, 0xc
test byte [0x404020], 2
jne 0x402eb0
mov eax, dword [ebp - 0x3ac]
test eax, eax
je 0x402469
mov dword [esp], eax
call dword [sym.imp.user32.dll_DestroyWindow]
sub esp, 4
jmp 0x402469
movzx eax, word [ebp - 0x354]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x3d0]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x3ac]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3bc]
mov dword [esp], eax
call sym._call_entry_point
mov edx, dword [ebp - 0x3d0]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
sub esp, 0xc
jmp 0x40243d
mov eax, dword [0x4040e8]
jmp 0x402698
mov edx, dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp], edi
xor esi, esi
mov dword [ebp - 0x3cc], edx
call edx
mov byte [edi + eax - 1], 0x41
mov eax, dword [ebp - 0x3b8]
mov dword [esp + 4], edi
mov dword [esp], eax
mov eax, dword [ebp - 0x3c4]
call eax
mov edx, dword [ebp - 0x3cc]
sub esp, 8
test eax, eax
mov dword [ebp - 0x3bc], eax
jne 0x40239a
mov dword [esp], edi
call edx
mov byte [edi + eax - 1], 0
mov eax, dword [ebp - 0x3b8]
mov dword [esp + 4], edi
mov dword [esp], eax
mov eax, dword [ebp - 0x3c4]
call eax
mov dword [ebp - 0x3bc], eax
sub esp, 8
jmp 0x40239a
movzx eax, word [ebp - 0x354]
mov dword [ebp - 0x3d4], eax
mov eax, dword [ebp - 0x3d0]
shr eax, 0x10
je 0x402f68
mov esi, dword [ebp - 0x3d0]
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
mov esi, str._invalid_
call dword [sym.imp.kernel32.dll_IsBadStringPtrA]
sub esp, 8
mov ecx, eax
test eax, eax
jne 0x402e54
mov esi, dword [ebp - 0x3d0]
movzx eax, byte [esi]
test al, al
je 0x402f8e
nop
mov edx, ecx
lea ecx, [ecx + 1]
cmp byte [esi + edx + 1], 0
jne 0x402d80
mov byte [ebp - 0x340], 0x22
test ecx, ecx
jle 0x402fb3
mov ecx, dword [ebp - 0x3d0]
mov dword [ebp - 0x3d8], ebx
lea esi, [ebp - 0x33f]
mov ebx, ecx
jmp 0x402dee
cmp al, 9
je 0x402f00
cmp al, 0xa
jne 0x402f19
mov eax, 0x6e5c
add esi, 2
mov word [esi - 2], ax
lea esi, [esi]
lea eax, [ebp - 0x21d]
lea ecx, [edx - 1]
cmp esi, eax
ja 0x402e20
test edx, edx
jle 0x402e20
movzx eax, byte [ebx]
mov edx, ecx
inc ebx
cmp al, 0xd
je 0x402ee8
jle 0x402db8
cmp al, 0x22
je 0x402f50
cmp al, 0x5c
jne 0x402f11
mov eax, 0x5c5c
add esi, 2
mov word [esi - 2], ax
jmp 0x402dd8
mov ebx, dword [ebp - 0x3d8]
mov byte [esi], 0x22
test ecx, ecx
jle 0x402fa0
mov edx, 0x2e2e
mov byte [esi + 3], 0x2e
lea eax, [esi + 4]
mov word [esi + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x340]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov esi, eax
mov eax, dword [ebp - 0x3b4]
call sym._wine_dbgstr_wn.constprop.0
mov ecx, dword [ebp - 0x3d4]
mov edx, dword [ebp + 8]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp - 0x3ac]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], str.Calling__s___p__p__s__d__n
mov dword [esp + 8], str.wWinMain
mov dword [esp + 4], 0x404020
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x402655
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 0x402c1d
mov eax, 0x725c
add esi, 2
mov word [esi - 2], ax
jmp 0x402dd8
mov eax, 0x745c
add esi, 2
mov word [esi - 2], ax
jmp 0x402dd8
lea ecx, [eax - 0x20]
cmp cl, 0x5e
jbe 0x402f86
mov ecx, 0x785c
add esi, 4
mov word [esi - 4], cx
mov ecx, eax
and eax, 0xf
shr cl, 4
movzx eax, byte [eax + str.0123456789abcdefGCC:__GNU__10.3.0]
movzx ecx, cl
movzx ecx, byte [ecx + str.0123456789abcdefGCC:__GNU__10.3.0]
mov byte [esi - 1], al
mov byte [esi - 2], cl
jmp 0x402dd8
mov eax, 0x225c
add esi, 2
mov word [esi - 2], ax
jmp 0x402dd8
movzx eax, word [ebp - 0x3d0]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
mov esi, eax
jmp 0x402e54
mov byte [esi], al
inc esi
jmp 0x402dd8
mov eax, 0x2222
lea esi, [ebp - 0x33f]
mov word [ebp - 0x340], ax
lea eax, [esi + 1]
jmp 0x402e41
mov edi, dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x402c10
mov ecx, edx
lea esi, [ebp - 0x33f]
jmp 0x402e26