Function at 0x65ff1d
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 0x660304
cmp dword [edi], 0
je 0x660304
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.0065b6dc
add esp, 0x24
test eax, eax
jne 0x660307
push esi
lea eax, [esp + 0x7c]
push eax
push edi
push dword [esp + 0x98]
call fcn.0065bdb0
mov esi, eax
test esi, esi
jne 0x6602c7
lea eax, [esp + 0x6c]
push eax
push edi
call fcn.0065c594
mov esi, eax
test esi, esi
jne 0x6602c7
cmp dword [esp + 0x7c], eax
jle 0x65ffda
mov eax, dword [esp + 0x88]
test byte [eax], bl
jne 0x65ffda
cmp dword [esp + 0x6c], esi
jle 0x65ffda
mov eax, dword [esp + 0x78]
test byte [eax], bl
jne 0x65ffda
push 0xfffffffffffffffd
pop esi
jmp 0x6602c7
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.0065c594
mov esi, eax
test esi, esi
jne 0x6602c7
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x70]
push eax
call fcn.0065c594
mov esi, eax
test esi, esi
jne 0x6602c7
push ebp
push ebx
lea eax, [esp + 0x34]
push eax
call fcn.0065f00a
push ebx
lea eax, [esp + 0x24]
push eax
call fcn.0065f00a
or ebp, 0xffffffff
cmp dword [esp + 0x50], 0
jle 0x6600e0
mov eax, dword [esp + 0x5c]
test byte [eax], bl
jne 0x6600e0
lea eax, [esp + 0x50]
push eax
push eax
call fcn.0065c5ef
mov esi, eax
test esi, esi
jne 0x6602c6
cmp dword [esp + 0x30], eax
jle 0x660063
mov eax, dword [esp + 0x3c]
test byte [eax], bl
jne 0x660072
cmp dword [esp + 0x60], 0
jle 0x6600b1
mov eax, dword [esp + 0x6c]
test byte [eax], bl
je 0x6600b1
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.0065bc66
mov esi, eax
test esi, esi
jne 0x6602c6
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.0065bcb6
mov esi, eax
test esi, esi
jne 0x6602c6
lea eax, [esp + 0x30]
push eax
push eax
call fcn.0065c5ef
mov esi, eax
test esi, esi
jne 0x6602c6
lea eax, [esp + 0x60]
push eax
push eax
call fcn.0065c5ef
mov esi, eax
test esi, esi
je 0x660029
jmp 0x6602c6
cmp dword [esp + 0x40], 0
jle 0x660197
mov eax, dword [esp + 0x4c]
test byte [eax], bl
jne 0x660197
lea eax, [esp + 0x40]
push eax
push eax
call fcn.0065c5ef
mov esi, eax
test esi, esi
jne 0x6602c6
cmp dword [esp + 0x10], eax
jle 0x66011a
mov eax, dword [esp + 0x1c]
test byte [eax], bl
jne 0x660129
cmp dword [esp + 0x20], 0
jle 0x660168
mov eax, dword [esp + 0x2c]
test byte [eax], bl
je 0x660168
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0065bc66
mov esi, eax
test esi, esi
jne 0x6602c6
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0065bcb6
mov esi, eax
test esi, esi
jne 0x6602c6
lea eax, [esp + 0x10]
push eax
push eax
call fcn.0065c5ef
mov esi, eax
test esi, esi
jne 0x6602c6
lea eax, [esp + 0x20]
push eax
push eax
call fcn.0065c5ef
mov esi, eax
test esi, esi
je 0x6600e0
jmp 0x6602c6
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0065bc32
cmp eax, ebp
je 0x6601f6
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.0065bcb6
mov esi, eax
test esi, esi
jne 0x6602c6
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.0065bcb6
mov esi, eax
test esi, esi
jne 0x6602c6
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x68]
jmp 0x660240
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.0065bcb6
mov esi, eax
test esi, esi
jne 0x6602c6
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0065bcb6
mov esi, eax
test esi, esi
jne 0x6602c6
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0065bcb6
mov esi, eax
test esi, esi
jne 0x6602c6
cmp dword [esp + 0x50], eax
jne 0x66002e
push ebx
lea eax, [esp + 0x44]
push eax
call fcn.0065be2a
test eax, eax
je 0x66027c
push 0xfffffffffffffffd
pop esi
jmp 0x6602c6
push eax
push edi
lea eax, [esp + 0x18]
push eax
call fcn.0065bc66
mov esi, eax
test esi, esi
jne 0x6602c6
push 0
lea eax, [esp + 0x14]
push eax
call fcn.0065be2a
cmp eax, ebp
lea eax, [esp + 0x10]
je 0x66026a
jmp 0x6602a8
push eax
push edi
lea eax, [esp + 0x18]
push eax
call fcn.0065bcb6
mov esi, eax
test esi, esi
jne 0x6602c6
lea eax, [esp + 0x10]
push edi
push eax
call fcn.0065df7e
cmp eax, ebp
lea eax, [esp + 0x10]
jne 0x660292
push dword [esp + 0x9c]
push eax
call fcn.0065eed6
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.0065b72b
add esp, 0x24
mov eax, esi
pop esi
jmp 0x660307
push 0xfffffffffffffffd
pop eax
pop edi
pop ebx
add esp, 0x80
ret 0xc