Function at 0x4061d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1a8
mov word [esp + 0x10], 0x7d
mov word [esp + 0x12], 0x7e
mov word [esp + 0x14], 0x7f
lea eax, [esp]
push ebx
mov word [esp + 0x1a], pe_nt_image_headers32
mov word [esp + 0x1c], 0
push esi
push edi
push ebp
push eax
mov esi, dword [esp + 0x1c0]
mov ecx, esi
call fcn.00406d50
cmp dword [esp + 0x10], 0x80000000
je 0x40622a
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
sub dword [esp + 0x18], eax
sub dword [esp + 0x1c], ecx
lea eax, [esp + 0x154]
push 0x64
push eax
mov ecx, dword [esi]
push 0x2711
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
push 0
mov ecx, dword [esi]
mov edx, dword [esp + 0x20]
push ecx
mov eax, dword [esp + 0x20]
push 0
mov ecx, dword [esp + 0x20]
push 0
push edx
push eax
mov edx, dword [esp + 0x28]
push ecx
lea eax, [esp + 0x170]
push edx
push 0xcf0000
mov ecx, dword [str.WSViewWndClass]
push eax
mov edi, dword [sym.imp.USER32.dll_CreateWindowExA]
push ecx
push 0
call edi
mov dword [esi + 4], eax
test eax, eax
jne 0x406291
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1a8
ret
push esi
xor ebx, ebx
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, 1
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov byte [esp + 0x48], bl
mov byte [esp + 0x49], al
mov byte [esp + 0x4a], bl
mov byte [esp + 0x4b], bl
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov byte [esp + 0x5c], bl
mov byte [esp + 0x5d], bl
mov byte [esp + 0x5e], bl
mov byte [esp + 0x5f], bl
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x70], bl
mov byte [esp + 0x71], al
mov byte [esp + 0x72], bl
mov byte [esp + 0x73], bl
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], eax
mov byte [esp + 0x84], bl
mov byte [esp + 0x85], bl
mov byte [esp + 0x86], bl
mov byte [esp + 0x87], bl
mov dword [esp + 0x88], ebx
mov ecx, 2
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ecx
mov byte [esp + 0x98], bl
mov byte [esp + 0x99], bl
mov byte [esp + 0x9a], bl
mov byte [esp + 0x9b], bl
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov byte [esp + 0xac], bl
mov byte [esp + 0xad], al
mov byte [esp + 0xae], bl
mov byte [esp + 0xaf], bl
mov dword [esp + 0xb0], ebx
mov dword [esp + 0x58], 0x9c43
mov dword [esp + 0x80], 0x9c65
mov dword [esp + 0xb4], ebx
mov byte [esp + 0xc0], bl
mov byte [esp + 0xc1], bl
mov byte [esp + 0xc2], bl
mov dword [esp + 0x94], 0x9c5f
mov dword [esp + 0xb8], 3
mov dword [esp + 0xbc], 0x9c46
mov byte [esp + 0xc3], bl
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xd4], bl
mov byte [esp + 0xd5], cl
mov byte [esp + 0xd6], bl
mov byte [esp + 0xd7], bl
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xcc], 4
mov byte [esp + 0xe8], bl
mov byte [esp + 0xe9], bl
mov byte [esp + 0xea], bl
mov byte [esp + 0xeb], bl
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xd0], 0x9c61
mov dword [esp + 0xe0], 5
mov byte [esp + 0xfc], bl
mov byte [esp + 0xfd], bl
mov byte [esp + 0xfe], bl
mov byte [esp + 0xff], bl
mov dword [esp + 0x100], ebx
mov dword [esp + 0x104], ebx
mov dword [esp + 0xe4], 0x9c60
mov dword [esp + 0xf4], 6
mov dword [esp + 0xf8], 0x9c66
lea edx, [esp + 0x40]
push 0x14
push 0xf
push 0x10
push 0xf
mov eax, dword [esi]
push 0x10
push 0xa
push edx
mov ecx, dword [esi + 4]
push 0x85
mov ebp, dword [sym.imp.COMCTL32.dll_CreateToolbarEx]
push eax
push 7
push ebx
push 0x50000100
push ecx
call ebp
mov dword [esi + 0x10], eax
cmp eax, ebx
jne 0x4064f9
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1a8
ret
mov ecx, esi
call fcn.00406e70
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push 0
mov eax, dword [esi]
push eax
mov ecx, dword [esi + 4]
push 1
push ecx
push 0
push 0
push 0
push 0
push 0x50008005
push 0x410060
push 0x4102f0
push 0
call edi
mov dword [esi + 8], eax
test eax, eax
jne 0x406540
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1a8
ret
mov eax, dword [esp + 0x20]
mov ecx, dword [esi]
and eax, 0xffff
push eax
push ecx
call dword [sym.imp.USER32.dll_LoadBitmapA]
mov edi, eax
lea ecx, [esp + 0x108]
push ecx
push 0x18
push edi
call dword [sym.imp.GDI32.dll_GetObjectA]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x110]
push 0
mov edx, dword [esp + 0x110]
push 1
push 1
push ecx
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov edi, eax
test edi, edi
jne 0x40659c
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1a8
ret
cmp word [esp + 0x20], 0
lea ebp, [esp + 0x20]
je 0x4065e1
xor eax, eax
mov ecx, dword [esi]
mov ax, word [ebp]
push eax
push ecx
call dword [sym.imp.USER32.dll_LoadBitmapA]
mov ebx, eax
test ebx, ebx
je 0x40661d
push 0xffffff
push ebx
push edi
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
cmp eax, 0xffffffff
je 0x406631
push ebx
add ebp, 2
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp word [ebp], 0
jne 0x4065a8
push edi
mov eax, dword [esi + 8]
push 1
push 0x1003
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 2
mov eax, dword [esi + 4]
push eax
push 0x410060
push 0x50800000
call dword [sym.imp.COMCTL32.dll_CreateStatusWindowA]
mov dword [esi + 0xc], eax
test eax, eax
jne 0x40664c
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1a8
ret
push edi
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1a8
ret
push edi
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1a8
ret
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0x32
lea eax, [esp + 0x124]
mov ecx, dword [esi]
push eax
push 0x273a
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x120]
push ecx
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edx
call ebp
lea ecx, [esp + 0x124]
push eax
push ecx
mov ebx, dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
push edi
call ebx
mov ecx, dword [esp + 0x2c]
push 0x32
lea eax, [esp + 0x124]
mov edx, dword [esi]
mov dword [esp + 0x38], ecx
push eax
push 0x273b
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x120]
push ecx
push edx
call ebp
lea ecx, [esp + 0x124]
push eax
push ecx
push edi
call ebx
mov eax, dword [esp + 0x2c]
push edi
add eax, dword [esp + 0x38]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x3c], eax
push ecx
mov dword [esp + 0x44], 0xffffffff
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esp + 0x34]
mov eax, dword [esi + 0xc]
push ecx
push 3
push 0x404
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x10]
mov edx, dword [esi + 4]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c0]
push ecx
push edx
mov eax, dword [esi + 4]
push edi
push eax
call fcn.00404410
add esp, 0x10
mov eax, dword [esi + 4]
push edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1a8
ret