Function at 0x40be60
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags
Get process heap force flags
Hide graphical window
Terminate process

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
xor eax, eax
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x42c]
push ebx
mov edi, esi
push ecx
sub esp, 0x6b8
mov edx, dword [ecx]
mov ebx, dword [ecx + 8]
mov ecx, 0x105
rep stosd dword es:[edi], eax
mov esi, dword [sym.imp.ucrtbase.dll_iswspace]
mov edi, dword [sym.imp.ucrtbase.dll_wcsncmp]
mov dword [0x41c2a0], edx
movzx eax, word [ebx]
test ax, ax
jne 0x40beb7
jmp 0x40bef2
movzx eax, word [ebx + 2]
add ebx, 2
mov dword [esp], eax
call esi
test eax, eax
jne 0x40beb0
mov dword [esp + 8], 2
mov dword [esp + 4], 0x4158ac
mov dword [esp], ebx
call edi
test eax, eax
jne 0x40c8a0
mov dword [ebp - 0x42c], 0
add ebx, 4
movzx eax, word [ebx]
test ax, ax
jne 0x40beb7
mov dword [esp], 0
call dword [0x41d56c]
sub esp, 4
test eax, eax
js 0x40ccbd
cmp word [ebp - 0x428], 0
jne 0x40c9d2
mov dword [ebp - 0x660], 8
lea eax, [ebp - 0x660]
mov dword [ebp - 0x65c], 0x604
mov dword [esp], eax
call dword [0x41d460]
sub esp, 4
test eax, eax
je 0x40cd6a
mov dword [ebp - 0x4f4], 0x30
mov eax, dword [0x41c2a0]
mov dword [ebp - 0x4f0], 0
mov dword [ebp - 0x4e0], eax
lea eax, [ebp - 0x4f4]
mov dword [ebp - 0x4e8], 0
mov dword [ebp - 0x4e4], 4
mov dword [ebp - 0x4ec], sym._explorer_wnd_proc_16
mov dword [ebp - 0x4dc], 0
mov dword [ebp - 0x4d8], 0
mov dword [ebp - 0x4d4], 1
mov dword [ebp - 0x4d0], 0
mov dword [ebp - 0x4cc], str.ExplorerWClass
mov dword [ebp - 0x4c8], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_RegisterClassExW]
lea eax, [ebp - 0x670]
sub esp, 4
mov dword [esp + 0x10], eax
mov eax, dword [0x41d554]
mov dword [esp + 0xc], 0x416b6c
mov dword [esp + 8], 4
mov dword [esp + 4], 0
mov dword [esp], 0x416b5c
mov dword [ebp - 0x680], eax
call eax
sub esp, 0x14
cmp word [ebp - 0x428], 0
jne 0x40cab6
mov dword [ebp - 0x67c], 0
xor eax, eax
mov ecx, 0xf
lea edi, [ebp - 0x5f8]
mov ebx, dword [sym.imp.user32.dll_LoadStringW]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x4f4]
mov dword [esp + 0xc], 0x64
mov dword [esp + 8], eax
mov eax, dword [0x41c2a0]
mov dword [esp + 4], 1
mov dword [esp], eax
call ebx
lea eax, [ebp - 0x558]
sub esp, 0x10
mov dword [esp + 8], eax
mov eax, dword [0x41c2a0]
mov dword [esp + 0xc], 0x32
mov dword [esp + 4], 2
mov dword [esp], eax
call ebx
sub esp, 0x10
mov dword [esp], 0
call dword [sym.imp.user32.dll_GetDC]
mov ebx, dword [sym.imp.gdi32.dll_GetDeviceCaps]
sub esp, 4
mov esi, eax
mov dword [esp + 4], 0x58
mov dword [esp], eax
call ebx
sub esp, 8
mov edi, eax
mov dword [esp], esi
mov dword [esp + 4], 0x5a
call ebx
sub esp, 8
mov ebx, eax
mov dword [esp + 4], esi
mov dword [esp], 0
call dword [sym.imp.user32.dll_ReleaseDC]
mov esi, dword [sym.imp.kernel32.dll_MulDiv]
sub esp, 8
mov dword [esp + 8], 0x60
mov dword [esp + 4], ebx
mov dword [esp], 0x1e
call esi
sub esp, 0xc
mov dword [0x41c2b0], eax
mov dword [esp + 8], 0x60
mov dword [esp + 4], ebx
mov dword [esp], 0x18
call esi
sub esp, 0xc
mov dword [0x41c2ac], eax
mov dword [esp + 4], edi
mov dword [esp + 8], 0x60
mov dword [esp], 0x280
call esi
sub esp, 0xc
mov dword [0x41c2a8], eax
mov dword [esp + 8], 0x60
mov dword [esp + 4], ebx
mov dword [esp], 0x1e0
call esi
sub esp, 0xc
mov dword [0x41c2a4], eax
mov dword [esp + 8], 0x24
mov dword [esp + 4], 8
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_HeapAlloc]
mov dword [ebp - 0x688], eax
call eax
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x40ccd7
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x680]
mov dword [esp + 0xc], 0x4170ac
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], 0x416eac
call eax
sub esp, 0x14
test eax, eax
js 0x40ca55
mov eax, dword [0x41c2a0]
mov dword [edi + 0xc], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
mov eax, dword [0x41c2a4]
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], eax
mov eax, dword [0x41c2a8]
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x4f4]
mov dword [esp + 8], eax
mov eax, dword [sym.imp.user32.dll_CreateWindowExW]
mov dword [esp + 0x14], 0x80000000
mov dword [esp + 0x10], 0x80000000
mov dword [esp + 0xc], 0xcf0000
mov dword [esp + 4], str.ExplorerWClass
mov dword [esp], 0
mov dword [ebp - 0x684], eax
call eax
mov edx, dword [ebp - 0x670]
mov dword [edi + 4], eax
sub esp, 0x30
test edx, edx
je 0x40c278
mov ecx, dword [edx]
lea ebx, [edi + 0x20]
mov dword [esp + 8], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov dword [esp], edx
call dword [ecx + 0x28]
mov eax, dword [ebp - 0x670]
sub esp, 0x14
mov dword [edi + 0x1c], eax
mov eax, dword [edi + 4]
mov edx, dword [0x41c2a8]
mov ebx, dword [edi]
mov dword [ebp - 0x658], 4
lea ecx, [ebp - 0x658]
mov dword [ebp - 0x654], 1
mov dword [ebp - 0x61c], edx
mov edx, dword [0x41c2a4]
mov dword [ebp - 0x624], 0
mov dword [ebp - 0x620], 0
mov dword [ebp - 0x618], edx
mov edx, dword [ebx]
mov dword [esp + 0xc], ecx
lea ecx, [ebp - 0x624]
mov dword [esp + 8], ecx
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [edx + 0xc]
mov eax, dword [edi]
sub esp, 0x10
mov edx, dword [eax]
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [edx + 0x2c]
sub esp, 8
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword [edi + 4]
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetWindowLongW]
mov eax, dword [0x41c2a0]
mov esi, dword [ebp - 0x684]
sub esp, 0xc
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0
mov eax, dword [edi + 4]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x50000241
mov dword [esp + 8], 0
mov dword [esp + 4], str.ReBarWindow32
mov dword [esp], pe_nt_image_headers32
call esi
mov dword [ebp - 0x684], esi
mov ecx, eax
mov eax, dword [0x41c2a0]
sub esp, 0x30
mov dword [ebp - 0x680], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x50000800
mov dword [esp + 8], 0
mov dword [esp + 4], str.ToolbarWindow32
mov dword [esp], 8
call esi
lea ecx, [ebp - 0x650]
mov esi, dword [sym.imp.user32.dll_SendMessageW]
mov dword [ebp - 0x650], 0xffffffff
mov dword [ebp - 0x64c], 9
sub esp, 0x30
mov ebx, eax
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x413
mov dword [esp], eax
call esi
lea ecx, [ebp - 0x650]
mov dword [ebp - 0x64c], 5
sub esp, 0x10
mov dword [ebp - 0x68c], eax
mov dword [esp + 0xc], ecx
mov dword [esp], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x413
call esi
mov edx, dword [ebp - 0x68c]
mov ecx, 0x1004
mov dword [ebp - 0x5f4], 0
sub esp, 0x10
add eax, 8
mov word [ebp - 0x5f0], cx
mov ecx, 0x1004
mov dword [ebp - 0x5f8], edx
inc edx
mov dword [ebp - 0x5e4], edx
mov edx, 0x1004
mov word [ebp - 0x5dc], dx
mov word [ebp - 0x5c8], cx
mov dword [esp], ebx
mov dword [ebp - 0x5e0], 1
mov dword [ebp - 0x5d0], eax
mov dword [ebp - 0x5cc], 2
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x14
mov dword [esp + 4], 0x41e
call esi
lea ecx, [ebp - 0x5f8]
sub esp, 0x10
mov dword [esp + 0xc], ecx
mov dword [esp], ebx
mov dword [esp + 8], 3
mov dword [esp + 4], 0x444
call esi
mov eax, dword [0x41c2b0]
mov dword [ebp - 0x59c], ebx
lea ebx, [ebp - 0x5bc]
mov dword [ebp - 0x5bc], 0x64
sub esp, 0x10
mov dword [ebp - 0x584], eax
mov dword [ebp - 0x594], eax
mov eax, dword [ebp - 0x680]
mov dword [esp + 0xc], ebx
mov dword [ebp - 0x5b8], 0x71
mov dword [ebp - 0x5b4], 0x84
mov dword [ebp - 0x590], 0
mov dword [ebp - 0x598], 0
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x40a
mov dword [esp], eax
call esi
mov eax, dword [0x41c2a0]
mov edx, dword [ebp - 0x684]
sub esp, 0x10
mov dword [esp + 0x28], eax
mov eax, dword [ebp - 0x680]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], eax
mov eax, dword [0x41c2ac]
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], eax
mov eax, dword [0x41c2a8]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x50000002
mov dword [esp + 8], 0x4158ba
mov dword [esp + 4], str.ComboBoxEx32
mov dword [esp], 0
call edx
lea edx, [ebp - 0x624]
sub esp, 0x30
mov dword [edi + 8], eax
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowRect]
mov eax, dword [ebp - 0x618]
sub eax, dword [ebp - 0x620]
lea edx, [ebp - 0x558]
mov dword [ebp - 0x584], eax
sub esp, 8
mov dword [ebp - 0x594], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x5a8], edx
mov dword [ebp - 0x59c], eax
mov eax, dword [ebp - 0x680]
or dword [ebp - 0x5b8], 4
or dword [ebp - 0x5b4], 1
mov dword [esp + 0xc], ebx
mov dword [ebp - 0x590], 0
mov dword [ebp - 0x598], 0
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x40a
mov dword [esp], eax
call esi
sub esp, 0x10
mov dword [esp + 8], 0xc
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 - 0x688]
call eax
mov dword [eax], sym._IExplorerBrowserEventsImpl_fnQueryInterface_12
sub esp, 0xc
mov ebx, eax
mov dword [eax + 4], edi
mov dword [eax + 8], 1
lea eax, [edi + 0x14]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x41590c
mov dword [esp], 1
call dword [0x41d5c0]
mov eax, dword [ebx + 4]
sub esp, 0xc
mov eax, dword [eax + 0x14]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x402
mov dword [esp + 0xc], eax
mov eax, dword [edi + 8]
mov dword [esp], eax
call esi
mov eax, dword [edi]
lea ecx, [edi + 0x18]
sub esp, 0x10
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0x24]
lea eax, [ebp - 0x668]
sub esp, 0xc
mov dword [esp], eax
call dword [0x41d5cc]
mov esi, dword [ebp - 0x67c]
sub esp, 4
test esi, esi
je 0x40cc6a
mov eax, dword [ebp - 0x668]
mov ecx, dword [ebp - 0x67c]
lea esi, [ebp - 0x614]
mov edx, dword [eax]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0x1c
test eax, eax
js 0x40cc36
mov eax, dword [ebp - 0x668]
lea ecx, [ebp - 0x664]
mov edx, dword [eax]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp - 0x614]
mov dword [esp + 0xc], 0x41742c
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x14]
mov dword [ebp - 0x680], eax
mov eax, dword [ebp - 0x614]
sub esp, 0x14
mov dword [esp], eax
call dword [0x41d5b8]
mov eax, dword [ebp - 0x680]
sub esp, 4
test eax, eax
js 0x40cc36
mov eax, dword [ebp - 0x668]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov ecx, dword [ebp - 0x664]
sub esp, 4
mov eax, dword [edi]
mov dword [ebp - 0x680], ecx
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp], eax
call dword [edx + 0x38]
mov ecx, dword [ebp - 0x680]
sub esp, 0xc
mov eax, dword [ecx]
mov dword [esp], ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x67c]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov dword [esp + 4], 0xa
mov eax, dword [edi + 4]
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
mov eax, dword [edi + 4]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.user32.dll_UpdateWindow]
mov eax, dword [ebx]
sub esp, 4
mov dword [esp], ebx
call dword [eax + 8]
mov ebx, dword [sym.imp.user32.dll_GetMessageW]
mov edi, dword [sym.imp.user32.dll_TranslateMessage]
sub esp, 4
jmp 0x40c86c
mov dword [esp], esi
call edi
sub esp, 4
mov dword [esp], esi
call dword [sym.imp.user32.dll_DispatchMessageW]
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], esi
call ebx
sub esp, 0x10
test eax, eax
jne 0x40c858
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [esp + 8], 3
mov dword [esp + 4], 0x4158a4
mov dword [esp], ebx
call edi
test eax, eax
jne 0x40c8d0
mov dword [ebp - 0x42c], 1
add ebx, 6
jmp 0x40beea
mov dword [esp + 8], 4
mov dword [esp + 4], 0x41589c
mov dword [esp], ebx
call edi
test eax, eax
jne 0x40c8fe
lea edx, [ebx + 8]
lea eax, [ebp - 0x428]
call sym._copy_path_string
mov ebx, eax
jmp 0x40beea
mov dword [esp + 8], 6
mov dword [esp + 4], 0x415890
mov dword [esp], ebx
call edi
test eax, eax
je 0x40ca40
mov dword [esp + 8], 8
mov dword [esp + 4], 0x415880
mov dword [esp], ebx
call edi
test eax, eax
jne 0x40cbe0
lea edx, [ebx + 0x10]
lea eax, [ebp - 0x220]
call sym._copy_path_string
cmp word [ebp - 0x428], 0
mov ebx, eax
jne 0x40beea
movzx ecx, word [ebp - 0x220]
test cx, cx
je 0x40beea
lea eax, [ebp - 0x220]
add eax, 2
cmp word [eax], 0
jne 0x40c96c
lea edx, [ebp - 0x220]
cmp eax, edx
jbe 0x40c988
sub eax, 2
cmp word [eax], 0x5c
jne 0x40c975
lea edx, [ebp - 0x220]
cmp eax, edx
jne 0x40c9a3
jmp 0x40beea
movzx ecx, word [edx]
mov word [edx - 0x208], cx
add edx, 2
cmp edx, eax
jne 0x40c9a0
lea ecx, [ebp - 0x220]
mov eax, 0xfffffffe
sub eax, ecx
lea ecx, [ebp - 0x18]
add edx, ecx
xor ecx, ecx
mov word [eax + edx - 0x40e], cx
jmp 0x40beea
lea ebx, [ebp - 0x428]
mov dword [esp], ebx
call dword [0x41d5f4]
sub esp, 4
test eax, eax
jne 0x40bf18
mov dword [esp + 0x14], 0xa
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [0x41d5e8]
sub esp, 0x18
cmp eax, 0x20
jbe 0x40bf18
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_ExitProcess]
lea edx, [ebx + 0xc]
lea eax, [ebp - 0x428]
call sym._copy_path_string
mov ebx, eax
jmp 0x40beea
test byte [0x412050], 2
jne 0x40cc41
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 dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
mov eax, dword [ebp - 0x670]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x67c]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
lea edi, [ebp - 0x428]
mov esi, dword [sym.imp.kernel32.dll_GetFullPathNameW]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], edi
call esi
sub esp, 0x10
mov ebx, eax
add eax, eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [esp + 0xc], 0
mov dword [ebp - 0x67c], eax
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], edi
call esi
mov eax, dword [ebp - 0x670]
sub esp, 0x10
test eax, eax
je 0x40c022
mov eax, dword [ebp - 0x67c]
test eax, eax
je 0x40c018
mov dword [esp], eax
call dword [0x41d5bc]
sub esp, 4
mov edi, eax
test eax, eax
je 0x40cd0d
lea esi, [ebp - 0x648]
mov edx, eax
mov eax, esi
call sym._variant_from_pidl
mov ecx, dword [ebp - 0x670]
xor eax, eax
lea edx, [ebp - 0x674]
mov word [ebp - 0x638], ax
mov eax, dword [ecx]
mov dword [esp + 0x18], edx
lea edx, [ebp - 0x66c]
mov dword [esp + 0x10], edx
lea edx, [ebp - 0x638]
mov dword [esp + 8], edx
mov dword [esp], ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
mov dword [esp + 4], esi
call dword [eax + 0x3c]
sub esp, 0x1c
mov ebx, eax
mov dword [esp], esi
call dword [0x41d57c]
sub esp, 4
mov dword [esp], edi
call dword [0x41d5b8]
sub esp, 4
test ebx, ebx
jne 0x40c022
test byte [0x412050], 8
jne 0x40cc7b
mov eax, dword [ebp - 0x66c]
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetForegroundWindow]
sub esp, 4
jmp 0x40ca86
mov dword [esp + 8], 8
mov dword [esp + 4], str._desktop_select__root__cd__e_
mov dword [esp], ebx
call edi
test eax, eax
je 0x40cc26
mov dword [esp + 8], 9
mov dword [esp + 4], str.__desktop
mov dword [esp], ebx
call edi
test eax, eax
jne 0x40cd58
add ebx, 0x12
mov dword [esp], ebx
call sym._manage_desktop
jmp 0x40beea
add ebx, 0x10
mov dword [esp], ebx
call sym._manage_desktop
jmp 0x40beea
mov ecx, dword [ebp - 0x668]
jmp 0x40c7d7
mov dword [esp + 0xc], str.Could_not_obtain_an_instance_of_IExplorerBrowser_n
mov dword [esp + 8], 0x4157cc
mov dword [esp + 4], 0x412050
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_2
jmp 0x40ca62
mov ecx, dword [ebp - 0x668]
lea esi, [ebp - 0x614]
jmp 0x40c7d7
mov eax, dword [ebp - 0x67c]
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0xc], str.Found_window__lx_already_browsing_path__s._n
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x66c]
mov dword [esp + 8], 0x4157cc
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x412050
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x40cbc9
test byte [0x412050], 2
jne 0x40cda0
mov dword [esp], 0xffffffff
call dword [sym.imp.kernel32.dll_ExitProcess]
test byte [0x412050], 2
je 0x40ca86
mov dword [esp + 0xc], str.Could_not_allocate_an_explorer_info_struct_n
mov dword [esp + 8], 0x4157cc
mov dword [esp + 4], 0x412050
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_2
jmp 0x40ca86
test byte [0x412050], 2
je 0x40ca86
mov eax, dword [ebp - 0x67c]
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0xc], str.Failed_to_create_PIDL_for__s._n
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x4157cc
mov dword [esp + 4], 0x412050
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_2
jmp 0x40ca86
mov edx, ebx
lea eax, [ebp - 0x428]
call sym._copy_path_string
jmp 0x40bef2
test byte [0x412050], 2
je 0x40ccca
mov dword [esp + 0xc], str.Could_not_initialize_Comctl_n
mov dword [esp + 8], str.wWinMain
mov dword [esp + 4], 0x412050
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_2
jmp 0x40ccca
mov dword [esp + 0xc], str.Could_not_initialize_COM_n
mov dword [esp + 8], str.wWinMain
mov dword [esp + 4], 0x412050
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_2
jmp 0x40ccca