Function at 0x401560
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, 0x400
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 [section..data], 8
jne 0x4019e8
lea eax, [ebp + 0x10]
call dbg.get_next_arg
mov ebx, eax
test eax, eax
je 0x4019b8
cmp word [eax], 0
je 0x4019b8
test byte [section..data], 8
jne 0x401a20
mov dword [esp + 4], 0x2c
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcschr]
test eax, eax
je 0x401bc0
lea ecx, [eax + 2]
xor edi, edi
mov dword [ebp - 0x3b0], ecx
mov word [eax], di
test byte [section..data], 8
jne 0x401c48
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 0x401c80
mov dword [ebp - 0x3bc], 0xffffffff
mov dword [ebp - 0x3c4], 0
mov eax, dword [sym.imp.kernel32.dll_LoadLibraryW]
mov dword [esp], ebx
mov dword [ebp - 0x3cc], eax
call eax
mov dword [ebp - 0x3b4], eax
sub esp, 4
test eax, eax
je 0x401d10
mov eax, dword [ebp - 0x3b0]
cmp word [eax], 0x23
je 0x401fa0
mov dword [esp + 0x1c], 0
mov edx, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [ebp - 0x3b0]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], 0
mov dword [ebp - 0x3b8], edx
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]
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x402368
mov dword [esp + 0x14], esi
mov esi, 1
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [ebp - 0x3b0]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], 0
mov edx, dword [ebp - 0x3b8]
call edx
sub esp, 0x20
mov dword [esp], edi
call sym._strlen
mov edx, 0x57
mov word [edi + eax], dx
mov dword [esp + 4], edi
mov eax, dword [ebp - 0x3b4]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [ebp - 0x3c8], eax
call eax
mov dword [ebp - 0x3c0], eax
sub esp, 8
test eax, eax
je 0x402180
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
mov eax, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x3b8], eax
call eax
mov dword [ebp - 0x3d0], 0
sub esp, 0xc
mov eax, dword [ebp - 0x3c0]
test eax, eax
je 0x402010
lea eax, [ebp - 0x384]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x358], 1
je 0x401a58
mov edi, dword [ebp + 0x10]
test esi, esi
je 0x401a6f
test byte [section..data], 8
jne 0x401bd8
movzx eax, word [ebp - 0x354]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 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 - 0x3c0]
mov dword [esp], eax
call sym._call_entry_point
mov ecx, dword [ebp - 0x3ac]
test ecx, ecx
je 0x40192e
mov eax, dword [ebp - 0x3ac]
mov dword [esp], eax
call dword [sym.imp.user32.dll_DestroyWindow]
sub esp, 4
mov edx, dword [ebp - 0x3b4]
test edx, edx
je 0x40194a
mov eax, dword [ebp - 0x3b4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
sub esp, 4
mov eax, dword [ebp - 0x3c4]
test eax, eax
je 0x40196e
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 - 0x3bc]
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
mov eax, dword [ebp - 0x3b8]
call eax
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 0x4019ce
mov dword [esp], eax
call dword [sym.imp.user32.dll_DestroyWindow]
sub esp, 4
mov dword [ebp - 0x3bc], 0xffffffff
mov eax, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x3b8], eax
jmp 0x40196e
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], 0x406128
mov dword [esp + 4], 0x404000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x401686
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.DllName_s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x406128
mov dword [esp + 4], 0x404000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x4016af
mov eax, 0xa
mov edi, dword [ebp + 0x10]
mov word [ebp - 0x354], ax
test esi, esi
jne 0x4018d7
mov edx, 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], edi
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x3d8], edx
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 - 0x3d4], eax
sub esp, 0xc
test eax, eax
je 0x401912
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0
mov edx, dword [ebp - 0x3d8]
call edx
sub esp, 0x20
test byte [section..data], 8
jne 0x4021f8
mov esi, dword [ebp - 0x3d0]
test esi, esi
je 0x402108
mov dword [esp], str.shell32.dll
mov eax, dword [ebp - 0x3cc]
call eax
sub esp, 4
test eax, eax
je 0x402170
mov dword [esp + 4], 0x7a
mov dword [esp], eax
mov eax, dword [ebp - 0x3c8]
call eax
mov dword [section..bss], eax
sub esp, 8
test eax, eax
je 0x40213c
movzx edx, word [ebp - 0x354]
mov dword [esp + 0x10], edx
mov edi, dword [ebp - 0x3d4]
mov dword [esp + 0xc], edi
mov ecx, dword [ebp + 8]
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x3ac]
mov dword [esp + 4], edx
mov edi, dword [ebp - 0x3c0]
mov dword [esp], edi
call eax
sub esp, 0x14
jmp 0x40213c
lea eax, [ebp + 0x10]
call dbg.get_next_arg
mov dword [ebp - 0x3b0], eax
jmp 0x4016d6
mov eax, edi
movzx esi, word [ebp - 0x354]
call sym._wine_dbgstr_wn.constprop.0
mov dword [ebp - 0x3c8], eax
mov eax, dword [ebp - 0x3b0]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0x20], esi
mov edx, dword [ebp - 0x3c8]
mov dword [esp + 0x1c], edx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x18], ecx
mov edx, dword [ebp - 0x3ac]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], str.Calling__s___p__p__s__d__n
mov dword [esp + 8], 0x406128
mov dword [esp + 4], 0x404000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x4018e4
mov eax, dword [ebp - 0x3b0]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.EntryPoint_s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x406128
mov dword [esp + 4], 0x404000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x4016e3
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 - 0x3bc], eax
sub esp, 4
mov ecx, eax
cmp eax, 0xffffffff
je 0x402068
lea eax, [ebp - 0x3a8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_ActivateActCtx]
mov dword [ebp - 0x3c4], eax
sub esp, 8
jmp 0x40172f
mov dword [esp + 0x1c], 0
mov esi, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
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
call esi
sub esp, 0x20
mov dword [esp + 8], eax
mov edi, dword fs:[0x18]
mov dword [ebp - 0x3b8], eax
mov dword [esp + 4], 0
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 - 0x3d0], eax
call eax
mov ecx, dword [ebp - 0x3b8]
sub esp, 0xc
test eax, eax
je 0x4024ab
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
mov dword [ebp - 0x3b8], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], 0
call esi
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 - 0x3c8], eax
call eax
mov edx, dword [ebp - 0x3b8]
sub esp, 8
test eax, eax
je 0x4020b0
mov dword [esp], edx
call eax
mov edx, dword [ebp - 0x3b8]
mov ecx, dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 4
mov word [ebp - 0x3c0], ax
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov dword [ebp - 0x3b8], ecx
call ecx
sub esp, 0xc
cmp word [ebp - 0x3c0], 0x20
jbe 0x4020d5
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 eax, dword [ebp - 0x3b0]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], 0
call esi
sub esp, 0x20
mov dword [esp + 8], eax
mov dword [ebp - 0x3d8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov edi, dword [ebp - 0x3d0]
call edi
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x4024bb
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov edx, dword [ebp - 0x3d8]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [ebp - 0x3b0]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], 0
call esi
sub esp, 0x20
mov dword [esp], str.kernel32.dll
mov eax, dword [ebp - 0x3d4]
call eax
sub esp, 4
mov dword [esp + 4], 0x25
mov dword [esp], eax
mov eax, dword [ebp - 0x3c8]
call eax
sub esp, 8
mov esi, eax
test eax, eax
je 0x401f5a
mov dword [esp + 4], edi
movzx eax, word [ebp - 0x3c0]
mov dword [esp], eax
call esi
sub esp, 8
mov esi, eax
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
mov eax, dword [ebp - 0x3b8]
call eax
mov dword [ebp - 0x3c0], esi
xor esi, esi
mov dword [ebp - 0x3d0], 1
sub esp, 0xc
jmp 0x40189f
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 0x402368
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3b4]
mov esi, 1
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [ebp - 0x3c8], eax
call eax
mov dword [ebp - 0x3d0], 0
mov dword [ebp - 0x3c0], eax
mov eax, dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 8
mov dword [ebp - 0x3b8], eax
jmp 0x40189f
test byte [section..data], 2
je 0x401912
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0
mov esi, eax
mov eax, dword [ebp - 0x3b0]
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], 0x406128
mov dword [esp + 4], 0x404000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x401912
test byte [section..data], 8
je 0x40171b
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], 0x406128
mov dword [esp + 4], 0x404000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x40171b
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x3b8], eax
call eax
sub esp, 0xc
test byte [section..data], 2
jne 0x402398
mov eax, dword [ebp - 0x3ac]
test eax, eax
je 0x40194a
mov dword [esp], eax
call dword [sym.imp.user32.dll_DestroyWindow]
sub esp, 4
jmp 0x40194a
movzx eax, word [ebp - 0x354]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x3d4]
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 - 0x3c0]
mov dword [esp], eax
call sym._call_entry_point
mov edi, dword [ebp - 0x3d4]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edi
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x3b8]
call eax
sub esp, 0xc
jmp 0x401912
mov eax, dword [section..bss]
jmp 0x401b7d
mov edx, dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp], edi
xor esi, esi
mov dword [ebp - 0x3b8], edx
call edx
mov byte [edi + eax - 1], 0x41
mov dword [esp + 4], edi
mov eax, dword [ebp - 0x3b4]
mov dword [esp], eax
mov eax, dword [ebp - 0x3c8]
call eax
mov edx, dword [ebp - 0x3b8]
sub esp, 8
test eax, eax
mov dword [ebp - 0x3c0], eax
jne 0x40186a
mov dword [esp], edi
call edx
mov byte [edi + eax - 1], 0
mov dword [esp + 4], edi
mov eax, dword [ebp - 0x3b4]
mov dword [esp], eax
mov eax, dword [ebp - 0x3c8]
call eax
mov dword [ebp - 0x3c0], eax
sub esp, 8
jmp 0x40186a
movzx eax, word [ebp - 0x354]
mov dword [ebp - 0x3d8], eax
mov eax, dword [ebp - 0x3d4]
shr eax, 0x10
je 0x402418
mov dword [esp + 4], 0xffffffff
mov edi, dword [ebp - 0x3d4]
mov esi, str._invalid_
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrA]
sub esp, 8
test eax, eax
jne 0x40230a
cmp byte [edi], 0
mov esi, edi
je 0x402494
lea eax, [edi + 1]
mov dword [esp], eax
call sym._strlen
mov ecx, esi
mov byte [ebp - 0x340], 0x22
lea esi, [ebp - 0x33f]
mov dword [ebp - 0x3dc], ebx
lea edi, [eax - 1]
jmp 0x4022a8
cmp al, 9
je 0x402400
cmp al, 0xa
jne 0x402450
mov eax, 0x6e5c
add esi, 2
mov word [esi - 2], ax
lea esi, [esi]
cmp edi, 0xffffffff
je 0x402483
lea eax, [ebp - 0x21d]
lea edx, [edi - 1]
cmp eax, esi
jb 0x4022d6
mov edi, edx
movzx eax, byte [ecx]
add ecx, 1
cmp al, 0xd
je 0x4023d0
jle 0x402270
cmp al, 0x22
je 0x4023e8
cmp al, 0x5c
jne 0x402435
mov ebx, 0x5c5c
add esi, 2
mov word [esi - 2], bx
jmp 0x402290
mov byte [esi], 0x22
mov ebx, dword [ebp - 0x3dc]
test edi, edi
je 0x40248c
mov edi, 0x2e2e
mov byte [esi + 3], 0x2e
lea eax, [esi + 4]
mov word [esi + 1], di
mov byte [eax], 0
lea eax, [ebp - 0x340]
mov dword [esp], eax
call dbg.__wine_dbg_strdup
mov esi, eax
mov eax, dword [ebp - 0x3b0]
call sym._wine_dbgstr_wn.constprop.0
mov ecx, dword [ebp - 0x3d8]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ecx
mov edx, dword [ebp + 8]
mov dword [esp + 0x18], edx
mov ecx, dword [ebp - 0x3ac]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], str.Calling__s___p__p__s__d__n
mov dword [esp + 8], 0x406128
mov dword [esp + 4], 0x404000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x401b3a
mov eax, dword [sym.imp.kernel32.dll_HeapFree]
test byte [section..data], 2
mov dword [ebp - 0x3b8], eax
jne 0x40201d
mov ecx, dword [ebp - 0x3ac]
test ecx, ecx
jne 0x40191c
jmp 0x401938
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], 0x406128
mov dword [esp + 4], 0x404000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x4020e2
movzx eax, word [str._r_]
add esi, 2
mov word [esi - 2], ax
jmp 0x402290
movzx eax, word [0x406134]
add esi, 2
mov word [esi - 2], ax
jmp 0x402290
mov eax, 0x745c
add esi, 2
mov word [esi - 2], ax
jmp 0x402290
mov eax, dword [ebp - 0x3d4]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
mov esi, eax
jmp 0x40230a
lea edx, [eax - 0x20]
cmp dl, 0x5e
ja 0x402450
mov byte [esi], al
add esi, 1
jmp 0x402290
mov ebx, eax
mov edx, 0x785c
and eax, 0xf
add esi, 4
shr bl, 4
mov word [esi - 4], dx
movzx edx, word [0x406136]
movzx ebx, bl
mov dl, byte [ebx + str.0123456789abcdefwWinMain]
mov dh, byte [eax + str.0123456789abcdefwWinMain]
mov word [esi - 2], dx
jmp 0x402290
mov byte [esi], 0x22
mov ebx, dword [ebp - 0x3dc]
lea eax, [esi + 1]
jmp 0x4022f7
mov eax, 0x2222
mov word [ebp - 0x340], ax
lea eax, [ebp - 0x33e]
jmp 0x4022f7
mov eax, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x3b8], eax
jmp 0x4020d5
test byte [section..data], 2
jne 0x40201d
cmp dword [ebp - 0x3ac], 0
jne 0x40191c
jmp 0x40194a