Function at 0x1006fa80
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 0x1006fb5b
mov eax, dword [edx]
lea ecx, [esp + 0x30]
push 0x1009a640
push 0x1009a660
push 0x1009a650
mov eax, dword [eax + 0x18]
and esi, 0xffffffdf
push ecx
push 0x282
mov ecx, edx
call eax
test eax, eax
jne 0x1006fdbe
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push 0x1009a640
push 0x1009a660
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 0x1006fdbe
mov edx, dword [esp + 0x14]
test esi, esi
je 0x1006fb9e
nop
bsf ecx, esi
push 0x1009a640
lea eax, [esi - 1]
mov dword [esp + 0x78], ecx
push 0x1009a660
and esi, eax
lea ecx, [esp + 0x78]
mov eax, dword [edx]
push 0x1009a650
push ecx
push 0x282
mov eax, dword [eax + 0x18]
mov ecx, edx
call eax
test eax, eax
jne 0x1006fdbe
mov edx, dword [esp + 0x14]
test esi, esi
jne 0x1006fb60
movzx ecx, byte [edi + 6]
mov esi, dword [esp + 0x14]
cmp ecx, 0xff
je 0x1006fbf3
cmp ecx, 4
je 0x1006fbf3
mov eax, dword [edi]
shr eax, 4
mov dword [esp + 0x64], ecx
test al, 1
je 0x1006fdc6
cmp ecx, 5
je 0x1006fbf3
lea ecx, [esp + 0x30]
mov eax, dword [esi]
push 0x1009a640
push 0x1009a660
push ecx
mov eax, dword [eax + 0x18]
lea ecx, [esp + 0x6c]
push ecx
push 0x1a2
mov ecx, esi
call eax
test eax, eax
jne 0x1006fdbe
mov al, byte [edi + 0xd]
cmp al, byte [edi + 0xa]
jb 0x1006fc40
movzx eax, al
lea ecx, [esp + 0x50]
neg eax
mov dword [esp + 0x50], 3
push 0x1009a640
mov dword [esp + 0x5c], eax
cdq
mov eax, dword [esi]
push 0x1009a660
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 0x1006fdbe
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x1006fc8d
push 0x1009a640
push 0x1009a660
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 0x1006fdbe
mov al, byte [edi + 0xd]
cmp al, byte [edi + 0xa]
jb 0x1006fcef
mov ecx, dword [edi + 0x20]
cmp ecx, 0xffffffff
je 0x1006fcef
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 0x1009a640
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x28]
push 0x1009a660
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 0x1006fdbe
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 0x1006fdb2
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.1006f970
mov edi, dword [esp + 0x20]
add esp, 0xc
nop dword [eax]
bsf ecx, esi
push 0x1009a640
mov dword [esp + 0x48], ecx
lea eax, [esi - 1]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x44]
push 0x1009a660
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 0x1006fdbe
add dword [esp + 0x5c], edi
test esi, esi
jne 0x1006fd70
mov al, byte [esp + 0x13]
mov edi, dword [ebp + 8]
inc al
mov byte [esp + 0x13], al
cmp al, 4
jne 0x1006fd40
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 0x20]
jmp 0x1006fbcd