Function at 0x401550
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, 0xfffffff8
mov edx, 3
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x218]
push ebx
push ecx
sub esp, 0x408
mov eax, dword [ecx]
mov dword [ebp - 0x3b0], ecx
mov dword [ebp - 0x214], edx
mov dword [ebp - 0x3c0], eax
mov eax, 0x30
mov dword [ebp - 0x218], eax
mov eax, dword [sym.imp.user32.dll_DefWindowProcW]
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x204], 0
mov dword [ebp - 0x200], 0
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
call dword [sym.imp.user32.dll_LoadCursorW]
mov dword [ebp - 0x1f8], 6
sub esp, 8
mov dword [ebp - 0x1fc], eax
mov dword [ebp - 0x1f4], 0
mov dword [ebp - 0x1f0], str.class_rundll32
mov dword [ebp - 0x1ec], 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 - 0x3b4], eax
sub esp, 0x30
test byte [section..data], 8
jne 0x4019f0
mov eax, dword [ebp - 0x3b0]
lea edi, [eax + 8]
mov eax, edi
call sym._get_next_arg
mov ebx, eax
test eax, eax
je 0x4019c8
cmp word [eax], 0
je 0x4019c8
test byte [section..data], 8
jne 0x401a30
mov dword [esp + 4], 0x2c
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcschr]
test eax, eax
je 0x401be8
lea ecx, [eax + 2]
xor edi, edi
mov dword [ebp - 0x3bc], ecx
mov word [eax], di
test byte [section..data], 8
jne 0x401c70
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 0x401cb0
mov dword [ebp - 0x3b8], 0xffffffff
mov dword [ebp - 0x3cc], 0
mov eax, dword [sym.imp.kernel32.dll_LoadLibraryW]
mov dword [esp], ebx
mov dword [ebp - 0x3d4], eax
call eax
mov dword [ebp - 0x3c4], eax
sub esp, 4
test eax, eax
je 0x401d40
mov eax, dword [ebp - 0x3bc]
cmp word [eax], 0x23
je 0x402040
mov edx, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0x3bc]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [ebp - 0x3c8], 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 - 0x3c8]
sub esp, 0xc
test eax, eax
mov edi, eax
je 0x401fe0
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x3bc]
mov dword [esp + 0x14], esi
mov esi, 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], edi
call sym._strlen
mov ecx, 0x57
mov word [edi + eax], cx
mov eax, dword [ebp - 0x3c4]
mov dword [esp + 4], edi
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [ebp - 0x3d0], eax
call eax
mov dword [ebp - 0x3c8], eax
sub esp, 8
test eax, eax
je 0x4021b0
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 - 0x3d8], 0
sub esp, 0xc
mov edx, dword [ebp - 0x3c8]
test edx, edx
je 0x401fe6
lea eax, [ebp - 0x388]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x35c], 1
je 0x401a68
mov eax, dword [ebp - 0x3b0]
mov eax, dword [eax + 8]
test esi, esi
je 0x401a85
test byte [section..data], 8
jne 0x401c00
movzx eax, word [ebp - 0x358]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x3b0]
mov eax, dword [eax + 8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x3c0]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x3b4]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3c8]
mov dword [esp], eax
call sym._call_entry_point
mov eax, dword [ebp - 0x3b4]
test eax, eax
je 0x401948
mov dword [esp], eax
call dword [sym.imp.user32.dll_DestroyWindow]
sub esp, 4
mov eax, dword [ebp - 0x3c4]
test eax, eax
je 0x40195e
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
sub esp, 4
mov edx, dword [ebp - 0x3cc]
test edx, edx
je 0x401982
mov eax, dword [ebp - 0x3ac]
mov dword [esp], 0
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_DeactivateActCtx]
sub esp, 8
mov eax, dword [ebp - 0x3b8]
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 - 0x3b4]
test eax, eax
je 0x4019de
mov dword [esp], eax
call dword [sym.imp.user32.dll_DestroyWindow]
sub esp, 4
mov dword [ebp - 0x3b8], 0xffffffff
mov edi, dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x401982
mov eax, dword [ebp - 0x3b0]
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], 0x406128
mov dword [esp + 4], 0x404000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x401691
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 0x4016c2
mov eax, 0xa
mov word [ebp - 0x358], ax
mov eax, dword [ebp - 0x3b0]
mov eax, dword [eax + 8]
test esi, esi
jne 0x4018eb
mov edx, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [ebp - 0x3e0], 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 - 0x3dc], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x401932
mov dword [esp + 0x10], eax
mov ecx, dword [ebp - 0x3dc]
mov eax, dword [ebp - 0x3b0]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov edx, dword [ebp - 0x3e0]
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 [section..data], 8
jne 0x402228
mov ecx, dword [ebp - 0x3d8]
test ecx, ecx
je 0x402140
mov dword [esp], str.shell32.dll
mov eax, dword [ebp - 0x3d4]
call eax
sub esp, 4
test eax, eax
je 0x4021a0
mov dword [esp], eax
mov eax, dword [ebp - 0x3d0]
mov dword [esp + 4], 0x7a
call eax
mov dword [section..bss], eax
sub esp, 8
test eax, eax
je 0x402171
movzx edx, word [ebp - 0x358]
mov ecx, dword [ebp - 0x3b4]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edx
mov edx, dword [ebp - 0x3c0]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x3c8]
mov dword [esp], edx
call eax
sub esp, 0x14
jmp 0x402171
mov eax, edi
call sym._get_next_arg
mov dword [ebp - 0x3bc], eax
jmp 0x4016e9
movzx esi, word [ebp - 0x358]
call sym._wine_dbgstr_wn.constprop.0
mov dword [ebp - 0x3d0], eax
mov eax, dword [ebp - 0x3bc]
call sym._wine_dbgstr_wn.constprop.0
mov edx, dword [ebp - 0x3d0]
mov ecx, dword [ebp - 0x3b4]
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], edx
mov edx, dword [ebp - 0x3c0]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 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 0x4018f8
mov eax, dword [ebp - 0x3bc]
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 0x4016f6
movq xmm0, qword [0x406138]
lea eax, [ebp - 0x3a8]
mov dword [ebp - 0x39c], 0
mov dword [ebp - 0x398], 0
mov dword [ebp - 0x390], 0
mov dword [ebp - 0x38c], 0
mov dword [ebp - 0x3a0], esi
mov dword [ebp - 0x394], 0x7b
mov dword [esp], eax
movq qword [ebp - 0x3a8], xmm0
call dword [sym.imp.kernel32.dll_CreateActCtxW]
mov dword [ebp - 0x3b8], eax
sub esp, 4
mov edx, eax
cmp eax, 0xffffffff
je 0x4020a0
lea eax, [ebp - 0x3ac]
mov dword [esp], edx
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_ActivateActCtx]
mov dword [ebp - 0x3cc], eax
sub esp, 8
jmp 0x401742
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 - 0x3c8], eax
call eax
sub esp, 0x20
mov dword [ebp - 0x3d0], 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 - 0x3dc], eax
call eax
mov edx, dword [ebp - 0x3d0]
sub esp, 0xc
test eax, eax
mov edi, eax
je 0x4024b2
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x3c8]
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 - 0x3e0], 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 - 0x3d0], eax
call eax
sub esp, 8
test eax, eax
je 0x4020f0
mov dword [esp], edi
call eax
sub esp, 4
mov word [ebp - 0x3d8], 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 - 0x3d8], 0x20
jbe 0x402110
mov eax, dword [ebp - 0x3bc]
mov ecx, dword [ebp - 0x3c8]
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 ecx
mov edx, dword [ebp - 0x3dc]
sub esp, 0x20
mov dword [ebp - 0x3e4], 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 edx
sub esp, 0xc
test eax, eax
je 0x401fe6
mov ecx, dword [ebp - 0x3e4]
mov dword [esp + 0x10], eax
mov dword [ebp - 0x3dc], eax
mov eax, dword [ebp - 0x3bc]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp - 0x3c8]
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 ecx
mov eax, dword [ebp - 0x3e0]
sub esp, 0x20
mov dword [esp], str.kernel32.dll
call eax
sub esp, 4
mov dword [esp], eax
mov eax, dword [ebp - 0x3d0]
mov dword [esp + 4], 0x25
call eax
mov edx, dword [ebp - 0x3dc]
sub esp, 8
test eax, eax
mov esi, eax
je 0x401fa1
movzx eax, word [ebp - 0x3d8]
mov dword [esp + 4], edx
mov dword [ebp - 0x3c8], edx
mov dword [esp], eax
call esi
mov edx, dword [ebp - 0x3c8]
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 - 0x3c8], esi
xor esi, esi
mov dword [ebp - 0x3d8], 1
sub esp, 0xc
jmp 0x4018ad
mov edi, dword [sym.imp.kernel32.dll_HeapFree]
test byte [section..data], 2
je 0x401932
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0
mov esi, eax
mov eax, dword [ebp - 0x3bc]
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 0x401932
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 0x401fe0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3c4]
mov esi, 1
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [ebp - 0x3d0], eax
call eax
mov edi, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x3d8], 0
mov dword [ebp - 0x3c8], eax
sub esp, 8
jmp 0x4018ad
test byte [section..data], 8
je 0x40172e
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
mov dword [ebp - 0x3cc], 0
jmp 0x401742
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 [section..data], 2
jne 0x4023b8
mov eax, dword [ebp - 0x3b4]
test eax, eax
je 0x40195e
mov dword [esp], eax
call dword [sym.imp.user32.dll_DestroyWindow]
sub esp, 4
jmp 0x40195e
movzx eax, word [ebp - 0x358]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x3c0]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x3b4]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3c8]
mov dword [esp], eax
call sym._call_entry_point
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 edi
sub esp, 0xc
jmp 0x401932
mov eax, dword [section..bss]
jmp 0x401ba4
mov edx, dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp], edi
xor esi, esi
mov dword [ebp - 0x3d8], edx
call edx
mov byte [edi + eax - 1], 0x41
mov eax, dword [ebp - 0x3c4]
mov dword [esp + 4], edi
mov dword [esp], eax
mov eax, dword [ebp - 0x3d0]
call eax
mov edx, dword [ebp - 0x3d8]
sub esp, 8
test eax, eax
mov dword [ebp - 0x3c8], eax
jne 0x40187d
mov dword [esp], edi
call edx
mov byte [edi + eax - 1], 0
mov eax, dword [ebp - 0x3c4]
mov dword [esp + 4], edi
mov dword [esp], eax
mov eax, dword [ebp - 0x3d0]
call eax
mov dword [ebp - 0x3c8], eax
sub esp, 8
jmp 0x40187d
movzx eax, word [ebp - 0x358]
mov dword [ebp - 0x3b0], eax
mov eax, esi
shr eax, 0x10
je 0x402470
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrA]
mov edx, str._invalid_
sub esp, 8
test eax, eax
jne 0x40234c
cmp byte [esi], 0
je 0x402494
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp byte [esi + edx + 1], 0
jne 0x402270
lea eax, [ebp - 0x343]
mov dword [ebp - 0x3dc], ebx
mov byte [ebp - 0x344], 0x22
mov ebx, eax
mov dword [ebp - 0x3e0], esi
mov dword [ebp - 0x3e4], edi
jmp 0x4022d3
cmp al, 9
je 0x402408
cmp al, 0xa
jne 0x402423
mov eax, 0x6e5c
add ebx, 2
mov word [ebx - 2], ax
lea esi, [esi]
lea ecx, [ebp - 0x221]
lea eax, [edx - 1]
cmp ebx, ecx
ja 0x402308
test edx, edx
jle 0x402308
mov edx, eax
movzx eax, byte [esi]
add esi, 1
cmp al, 0xd
je 0x4023f0
jle 0x4022a0
cmp al, 0x22
je 0x402458
cmp al, 0x5c
jne 0x402419
mov edi, 0x5c5c
add ebx, 2
mov word [ebx - 2], di
jmp 0x4022c0
mov edx, ebx
mov ecx, ebx
mov esi, dword [ebp - 0x3e0]
mov ebx, dword [ebp - 0x3dc]
mov byte [edx], 0x22
mov edi, dword [ebp - 0x3e4]
test eax, eax
jle 0x4024a8
lea eax, [edx + 4]
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x344]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
mov eax, dword [ebp - 0x3bc]
mov dword [ebp - 0x3dc], edx
call sym._wine_dbgstr_wn.constprop.0
mov ecx, dword [ebp - 0x3b0]
mov edx, dword [ebp - 0x3dc]
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 - 0x3b4]
mov dword [esp + 0x1c], edx
mov edx, dword [ebp - 0x3c0]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 8], 0x406128
mov dword [esp + 4], 0x404000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x401b61
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 0x40211d
mov eax, 0x725c
add ebx, 2
mov word [ebx - 2], ax
jmp 0x4022c0
mov eax, 0x745c
add ebx, 2
mov word [ebx - 2], ax
jmp 0x4022c0
lea edi, [eax - 0x20]
mov ecx, edi
cmp cl, 0x5e
jbe 0x40248a
mov ecx, 0x785c
add ebx, 4
mov word [ebx - 4], cx
mov ecx, eax
and eax, 0xf
shr cl, 4
movzx eax, byte [eax + str.0123456789abcdefwWinMain]
movzx edi, cl
movzx ecx, byte [edi + str.0123456789abcdefwWinMain]
mov byte [ebx - 1], al
mov byte [ebx - 2], cl
jmp 0x4022c0
mov eax, 0x225c
add ebx, 2
mov word [ebx - 2], ax
jmp 0x4022c0
movzx eax, si
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
mov edx, eax
jmp 0x40234c
mov byte [ebx], al
add ebx, 1
jmp 0x4022c0
mov eax, 0x2222
mov word [ebp - 0x344], ax
lea eax, [ebp - 0x343]
mov ecx, eax
mov eax, ecx
add eax, 1
jmp 0x402339
mov edi, dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x402110