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

Disassembly:
sub esp, 0x38
mov eax, dword [esp + 0x40]
test eax, 0x1000
je 0x64fb68a4
mov ecx, dword [esp + 0x44]
jmp 0x64fb68b4
mov ecx, dword [esp + 0x44]
test ecx, 0x1000
jne 0x64fb68b4
cmp ecx, eax
jne 0x64fb68f2
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
lea edx, [0x64fb6b40]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
lea edx, [esp + 0x2c]
mov dword [esp], edx
call fcn.64fd8b10
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
xor edx, edx
xor ebx, ebx
xor ebp, ebp
jmp 0x64fb690b
mov esi, dword [esp + 0x20]
lea edx, [esi + 1]
mov ecx, dword [esp + 0x44]
mov ebp, eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], edx
mov esi, dword [esp + 0x3c]
test byte [esi], al
lea edi, [esi + 0x48]
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.64f82610
movzx eax, byte [esp + 0xc]
test al, al
jne 0x64fb69ed
mov eax, dword [esp + 0x40]
cmp eax, 4
jne 0x64fb6955
mov ecx, dword [esp + 0x3c]
cmp dword [ecx + 0x48], 1
jne 0x64fb6959
jmp 0x64fb6b27
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x20]
test edx, edx
je 0x64fb696b
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
jmp 0x64fb6981
call fcn.64fdaf60
mov eax, dword [esp]
add eax, 0x1388
mov ebx, dword [esp + 4]
adc ebx, 0
mov ebp, eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebx
call fcn.64fdaf60
mov eax, dword [esp + 0x18]
cmp dword [esp], eax
setb cl
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x1c]
cmp ebx, edx
sete dl
xchg ebp, ebx
setg bl
xchg ebp, ebx
and edx, ecx
or ebp, edx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x64fb69c5
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
xor ebp, ebp
jmp 0x64fb6b14
nop
lea eax, [0x650ac058]
mov dword [esp], eax
call fcn.64fd8b10
call fcn.64fdaf60
mov eax, dword [esp]
add eax, 0x9c4
mov ebx, dword [esp + 4]
adc ebx, 0
jmp 0x64fb68fa
mov eax, dword [esp + 0x40]
cmp eax, 2
jne 0x64fb6a11
mov ecx, dword [esp + 0x3c]
movzx edx, byte [ecx + 0x71]
test dl, 7
jne 0x64fb6a07
mov byte [ecx + 0x70], 1
movzx edx, byte [ecx + 0x71]
inc edx
mov byte [ecx + 0x71], dl
jmp 0x64fb6a15
mov ecx, dword [esp + 0x3c]
movzx edx, byte [ecx + 0x70]
test dl, dl
je 0x64fb6ae1
nop
call fcn.64fdaf60
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov dword [esp + 0x10], ecx
mov edx, dword [esp]
mov ebx, dword [esp + 0x40]
cmp ebx, 1
jne 0x64fb6a8b
mov ebx, dword [esp + 0x3c]
mov ebp, dword [ebx + 0x74]
mov esi, edx
sub edx, ebp
mov dword [esp + 0x28], edx
mov edi, dword [ebx + 0x7c]
add edx, edi
mov ecx, dword [ebx + 0x80]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebx + 0x78]
mov dword [ebx + 0x7c], edx
mov edx, esi
sub esi, ebp
sbb eax, ecx
mov ecx, dword [esp + 0x28]
add ecx, edi
mov ecx, dword [esp + 0x24]
adc eax, ecx
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x78], 0
jmp 0x64fb6a8f
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
cmp eax, 1
jne 0x64fb6aa4
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x74], edx
jmp 0x64fb6ae1
cmp eax, 2
jne 0x64fb6ae1
mov byte [ebx + 0x70], 0
mov eax, dword [ebx + 0x7c]
mov ecx, dword [ebx + 0x80]
lea edx, [0x65158580]
mov dword [esp], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
call fcn.64f88400
mov eax, dword [esp + 0x3c]
mov dword [eax + 0x7c], 0
mov dword [eax + 0x80], 0
add esp, 0x38
ret
mov dword [esp + 0x14], ebp
mov dword [esp], 1
call fcn.64fd9c90
mov eax, dword [esp + 0x14]
lea ebp, [eax + 1]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x1c]
cmp ebp, 0xa
jge 0x64fb68fa
cmp dword [edx + 0x48], ecx
jne 0x64fb6ae5
jmp 0x64fb68fa
lea eax, [0x650aa85a]
mov dword [esp], eax
mov dword [esp + 4], 0x31
call fcn.64fb29f0
nop
int3