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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x64af1af5
sub esp, 0x30
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x18]
cmp dword [ecx + 0x4c], eax
jne 0x64af1ad9
mov edx, dword [ecx + 0x54]
test edx, edx
je 0x64af1ac8
mov ebx, dword [ecx + 0x78]
test ebx, ebx
jne 0x64af1ac8
mov ebx, dword [ecx + 0x68]
test ebx, ebx
jne 0x64af1ac8
mov ecx, dword [ecx + 0x74]
test ecx, ecx
jne 0x64af1ac8
cmp dword [edx + 4], 1
jne 0x64af1ac8
mov eax, dword [eax]
mov ecx, dword [esp + 0x3c]
cmp ecx, eax
jb 0x64af1883
sub ecx, eax
cmp dword [0x64b42040], ecx
jbe 0x64af1894
mov byte [esp + 0x44], 0
mov dword [esp + 0x48], 0
add esp, 0x30
ret
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.64b069a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x64af1ab7
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], eax
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov edx, dword [esp + 0x38]
mov dword [esp + 0xc], edx
call fcn.64b07660
cmp dword [esp + 0x10], 0xffffffff
jne 0x64af1aa6
mov eax, dword [esp + 0x2c]
lea ecx, [eax + 0x27]
cmp byte [eax + 0x27], 1
ja 0x64af18f0
xor edx, edx
jmp 0x64af18ff
mov edx, dword [eax + 0x1c]
mov ebx, ecx
lea ecx, [ecx + edx*4 + 5]
mov ecx, dword [ecx]
mov edx, ecx
mov ecx, ebx
test edx, edx
je 0x64af1a95
lea ebx, [0x64b7f458]
cmp edx, ebx
je 0x64af1a95
mov dword [esp + 0x24], ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
call fcn.64b06fb0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x2c]
cmp byte [edx + 0x27], 3
ja 0x64af193f
xor ebx, ebx
jmp 0x64af194c
mov ebx, dword [edx + 0x1c]
mov ebp, dword [esp + 0x24]
lea ebx, [ebp + ebx*4 + 0xd]
mov ebx, dword [ebx]
test ebx, ebx
je 0x64af19cc
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ecx
mov dword [esp], edx
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
call fcn.64b075e0
mov eax, dword [esp + 0x14]
test eax, eax
jl 0x64af19c4
cmp eax, 0x100000
jae 0x64af1aea
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + eax*4 + 0xc]
mov ecx, dword [esp + 0x2c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.64b070d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
jmp 0x64af19cc
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ecx
cmp ecx, 8
jge 0x64af19dd
xor edx, edx
jmp 0x64af1a06
mov dword [esp], eax
lea ecx, [0x64b62e67]
mov dword [esp + 4], ecx
mov dword [esp + 8], 8
call fcn.64ac2a90
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov edx, eax
mov eax, dword [esp + 0x20]
test dl, dl
je 0x64af1a11
mov edx, 1
jmp 0x64af1a43
cmp ecx, 0x11
jge 0x64af1a1a
xor edx, edx
jmp 0x64af1a43
mov dword [esp], eax
lea ecx, [0x64b649fc]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x11
call fcn.64ac2a90
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov edx, eax
mov eax, dword [esp + 0x20]
test dl, dl
jne 0x64af1a73
cmp ecx, 8
jge 0x64af1a50
xor eax, eax
jmp 0x64af1a6f
mov dword [esp], eax
lea eax, [0x64b62e57]
mov dword [esp + 4], eax
mov dword [esp + 8], 8
call fcn.64ac2a90
movzx eax, byte [esp + 0xc]
test al, al
je 0x64af1a84
mov byte [esp + 0x44], 0
mov dword [esp + 0x48], 0
add esp, 0x30
ret
mov byte [esp + 0x44], 1
mov eax, dword [esp + 0x38]
mov dword [esp + 0x48], eax
add esp, 0x30
ret
mov byte [esp + 0x44], 0
mov dword [esp + 0x48], 0
add esp, 0x30
ret
mov byte [esp + 0x44], 0
mov dword [esp + 0x48], 0
add esp, 0x30
ret
mov byte [esp + 0x44], 0
mov dword [esp + 0x48], 0
add esp, 0x30
ret
mov byte [esp + 0x44], 0
mov dword [esp + 0x48], 0
add esp, 0x30
ret
mov byte [esp + 0x44], 0
mov dword [esp + 0x48], 0
add esp, 0x30
ret
mov ecx, 0x100000
call fcn.64b16720
nop
call fcn.64b15250
jmp fcn.64af1810