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

Disassembly:
mov ecx, dword [0x8602c0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5b87eb
sub esp, 0x5c
mov ebx, dword [esp + 0x70]
cmp ebx, 0x102
jl 0x5b8558
mov ebx, 0x102
mov ebp, dword [esp + 0x60]
test byte [ebp], al
mov edx, dword [ebp + 0xa0044]
mov eax, dword [esp + 0x64]
lea ecx, [ebx + eax]
cmp edx, ecx
jb 0x5b87e5
mov esi, dword [ebp + 0xc]
cmp ebx, esi
jg 0x5b857d
mov esi, ebx
mov dword [esp + 0x18], esi
mov edi, dword [ebp + 0x10]
mov esi, dword [esp + 0x6c]
cmp dword [ebp + 4], esi
jg 0x5b8590
sar edi, 2
mov dword [esp + 0x20], ebx
lea ebx, [esi + eax]
cmp ebx, ecx
jae 0x5b87de
mov ebp, dword [ebp + 0xa003c]
movzx ebx, byte [ebp + ebx]
cmp eax, ecx
ja 0x5b87d9
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x54], ebp
sub edx, eax
mov dword [esp + 0x1c], edx
neg edx
sar edx, 0x1f
and edx, eax
add edx, ebp
mov dword [esp + 0x58], edx
add eax, 0xffff8000
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x38], eax
xor eax, eax
mov byte [esp + 0xb], al
mov eax, dword [esp + 0x68]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x4c]
jmp 0x5b860f
mov ebp, dword [esp + 0x2c]
dec ebp
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], edi
mov edx, dword [esp + 0x58]
mov edi, ebp
mov ebp, dword [esp + 0x54]
test edi, edi
jle 0x5b86a8
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x24]
lea edx, [edi + esi]
cmp edx, ecx
jae 0x5b87d2
add edx, ebp
cmp byte [edx], bl
jne 0x5b867b
cmp edi, ecx
ja 0x5b87cb
mov edx, dword [esp + 0x14]
sub edx, edi
mov dword [esp + 0x28], edx
neg edx
sar edx, 0x1f
and edx, edi
add edx, ebp
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
cmp ebp, edi
ja 0x5b87c2
mov edi, dword [esp + 0x1c]
cmp ebp, edi
ja 0x5b87b9
mov byte [esp + 0xa], bl
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
jmp 0x5b86eb
mov edx, dword [esp + 0x38]
cmp edi, eax
je 0x5b86ca
and edi, 0x7fff
mov ebp, dword [esp + 0x60]
mov edi, dword [ebp + edi*4 + 0x80034]
sub edi, dword [ebp + 0xa0034]
cmp edi, eax
jl 0x5b86c1
test edi, edi
jge 0x5b85f8
jmp 0x5b86c1
mov eax, dword [esp + 0x38]
movzx ecx, byte [esp + 0xb]
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], eax
mov byte [esp + 0x7c], cl
add esp, 0x5c
ret
mov eax, edx
movzx ecx, byte [esp + 0xb]
jmp 0x5b86b1
mov eax, edx
movzx ecx, byte [esp + 0xb]
jmp 0x5b86b1
lea eax, [edi + 1]
mov ecx, dword [esp + 0x10]
movzx ebx, byte [esp + 0xa]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0xc]
cmp edi, ebp
jge 0x5b8715
movzx eax, byte [edi + edx]
mov ebx, dword [esp + 0x58]
lea ecx, [edi + ebx]
cmp byte [ecx], al
je 0x5b86d3
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
mov edx, ebp
movzx ebx, byte [esp + 0xa]
mov ebp, edi
jmp 0x5b8717
mov edx, ebp
cmp ebp, esi
jle 0x5b8790
cmp ebp, 4
jg 0x5b873a
mov dword [esp + 0x34], ebp
mov edi, dword [esp + 0x64]
mov ebp, dword [esp + 0x24]
sub edi, ebp
cmp edi, 0x1000
jg 0x5b877f
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x24]
mov edi, ebx
sub ebx, esi
mov esi, dword [esp + 0x18]
cmp esi, ebp
jle 0x5b8771
lea esi, [ebp + edi]
cmp esi, ecx
jae 0x5b87b2
mov edi, dword [esp + 0x54]
movzx esi, byte [edi + esi]
mov dword [esp + 0x3c], eax
mov eax, 1
mov byte [esp + 0xb], al
mov eax, dword [esp + 0x3c]
jmp 0x5b879f
mov esi, ebp
mov eax, ebx
mov ecx, 1
jmp 0x5b86b1
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x38]
mov ebp, esi
movzx esi, byte [esp + 0xa]
jmp 0x5b879f
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x38]
mov ebp, esi
movzx esi, byte [esp + 0xa]
mov edi, dword [esp + 0x24]
mov edx, ebx
mov ebx, esi
mov esi, ebp
mov ebp, dword [esp + 0x54]
jmp 0x5b867f
mov eax, esi
call fcn.00467cb0
mov ecx, ebp
mov edx, edi
call fcn.00467cf0
mov ecx, ebp
mov edx, edi
call fcn.00467cf0
mov eax, edi
call fcn.00467d10
mov eax, edx
call fcn.00467cb0
call fcn.00467d10
mov eax, ebx
call fcn.00467cb0
call fcn.00467cf0
nop
call fcn.00466840
jmp fcn.005b8530