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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xe8
mov eax, dword [0x100f0364]
xor eax, esp
mov dword [esp + 0xe4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x6c], eax
mov eax, dword [0x10139904]
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x68], edi
test al, 1
jne 0x100066e3
mov edx, dword [0x10135d58]
or eax, 1
mov dword [0x10139904], eax
mov dword [0x101398f8], edx
jmp 0x100066e9
mov edx, dword [0x101398f8]
test al, 2
jne 0x10006703
mov ecx, dword [0x10135d5c]
or eax, 2
mov dword [0x10139904], eax
mov dword [0x101398f4], ecx
jmp 0x10006709
mov ecx, dword [0x101398f4]
mov eax, dword [esp + 0x70]
test byte [eax], 1
jne 0x1000674c
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0x30]
mov dword [esp + 0xc], eax
call dword [esp + 0xc]
movss xmm0, dword [esi + 8]
fstp dword [esp + 0xc]
cvttss2si eax, dword [esp + 0xc]
movd xmm1, eax
mov eax, dword [0x10135d00]
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [eax + 0x20]
subss xmm0, xmm1
movss dword [esi + 8], xmm0
jmp 0x1000676d
mov eax, dword [0x10136ed8]
test byte [edi + eax], 1
je 0x1000676d
cmp byte [ebp + 0x18], 0
jne 0x1000676d
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 0xc], eax
call dword [esp + 0xc]
fstp dword [esi + 8]
mov eax, dword [esp + 0x6c]
mov ecx, dword [0x10136ea8]
mov edx, dword [0x10136ea4]
mov byte [esp + 0x55], 1
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esp + 0x74], xmm0
xorps xmm0, xmm0
movss xmm6, dword [esp + 0x74]
movss xmm7, dword [esp + 0x78]
mov dword [esp + 0x7c], eax
mov eax, dword [0x10135d00]
movss xmm2, dword [eax + 0x20]
xor eax, eax
movups xmmword [esp + 0x90], xmm0
mov dword [esp + 0xb4], eax
movups xmmword [esp + 0xa0], xmm0
mov dword [esp + 0xb8], eax
movups xmmword [esp + 0xbc], xmm0
mov dword [esp + 0x2c], eax
movups xmmword [esp + 0xcc], xmm0
mov dword [esp + 0x50], eax
movq qword [esp + 0xdc], xmm0
movaps xmm1, xmm2
mulss xmm1, dword [esi]
movaps xmm0, xmm2
mov dword [esp + 0xb0], 0
mulss xmm0, dword [esi + 4]
mov dword [esp + 0x80], 0x100cefdc
mulss xmm2, dword [esi + 8]
addss xmm1, xmm6
mov dword [esp + 0x84], edi
addss xmm0, xmm7
addss xmm2, dword [esp + 0x7c]
subss xmm1, xmm6
subss xmm0, xmm7
subss xmm2, dword [esp + 0x7c]
movss dword [esp + 0x20], xmm1
mulss xmm1, xmm1
movss dword [esp + 0x24], xmm0
mulss xmm0, xmm0
movss dword [esp + 0x28], xmm2
mulss xmm2, xmm2
addss xmm0, xmm1
addss xmm0, xmm2
ucomiss xmm0, dword [0x100e5558]
lahf
test ah, 0x44
jp 0x10006872
mov byte [esp + 0x55], 0
movss xmm3, dword [edi + ecx]
subss xmm3, dword [edi + edx]
movss xmm2, dword [edi + ecx + 4]
subss xmm2, dword [edi + edx + 4]
movss xmm1, dword [edi + ecx + 8]
subss xmm1, dword [edi + edx + 8]
movss xmm4, dword [0x100e56b0]
movaps xmm0, xmm3
mulss xmm0, xmm4
mov dword [esp + 0x4c], 0
mulss xmm3, xmm3
movss dword [esp + 0x40], xmm0
movaps xmm0, xmm2
mulss xmm0, xmm4
mulss xmm2, xmm2
movss dword [esp + 0x44], xmm0
movaps xmm0, xmm1
mulss xmm1, xmm1
addss xmm3, xmm2
mulss xmm0, xmm4
movss dword [esp + 0x48], xmm0
addss xmm3, xmm1
movsd xmm1, qword [0x100e5688]
mulss xmm3, dword [0x100e5670]
cvtps2pd xmm0, xmm3
comisd xmm1, xmm0
seta byte [esp + 0x54]
movss xmm3, dword [edi + edx + 8]
movss xmm2, dword [edi + ecx + 8]
movss xmm4, dword [edi + edx]
addss xmm3, xmm2
movss xmm1, dword [edi + ecx]
movss xmm0, dword [edi + edx + 4]
addss xmm4, xmm1
movss xmm5, dword [edi + ecx + 4]
lea edx, [esp + 0x90]
movss xmm1, dword [0x100e56b0]
addss xmm5, xmm0
movss xmm0, dword [esp + 0x7c]
mov ecx, dword [0x10135cc0]
mulss xmm3, xmm1
push edx
mulss xmm4, xmm1
lea edx, [esp + 0x84]
mov dword [esp + 0x40], 0
addss xmm0, xmm3
mulss xmm5, xmm1
mov dword [esp + 0x20], 0
addss xmm6, xmm4
push edx
addss xmm7, xmm5
movss dword [esp + 0x20], xmm0
lea edx, [esp + 0x18]
movss xmm0, dword [0x100e5c20]
xorps xmm4, xmm0
movss dword [esp + 0x18], xmm6
xorps xmm5, xmm0
movss dword [esp + 0x38], xmm4
xorps xmm3, xmm0
movss dword [esp + 0x1c], xmm7
movss dword [esp + 0x3c], xmm5
movss dword [esp + 0x40], xmm3
mov eax, dword [ecx]
push 0x201400b
push edx
mov eax, dword [eax + 0x14]
call eax
movss xmm0, dword [esp + 0xbc]
ucomiss xmm0, dword [0x100e572c]
lahf
test ah, 0x44
jnp 0x10006ccc
xor edi, edi
movss xmm5, dword [esp + 0xac]
movss xmm6, dword [esp + 0xa8]
movaps xmm1, xmm5
movss xmm2, dword [esi + 4]
movaps xmm0, xmm6
movss xmm3, dword [esi]
movss xmm7, dword [esp + 0xb0]
movss xmm4, dword [esi + 8]
mulss xmm0, xmm3
mulss xmm1, xmm2
addss xmm1, xmm0
movaps xmm0, xmm7
mulss xmm0, xmm4
addss xmm1, xmm0
movaps xmm0, xmm6
mulss xmm0, xmm1
subss xmm3, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm1
subss xmm2, xmm0
movss dword [esi], xmm3
movaps xmm0, xmm7
mulss xmm0, xmm1
movaps xmm1, xmm6
mulss xmm1, xmm3
subss xmm4, xmm0
movss dword [esi + 4], xmm2
movaps xmm0, xmm5
mulss xmm0, xmm2
movss dword [esi + 8], xmm4
addss xmm1, xmm0
movaps xmm0, xmm7
mulss xmm0, xmm4
addss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10006a97
mulss xmm6, xmm1
mulss xmm5, xmm1
mulss xmm7, xmm1
subss xmm3, xmm6
subss xmm2, xmm5
subss xmm4, xmm7
movss dword [esi], xmm3
movss dword [esi + 4], xmm2
movss dword [esi + 8], xmm4
movss xmm0, dword [0x100e572c]
subss xmm0, dword [esp + 0xbc]
movss xmm6, dword [esp + 0x9c]
movss xmm7, dword [esp + 0xa0]
mov ecx, dword [0x10136ea8]
mov edx, dword [0x10136ea4]
cvttss2si eax, xmm0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x50], 0
mov byte [esp + 0x55], 1
movd xmm0, eax
mov eax, dword [0x10135d00]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
mulss xmm2, xmm0
mulss xmm3, xmm0
addss xmm2, xmm7
mulss xmm4, xmm0
movss xmm0, dword [esp + 0xa4]
addss xmm3, xmm6
movss dword [esp + 0xc], xmm0
addss xmm4, xmm0
subss xmm2, xmm7
subss xmm3, xmm6
subss xmm4, xmm0
movss dword [esp + 0x24], xmm2
mulss xmm2, xmm2
movss dword [esp + 0x20], xmm3
mulss xmm3, xmm3
movss dword [esp + 0x28], xmm4
mulss xmm4, xmm4
addss xmm2, xmm3
addss xmm2, xmm4
ucomiss xmm2, dword [0x100e5558]
lahf
test ah, 0x44
jp 0x10006b5b
mov byte [esp + 0x55], 0
mov eax, dword [esp + 0x68]
movss xmm4, dword [0x100e56b0]
movss xmm3, dword [eax + ecx]
subss xmm3, dword [eax + edx]
movss xmm1, dword [eax + ecx + 4]
subss xmm1, dword [eax + edx + 4]
movss xmm2, dword [eax + ecx + 8]
subss xmm2, dword [eax + edx + 8]
movaps xmm0, xmm3
mov dword [esp + 0x4c], 0
mulss xmm0, xmm4
mulss xmm3, xmm3
movss dword [esp + 0x40], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm4
mulss xmm1, xmm1
movss dword [esp + 0x44], xmm0
movaps xmm0, xmm2
mulss xmm2, xmm2
addss xmm3, xmm1
mulss xmm0, xmm4
movsd xmm1, qword [0x100e5688]
movss dword [esp + 0x48], xmm0
addss xmm3, xmm2
mulss xmm3, dword [0x100e5670]
cvtps2pd xmm0, xmm3
comisd xmm1, xmm0
seta byte [esp + 0x54]
movss xmm5, dword [eax + edx + 8]
movss xmm0, dword [eax + edx]
movss xmm3, dword [eax + edx + 4]
lea edx, [esp + 0x90]
movss xmm2, dword [eax + ecx + 8]
movss xmm4, dword [eax + ecx]
addss xmm5, xmm2
movss xmm1, dword [eax + ecx + 4]
addss xmm4, xmm0
movss xmm0, dword [0x100e56b0]
addss xmm3, xmm1
mov ecx, dword [0x10135cc0]
push edx
mulss xmm5, xmm0
lea edx, [esp + 0x84]
mov dword [esp + 0x40], 0
mulss xmm4, xmm0
mov dword [esp + 0x20], 0
mulss xmm3, xmm0
push edx
movss xmm0, dword [esp + 0x14]
addss xmm6, xmm4
addss xmm0, xmm5
addss xmm7, xmm3
push 0x201400b
lea edx, [esp + 0x1c]
movss dword [esp + 0x1c], xmm6
movss dword [esp + 0x24], xmm0
movss xmm0, dword [0x100e5c20]
xorps xmm4, xmm0
movss dword [esp + 0x20], xmm7
xorps xmm3, xmm0
movss dword [esp + 0x3c], xmm4
xorps xmm5, xmm0
movss dword [esp + 0x40], xmm3
movss dword [esp + 0x44], xmm5
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x14]
call eax
movss xmm0, dword [esp + 0xbc]
ucomiss xmm0, dword [0x100e572c]
lahf
test ah, 0x44
jnp 0x10006cc8
inc edi
cmp edi, 2
jl 0x100069d7
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
movss xmm0, dword [esp + 0xa0]
movss xmm6, dword [esp + 0xa4]
movss xmm7, dword [esp + 0x9c]
movss dword [eax + 4], xmm0
movaps xmm0, xmm6
subss xmm0, dword [0x100e5780]
movss dword [eax], xmm7
movss dword [eax + 8], xmm6
mov ecx, dword [0x10136ea8]
mov edx, dword [0x10136ea4]
subss xmm0, xmm6
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x50], 0
mov byte [esp + 0x55], 1
movss dword [esp + 0x28], xmm0
mulss xmm0, xmm0
ucomiss xmm0, dword [0x100e5558]
lahf
test ah, 0x44
jp 0x10006d55
mov byte [esp + 0x55], 0
movss xmm3, dword [edi + ecx]
subss xmm3, dword [edi + edx]
movss xmm2, dword [edi + ecx + 4]
subss xmm2, dword [edi + edx + 4]
movss xmm1, dword [edi + ecx + 8]
subss xmm1, dword [edi + edx + 8]
movss xmm4, dword [0x100e56b0]
movaps xmm0, xmm3
mulss xmm0, xmm4
mov dword [esp + 0x4c], 0
mulss xmm3, xmm3
movss dword [esp + 0x40], xmm0
movaps xmm0, xmm2
mulss xmm0, xmm4
mulss xmm2, xmm2
movss dword [esp + 0x44], xmm0
movaps xmm0, xmm1
mulss xmm1, xmm1
addss xmm3, xmm2
mulss xmm0, xmm4
movss dword [esp + 0x48], xmm0
addss xmm3, xmm1
movsd xmm1, qword [0x100e5688]
mulss xmm3, dword [0x100e5670]
cvtps2pd xmm0, xmm3
comisd xmm1, xmm0
seta byte [esp + 0x54]
movss xmm1, dword [edi + edx + 4]
movss xmm0, dword [edi + edx]
movss xmm4, dword [edi + ecx + 4]
movss xmm3, dword [edi + edx + 8]
addss xmm4, xmm1
movss xmm5, dword [edi + ecx]
lea edx, [esp + 0x90]
movss xmm2, dword [edi + ecx + 8]
addss xmm5, xmm0
movss xmm0, dword [0x100e56b0]
addss xmm3, xmm2
mov ecx, dword [0x10135cc0]
mulss xmm4, xmm0
push edx
mulss xmm5, xmm0
lea edx, [esp + 0x84]
mov dword [esp + 0x40], 0
mulss xmm3, xmm0
mov dword [esp + 0x20], 0
movss xmm0, dword [esp + 0xa4]
addss xmm7, xmm5
addss xmm0, xmm4
addss xmm6, xmm3
push edx
push 0x201400b
movss dword [esp + 0x1c], xmm7
lea edx, [esp + 0x1c]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [0x100e5c20]
xorps xmm5, xmm0
movss dword [esp + 0x24], xmm6
xorps xmm4, xmm0
movss dword [esp + 0x3c], xmm5
xorps xmm3, xmm0
movss dword [esp + 0x40], xmm4
movss dword [esp + 0x44], xmm3
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x14]
call eax
mov eax, dword [esp + 0x70]
movss xmm0, dword [0x100e572c]
and dword [eax], 1
comiss xmm0, dword [esp + 0xbc]
ja 0x10006ece
cmp byte [esp + 0xc6], 0
jne 0x10006ece
cmp byte [esp + 0xc7], 0
je 0x10006ee6
movss xmm0, dword [esp + 0xb0]
comiss xmm0, dword [0x100e56d4]
jbe 0x10006ee6
mov dword [eax], 1
mov ecx, dword [esp + 0xec]
pop edi
pop esi
xor ecx, esp
call fcn.100bfdfa
mov esp, ebp
pop ebp
ret 0x14