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

Disassembly:
sub esp, 0x80
push ebx
push edi
mov edi, dword [esp + 0x90]
xor ebx, ebx
inc ebx
cmp dword [edi + 8], ebx
je 0x6602f4
cmp dword [edi], 0
je 0x6602f4
push 0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x98]
push eax
call fcn.0065b6cc
add esp, 0x24
test eax, eax
jne 0x6602f7
push esi
lea eax, [esp + 0x7c]
push eax
push edi
push dword [esp + 0x98]
call fcn.0065bda0
mov esi, eax
test esi, esi
jne 0x6602b7
lea eax, [esp + 0x6c]
push eax
push edi
call fcn.0065c584
mov esi, eax
test esi, esi
jne 0x6602b7
cmp dword [esp + 0x7c], eax
jle 0x65ffca
mov eax, dword [esp + 0x88]
test byte [eax], bl
jne 0x65ffca
cmp dword [esp + 0x6c], esi
jle 0x65ffca
mov eax, dword [esp + 0x78]
test byte [eax], bl
jne 0x65ffca
push 0xfffffffffffffffd
pop esi
jmp 0x6602b7
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.0065c584
mov esi, eax
test esi, esi
jne 0x6602b7
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x70]
push eax
call fcn.0065c584
mov esi, eax
test esi, esi
jne 0x6602b7
push ebp
push ebx
lea eax, [esp + 0x34]
push eax
call fcn.0065effa
push ebx
lea eax, [esp + 0x24]
push eax
call fcn.0065effa
or ebp, 0xffffffff
cmp dword [esp + 0x50], 0
jle 0x6600d0
mov eax, dword [esp + 0x5c]
test byte [eax], bl
jne 0x6600d0
lea eax, [esp + 0x50]
push eax
push eax
call fcn.0065c5df
mov esi, eax
test esi, esi
jne 0x6602b6
cmp dword [esp + 0x30], eax
jle 0x660053
mov eax, dword [esp + 0x3c]
test byte [eax], bl
jne 0x660062
cmp dword [esp + 0x60], 0
jle 0x6600a1
mov eax, dword [esp + 0x6c]
test byte [eax], bl
je 0x6600a1
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.0065bc56
mov esi, eax
test esi, esi
jne 0x6602b6
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.0065bca6
mov esi, eax
test esi, esi
jne 0x6602b6
lea eax, [esp + 0x30]
push eax
push eax
call fcn.0065c5df
mov esi, eax
test esi, esi
jne 0x6602b6
lea eax, [esp + 0x60]
push eax
push eax
call fcn.0065c5df
mov esi, eax
test esi, esi
je 0x660019
jmp 0x6602b6
cmp dword [esp + 0x40], 0
jle 0x660187
mov eax, dword [esp + 0x4c]
test byte [eax], bl
jne 0x660187
lea eax, [esp + 0x40]
push eax
push eax
call fcn.0065c5df
mov esi, eax
test esi, esi
jne 0x6602b6
cmp dword [esp + 0x10], eax
jle 0x66010a
mov eax, dword [esp + 0x1c]
test byte [eax], bl
jne 0x660119
cmp dword [esp + 0x20], 0
jle 0x660158
mov eax, dword [esp + 0x2c]
test byte [eax], bl
je 0x660158
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0065bc56
mov esi, eax
test esi, esi
jne 0x6602b6
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0065bca6
mov esi, eax
test esi, esi
jne 0x6602b6
lea eax, [esp + 0x10]
push eax
push eax
call fcn.0065c5df
mov esi, eax
test esi, esi
jne 0x6602b6
lea eax, [esp + 0x20]
push eax
push eax
call fcn.0065c5df
mov esi, eax
test esi, esi
je 0x6600d0
jmp 0x6602b6
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0065bc22
cmp eax, ebp
je 0x6601e6
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.0065bca6
mov esi, eax
test esi, esi
jne 0x6602b6
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.0065bca6
mov esi, eax
test esi, esi
jne 0x6602b6
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x68]
jmp 0x660230
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.0065bca6
mov esi, eax
test esi, esi
jne 0x6602b6
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0065bca6
mov esi, eax
test esi, esi
jne 0x6602b6
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0065bca6
mov esi, eax
test esi, esi
jne 0x6602b6
cmp dword [esp + 0x50], eax
jne 0x66001e
push ebx
lea eax, [esp + 0x44]
push eax
call fcn.0065be1a
test eax, eax
je 0x66026c
push 0xfffffffffffffffd
pop esi
jmp 0x6602b6
push eax
push edi
lea eax, [esp + 0x18]
push eax
call fcn.0065bc56
mov esi, eax
test esi, esi
jne 0x6602b6
push 0
lea eax, [esp + 0x14]
push eax
call fcn.0065be1a
cmp eax, ebp
lea eax, [esp + 0x10]
je 0x66025a
jmp 0x660298
push eax
push edi
lea eax, [esp + 0x18]
push eax
call fcn.0065bca6
mov esi, eax
test esi, esi
jne 0x6602b6
lea eax, [esp + 0x10]
push edi
push eax
call fcn.0065df6e
cmp eax, ebp
lea eax, [esp + 0x10]
jne 0x660282
push dword [esp + 0x9c]
push eax
call fcn.0065eec6
xor esi, esi
pop ebp
push 0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.0065b71b
add esp, 0x24
mov eax, esi
pop esi
jmp 0x6602f7
push 0xfffffffffffffffd
pop eax
pop edi
pop ebx
add esp, 0x80
ret 0xc