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

Disassembly:
push 0xffffffffffffffff
push 0x7be0f0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x89b044]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esp + 0x84]
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea eax, [esi + 0x158]
push eax
push ebx
lea eax, [esp + 0x30]
xor edi, edi
push eax
mov dword [esp + 0x34], edi
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x5bba45
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x80]
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x30]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x44]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 8], edx
push ebp
mov dword [esp + 0x90], edi
mov dword [eax + 0xc], ecx
call fcn.005c45c0
add esp, 0x18
push ebx
push ebp
mov ecx, esi
call fcn.005c2350
cmp dword [esi + 0x584], edi
je 0x5bb820
cmp dword [esi + 0x578], edi
je 0x5bb748
mov ecx, dword [esi + 0x578]
mov edx, dword [ecx]
mov eax, dword [edx + 0x100]
call eax
test al, al
je 0x5bb748
mov ecx, dword [esi + 0x578]
call fcn.005d33d0
mov ecx, dword [esi + 0x584]
mov ecx, dword [ecx + 0xc]
mov edx, dword [ecx]
movzx eax, ax
push edi
shl eax, 0x10
or eax, 4
push edi
push eax
mov eax, dword [edx + 0xc]
push 0x115
call eax
mov eax, dword [esi + 0x584]
mov ecx, dword [eax + 0x30]
push edi
push edi
mov dword [esp + 0x44], ecx
mov edx, dword [eax + 0x38]
push edi
push ebx
mov dword [esp + 0x54], edx
mov ecx, dword [eax + 0x2c]
push edi
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 0x34]
lea ecx, [esp + 0x4c]
push ecx
push edi
push ebp
push edi
mov dword [esp + 0x64], edx
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push edi
push edi
push 1
mov ecx, eax
call edx
cmp byte [esi + 0x588], 0
je 0x5bb820
mov ecx, dword [esi + 0x578]
mov eax, dword [ecx]
mov edx, dword [eax + 0x5c]
call edx
mov ecx, dword [esp + 0x40]
sub ecx, dword [esp + 0x38]
mov edx, dword [esi + 0x584]
add eax, ecx
mov dword [esp + 0x14], eax
or eax, 0xffffffff
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x84], edi
mov ebp, dword [edx + 0xc]
mov edi, dword [ebp]
lea eax, [esp + 0x84]
push eax
mov eax, dword [esi]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
mov edx, dword [eax + 0x20]
push 1
push 0
push 0
mov ecx, esi
add edi, 0x44
call edx
mov ecx, eax
call fcn.005967f0
push eax
mov eax, dword [edi]
push 1
mov ecx, ebp
call eax
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0x3c]
cmp dword [esp + 0x84], ecx
jg 0x5bb819
mov ecx, esi
call fcn.005bfa30
mov ebp, dword [esp + 0x80]
lea ecx, [esi + 0x54c]
call fcn.0059ca80
test eax, eax
jle 0x5bb998
mov eax, dword [esi + 0x158]
mov ecx, dword [esi + 0x15c]
mov edx, dword [esi + 0x160]
mov edi, dword [esi + 0x164]
add eax, dword [esi + 0x558]
add ecx, dword [esi + 0x55c]
sub edx, dword [esi + 0x560]
sub edi, dword [esi + 0x564]
cmp dword [esi + 0x578], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edi
je 0x5bb8a1
mov ecx, dword [esi + 0x578]
mov edx, dword [ecx]
mov eax, dword [edx + 0x100]
call eax
test al, al
je 0x5bb8a1
mov ecx, dword [esi + 0x578]
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
call eax
sub dword [esp + 0x20], eax
cmp dword [esi + 0x57c], 0
je 0x5bb8cf
mov ecx, dword [esi + 0x57c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x100]
call eax
test al, al
je 0x5bb8cf
mov ecx, dword [esi + 0x57c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x6c]
call eax
sub dword [esp + 0x24], eax
lea ecx, [esp + 0x18]
push ecx
push ebx
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
jne 0x5bba5b
lea ecx, [esi + 0x54c]
xor ebp, ebp
call fcn.0059ca80
test eax, eax
jle 0x5bb991
lea ecx, [ecx]
push ebp
lea ecx, [esi + 0x54c]
call fcn.0059cac0
mov edi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x100]
mov ecx, edi
call edx
test al, al
je 0x5bb97d
mov eax, dword [edi]
mov edx, dword [eax + 0x34]
mov ecx, edi
call edx
push eax
push ebx
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x5bb97d
mov edx, dword [edi]
mov eax, dword [edx + 0x130]
mov ecx, edi
call eax
test al, al
je 0x5bb97d
mov edx, dword [edi]
mov eax, dword [edx + 0x34]
mov ecx, edi
call eax
push eax
lea eax, [esi + 0x158]
push eax
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x5bb97d
mov edx, dword [edi]
mov eax, dword [esp + 0x80]
mov edx, dword [edx + 0x158]
push ebx
push eax
mov ecx, edi
call edx
lea ecx, [esi + 0x54c]
inc ebp
call fcn.0059ca80
cmp ebp, eax
jl 0x5bb900
mov ebp, dword [esp + 0x80]
cmp dword [esi + 0x578], 0
je 0x5bb9e5
mov ecx, dword [esi + 0x578]
mov eax, dword [ecx]
mov edx, dword [eax + 0x100]
call edx
test al, al
je 0x5bb9e5
mov ecx, dword [esi + 0x578]
mov eax, dword [ecx]
mov edx, dword [eax + 0x34]
call edx
push eax
push ebx
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x5bb9e5
mov ecx, dword [esi + 0x578]
mov edx, dword [ecx]
mov eax, dword [edx + 0x158]
push ebx
push ebp
call eax
cmp dword [esi + 0x57c], 0
je 0x5bba34
mov ecx, dword [esi + 0x57c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x100]
call eax
test al, al
je 0x5bba34
mov ecx, dword [esi + 0x57c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
call eax
push eax
push ebx
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x5bba34
mov esi, dword [esi + 0x57c]
mov edx, dword [esi]
mov eax, dword [edx + 0x158]
push ebx
push ebp
mov ecx, esi
call eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x78], 0xffffffff
call fcn.005c4590
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 8
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x38]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x48]
mov dword [eax + 8], ecx
push ebp
mov byte [esp + 0x90], 1
mov dword [eax + 0xc], edx
call fcn.005c45c0
add esp, 0x18
lea ecx, [esi + 0x54c]
mov dword [esp + 0x80], 0
call fcn.0059ca80
test eax, eax
jle 0x5bbb99
mov eax, dword [esp + 0x80]
push eax
lea ecx, [esi + 0x54c]
call fcn.0059cac0
mov edi, eax
mov edx, dword [edi]
mov eax, dword [edx + 0x100]
mov ecx, edi
call eax
test al, al
je 0x5bbb77
mov edx, dword [edi]
mov eax, dword [edx + 0x34]
mov ecx, edi
call eax
push eax
push ebx
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x5bbb77
mov edx, dword [edi]
mov eax, dword [edx + 0x130]
mov ecx, edi
call eax
mov edx, dword [edi]
test al, al
mov eax, dword [edx + 0x34]
mov ecx, edi
je 0x5bbb52
call eax
push eax
lea eax, [esi + 0x158]
push eax
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x5bbb77
lea edx, [esp + 0x38]
push edx
push ebp
call fcn.005c4700
mov eax, dword [edi]
mov edx, dword [eax + 0x158]
add esp, 8
push ebx
push ebp
mov ecx, edi
call edx
lea eax, [esp + 0x38]
push eax
push ebp
call fcn.005c4720
add esp, 8
jmp 0x5bbb77
call eax
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x5bbb77
mov eax, dword [edi]
mov edx, dword [eax + 0x158]
push ebx
push ebp
mov ecx, edi
call edx
mov edi, dword [esp + 0x80]
inc edi
lea ecx, [esi + 0x54c]
mov dword [esp + 0x80], edi
call fcn.0059ca80
cmp edi, eax
jl 0x5bbaaf
lea ecx, [esp + 0x38]
mov byte [esp + 0x78], 0
call fcn.005c4590
jmp 0x5bb998