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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x5b1435
sub esp, 0x84
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call fcn.005b1540
mov eax, dword [esp + 4]
test eax, eax
jg 0x5b0f1d
xor ecx, ecx
xor edx, edx
jmp 0x5b0f3f
mov dword [esp + 0x50], eax
lea ecx, [0x634440]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.004483e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x50]
mov edx, eax
mov eax, ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x68], edx
lea ebx, [0x652480]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.0040bfc0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx]
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.005ae650
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
test eax, eax
jne 0x5b1063
test ecx, ecx
jbe 0x5b142d
movzx eax, byte [edx]
cmp al, 0x20
je 0x5b0fb2
cmp al, 9
jne 0x5b1063
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call fcn.005b01e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 4]
test eax, eax
je 0x5b0ffc
mov eax, dword [esp + 0x80]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edx
add esp, 0x84
ret
mov dword [esp], 0
lea eax, [0x66fb70]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x24
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.0044b990
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00408e30
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x8c], ecx
lea ecx, [0x6cfb20]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
add esp, 0x84
ret
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x44]
jmp 0x5b1073
mov edx, eax
mov eax, ecx
mov ecx, edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x88]
mov dword [esp], edx
lea ebx, [0x67caf4]
mov dword [esp + 4], ebx
call fcn.005b0400
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
test ecx, ecx
je 0x5b140a
mov dword [esp + 0x48], ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x74], esi
mov dword [esp + 0x54], ebx
mov ebx, dword [0x821858]
mov ebp, dword [0x82185c]
mov esi, dword [0x821860]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
call fcn.00479200
movzx eax, byte [esp + 0x30]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
test al, al
je 0x5b139b
mov dword [esp + 0x64], esi
mov dword [esp + 0x3c], ebp
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.005b1740
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x5b1148
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x68]
jmp 0x5b106d
mov dword [esp + 0x70], eax
mov dword [esp + 0x4c], ecx
mov dword [esp], 0
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
call fcn.0044bc40
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x662573]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
call fcn.004bfbf0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], ecx
lea edx, [0x652480]
mov dword [esp], edx
mov ebx, dword [esp + 0x80]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x70]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x4c]
mov dword [esp + 0xc], esi
call fcn.0040f950
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
test ecx, ecx
je 0x5b11e4
mov ebx, dword [esp + 0x44]
jmp 0x5b128e
mov ebx, dword [esp + 0x44]
test ebx, ebx
je 0x5b128e
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x68]
mov dword [edi + 4], ecx
lea ecx, [ebx - 1]
mov dword [esp + 0x40], ecx
neg ecx
sar ecx, 0x1f
and ecx, 8
add ecx, edi
mov dword [esp + 0x78], ecx
mov ebx, dword [0x84e4b0]
test ebx, ebx
jne 0x5b1222
mov eax, dword [esp + 0x60]
mov dword [edi], eax
jmp 0x5b122b
mov eax, dword [esp + 0x60]
call fcn.0045f3a0
lea eax, [0x652480]
mov dword [esp], eax
mov ecx, dword [esp + 0x80]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x70]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xc], edx
call fcn.0040ffe0
mov edi, dword [esp + 0x10]
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov eax, dword [0x84e4b0]
test eax, eax
jne 0x5b1278
mov eax, dword [esp + 0x68]
mov dword [edi], eax
jmp 0x5b1281
mov eax, dword [esp + 0x68]
call fcn.0045f3a0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x78]
jmp 0x5b1364
lea ebp, [edx + 1]
cmp eax, ebp
jae 0x5b12d0
mov dword [esp + 0x34], edx
lea ebx, [0x634440]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebp
call fcn.004484a0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebp, [eax + 1]
mov ebx, dword [esp + 0x44]
mov eax, edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], eax
lea esi, [ecx + edx*8 + 4]
mov ebx, dword [esp + 0x38]
mov dword [esi], ebx
mov ebx, dword [0x84e4b0]
lea edx, [ecx + edx*8]
test ebx, ebx
jne 0x5b12fb
mov ebx, dword [esp + 0x60]
mov dword [edx], ebx
jmp 0x5b1306
mov edi, edx
mov eax, dword [esp + 0x60]
call fcn.0045f3a0
lea eax, [0x652480]
mov dword [esp], eax
mov ecx, dword [esp + 0x80]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x70]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xc], edx
call fcn.0040ffe0
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x5c]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x58]
mov dword [edi + 8], eax
mov eax, dword [0x84e4b0]
test eax, eax
jne 0x5b1353
mov eax, dword [esp + 0x78]
mov dword [edi], eax
jmp 0x5b135c
mov eax, dword [esp + 0x78]
call fcn.0045f3a0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x54]
test edx, edx
je 0x5b106d
mov eax, dword [esp + 0x80]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x94], eax
add esp, 0x84
ret
mov dword [esp], 0
lea eax, [0x66c36d]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1c
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], eax
call fcn.0044b990
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00408e30
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x8c], ecx
lea ecx, [0x6cfb20]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
add esp, 0x84
ret
mov eax, dword [esp + 0x80]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], esi
add esp, 0x84
ret
xor eax, eax
call fcn.0045f420
nop
call fcn.0045df90
jmp fcn.005b0ee0