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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x64fc8fe6
sub esp, 0x7c
lea edi, [esp + 0x84]
xor eax, eax
call fcn.64fda266
mov ecx, dword [esp + 0x80]
jmp 0x64fc8aa4
xor eax, eax
mov ecx, edi
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
lea ebx, [ecx + 0xc]
mov dword [esp + 0x50], ebx
cmp edx, 2
jge 0x64fc8e6e
mov dword [esp + 0x34], edx
mov ebp, dword [ecx + 4]
mov edi, ebx
mov ebx, dword [ecx]
mov edx, dword [ecx + 8]
test ebp, ebp
je 0x64fc8e0a
mov esi, dword [ebx]
dec ebp
mov dword [ecx + 4], ebp
dec edx
mov dword [ecx + 8], edx
mov ebp, dword [0x6517dcb0]
neg edx
sar edx, 0x1f
and edx, 4
add edx, ebx
test ebp, ebp
jne 0x64fc8af2
mov dword [ecx], edx
jmp 0x64fc8afb
mov edi, ecx
mov eax, edx
call fcn.64fda080
mov dword [esp + 0x24], esi
mov dword [esp], esi
call fcn.64fc9c90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x64fc8c2a
mov ecx, dword [0x65156f98]
test ecx, ecx
jne 0x64fc8b2d
mov edi, dword [esp + 0x80]
jmp 0x64fc8aa0
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.64fc8ff0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + 0x10]
lea ebx, [edx + eax]
mov dword [esp + 0x34], ebx
mov ebp, dword [esp + 4]
mov esi, dword [ecx + 0x14]
mov edi, dword [ecx + 0xc]
cmp esi, ebx
jae 0x64fc8ba5
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x2c], edx
lea eax, [0x65096c20]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.64fc47f0
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x4c]
cmp edx, ebx
ja 0x64fc8fdc
mov dword [esp + 0x30], esi
mov dword [esp + 0x48], edi
lea ecx, [0x65096c20]
mov dword [esp], ecx
lea ebx, [edx + edx*4]
sub esi, edx
xchg esi, ebx
neg ebx
xchg esi, ebx
shl ebx, 3
sar esi, 0x1f
and esi, ebx
lea edx, [edi + esi]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
call fcn.64f8fb40
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x80]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x30]
mov dword [edi + 0x14], eax
mov eax, dword [0x6517dcb0]
test eax, eax
jne 0x64fc8c14
mov ecx, dword [esp + 0x48]
mov dword [edi + 0xc], ecx
jmp 0x64fc8aa0
mov eax, dword [esp + 0x48]
mov ecx, edi
mov edi, dword [esp + 0x50]
call fcn.64fda080
mov edi, ecx
jmp 0x64fc8aa0
mov edx, dword [eax]
test edx, edx
jne 0x64fc8c33
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x24]
cmp edx, ebx
jae 0x64fc8c44
lea esi, [ebx - 1]
jmp 0x64fc8c46
mov esi, ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], esi
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.64fca2a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x40]
cmp byte [edx + 0x27], 3
ja 0x64fc8c74
xor ebx, ebx
jmp 0x64fc8c80
lea ebx, [edx + 0x27]
mov ebp, dword [edx + 0x1c]
lea ebx, [ebx + ebp*4 + 0xd]
mov ebx, dword [ebx]
test ebx, ebx
jne 0x64fc8c8b
mov ebx, edx
jmp 0x64fc8d16
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x3c], eax
mov dword [esp], edx
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov byte [esp + 0x14], 0
call fcn.64fca950
mov eax, dword [esp + 0x18]
test eax, eax
jge 0x64fc8cda
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x3c]
jmp 0x64fc8d12
cmp eax, 0x100000
jae 0x64fc8fd2
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + eax*4 + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.64fca3c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
xor edx, edx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x34], ecx
lea edi, [esp + 0x54]
mov ebp, eax
xor eax, eax
call fcn.64fda266
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ebp
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ebx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + 0x10]
lea ebx, [edx + 1]
mov ebp, dword [ecx + 0xc]
mov esi, ecx
mov ecx, dword [ecx + 0x14]
cmp ecx, ebx
jae 0x64fc8dc0
lea eax, [0x65096c20]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
call fcn.64fc47f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x80]
mov dword [ebx + 0x14], edx
mov edx, dword [0x6517dcb0]
test edx, edx
jne 0x64fc8daf
mov dword [ebx + 0xc], eax
jmp 0x64fc8db8
mov edi, dword [esp + 0x50]
call fcn.64fda080
mov esi, ebx
mov edx, ecx
mov ebp, eax
xor eax, eax
lea ecx, [edx + 1]
mov dword [esi + 0x10], ecx
mov ecx, dword [0x6517dcb0]
lea edx, [edx + edx*4]
lea edi, [ebp + edx*8]
test ecx, ecx
jne 0x64fc8de2
lea esi, [esp + 0x54]
call fcn.64fda71c
jmp 0x64fc8dfe
lea eax, [0x65096c20]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
call fcn.64f8fa30
xor eax, eax
mov edi, dword [esp + 0x80]
jmp 0x64fc8aa0
mov edx, dword [esp + 0x34]
test edx, edx
je 0x64fc8e62
cmp edx, 1
jne 0x64fc8e5d
mov eax, edi
lea edi, [esp + 0x84]
call fcn.64fda71c
mov ecx, dword [esp + 0x80]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 2
mov edx, dword [0x6517dcb0]
lea ebx, [ecx + 0x18]
test edx, edx
jne 0x64fc8e4f
mov dword [ecx + 0xc], ebx
jmp 0x64fc8f50
mov edi, eax
mov eax, ebx
call fcn.64fda080
jmp 0x64fc8f50
cmp edx, 2
jmp 0x64fc8e70
mov byte [esp + 0xac], 0
add esp, 0x7c
ret
mov edi, ebx
jne 0x64fc8efd
mov eax, edi
lea edi, [esp + 0x84]
call fcn.64fda71c
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx + 0xc]
cmp edx, 1
jbe 0x64fc8fc6
lea edi, [ecx + 0x18]
mov edx, dword [0x6517dcb0]
lea esi, [ebx + 0x28]
test edx, edx
jne 0x64fc8eb1
call fcn.64fda71c
jmp 0x64fc8ecb
lea eax, [0x65096c20]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], esi
call fcn.64f8fa30
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x80]
mov dword [ecx + 0x10], 1
mov dword [ecx + 0x14], 2
mov edx, dword [0x6517dcb0]
lea ebx, [ecx + 0x18]
test edx, edx
jne 0x64fc8ef2
mov dword [ecx + 0xc], ebx
jmp 0x64fc8f50
mov edi, eax
mov eax, ebx
call fcn.64fda080
jmp 0x64fc8f50
mov eax, edi
lea edi, [esp + 0x84]
call fcn.64fda71c
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx + 0xc]
mov ebp, dword [ecx + 0x14]
cmp edx, 1
jb 0x64fc8fba
dec edx
mov dword [ecx + 0x10], edx
lea edx, [ebp - 1]
mov dword [ecx + 0x14], edx
mov ebp, dword [0x6517dcb0]
neg edx
sar edx, 0x1f
and edx, 0x28
add edx, ebx
test ebp, ebp
jne 0x64fc8f47
mov dword [ecx + 0xc], edx
jmp 0x64fc8f50
mov edi, eax
mov eax, edx
call fcn.64fda080
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0xa4]
test ecx, ecx
je 0x64fc8faa
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xa8]
mov edx, dword [esp + 0x84]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov byte [esp + 0xc], 0
call fcn.64fca510
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x34]
test eax, eax
setg al
mov byte [esp + 0xac], al
add esp, 0x7c
ret
mov eax, 1
mov ecx, edx
call fcn.64fda160
mov eax, 1
mov ecx, edx
call fcn.64fda100
mov ecx, 0x100000
call fcn.64fda100
mov eax, edx
mov ecx, ebx
call fcn.64fda160
nop
call fcn.64fd8c20
jmp fcn.64fc8a70