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

Disassembly:
sub esp, 0x1c
mov edx, dword [esp + 0x20]
push ebx
push ebp
push esi
mov esi, ecx
lea eax, [esp + 0x14]
push edi
lea ecx, [esp + 0x1c]
lea edi, [esi + 8]
push eax
push ecx
push edx
mov ecx, edi
mov dword [esp + 0x20], edi
call fcn.005b6e10
test eax, eax
jne 0x5b4557
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x1c
ret 0x10
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
lea ebp, [esi + 0x218]
push ecx
mov ecx, edi
mov dword [esp + 0x14], ebp
mov dword [ebp], eax
mov eax, dword [esp + 0x40]
mov dword [ebp + 4], 0
mov dword [esi + 0x1c], eax
mov dword [esi + 0x124], eax
call fcn.005b4ea0
test eax, eax
jne 0x5b459b
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
add esp, 0x1c
ret 0x10
mov edx, dword [esp + 0x38]
lea ecx, [esi + 0x110]
push edx
mov dword [esp + 0x38], ecx
call fcn.005b4ea0
test eax, eax
jne 0x5b45c2
pop edi
pop esi
pop ebp
mov eax, 0xfffffffd
pop ebx
add esp, 0x1c
ret 0x10
mov eax, dword [esi + 0x74]
mov ebx, 0x600000
test eax, eax
jg 0x5b45d8
jl 0x5b45d5
cmp dword [esi + 0x70], ebx
jae 0x5b45d8
mov ebx, dword [esi + 0x70]
push ebx
call fcn.0060a459
mov edi, eax
add esp, 4
test edi, edi
jne 0x5b45f6
pop edi
pop esi
pop ebp
mov eax, 0xfffffffc
pop ebx
add esp, 0x1c
ret 0x10
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
push ebp
push ebx
push edi
push eax
call fcn.005b4f30
test eax, eax
je 0x5b461f
mov ecx, dword [esi + 0x78]
mov eax, dword [esi + 0x70]
cmp ecx, eax
jne 0x5b45f6
mov edx, dword [esi + 0x7c]
mov eax, dword [esi + 0x74]
cmp edx, eax
jne 0x5b45f6
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
push ebp
push ebx
push edi
push eax
call fcn.005b4f30
test eax, eax
je 0x5b4654
mov ecx, dword [esi + 0x180]
mov eax, dword [esi + 0x178]
cmp ecx, eax
jne 0x5b461f
mov edx, dword [esi + 0x184]
mov eax, dword [esi + 0x17c]
cmp edx, eax
jne 0x5b461f
mov eax, dword [ebp]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
sub eax, ecx
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 4]
sbb eax, ebx
push edi
mov dword [esp + 0x2c], eax
call fcn.00609aba
mov eax, dword [esi + 0x24]
add esp, 4
test eax, eax
jne 0x5b468d
pop edi
pop esi
pop ebp
mov eax, 0xfffffffb
pop ebx
add esp, 0x1c
ret 0x10
mov eax, dword [esi + 0x12c]
test eax, eax
jne 0x5b46a6
pop edi
pop esi
pop ebp
mov eax, 0xfffffffa
pop ebx
add esp, 0x1c
ret 0x10
mov ebx, dword [esp + 0x14]
mov ecx, ebx
call fcn.005b5d70
mov edi, dword [esp + 0x34]
mov ecx, edi
call fcn.005b5d70
mov eax, dword [esi + 0x1a8]
mov ecx, ebx
push eax
call fcn.005b6260
mov ecx, dword [esi + 0xa0]
push ecx
mov ecx, edi
call fcn.005b6260
mov edx, dword [esi + 0x154]
mov eax, dword [esi + 0x150]
mov ecx, dword [esi + 0x140]
sub edx, eax
mov eax, dword [esi + 0x48]
sub edx, ecx
mov ecx, dword [esi + 0x38]
sub edx, eax
mov eax, dword [esi + 0x134]
sub edx, ecx
mov ecx, dword [esi + 0x4c]
add edx, eax
mov eax, dword [esi + 0x40]
add edx, ecx
add edx, eax
mov eax, dword [esi + 0x2c]
lea ecx, [edx + eax + 0x50]
mov edx, dword [esp + 0x30]
push ecx
push edx
mov ecx, ebx
call fcn.005b6cd0
test eax, eax
jne 0x5b4731
pop edi
pop esi
pop ebp
mov eax, 0xfffffff9
pop ebx
add esp, 0x1c
ret 0x10
mov edx, dword [ebp]
mov eax, dword [esp + 0x3c]
add edx, 8
mov dword [ebp], edx
mov ecx, dword [ebp + 4]
adc ecx, 0
cmp eax, 0x40
mov dword [ebp + 4], ecx
je 0x5b4928
mov ebx, dword [esi + 0x118]
test ebx, ebx
je 0x5b47ca
mov eax, dword [esi + 0x10]
test eax, eax
mov dword [esp + 0x38], eax
je 0x5b47ca
mov ebp, dword [esi + 0x84]
test ebp, ebp
jne 0x5b4779
mov eax, dword [esi + 0x18c]
test eax, eax
je 0x5b47c2
mov eax, dword [esi + 0x18c]
push 0
push 0x3e8
push 0
push eax
call fcn.0060c730
push 0
push ebx
push edx
push eax
call fcn.0060bae0
push 0
push 0x3e8
mov edi, eax
push 0
push ebp
inc edi
call fcn.0060c730
mov ecx, dword [esp + 0x38]
push 0
push ecx
push edx
push eax
call fcn.0060bae0
mov ebp, dword [esp + 0x10]
inc eax
jmp 0x5b493a
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x34]
cmp dword [esp + 0x3c], 0x80
je 0x5b4928
mov edi, dword [esi + 0x190]
test edi, edi
je 0x5b4840
test ebx, ebx
je 0x5b4840
mov eax, dword [esi + 0x88]
test eax, eax
mov dword [esp + 0x3c], eax
je 0x5b4840
mov ebp, dword [esi + 0x10]
test ebp, ebp
je 0x5b483c
push 0
push 0x3e8
push 0
push edi
call fcn.0060c730
push 0
push ebx
push edx
push eax
call fcn.0060bae0
mov edx, dword [esp + 0x3c]
push 0
push 0x3e8
push 0
push edx
mov edi, eax
call fcn.0060c730
push 0
push ebp
push edx
push eax
call fcn.0060bae0
mov ebp, dword [esp + 0x10]
jmp 0x5b493a
mov ebp, dword [esp + 0x10]
mov ecx, dword [esi + 0x18c]
test ecx, ecx
je 0x5b487c
mov eax, dword [esi + 0x11c]
test eax, eax
jne 0x5b485c
test ebx, ebx
je 0x5b487c
test eax, eax
je 0x5b485e
mov ebx, eax
push 0
push 0x3e8
push 0
push ecx
call fcn.0060c730
push 0
push ebx
push edx
push eax
call fcn.0060bae0
mov edi, eax
inc edi
jmp 0x5b48ab
mov eax, dword [esi + 0x11c]
test eax, eax
jne 0x5b488e
test ebx, ebx
je 0x5b48ab
test eax, eax
je 0x5b4890
mov ebx, eax
push 0
push 0x3e8
push 0
push edi
call fcn.0060c730
push 0
push ebx
push edx
push eax
call fcn.0060bae0
mov edi, eax
mov ecx, dword [esi + 0x84]
test ecx, ecx
je 0x5b48ea
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x5b48c7
mov edx, dword [esi + 0x10]
test edx, edx
je 0x5b48ea
test eax, eax
je 0x5b48cb
mov esi, eax
jmp 0x5b48ce
mov esi, dword [esi + 0x10]
push 0
push 0x3e8
push 0
push ecx
call fcn.0060c730
push 0
push esi
push edx
push eax
call fcn.0060bae0
inc eax
jmp 0x5b493a
mov ebx, dword [esi + 0x14]
test ebx, ebx
jne 0x5b4907
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x5b4900
mov eax, dword [esi + 0x88]
jmp 0x5b493a
test ebx, ebx
jne 0x5b4907
mov ebx, dword [esi + 0x10]
mov eax, dword [esi + 0x88]
push 0
push 0x3e8
push 0
push eax
call fcn.0060c730
push 0
push ebx
push edx
push eax
call fcn.0060bae0
jmp 0x5b493a
mov ecx, edi
call fcn.005b6450
mov ecx, dword [esp + 0x14]
mov edi, eax
call fcn.005b6450
cmp edi, eax
jbe 0x5b4940
mov eax, edi
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x14]
push eax
push ebp
push esi
mov ecx, edi
call fcn.005b6c00
push ebp
push 1
push esi
mov ecx, edi
call fcn.005b64e0
mov ecx, dword [esp + 0x34]
push ebp
push 2
push esi
call fcn.005b64e0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
push esi
mov ecx, edi
call fcn.005b6d30
neg eax
sbb eax, eax
pop edi
and eax, 9
pop esi
pop ebp
add eax, 0xfffffff8
pop ebx
add esp, 0x1c
ret 0x10