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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov esi, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x50]
test esi, esi
je 0x6f9fc0
mov dword [esp], ebx
call fcn.006f9df1
cmp edi, 0xffffffff
je 0x6fa141
xor eax, eax
test edi, edi
mov edx, dword [ebx + 4]
setne al
mov edi, eax
mov eax, dword [ebx]
mov dword [ebx + 8], edi
test edx, edx
je 0x6fa151
test eax, eax
je 0x6fa109
test esi, esi
je 0x6fa05e
mov ecx, dword [eax]
cmp dword [esi], ecx
je 0x6fa05e
mov ebp, dword [ebx + 0x5c]
mov dword [esp], ebx
call fcn.006f9df1
mov dword [ebx + 8], edi
mov dword [ebx + 0x5c], ebp
mov eax, dword [esi]
mov dword [esp], eax
call fcn.006e9131
mov ebp, eax
test eax, eax
je 0x6fa175
mov eax, dword [esi]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.006e9151
mov esi, eax
test eax, eax
je 0x6fa3b9
mov eax, dword [esi + 0x20]
mov dword [ebx + 4], ebp
mov dword [ebx], esi
test eax, eax
jne 0x6fa189
mov edx, dword [esi + 8]
mov eax, esi
and dword [ebx + 0x5c], 1
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x58], edx
test byte [eax + 0x10], 0x40
jne 0x6fa1c2
mov eax, dword [eax + 4]
lea edx, [eax - 8]
and edx, 0xfffffff7
je 0x6fa072
cmp eax, 1
jne 0x6fa43a
test byte [ebx + 0x5c], 1
jne 0x6fa098
mov dword [esp], ebx
call fcn.006fe311
mov dword [esp], eax
call fcn.006fe331
and eax, 0xf0007
cmp eax, 0x10002
je 0x6fa381
mov dword [esp], ebx
call fcn.006fe311
mov dword [esp], eax
call fcn.006fe331
test al, 0x10
je 0x6fa219
mov edx, dword [esp + 0x48]
mov eax, dword [ebx]
test edx, edx
je 0x6fa2b1
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xc], edi
mov dword [esp], ebx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
call dword [eax + 0x14]
test eax, eax
je 0x6fa0fa
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x64], 0
sub eax, 1
mov dword [ebx + 0x68], eax
mov eax, 1
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
test esi, esi
jne 0x6fa005
mov dword [esp + 0x10], 0x95
mov dword [esp + 0xc], 0x9c0680
mov dword [esp + 8], 0x83
mov dword [esp + 4], 0x7b
mov dword [esp], 6
call fcn.006eb671
xor eax, eax
jmp 0x6fa0fa
mov edx, dword [ebx + 4]
mov edi, dword [ebx + 8]
mov eax, dword [ebx]
test edx, edx
jne 0x6f9fe2
test esi, esi
je 0x6fa209
test eax, eax
jne 0x6f9ff4
mov eax, dword [esi]
mov dword [esp], eax
call fcn.006e9131
mov ebp, eax
test eax, eax
jne 0x6fa019
mov eax, dword [esi + 0x20]
mov dword [ebx + 4], 0
mov dword [ebx], esi
test eax, eax
je 0x6fa041
mov dword [esp + 8], 0x81
mov dword [esp + 4], 0x9c0680
mov dword [esp], eax
call fcn.0070bc71
mov dword [ebx + 0x60], eax
test eax, eax
je 0x6fa3c9
mov edx, dword [esi + 8]
mov eax, dword [ebx]
and dword [ebx + 0x5c], 1
mov dword [ebx + 0x58], edx
test byte [eax + 0x10], 0x40
je 0x6fa05e
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x6fa309
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call eax
cmp eax, 0xffffffff
je 0x6fa409
test eax, eax
je 0x6fa335
mov eax, dword [ebx]
jmp 0x6fa05e
test eax, eax
jne 0x6fa05e
jmp 0x6fa111
mov dword [esp], ebx
call fcn.006fe311
mov dword [esp], eax
call fcn.006fe331
and eax, 0xf0007
cmp eax, 4
ja 0x6fa2c1
cmp eax, 2
ja 0x6fa371
jne 0x6fa0b0
mov dword [esp], ebx
call fcn.006fe3a1
cmp eax, 0x10
jg 0x6fa456
mov ebp, dword [esp + 0x4c]
lea esi, [ebx + 0x10]
test ebp, ebp
je 0x6fa27e
mov dword [esp], ebx
call fcn.006fe3a1
mov dword [esp], esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.0086e9f1
mov dword [esp], ebx
call fcn.006fe3a1
mov dword [esp + 4], esi
mov edx, eax
lea eax, [ebx + 0x20]
mov dword [esp + 8], edx
mov dword [esp], eax
call fcn.0086e9f1
mov edx, dword [esp + 0x48]
mov eax, dword [ebx]
test edx, edx
jne 0x6fa0be
lea esi, [esi]
nop
test byte [eax + 0x10], 0x20
je 0x6fa0de
jmp 0x6fa0be
cmp eax, 5
jne 0x6fa367
mov ecx, dword [esp + 0x4c]
mov dword [ebx + 0x50], 0
test ecx, ecx
je 0x6fa0b0
mov dword [esp], ebx
call fcn.006fe3a1
mov edx, eax
lea eax, [ebx + 0x20]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x4c]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0086e9f1
jmp 0x6fa0b0
mov dword [esp + 0x10], 0x295
mov dword [esp + 0xc], 0x9c0680
mov dword [esp + 8], 0x84
mov dword [esp + 4], 0x7c
mov dword [esp], 6
call fcn.006eb671
mov dword [ebx], 0
mov dword [esp + 0x10], 0x90
mov dword [esp + 0xc], 0x9c0680
mov dword [esp + 8], 0x86
mov dword [esp + 4], 0x7b
mov dword [esp], 6
call fcn.006eb671
add esp, 0x2c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebx + 0x50], 0
jmp 0x6fa246
mov dword [esp + 0x10], 0xa2
mov dword [esp + 0xc], 0x9c0680
mov dword [esp + 8], 0xaa
mov dword [esp + 4], 0x7b
mov dword [esp], 6
call fcn.006eb671
xor eax, eax
jmp 0x6fa0fa
mov dword [esp + 0x10], 0x71
jmp 0x6fa343
mov dword [ebx], 0
mov dword [esp + 0x10], 0x84
mov dword [esp + 0xc], 0x9c0680
mov dword [esp + 8], 0x41
mov dword [esp + 4], 0x7b
mov dword [esp], 6
call fcn.006eb671
xor eax, eax
jmp 0x6fa0fa
mov dword [esp + 0x10], 0x29b
mov dword [esp + 0xc], 0x9c0680
mov dword [esp + 8], 0x85
mov dword [esp + 4], 0x7c
mov dword [esp], 6
call fcn.006eb671
jmp 0x6fa335
mov dword [esp + 8], 0x9c
mov dword [esp + 4], 0x9c0680
mov dword [esp], 0x9c06c8
call fcn.00799e51
mov dword [esp + 8], 0xb5
mov dword [esp + 4], 0x9c0680
mov dword [esp], 0x9c0738
call fcn.00799e51
lea esi, [esi]
lea esi, [esi]
nop