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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [ecx + 4]
push esi
push edi
mov edi, dword [ebp + 8]
lea edx, [eax + 0x68]
mov dword [esp + 0x18], eax
mov esi, dword [edi + 0x40]
and esi, dword [edi + 0x30]
neg edx
sbb edx, edx
and edx, eax
mov dword [esp + 0x14], edx
mov eax, dword [edx + 0x40]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 4
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov eax, dword [edx + 0x40]
movaps xmm0, xmmword [esp + 0x20]
mov dword [esp + 0x30], eax
mov eax, dword [edi]
shr eax, 4
mov dword [esp + 0x34], 5
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x60], xmm0
test al, 1
je 0x1006fa9b
mov eax, dword [edx]
lea ecx, [esp + 0x30]
push 0x1009a648
push 0x1009a668
push 0x1009a658
mov eax, dword [eax + 0x18]
and esi, 0xffffffdf
push ecx
push 0x282
mov ecx, edx
call eax
test eax, eax
jne 0x1006fcfe
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push 0x1009a648
push 0x1009a668
push edx
mov eax, dword [ecx]
lea edx, [esp + 0x3c]
push edx
push 0x1a2
mov eax, dword [eax + 0x18]
call eax
test eax, eax
jne 0x1006fcfe
mov edx, dword [esp + 0x14]
test esi, esi
je 0x1006fade
nop
bsf ecx, esi
push 0x1009a648
lea eax, [esi - 1]
mov dword [esp + 0x78], ecx
push 0x1009a668
and esi, eax
lea ecx, [esp + 0x78]
mov eax, dword [edx]
push 0x1009a658
push ecx
push 0x282
mov eax, dword [eax + 0x18]
mov ecx, edx
call eax
test eax, eax
jne 0x1006fcfe
mov edx, dword [esp + 0x14]
test esi, esi
jne 0x1006faa0
movzx ecx, byte [edi + 6]
mov esi, dword [esp + 0x14]
cmp ecx, 0xff
je 0x1006fb33
cmp ecx, 4
je 0x1006fb33
mov eax, dword [edi]
shr eax, 4
mov dword [esp + 0x64], ecx
test al, 1
je 0x1006fd06
cmp ecx, 5
je 0x1006fb33
lea ecx, [esp + 0x30]
mov eax, dword [esi]
push 0x1009a648
push 0x1009a668
push ecx
mov eax, dword [eax + 0x18]
lea ecx, [esp + 0x6c]
push ecx
push 0x1a2
mov ecx, esi
call eax
test eax, eax
jne 0x1006fcfe
mov al, byte [edi + 0xd]
cmp al, byte [edi + 0xa]
jb 0x1006fb80
movzx eax, al
lea ecx, [esp + 0x50]
neg eax
mov dword [esp + 0x50], 3
push 0x1009a648
mov dword [esp + 0x5c], eax
cdq
mov eax, dword [esi]
push 0x1009a668
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x60], 0
mov eax, dword [eax + 0x18]
push ecx
push 0x15
mov ecx, esi
mov dword [esp + 0x70], edx
call eax
test eax, eax
jne 0x1006fcfe
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x1006fbcd
push 0x1009a648
push 0x1009a668
mov dword [esp + 0x60], eax
lea ecx, [esp + 0x58]
mov eax, dword [esi]
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x5c], 3
push ecx
mov eax, dword [eax + 0x18]
mov ecx, esi
push 0x2f6
mov dword [esp + 0x68], 0
mov dword [esp + 0x70], 0
call eax
test eax, eax
jne 0x1006fcfe
mov al, byte [edi + 0xd]
cmp al, byte [edi + 0xa]
jb 0x1006fc2f
mov ecx, dword [edi + 0x20]
cmp ecx, 0xffffffff
je 0x1006fc2f
mov eax, dword [esp + 0x20]
shr eax, 3
and eax, 0x1f
mov dword [esp + 0x5c], ecx
shl eax, 3
lea ecx, [esp + 0x60]
or eax, 2
mov dword [esp + 0x58], 0
push 0x1009a648
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x28]
push 0x1009a668
push ecx
mov dword [esp + 0x60], eax
lea ecx, [esp + 0x5c]
mov eax, dword [esi]
push ecx
push 0x1a2
mov ecx, esi
mov eax, dword [eax + 0x18]
call eax
test eax, eax
jne 0x1006fcfe
mov eax, dword [esp + 0x20]
shr eax, 3
and eax, 0x1f
mov dword [esp + 0x40], 1
shl eax, 3
or eax, 2
mov dword [esp + 0x44], 0xff
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0x60]
mov dword [esp + 0x5c], eax
mov al, 1
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x58], 0
mov byte [esp + 0x13], al
movzx ecx, al
mov esi, dword [edi + ecx*4 + 0x40]
and esi, dword [edi + ecx*4 + 0x30]
je 0x1006fcf2
lea ecx, [esp + 0x14]
mov edx, edi
push ecx
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x48]
push ecx
mov cl, al
call fcn.1006f8b0
mov edi, dword [esp + 0x20]
add esp, 0xc
nop dword [eax]
bsf ecx, esi
push 0x1009a648
mov dword [esp + 0x48], ecx
lea eax, [esi - 1]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x44]
push 0x1009a668
push edx
and esi, eax
lea edx, [esp + 0x5c]
mov eax, dword [ecx]
push edx
push dword [esp + 0x2c]
mov eax, dword [eax + 0x18]
call eax
test eax, eax
jne 0x1006fcfe
add dword [esp + 0x5c], edi
test esi, esi
jne 0x1006fcb0
mov al, byte [esp + 0x13]
mov edi, dword [ebp + 8]
inc al
mov byte [esp + 0x13], al
cmp al, 4
jne 0x1006fc80
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 0x20]
jmp 0x1006fb0d