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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x64fc5a
sub esp, 0x68
mov eax, dword [esp + 0x88]
test eax, eax
jle 0x64fc53
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 4]
test edx, edx
je 0x64fc48
mov edx, dword [ecx]
mov edx, dword [edx + 0x3c]
mov ebp, dword [ebx]
mov esi, dword [ebx + 4]
mov ebx, dword [ebx + 8]
mov dword [esp + 0xc], edx
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x10], edx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x14], ebx
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x18], ebp
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x1c], esi
mov edi, dword [esp + 0x80]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x84]
mov dword [esp + 0x24], edi
mov byte [esp + 0x28], 1
call fcn.0064c800
movzx eax, byte [esp + 0x2c]
test al, al
je 0x64fa2c
xor eax, eax
mov dword [esp + 0x8c], eax
add esp, 0x68
ret
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x64], ebx
mov ebp, dword [esp + 0x88]
cmp eax, ebp
jge 0x64fc26
mov esi, dword [esp + 0x6c]
mov edi, dword [esi + 4]
mov ecx, dword [esi + 8]
lea edx, [eax + 1]
mov dword [esp + 0x44], edx
cmp edx, ecx
jge 0x64fc3d
jae 0x64fc36
mov ecx, dword [esi]
lea ebp, [eax + eax*2]
mov dword [esp + 0x58], ebp
mov edx, dword [edi + ebp*4 + 0xc]
mov ebx, dword [edi + ebp*4 + 0x10]
mov edi, dword [edi + ebp*4 + 0x14]
mov ecx, dword [ecx + 0x3c]
mov dword [esp + 0xc], ecx
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x18], ebx
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x1c], edi
mov ebp, dword [esp + 0x80]
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x84]
mov dword [esp + 0x24], ebp
mov byte [esp + 0x28], 0
call fcn.0064c800
movzx eax, byte [esp + 0x2c]
test al, al
jne 0x64fc26
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [esp + 0x5c]
lea ebp, [ebx + 2]
cmp ebp, edx
jl 0x64fb18
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
mov ebp, ecx
mov ecx, edx
mov edx, ebx
mov ebx, ebp
jmp 0x64fa34
jae 0x64fc2f
mov edx, dword [eax]
mov ebp, dword [esp + 0x58]
mov esi, dword [ecx + ebp*4 + 0x18]
mov edi, dword [ecx + ebp*4 + 0x1c]
mov ecx, dword [ecx + ebp*4 + 0x20]
mov edx, dword [edx + 0x3c]
mov dword [esp + 0x18], edx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x20], edx
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x24], ebp
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x28], esi
mov edi, dword [esp + 0x80]
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x84]
mov dword [esp + 0x30], edi
mov byte [esp + 0x34], 0
call fcn.0064c9b0
mov eax, dword [esp + 0x38]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x4c], edx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0064c680
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x54], edx
mov ecx, dword [ecx + 0x38]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x50], ebx
mov dword [esp], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
call fcn.00645020
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x50]
cmp ecx, eax
seta cl
sar eax, 0x1f
mov edx, dword [esp + 0x54]
cmp edx, eax
sete bl
and ecx, ebx
cmp edx, eax
setg al
or ecx, eax
test cl, cl
jne 0x64fc26
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
jmp 0x64fb07
mov eax, dword [esp + 0x5c]
jmp 0x64fa21
call fcn.00424680
ud2
call fcn.00424680
ud2
mov dword [esp + 0x8c], ebp
add esp, 0x68
ret
mov dword [esp + 0x8c], eax
add esp, 0x68
ret
xor eax, eax
jmp 0x64fa21
call fcn.004486b0
jmp fcn.0064f980