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

Disassembly:
mov ecx, dword [0x85d3cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x5b4efe
sub esp, 0x84
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
test ecx, ecx
je 0x5b4b0d
mov ecx, dword [eax + 4]
cmp ecx, 2
jge 0x5b4af1
mov ecx, dword [0x832c50]
mov edx, dword [0x832c54]
jmp 0x5b4b19
cmp ecx, 0x7fffffff
jle 0x5b4b07
mov ecx, dword [0x832c58]
mov edx, dword [0x832c5c]
jmp 0x5b4b19
xor ecx, ecx
xor edx, edx
jmp 0x5b4b19
mov ecx, dword [0x832c48]
mov edx, dword [0x832c4c]
test ecx, ecx
jne 0x5b4c78
mov byte [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov ecx, dword [0x83787c]
lea edx, [esp + 0x74]
cmp ecx, edx
je 0x5b4c66
mov dword [esp + 0x30], ecx
mov ebx, dword [ecx + 8]
mov ebp, dword [ecx + 4]
test ebx, ebx
jg 0x5b4b74
xor esi, esi
xor edi, edi
xor edx, edx
mov dword [esp + 0x18], edx
lea edx, [esp + 0x74]
jmp 0x5b4c10
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], ebp
cmp ebx, 1
jne 0x5b4bcc
lea eax, [0x662560]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044d740
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x74]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x2c]
mov esi, 1
mov edi, eax
mov eax, 1
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x88]
jmp 0x5b4c10
lea eax, [0x662560]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [ebx + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 8], eax
call fcn.0044d740
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x74]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x2c]
mov esi, ebx
mov edi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x88]
cmp esi, ebx
jg 0x5b4c16
mov ebx, esi
cmp edi, ebp
je 0x5b4c4c
mov dword [esp + 0x28], edi
mov dword [esp + 0x14], esi
mov dword [esp], edi
mov dword [esp + 4], ebp
shl ebx, 2
mov dword [esp + 8], ebx
call fcn.00468970
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x74]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x7c], esi
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x78], edi
movzx ecx, byte [ecx]
mov byte [esp + 0x74], cl
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x40], ecx
mov ebx, dword [eax + 0x10]
mov dword [esp + 0x24], ebx
xor ebp, ebp
jmp 0x5b4cbf
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
add esp, 0x84
ret
lea eax, [esp + 0x74]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], ecx
call fcn.0057b0d0
mov eax, dword [esp + 0x20]
lea ebp, [eax + 1]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x74]
mov ebx, dword [esp + 0x24]
cmp ebp, ebx
jge 0x5b4d24
mov dword [esp + 0x20], ebp
mov eax, dword [ecx + ebp*4]
mov dword [esp + 0x34], eax
mov edx, dword [0x83787c]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0057b660
mov eax, dword [esp + 8]
test eax, eax
jg 0x5b4c8d
lea eax, [0x66a620]
mov dword [esp], eax
call fcn.0040c260
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1f
lea ecx, [0x69a8ce]
mov dword [eax], ecx
lea ecx, [0x6f1b20]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x84
ret
mov ecx, dword [eax]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.0057b660
mov eax, dword [esp + 8]
test eax, eax
jne 0x5b4dd6
mov byte [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov byte [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x54]
mov dword [esp], edx
mov edx, ecx
sar ecx, 0x1f
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
call fcn.0057ab70
mov eax, dword [esp + 0xc]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 8]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0057b0d0
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x3c], ecx
mov eax, dword [eax + 0x10]
mov dword [esp + 0x24], eax
xor edx, edx
jmp 0x5b4e21
lea eax, [0x66a620]
mov dword [esp], eax
call fcn.0040c260
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1b
lea ecx, [0x698c34]
mov dword [eax], ecx
lea ecx, [0x6f1b20]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x84
ret
mov ebx, dword [esp + 0x20]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
cmp edx, eax
jge 0x5b4ee1
mov dword [esp + 0x20], edx
mov eax, dword [ecx + edx*4]
mov byte [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov ebx, dword [0x83787c]
lea ebp, [esp + 0x44]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.0057ae80
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x64]
mov dword [esp], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.0057b440
mov eax, dword [0x83787c]
lea ecx, [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0057b660
mov eax, dword [esp + 8]
test eax, eax
je 0x5b4e12
lea eax, [0x66a620]
mov dword [esp], eax
call fcn.0040c260
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1d
lea ecx, [0x699b27]
mov dword [eax], ecx
lea ecx, [0x6f1b20]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x84
ret
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x84
ret
call fcn.00466c30
jmp fcn.005b4ab0