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

Disassembly:
push 0xffffffffffffffff
push 0x49d2db
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
push ebp
push esi
push edi
mov eax, dword [0x4c86e0]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebx + 0x300], edi
mov dword [ebx + 0x304], edi
mov eax, dword [ebx + 0x50c]
xor ebp, ebp
cmp eax, edi
jle 0x4147ee
xor eax, eax
mov dword [esp + 0x10], eax
jmp 0x4146e6
mov eax, dword [esp + 0x10]
cmp eax, edi
jl 0x41491a
cmp ebp, dword [ebx + 0x50c]
jge 0x41491a
mov edi, dword [ebx + 0x508]
add edi, eax
lea eax, [esp + 0x64]
push eax
call fcn.004140c0
mov dword [esp + 0xf8], 0
add dword [ebx + 0x304], 0x18
mov ecx, dword [ebx + 0x304]
mov edx, dword [ebx + 0x300]
push ecx
push edx
lea esi, [esp + 0x6c]
call fcn.00413720
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x90]
push 1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x90]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, dword [esp + 0x78]
call fcn.0046098c
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xb8]
push 1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0xb8]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, dword [esp + 0x7c]
call fcn.0046098c
mov eax, dword [esp + 0xdc]
mov ecx, dword [esp + 0xe4]
mov edx, dword [esp + 0xe0]
push 1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0xe0]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, dword [esp + 0x80]
call fcn.0046098c
mov dword [esp + 0xf8], 0xffffffff
call fcn.00414220
add dword [esp + 0x10], 0x88
add ebp, 1
xor edi, edi
cmp ebp, dword [ebx + 0x50c]
jl 0x4146e2
mov eax, dword [ebx + 0x50c]
cmp eax, edi
jle 0x41491f
push 6
lea eax, [eax + eax*2]
lea ecx, [eax*8 + 0x3b]
push ecx
push 0x122
push edi
push edi
push edi
mov ecx, ebx
call fcn.00460bd5
lea esi, [ebx + 0x308]
cmp esi, edi
je 0x41482b
cmp dword [esi + 0x20], edi
jne 0x4148b1
mov edx, dword [esi]
mov edx, dword [edx + 0x134]
push 0x2ee0
push ebx
lea eax, [esp + 0x3c]
push eax
push 0x50000000
push edi
mov ecx, esi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
call edx
mov dword [ebx + 0x4b4], 5
mov eax, 0x139
mov dword [esi + 0xa4], eax
lea eax, [esi + 0x154]
mov ecx, 0x73
lea edx, [ebx + 0x2f0]
push 0x97
mov dword [esi + 0xa0], edx
mov dword [esi + 0xa8], ecx
push eax
mov dword [eax + 0x40], 0x6a
mov dword [eax + 0x44], 0x19
call fcn.00448520
xor eax, eax
mov dword [esi + 0x1e4], edi
mov dword [esi + 0x1e8], eax
mov ecx, dword [ebx + 0x20]
lea eax, [esp + 0x54]
push eax
push ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], 0x6a
mov dword [esp + 0x28], 0x19
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x1c]
add edx, 0xffffffdd
push edx
cdq
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push 1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x1c]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, esi
jmp 0x4149ab
jmp fcn.00461650
lea ecx, [ebx + 0x308]
cmp ecx, edi
mov dword [ebx + 0x2ec], edi
je 0x41493a
cmp dword [ecx + 0x20], edi
je 0x41493a
push edi
call fcn.004609ca
mov ecx, dword [ebx + 0x20]
push ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], 0x122
mov dword [esp + 0x34], 0x53
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0045d6f3
mov eax, dword [eax + 0x20]
lea edx, [esp + 0x44]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
add ecx, 0x1b
push ecx
add edx, 0xfffffede
push edx
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push 1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x2c]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, ebx
call fcn.0046098c
mov eax, dword [ebx + 0x20]
push 0x105
push edi
push edi
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0xec
ret