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

Disassembly:
push 0xffffffffffffffff
push 0x59a6bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x128]
push edi
mov edi, ecx
test esi, esi
mov dword [esp + 0x44], edi
jle 0x45c989
lea eax, [edi + 0x78]
mov ebp, dword [esp + 0x124]
mov ebx, dword [edi + 0xf8]
mov ecx, dword [eax]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x78], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x7c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x120]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x128]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x130]
add ecx, esi
mov dword [esp + 0x18], eax
sub eax, edx
sub ebp, edx
mov dword [esp + 0x24], ecx
mov ecx, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ebp
call fcn.00459c90
mov esi, dword [edi + 0xe8]
push edi
lea ecx, [esp + 0x8c]
mov dword [esp + 0x4c], eax
call fcn.004ee110
mov ecx, dword [edi + 0xd4]
lea eax, [esp + 0x88]
push eax
mov dword [esp + 0x114], 0
call fcn.004ee6e0
mov eax, dword [esp + 0xb4]
cmp ebx, eax
jl 0x45c6fe
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x128]
mov edx, dword [esp + 0x1c]
cmp edx, ecx
jge 0x45c972
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x118]
add edx, ecx
dec eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x64], eax
jmp 0x45c731
mov ebp, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0xd0], ebp
mov ebp, dword [esp + 0x64]
test ebp, ebp
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x28], ebp
jl 0x45c915
mov ecx, dword [esp + 0x14]
sub ecx, ebp
dec ecx
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x14]
xor eax, eax
cmp ebp, edx
setl al
test eax, eax
mov dword [esp + 0x60], eax
je 0x45c78a
mov eax, ecx
mov dword [esp + 0x10], eax
jmp 0x45c790
mov dword [esp + 0x10], ebp
mov eax, ebp
test eax, eax
jl 0x45c7ad
cmp eax, dword [esp + 0xb4]
jge 0x45c7ad
mov edx, dword [esp + 0xb0]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x2c], eax
jmp 0x45c7b9
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x45c903
lea ecx, [esp + 0xf8]
push ecx
mov ecx, eax
call fcn.00432b50
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
test ecx, ecx
mov dword [esp + 0x34], eax
jne 0x45c7ea
mov ecx, dword [esp + 0x4c]
cmp ecx, eax
jle 0x45c7ea
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0xe8]
push edx
call fcn.00432b50
mov eax, dword [eax + 8]
lea ecx, [esp + 0x34]
mov dword [esp + 0x3c], eax
lea edx, [esp + 0x78]
push ecx
lea eax, [esp + 0xdc]
push edx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x45c8ff
mov eax, dword [esp + 0x60]
test eax, eax
je 0x45c864
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], edx
mov edx, dword [esi]
mov dword [esp + 0x74], ecx
inc eax
push edi
mov ecx, esi
mov dword [esp + 0x70], eax
call dword [edx + 0x6c]
push eax
lea eax, [esp + 0x6c]
push eax
mov ecx, ebx
call fcn.005809d7
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
sub esp, 0x10
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x60], eax
mov ebx, esp
dec eax
mov edi, dword [esp + 0x50]
mov dword [ebx], eax
mov ebp, dword [esi]
mov dword [esp + 0x64], ecx
push 0
mov dword [ebx + 4], ecx
mov ecx, esi
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], edi
mov dword [ebx + 8], edx
mov dword [esp + 0x64], eax
mov dword [ebx + 0xc], edi
mov ebx, dword [esp + 0x12c]
push ebx
call dword [ebp + 0x74]
mov ecx, dword [esp + 0x50]
sub esp, 0x10
mov eax, esp
mov edx, dword [esi]
push 1
push ebx
mov dword [eax], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [edx + 0x74]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
dec edx
cmp eax, edx
jne 0x45c8f7
mov edi, dword [esp + 0x44]
mov eax, dword [esi]
push 0
lea ecx, [esp + 0x54]
push edi
push ecx
push ebx
mov ecx, esi
call dword [eax + 0x78]
jmp 0x45c8fb
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
dec ebp
inc ecx
test ebp, ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ecx
jge 0x45c76f
mov eax, dword [esp + 0x48]
test eax, eax
jle 0x45c948
mov eax, dword [esp + 0x18]
sub esp, 0x10
mov ecx, esp
mov edx, dword [esi]
push ebx
mov dword [ecx], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x60]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 0xc], eax
mov ecx, esi
call dword [edx + 0x84]
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
add ecx, eax
add edx, eax
mov eax, dword [esp + 0x128]
cmp ecx, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], edx
jl 0x45c72d
lea ecx, [esp + 0x88]
mov dword [esp + 0x110], 0xffffffff
call fcn.004ee1f0
mov ecx, dword [esp + 0x108]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x104
ret 0x1c