Function at 0x401520
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 dword [ebp - 0x21c], 3
mov dword [ebp - 0x218], sym._DefWindowProcW_16
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 sym._LoadCursorW_8
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 sym._RegisterClassExW_4
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 sym._CreateWindowExW_48
mov dword [ebp - 0x3c0], eax
sub esp, 0x30
test byte [section..data], 8
jne 0x4019c0
mov eax, dword [ebp - 0x3bc]
lea edi, [eax + 8]
mov eax, edi
call dbg.get_next_arg
mov ebx, eax
test eax, eax
je 0x401990
cmp word [eax], 0
je 0x401990
test byte [section..data], 8
jne 0x401a00
mov dword [esp + 4], 0x2c
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcschr]
test eax, eax
je 0x401bb8
lea edx, [eax + 2]
xor edi, edi
mov dword [ebp - 0x3c4], edx
mov word [eax], di
test byte [section..data], 8
jne 0x401ce0
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 0x401c50
mov dword [ebp - 0x3d0], 0xffffffff
mov dword [ebp - 0x3d8], 0
mov eax, dword [sym.imp.kernel32.dll_LoadLibraryW]
mov dword [esp], ebx
mov dword [ebp - 0x3dc], eax
call eax
mov dword [ebp - 0x3c8], eax
sub esp, 4
test eax, eax
je 0x401d20
mov eax, dword [ebp - 0x3c4]
cmp word [eax], 0x23
je 0x401fa8
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 - 0x3c4]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], 0
mov dword [ebp - 0x3d4], 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 0x402090
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 - 0x3c4]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], 0
mov edx, dword [ebp - 0x3d4]
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 - 0x3c8]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [ebp - 0x3e0], eax
call eax
mov dword [ebp - 0x3d4], eax
sub esp, 8
test eax, eax
je 0x402110
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 - 0x3e4], 0
sub esp, 0xc
mov eax, dword [ebp - 0x3d4]
test eax, eax
je 0x4020b8
lea eax, [ebp - 0x390]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x364], 1
je 0x401a38
mov eax, dword [ebp - 0x3bc]
mov edx, dword [eax + 8]
test esi, esi
je 0x401a55
test byte [section..data], 8
jne 0x401bd0
movzx eax, word [ebp - 0x360]
mov dword [esp + 0xc], edx
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 ecx, dword [ebp - 0x3c0]
test ecx, ecx
je 0x40190e
mov eax, dword [ebp - 0x3c0]
mov dword [esp], eax
call sym._DestroyWindow_4
sub esp, 4
mov edx, dword [ebp - 0x3c8]
test edx, edx
je 0x40192a
mov eax, dword [ebp - 0x3c8]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
sub esp, 4
mov eax, dword [ebp - 0x3d8]
test eax, eax
je 0x40194e
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 - 0x3d0]
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 - 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 0x4019a5
mov dword [esp], eax
call sym._DestroyWindow_4
sub esp, 4
mov dword [ebp - 0x3d0], 0xffffffff
mov edi, dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x40194e
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], 0x405128
mov dword [esp + 4], 0x404000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x40165b
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.DllName_s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x405128
mov dword [esp + 4], 0x404000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x40168c
mov eax, 0xa
mov word [ebp - 0x360], ax
mov eax, dword [ebp - 0x3bc]
mov edx, dword [eax + 8]
test esi, esi
jne 0x4018b5
mov dword [esp + 8], edx
mov esi, 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 [ebp - 0x3ec], edx
mov dword [esp + 4], 0
mov dword [esp], 0
call esi
sub esp, 0x20
mov ecx, eax
mov dword [esp + 8], ecx
mov eax, dword fs:[0x18]
mov dword [ebp - 0x3e8], ecx
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x3bc], eax
sub esp, 0xc
test eax, eax
je 0x4018f3
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov ecx, dword [ebp - 0x3e8]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], 0xffffffff
mov edx, dword [ebp - 0x3ec]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov dword [esp], 0
call esi
sub esp, 0x20
test byte [section..data], 8
jne 0x4021f0
mov esi, dword [ebp - 0x3e4]
test esi, esi
je 0x402188
mov dword [esp], str.shell32.dll
mov eax, dword [ebp - 0x3dc]
call eax
sub esp, 4
test eax, eax
je 0x402408
mov dword [esp + 4], 0x7a
mov dword [esp], eax
mov eax, dword [ebp - 0x3e0]
call eax
mov dword [section..bss], eax
sub esp, 8
test eax, eax
je 0x4021bf
movzx edx, word [ebp - 0x360]
mov dword [esp + 0x10], edx
mov ecx, dword [ebp - 0x3bc]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp - 0x3cc]
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x3c0]
mov dword [esp + 4], edx
mov esi, dword [ebp - 0x3d4]
mov dword [esp], esi
call eax
sub esp, 0x14
jmp 0x4021bf
mov eax, edi
call dbg.get_next_arg
mov dword [ebp - 0x3c4], eax
jmp 0x4016b3
movzx eax, word [ebp - 0x360]
mov dword [ebp - 0x3dc], edx
mov word [ebp - 0x3bc], ax
mov eax, edx
call sym._wine_dbgstr_wn.constprop.0
mov esi, eax
mov eax, dword [ebp - 0x3c4]
call sym._wine_dbgstr_wn.constprop.0
movzx ecx, word [ebp - 0x3bc]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp - 0x3cc]
mov dword [esp + 0x18], ecx
mov edx, dword [ebp - 0x3c0]
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], 0x405128
mov dword [esp + 4], 0x404000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp - 0x3dc]
jmp 0x4018c2
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 - 0x3d0], eax
sub esp, 4
mov edx, eax
cmp eax, 0xffffffff
je 0x402010
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 0x40170c
mov eax, dword [ebp - 0x3c4]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.EntryPoint_s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x405128
mov dword [esp + 4], 0x404000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x4016c0
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 [esp + 8], eax
mov esi, dword fs:[0x18]
mov dword [ebp - 0x3e0], eax
mov dword [esp + 4], 0
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 - 0x3e4], eax
call eax
mov ecx, dword [ebp - 0x3e0]
sub esp, 0xc
test eax, eax
mov edi, eax
je 0x402058
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], 0
mov eax, dword [ebp - 0x3d4]
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 - 0x3e0], eax
call eax
sub esp, 8
test eax, eax
je 0x4023e0
mov dword [esp], edi
call eax
sub esp, 4
mov word [ebp - 0x3e8], 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 - 0x3e8], 0x20
jbe 0x40205e
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 - 0x3c4]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], 0
mov ecx, dword [ebp - 0x3d4]
call ecx
sub esp, 0x20
mov dword [esp + 8], eax
mov dword [ebp - 0x3f0], eax
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov edx, dword [ebp - 0x3e4]
call edx
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x4023c0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov edx, dword [ebp - 0x3f0]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [ebp - 0x3c4]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], 0
mov ecx, dword [ebp - 0x3d4]
call ecx
sub esp, 0x20
mov dword [esp], str.kernel32.dll
mov eax, dword [ebp - 0x3ec]
call eax
sub esp, 4
mov dword [esp + 4], 0x25
mov dword [esp], eax
mov eax, dword [ebp - 0x3e0]
call eax
sub esp, 8
mov edx, eax
test eax, eax
je 0x401f6b
mov dword [esp + 4], esi
movzx eax, word [ebp - 0x3e8]
mov dword [esp], eax
call edx
sub esp, 8
mov edx, eax
mov dword [ebp - 0x3d4], edx
mov eax, dword fs:[0x18]
mov dword [esp + 8], esi
xor esi, esi
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov dword [ebp - 0x3e4], 1
sub esp, 0xc
jmp 0x401877
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 0x402090
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3c8]
mov esi, 1
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [ebp - 0x3e0], eax
call eax
mov edi, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x3e4], 0
mov dword [ebp - 0x3d4], eax
sub esp, 8
jmp 0x401877
test byte [section..data], 8
je 0x4016f8
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], 0x405128
mov dword [esp + 4], 0x404000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x4016f8
mov edi, dword [sym.imp.kernel32.dll_HeapFree]
test byte [section..data], 2
jne 0x4022f8
mov eax, dword [ebp - 0x3c0]
test eax, eax
je 0x40192a
mov dword [esp], eax
call sym._DestroyWindow_4
sub esp, 4
jmp 0x40192a
mov edi, dword [sym.imp.kernel32.dll_HeapFree]
test byte [section..data], 2
jne 0x4020c5
mov ecx, dword [ebp - 0x3c0]
test ecx, ecx
jne 0x4018fd
jmp 0x401918
test byte [section..data], 2
je 0x4018f3
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0
mov esi, eax
mov eax, dword [ebp - 0x3c4]
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], 0x405128
mov dword [esp + 4], 0x404000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x4018f3
mov edx, dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp], edi
xor esi, esi
mov dword [ebp - 0x3e4], edx
call edx
mov byte [edi + eax - 1], 0x41
mov dword [esp + 4], edi
mov eax, dword [ebp - 0x3c8]
mov dword [esp], eax
mov eax, dword [ebp - 0x3e0]
call eax
mov edx, dword [ebp - 0x3e4]
sub esp, 8
test eax, eax
mov dword [ebp - 0x3d4], eax
jne 0x401847
mov dword [esp], edi
call edx
mov byte [edi + eax - 1], 0
mov dword [esp + 4], edi
mov eax, dword [ebp - 0x3c8]
mov dword [esp], eax
mov eax, dword [ebp - 0x3e0]
call eax
mov dword [ebp - 0x3d4], eax
sub esp, 8
jmp 0x401847
movzx eax, word [ebp - 0x360]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x3bc]
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 ecx, dword [ebp - 0x3bc]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], ecx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
sub esp, 0xc
jmp 0x4018f3
movzx eax, word [ebp - 0x360]
mov dword [ebp - 0x3ec], eax
mov eax, dword [ebp - 0x3bc]
shr eax, 0x10
je 0x402459
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x3bc]
mov esi, str._invalid_
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrA]
sub esp, 8
test eax, eax
jne 0x402364
mov eax, dword [ebp - 0x3bc]
cmp byte [eax], 0
je 0x4024d0
add eax, 1
mov dword [esp], eax
call sym._strlen
mov ecx, dword [ebp - 0x3bc]
mov dword [ebp - 0x3f0], edi
mov edi, ebx
lea esi, [eax - 1]
mov byte [ebp - 0x34c], 0x22
lea eax, [ebp - 0x34b]
mov dword [ebp - 0x3e8], ecx
jmp 0x4022b8
cmp dl, 9
je 0x402448
cmp dl, 0xa
jne 0x402488
mov ecx, 0x6e5c
add eax, 2
mov word [eax - 2], cx
lea esi, [esi]
lea esi, [esi]
cmp esi, 0xffffffff
je 0x4024bd
lea edx, [ebp - 0x229]
lea ebx, [esi - 1]
cmp edx, eax
jb 0x40232c
mov esi, ebx
add dword [ebp - 0x3e8], 1
mov ecx, dword [ebp - 0x3e8]
movzx edx, byte [ecx - 1]
cmp dl, 0xd
je 0x402430
jle 0x402278
cmp dl, 0x22
je 0x402418
cmp dl, 0x5c
jne 0x402476
mov ebx, 0x5c5c
add eax, 2
mov word [eax - 2], bx
jmp 0x4022a0
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], 0x405128
mov dword [esp + 4], 0x404000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x40206b
mov ebx, edi
mov byte [eax], 0x22
mov edi, dword [ebp - 0x3f0]
test esi, esi
je 0x4024c8
mov ecx, eax
mov eax, 0x2e2e
mov byte [ecx + 3], 0x2e
mov word [ecx + 1], ax
lea eax, [ecx + 4]
mov byte [eax], 0
lea eax, [ebp - 0x34c]
mov dword [esp], eax
call dbg.__wine_dbg_strdup
mov esi, eax
mov eax, dword [ebp - 0x3c4]
call sym._wine_dbgstr_wn.constprop.0
mov ecx, dword [ebp - 0x3ec]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ecx
mov edx, dword [ebp - 0x3cc]
mov dword [esp + 0x18], edx
mov esi, dword [ebp - 0x3c0]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], str.Calling__s___p__p__s__d__n
mov dword [esp + 8], 0x405128
mov dword [esp + 4], 0x404000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x401b2c
test byte [section..data], 2
jne 0x4020c5
mov esi, dword [ebp - 0x3c0]
test esi, esi
jne 0x4018fd
jmp 0x40192a
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
jmp 0x40205e
mov eax, dword [section..bss]
jmp 0x401b6f
movzx edx, word [0x405134]
add eax, 2
mov word [eax - 2], dx
jmp 0x4022a0
movzx edx, word [str._r_]
add eax, 2
mov word [eax - 2], dx
jmp 0x4022a0
mov edx, 0x745c
add eax, 2
mov word [eax - 2], dx
jmp 0x4022a0
mov eax, dword [ebp - 0x3bc]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
mov esi, eax
jmp 0x402364
lea ebx, [edx - 0x20]
cmp bl, 0x5e
ja 0x402488
mov byte [eax], dl
add eax, 1
jmp 0x4022a0
mov ebx, edx
mov ecx, 0x785c
and edx, 0xf
add eax, 4
shr bl, 4
mov word [eax - 4], cx
movzx ecx, word [0x405136]
movzx ebx, bl
mov cl, byte [ebx + str.0123456789abcdefwWinMain]
mov ebx, ecx
mov bh, byte [edx + str.0123456789abcdefwWinMain]
mov word [eax - 2], bx
jmp 0x4022a0
mov byte [eax], 0x22
mov ebx, edi
mov edi, dword [ebp - 0x3f0]
add eax, 1
jmp 0x402351
mov word [ebp - 0x34c], 0x2222
lea eax, [ebp - 0x34a]
jmp 0x402351