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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov ebx, dword [esp + 0x60]
mov eax, dword [esp + 0x6c]
mov edi, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov ebp, dword [ebx + 8]
mov esi, dword [esp + 0x70]
mov dword [esp + 0x2c], eax
test ebp, ebp
jne 0x6faa71
mov eax, dword [ebx]
mov dword [esp + 0x34], ecx
mov eax, dword [eax + 4]
mov dword [esp + 4], 0x2000
mov dword [esp], ebx
mov dword [esp + 0x30], eax
call fcn.006fe901
mov dword [esp + 0x38], esi
mov ecx, dword [esp + 0x34]
test eax, eax
jne 0x6faa91
test esi, esi
js 0x6fab5b
mov eax, dword [ebx]
mov dword [esp + 0x34], eax
je 0x6fab41
mov eax, dword [esp + 0x34]
test byte [eax + 0x12], 0x10
je 0x6faab1
cmp dword [esp + 0x30], 1
je 0x6fac39
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], edi
mov dword [esp], ebx
call dword [eax + 0x18]
mov ecx, dword [esp + 0x30]
test eax, eax
js 0x6fac29
mov dword [ecx], eax
mov ebp, 1
add esp, 0x4c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], eax
add esp, 0x4c
mov edx, edi
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.006f9a61
mov edx, esi
lea eax, [esi + 0xe]
add edx, 7
cmovns eax, edx
sar eax, 3
mov dword [esp + 0x38], eax
jmp 0x6faa08
test byte [ebx + 0x5d], 1
jne 0x6fac99
cmp dword [esp + 0x30], 0x20
ja 0x6fad05
mov eax, dword [ebx + 0x64]
mov dword [esp + 0x34], eax
test eax, eax
je 0x6fabc9
mov edx, dword [esp + 0x2c]
cmp edi, edx
je 0x6fab0e
mov eax, edi
sub eax, edx
mov edx, dword [esp + 0x30]
neg edx
cmp dword [esp + 0x30], eax
seta byte [esp + 0x34]
cmp eax, edx
mov dword [esp + 0x38], edx
movzx edx, byte [esp + 0x34]
seta al
or dl, al
je 0x6fab89
mov edx, dword [esp + 0x30]
test edx, edx
jle 0x6fab89
mov dword [esp + 0x10], 0x204
mov dword [esp + 0xc], 0x9c0680
mov dword [esp + 8], 0xa2
mov dword [esp + 4], 0xa6
mov dword [esp], 6
call fcn.006eb671
jmp 0x6faa66
mov dword [esp], eax
mov dword [esp + 0x3c], ecx
call fcn.006fe331
mov ecx, dword [esp + 0x3c]
and eax, 0xf0007
cmp eax, 7
je 0x6fab79
xor eax, eax
test esi, esi
mov dword [ecx], 0
sete al
add esp, 0x4c
mov ebp, eax
pop ebx
pop esi
mov eax, ebp
pop edi
pop ebp
ret
mov eax, dword [ebx]
mov dword [esp + 0x34], eax
jmp 0x6faa1c
mov edx, dword [esp + 0x38]
mov eax, 0x7fffffff
sub eax, dword [esp + 0x30]
and edx, esi
cmp edx, eax
ja 0x6faca9
mov ebp, dword [esp + 0x30]
lea eax, [ebx + 0x6c]
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
add edi, ebp
mov dword [esp + 0x38], ecx
call fcn.0086e9f1
mov dword [esp + 0x34], 1
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], esi
mov edx, edi
mov dword [esp + 0x2c], ecx
mov dword [esp], eax
mov eax, ebx
call fcn.006f9a61
mov ebp, eax
test eax, eax
je 0x6faa66
cmp dword [esp + 0x30], 1
mov ecx, dword [esp + 0x2c]
jbe 0x6fac01
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x6facda
mov dword [ebx + 0x64], 0
mov eax, dword [esp + 0x34]
mov ebp, 1
test eax, eax
je 0x6faa66
mov edi, dword [esp + 0x30]
mov ebp, eax
add dword [ecx], edi
jmp 0x6faa66
mov dword [ecx], 0
jmp 0x6faa66
mov edx, dword [esp + 0x38]
mov eax, edi
sub eax, dword [esp + 0x2c]
neg edx
cmp eax, edx
seta byte [esp + 0x30]
cmp eax, dword [esp + 0x38]
movzx edx, byte [esp + 0x30]
setb byte [esp + 0x30]
or dl, byte [esp + 0x30]
je 0x6faa35
mov edx, dword [esp + 0x38]
test edx, edx
setg byte [esp + 0x30]
test eax, eax
movzx edx, byte [esp + 0x30]
setne byte [esp + 0x30]
movzx eax, byte [esp + 0x30]
test dl, al
je 0x6faa35
mov dword [esp + 0x10], 0x1ee
jmp 0x6fab16
mov dword [esp + 0x64], esi
mov eax, dword [esp + 0x2c]
jmp 0x6faa75
mov dword [esp + 0x10], 0x211
mov dword [esp + 0xc], 0x9c0680
mov dword [esp + 8], 0xb8
mov dword [esp + 4], 0xa6
mov dword [esp], 6
call fcn.006eb671
jmp 0x6faa66
mov eax, dword [esp + 0x30]
add ebx, 0x6c
sub dword [ecx], eax
mov dword [ebx - 8], 1
add edi, dword [ecx]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp], ebx
call fcn.0086e9f1
mov ecx, dword [esp + 0x2c]
jmp 0x6fac08
mov dword [esp + 8], 0x1fe
mov dword [esp + 4], 0x9c0680
mov dword [esp], 0x9c0780
call fcn.00799e51