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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x3c]
cmp eax, dword [ecx + 8]
jbe 0x5b8ac9
sub esp, 0xbc
mov eax, dword [esp + 0xc8]
test eax, eax
jle 0x5b8ab4
mov ecx, dword [esp + 0xc4]
xor edx, edx
xor ebx, ebx
xor ebp, ebp
lea esi, [esp + 0x20]
xor edi, edi
lea edx, [esp + 0x20]
mov dword [esp + 0x58], edx
xor edx, edx
mov dword [esp + 0x20], edx
xor edx, edx
jmp 0x5b8736
mov edi, dword [esp + 0x54]
add edi, 0x30
mov esi, dword [esp + 0x50]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x20], edx
mov ecx, edi
mov edx, eax
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x50], esi
mov dword [esp + 0x24], edi
lea edi, [esp + 0x8c]
mov esi, ecx
call fcn.0044be68
lea edi, [esp + 0x5c]
lea esi, [esp + 0x8c]
call fcn.0044be68
mov ecx, dword [esp + 0x78]
mov esi, eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x3c], eax
test ecx, ecx
mov edi, edx
sete dl
cmp eax, 1
seta al
and eax, edx
test ecx, ecx
setg dl
or edx, eax
test dl, dl
jne 0x5b89f1
mov eax, dword [esp + 0x50]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x3c], edx
test ecx, ecx
sete al
cmp edx, 1
seta dl
and edx, eax
test ecx, ecx
setg al
or eax, edx
test al, al
jne 0x5b8926
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x24], eax
lea eax, [edi + 1]
cmp eax, esi
jl 0x5b8714
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x58], ecx
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.005a0970
mov eax, dword [esp + 0xc]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x58]
mov dword [esp], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 8], ebx
call fcn.005a0970
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
test ebx, ebx
jg 0x5b88ac
test ecx, ecx
jg 0x5b8855
add esp, 0xbc
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
lea eax, [0x63ebfd]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.004ac7c0
mov eax, dword [esp + 0xc0]
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp], eax
lea eax, [0x63f178]
mov dword [esp + 4], eax
mov dword [esp + 8], 4
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.005b83b0
jmp 0x5b884e
mov dword [esp + 0x44], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
lea eax, [0x63ebfd]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.004ac7c0
mov eax, dword [esp + 0xc0]
mov ecx, dword [eax]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov dword [esp], ecx
lea ecx, [0x63f148]
mov dword [esp + 4], ecx
mov dword [esp + 8], 4
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.005b83b0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
jmp 0x5b884a
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebp
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xa
call fcn.00457fb0
mov eax, dword [esp + 0x20]
lea ecx, [eax + 1]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x24]
cmp ecx, ebp
jg 0x5b89a7
mov esi, dword [esp + 0x58]
mov edi, ecx
lea ecx, [esi + eax*8 + 4]
mov dword [ecx], ebx
mov ecx, dword [0x813ad0]
lea ebx, [esi + eax*8]
test ecx, ecx
jne 0x5b8996
mov dword [ebx], edx
mov ebx, dword [esp + 0x2c]
mov eax, ebp
mov ecx, esi
mov edx, edi
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0xc8]
mov edi, dword [esp + 0x40]
jmp 0x5b87cf
mov eax, edi
mov edi, ebx
mov ecx, eax
mov eax, edx
call fcn.0044b8d0
mov edi, ecx
jmp 0x5b8978
mov dword [esp + 0x4c], edx
mov dword [esp + 0x38], ebx
lea edx, [0x5ff860]
mov dword [esp], edx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call fcn.00437d20
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x38]
jmp 0x5b8961
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebp
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xa
call fcn.00457fb0
mov eax, dword [esp + 0x30]
lea ecx, [eax + 1]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x34]
cmp ecx, ebp
jg 0x5b8a6a
mov esi, dword [esp + 0x50]
mov edi, ecx
lea ecx, [esi + eax*8 + 4]
mov dword [ecx], ebx
lea ecx, [esi + eax*8]
mov ebx, dword [0x813ad0]
test ebx, ebx
jne 0x5b8a59
mov dword [ecx], edx
mov ebx, ebp
mov ebp, edi
mov eax, esi
mov esi, dword [esp + 0xc8]
mov edi, dword [esp + 0x40]
jmp 0x5b8794
mov eax, edi
mov edi, ecx
mov ebx, eax
mov eax, edx
call fcn.0044b8d0
mov edi, ebx
jmp 0x5b8a43
mov dword [esp + 0x4c], edx
mov dword [esp + 0x38], ebx
lea edx, [0x5ff860]
mov dword [esp], edx
mov ebx, dword [esp + 0x50]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call fcn.00437d20
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x38]
jmp 0x5b8a2c
lea eax, [esp + 0x20]
xor ebp, ebp
xor ebx, ebx
xor edx, edx
xor esi, esi
lea ecx, [esp + 0x20]
jmp 0x5b87e6
call fcn.0044a170
jmp fcn.005b86c0