Function at 0x5fbfc0
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 0x5fc3cf
sub esp, 0x94
lea edi, [esp + 0x68]
xor eax, eax
call fcn.00464635
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 0x5fc019
lea ecx, [esp + 0x68]
jmp 0x5fc125
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x5fc3b6
mov eax, dword [esp + 0x74]
add eax, 2
cmp eax, 2
jge 0x5fc06a
lea eax, [0x690d00]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1b
lea ecx, [0x6c8677]
mov dword [eax], ecx
lea ecx, [0x727230]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
mov edx, dword [esp + 0xbc]
movzx eax, byte [esp + 0x7c]
test al, al
je 0x5fc0b8
mov eax, dword [esp + 0x74]
add eax, 2
lea ecx, [esp + 0x68]
cmp dword [ecx + 0x10], eax
jge 0x5fc0bc
lea eax, [0x690d00]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x36
lea ecx, [0x6d211e]
mov dword [eax], ecx
lea ecx, [0x727230]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea ecx, [esp + 0x68]
jmp 0x5fc125
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 0x5fc110
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, [0x6873e0]
mov dword [esp + 0x10], eax
call fcn.0044af60
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, [0x5fc5a0]
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.00573c30
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea eax, [0x5fc3e0]
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.00573c30
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
test eax, eax
je 0x5fc1fc
xor ebp, ebp
mov ebx, ecx
xor edx, edx
xor ecx, ecx
jmp 0x5fc22a
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x78]
mov eax, dword [esp + 0x84]
cmp eax, ecx
ja 0x5fc3b1
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 0x5fc249
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
jne 0x5fc35d
jmp 0x5fc360
mov dword [esp + 0x3c], edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ecx
lea eax, [0x6873e0]
mov dword [esp], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0044aea0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
lea ecx, [0x6006a0]
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.005d0d80
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 0x5fc345
mov ecx, dword [esp + 0xbc]
cmp ecx, eax
jne 0x5fc345
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, [0x6871e0]
mov dword [esp], eax
lea eax, [0x726a08]
mov dword [esp + 4], eax
call fcn.00436170
mov eax, dword [eax + 4]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ebx
lea eax, [0x6cbcdb]
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.004c3100
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x5fc3a5
mov eax, dword [eax + 4]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00436170
call fcn.00464480
lea eax, [0x6871e0]
mov dword [esp], eax
lea eax, [0x726a48]
mov dword [esp + 4], eax
call fcn.00436170
nop
call fcn.00462f90
jmp fcn.005fbfc0