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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5b30e5
sub esp, 0x60
mov eax, dword [esp + 0x70]
test eax, eax
je 0x5b30dc
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x54], ecx
xor edx, edx
mov ebx, edx
mov ebp, 0xffffffff
mov dword [esp + 0x50], edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebp
mov esi, dword [esp + 0x7c]
cmp edx, esi
jge 0x5b30d8
cmp ebx, ecx
jg 0x5b30d8
mov edi, dword [esp + 0x64]
mov ebp, dword [edi + 8]
mov ebp, dword [ebp + 0x10]
mov dword [esp + 0x24], ebp
mov dword [esp], edi
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
call fcn.005b0140
mov eax, dword [esp + 0x38]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x5c], edx
test eax, eax
je 0x5b30d8
cmp eax, 1
jbe 0x5b30d1
mov ebx, dword [edx + 4]
mov ebp, dword [esp + 0x44]
cmp ebx, ebp
je 0x5b3004
mov ebp, 1
mov dword [esp + 0x44], ebx
mov esi, dword [edx + 4]
mov dword [esp + 0x40], esi
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x5b2fbb
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov edx, eax
mov ebp, esi
mov eax, dword [esp + 0x70]
jmp 0x5b2ed6
mov ebp, dword [esp + 0x64]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.005b2dd0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov edx, dword [esp + 0x80]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0x50]
inc eax
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
jmp 0x5b2faa
mov ebx, dword [edx]
mov dword [esp + 0x58], ebx
mov esi, dword [esp + 0x40]
cmp ebx, esi
mov edi, dword [esp + 0x70]
test edi, edi
je 0x5b3095
mov ecx, dword [esp + 0x54]
cmp ebp, ecx
ja 0x5b308e
mov eax, dword [esp + 0x78]
cmp ecx, eax
ja 0x5b308e
sub eax, ebp
lea edx, [eax - 1]
sar edx, 0x1f
xor edx, 0xffffffff
and edx, ebp
add edx, edi
mov dword [esp], edx
sub ecx, ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0044ce90
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x5b307b
mov ecx, dword [esp + 0x44]
add eax, ecx
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x40]
cmp ecx, edx
xchg ebp, ebx
setne bl
xchg ebp, ebx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x5c]
mov ebx, eax
mov eax, dword [esp + 0x48]
jmp 0x5b2f95
mov ecx, dword [esp + 0x54]
lea eax, [ecx + 1]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x40]
cmp edx, ebx
jmp 0x5b3061
call fcn.004246c0
ud2
mov ecx, dword [esp + 0x54]
cmp ebp, ecx
ja 0x5b30ca
mov eax, dword [esp + 0x6c]
cmp ecx, eax
ja 0x5b30ca
sub ecx, ebp
lea eax, [ecx - 1]
sar eax, 0x1f
xor eax, 0xffffffff
and eax, ebp
mov edi, dword [esp + 0x68]
add eax, edi
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0044d090
mov eax, dword [esp + 0xc]
jmp 0x5b304d
call fcn.004246c0
ud2
call fcn.00424660
ud2
add esp, 0x60
ret
mov ecx, dword [esp + 0x6c]
jmp 0x5b2ec9
call fcn.00448420
jmp fcn.005b2ea0