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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x5f2b1f
sub esp, 0x94
lea edi, [esp + 0x68]
xor eax, eax
call fcn.00462905
nop
mov word [esp + 0x26], 0
mov ecx, dword [esp + 0xbc]
mov edx, ecx
shr cx, 8
mov byte [esp + 0x26], cl
mov byte [esp + 0x27], dl
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x5f2769
lea ecx, [esp + 0x68]
jmp 0x5f2875
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x5f2b06
mov eax, dword [esp + 0x74]
add eax, 2
cmp eax, 2
jge 0x5f27ba
lea eax, [0x658580]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1b
lea ecx, [0x68fb84]
mov dword [eax], ecx
lea ecx, [0x6ee9dc]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
mov edx, dword [esp + 0xbc]
movzx eax, byte [esp + 0x7c]
test al, al
je 0x5f2808
mov eax, dword [esp + 0x74]
add eax, 2
lea ecx, [esp + 0x68]
cmp dword [ecx + 0x10], eax
jge 0x5f280c
lea eax, [0x658580]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x36
lea ecx, [0x69910e]
mov dword [eax], ecx
lea ecx, [0x6ee9dc]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea ecx, [esp + 0x68]
jmp 0x5f2875
lea ecx, [esp + 0x68]
mov eax, dword [esp + 0x74]
lea ebx, [eax + 2]
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x70]
cmp ebp, ebx
jae 0x5f2860
mov dword [esp + 0x30], eax
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 2
lea eax, [0x64f480]
mov dword [esp + 0x10], eax
call fcn.0044a110
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x68]
mov edx, dword [esp + 0xbc]
movzx edi, word [esp + 0x26]
mov word [esi + eax], di
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x70], esi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea eax, [0x5f2cf0]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x54], eax
mov dword [esp], ecx
mov dword [esp + 4], 1
mov byte [esp + 8], 0
lea eax, [esp + 0x4c]
mov dword [esp + 0xc], eax
call fcn.0059c8f0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea eax, [0x5f2b30]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], 1
mov byte [esp + 8], 0
lea eax, [esp + 0x58]
mov dword [esp + 0xc], eax
call fcn.0059c8f0
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
test eax, eax
je 0x5f294c
xor ebp, ebp
mov ebx, ecx
xor edx, edx
xor ecx, ecx
jmp 0x5f297a
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x78]
mov eax, dword [esp + 0x84]
cmp eax, ecx
ja 0x5f2b01
sub ebx, eax
sub ecx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
add edx, eax
xor eax, eax
xor ebx, ebx
test eax, eax
je 0x5f2999
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
jne 0x5f2aad
jmp 0x5f2ab0
mov dword [esp + 0x3c], edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ecx
lea eax, [0x64f480]
mov dword [esp], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0044a050
mov eax, dword [esp + 0xc]
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
lea ecx, [0x5f6710]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x98]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x34]
mov dword [esp], ecx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x18], ecx
call fcn.005c7b20
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x20]
mov dword [esp], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xbc]
mov dword [esp + 8], edx
mov dword [esp + 0xc], edx
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x5f2a95
mov ecx, dword [esp + 0xbc]
cmp ecx, eax
jne 0x5f2a95
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], ecx
add esp, 0x94
ret
lea eax, [0x64f280]
mov dword [esp], eax
lea eax, [0x6ee250]
mov dword [esp + 4], eax
call fcn.004353d0
mov eax, dword [eax + 4]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ebx
lea eax, [0x69330c]
mov dword [esp], eax
mov dword [esp + 4], 0x22
lea eax, [esp + 0x44]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004b46c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x5f2af5
mov eax, dword [eax + 4]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004353d0
call fcn.00462770
lea eax, [0x64f280]
mov dword [esp], eax
lea eax, [0x6ee298]
mov dword [esp + 4], eax
call fcn.004353d0
nop
call fcn.00461280
jmp fcn.005f2710