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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x58]
cmp eax, 0xffffffff
je 0x6fa631
test eax, eax
mov edx, dword [ebx + 4]
setne al
movzx eax, al
mov dword [ebx + 8], eax
mov edi, eax
mov eax, dword [ebx]
test edx, edx
je 0x6fa641
test eax, eax
je 0x6fa5f1
test ebp, ebp
je 0x6fa545
mov edx, dword [eax]
cmp dword [ebp], edx
je 0x6fa545
mov ecx, dword [ebx + 0x5c]
mov dword [esp], ebx
mov dword [esp + 0x2c], ecx
call fcn.006f9df1
mov ecx, dword [esp + 0x2c]
mov dword [ebx + 8], edi
mov dword [ebx + 0x5c], ecx
test esi, esi
je 0x6fa659
mov dword [esp], esi
call fcn.006e7341
test eax, eax
je 0x6fa871
mov eax, dword [ebp]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.006e9151
mov ebp, eax
test eax, eax
je 0x6fa8e9
mov eax, dword [ebp + 0x20]
mov dword [ebx + 4], esi
mov dword [ebx], ebp
test eax, eax
jne 0x6fa682
mov edx, dword [ebp + 8]
mov eax, ebp
and dword [ebx + 0x5c], 1
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x58], edx
test byte [eax + 0x10], 0x40
jne 0x6fa6bb
mov eax, dword [eax + 4]
lea edx, [eax - 8]
and edx, 0xfffffff7
je 0x6fa559
cmp eax, 1
jne 0x6fa96a
test byte [ebx + 0x5c], 1
jne 0x6fa57f
mov dword [esp], ebx
call fcn.006fe311
mov dword [esp], eax
call fcn.006fe331
and eax, 0xf0007
cmp eax, 0x10002
je 0x6fa8b1
mov dword [esp], ebx
call fcn.006fe311
mov dword [esp], eax
call fcn.006fe331
test al, 0x10
je 0x6fa711
mov edx, dword [esp + 0x5c]
mov eax, dword [ebx]
test edx, edx
je 0x6fa7a1
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xc], edi
mov dword [esp], ebx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
call dword [eax + 0x14]
test eax, eax
je 0x6fa5e1
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, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
test ebp, ebp
jne 0x6fa4e7
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 0x6fa5e1
mov edx, dword [ebx + 4]
mov edi, dword [ebx + 8]
mov eax, dword [ebx]
test edx, edx
jne 0x6fa4bb
test ebp, ebp
je 0x6fa701
test eax, eax
jne 0x6fa4ce
test esi, esi
jne 0x6fa4ef
mov eax, dword [ebp]
mov dword [esp], eax
call fcn.006e9131
mov esi, eax
test eax, eax
jne 0x6fa4ff
mov eax, dword [ebp + 0x20]
mov dword [ebx + 4], 0
mov dword [ebx], ebp
test eax, eax
je 0x6fa528
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 0x6fa8f9
mov edx, dword [ebp + 8]
mov eax, dword [ebx]
and dword [ebx + 0x5c], 1
mov dword [ebx + 0x58], edx
test byte [eax + 0x10], 0x40
je 0x6fa545
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x6fa7f9
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 0x6fa939
test eax, eax
je 0x6fa825
mov eax, dword [ebx]
jmp 0x6fa545
test eax, eax
jne 0x6fa545
jmp 0x6fa5f9
mov dword [esp], ebx
call fcn.006fe311
mov dword [esp], eax
call fcn.006fe331
and eax, 0xf0007
cmp eax, 4
ja 0x6fa7b1
cmp eax, 2
ja 0x6fa861
jne 0x6fa597
mov dword [esp], ebx
call fcn.006fe3a1
cmp eax, 0x10
jg 0x6fa986
mov ebp, dword [esp + 0x60]
lea esi, [ebx + 0x10]
test ebp, ebp
je 0x6fa776
mov dword [esp], ebx
call fcn.006fe3a1
mov dword [esp], esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x60]
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 + 0x5c]
mov eax, dword [ebx]
test edx, edx
jne 0x6fa5a5
test byte [eax + 0x10], 0x20
je 0x6fa5c5
jmp 0x6fa5a5
cmp eax, 5
jne 0x6fa857
mov ecx, dword [esp + 0x60]
mov dword [ebx + 0x50], 0
test ecx, ecx
je 0x6fa597
mov dword [esp], ebx
call fcn.006fe3a1
mov esi, dword [esp + 0x60]
mov edx, eax
lea eax, [ebx + 0x20]
mov dword [esp + 8], edx
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.0086e9f1
jmp 0x6fa597
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, 0x3c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebx + 0x50], 0
jmp 0x6fa73e
mov dword [esp + 0x10], 0x62
mov dword [esp + 0xc], 0x9c0680
mov dword [esp + 8], 0x86
mov dword [esp + 4], 0x7b
mov dword [esp], 6
mov dword [esp + 0x2c], eax
call fcn.006eb671
mov eax, dword [esp + 0x2c]
jmp 0x6fa5e1
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 0x6fa5e1
mov dword [esp + 0x10], 0x71
jmp 0x6fa833
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 0x6fa5e1
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 0x6fa825
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