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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x264
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x60]
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
xor ebx, ebx
push ebx
push eax
call edi
mov ecx, dword [esi + 0x4c]
push ebx
push ecx
call edi
mov edx, dword [esi + 0x50]
push ebx
push edx
call edi
mov eax, dword [esi + 0x54]
push ebx
push eax
call edi
mov ecx, dword [esi + 0x58]
push ebx
push ecx
call edi
mov edx, dword [esi + 0x5c]
push ebx
push edx
call edi
mov eax, dword [esi + 0x64]
push ebx
push eax
call edi
mov eax, dword [esi + 0x1c0]
and eax, 0xf
cmp eax, 0xc
ja case.0x4037ad.7
jmp dword [eax*4 + 0x403be8]
push 1
push 1
push ebx
push esi
call fcn.00403620
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 1
push 1
push 1
push esi
call fcn.00403620
mov ecx, dword [esi + 0x4c]
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
add esp, 0x10
push 0x40
push 0x1e
push 0xc8
push 0xc8
push 0xc8
push ebx
push ecx
call edi
mov edx, dword [esi + 0x50]
push 0x40
push 0x1e
push 0xc8
push 0xf0
push 0xc8
push ebx
push edx
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
sub edx, eax
xor eax, eax
cmp edx, 0x400
setg al
push 1
push 1
push 1
push esi
mov edi, eax
call fcn.00403620
mov ecx, dword [esi + 0x54]
add esp, 0x10
push 0x40
push 0x1e
push 0x190
push 0xc8
push 0xc8
push ebx
mov ebx, dword [sym.imp.USER32.dll_SetWindowPos]
push ecx
call ebx
mov edx, dword [esi + 0x58]
push 0x40
push 0x1e
push 0x190
push 0xe6
push 0xc8
push 0
push edx
call ebx
mov eax, dword [esi + 0x60]
push 0x40
push 0xc8
push 0x190
push 0x104
push 0xc8
push 0
push eax
call ebx
push 0x100
lea ecx, [esp + 0x6c]
push ecx
push 0x8be3
push 0
call fcn.00406bd0
mov eax, dword [esi + 0x5c]
add esp, 0x10
lea edx, [esp + 0x68]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, edi
neg eax
sbb eax, eax
and eax, 0x1e
add eax, 0x78
neg edi
sbb edi, edi
push 0x40
and edi, 0xc
add edi, 0x18
push edi
lea ecx, [eax + 0xc8]
push ecx
push 0x1d6
mov edx, 0x190
sub edx, eax
mov eax, dword [esi + 0x5c]
push edx
push 0
push eax
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x18], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
sub eax, edi
xor ecx, ecx
cmp eax, 0x400
setg cl
push 0x104
lea edx, [esp + 0x6c]
push edx
push 0x8be3
push ebx
mov edi, ecx
call fcn.00406bd0
mov ecx, dword [esi + 0x5c]
add esp, 0x10
lea eax, [esp + 0x68]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [esi + 0x64]
push 0x40
push 0xc8
push 0x190
push 0x104
push 0xc8
push ebx
mov ebx, dword [sym.imp.USER32.dll_SetWindowPos]
push edx
call ebx
mov eax, edi
neg eax
sbb eax, eax
and eax, 0x1e
add eax, 0x78
neg edi
sbb edi, edi
push 0x40
and edi, 0xc
add edi, 0x18
push edi
lea ecx, [eax + 0xc8]
push ecx
push 0x1d6
mov edx, 0x190
sub edx, eax
mov eax, dword [esi + 0x5c]
push edx
push 0
push eax
call ebx
mov ecx, dword [esi + 0x64]
push 0
push 0
push 0x1009
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x1c0]
xor edi, edi
test eax, 0xf0
mov dword [esp + 0xc], edi
jbe case.0x4037ad.5
lea ebx, [esi + 0x4f0]
jmp 0x4039f0
cmp dword [ebx + 0x404], 0x1000
jne 0x403a92
push edi
push esi
call fcn.004033d0
add esp, 8
test eax, eax
je 0x403a92
xor eax, eax
push ebx
mov dword [esp + 0x38], 0
mov ecx, 0xc
lea edi, [esp + 0x3c]
rep stosd dword es:[edi], eax
mov eax, dword [ebx - 0xc]
lea edx, [ebx - 0x150]
push edx
push eax
lea ecx, [esp + 0x74]
push str._d.__S___S_
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
lea edx, [esp + 0x7c]
add esp, 0x14
mov eax, edx
push eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x38], 5
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
lea edx, [esp + 0x34]
push edx
push 0
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x64]
push 0x104d
push eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x64], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
inc edi
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0xc]
mov ecx, dword [esi + 0x1c0]
shr ecx, 4
inc edi
and ecx, 0xf
add ebx, 0x90c
cmp edi, ecx
mov dword [esp + 0xc], edi
jb 0x4039f0
jmp case.0x4037ad.5
mov word [esp + 0x68], bx
xor eax, eax
mov ecx, 0x7f
lea edi, [esp + 0x6a]
push 1
rep stosd dword es:[edi], eax
push 1
push 1
push esi
stosw word es:[edi], ax
call fcn.00403620
mov eax, dword [ebp + 0xc]
add esp, 0x10
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
sub ecx, eax
xor edx, edx
cmp ecx, 0x400
setg dl
push 0x100
lea eax, [esp + 0x6c]
push eax
push 0x8c0a
push ebx
mov edi, edx
call fcn.00406bd0
mov edx, dword [esi + 0x5c]
add esp, 0x10
lea ecx, [esp + 0x68]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [esi + 0x5c]
mov eax, edi
neg eax
sbb eax, eax
and eax, 0xc
mov ecx, edi
add eax, 0x18
neg ecx
sbb ecx, ecx
push 0x40
and ecx, 0x1e
push eax
add ecx, 0x12c
neg edi
push ecx
sbb edi, edi
push 0x14a
and edi, 0x32
add edi, 0x32
push edi
push ebx
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x44]
push ebx
push eax
call edi
mov ecx, dword [esi + 0x40]
push ebx
push ecx
call edi
mov edx, dword [esi + 0x48]
push ebx
push edx
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [esp + 0x16], eax
mov dword [esp + 0x1a], eax
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
push 0x10
mov dword [esp + 0x2a], eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x32], eax
mov dword [esp + 0x36], eax
push 0x8be4
push ebx
mov word [esp + 0x24], bx
mov word [esp + 0x42], ax
call fcn.00406bd0
mov eax, dword [esi + 0x40]
add esp, 0x10
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 1
push 1
push 1
push esi
call fcn.00403620
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret