Function at 0x6ce070
Capabilities:
Execute anti-debugging instructions
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
push esi
push edi
push dword [0x884c50]
mov dword [esp + 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
mov esi, dword [edi + 4]
cmp esi, dword [edi + 0xc]
jae 0x6ce0b1
mov dword [esi], str.TtMultiSphereTri
rdtsc
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
lea eax, [esi + 0xc]
mov dword [esi + 4], ecx
mov dword [edi + 4], eax
mov eax, dword [ebp + 8]
lea esi, [esp + 0x50]
mov edx, dword [ebp + 0xc]
mov edi, dword [eax]
mov eax, dword [edx]
mov dword [esp + 0x24], eax
lea ecx, [eax + 0x20]
mov eax, dword [edx + 8]
mov edx, 2
sub esi, ecx
movups xmm3, xmmword [eax]
movups xmm4, xmmword [eax + 0x10]
movups xmm5, xmmword [eax + 0x20]
movups xmm6, xmmword [eax + 0x30]
lea eax, [ecx + 0x20]
movaps xmm2, xmmword [eax]
movaps xmm1, xmm2
movaps xmm0, xmm2
shufps xmm1, xmm2, 0x55
shufps xmm0, xmm2, 0
shufps xmm2, xmm2, 0xaa
mulps xmm1, xmm4
mulps xmm0, xmm3
mulps xmm2, xmm5
addps xmm1, xmm0
addps xmm2, xmm6
addps xmm1, xmm2
movaps xmmword [esi + eax], xmm1
sub eax, 0x10
sub edx, 1
jns 0x6ce0e2
mov eax, dword [ebp + 8]
lea esi, [esp + 0x80]
add edi, 0x20
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov ecx, dword [ecx + 0x10]
movups xmm3, xmmword [eax]
dec ecx
movups xmm4, xmmword [eax + 0x10]
mov edx, ecx
mov dword [esp + 0x14], ecx
movups xmm5, xmmword [eax + 0x20]
movups xmm6, xmmword [eax + 0x30]
mov eax, edx
shl eax, 4
add eax, edi
sub esi, edi
nop dword [eax]
movaps xmm2, xmmword [eax]
movaps xmm1, xmm2
movaps xmm0, xmm2
shufps xmm1, xmm2, 0x55
shufps xmm0, xmm2, 0
shufps xmm2, xmm2, 0xaa
mulps xmm1, xmm4
mulps xmm0, xmm3
mulps xmm2, xmm5
addps xmm1, xmm0
addps xmm2, xmm6
addps xmm1, xmm2
movaps xmmword [esi + eax], xmm1
sub eax, 0x10
sub edx, 1
jns 0x6ce150
lea eax, [esp + 0x80]
mov dword [esp + 0x1c], eax
test ecx, ecx
js 0x6ce2a6
mov esi, dword [esp + 0x18]
lea edx, [esi + 0xc]
mov dword [esp + 0x2c], edx
lea esi, [esi + ecx*2]
lea edx, [edi + 0xc]
add esi, 0x1c
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x28], edx
mov ecx, dword [esp + 0x24]
push 0
movss xmm0, dword [ecx + 0x10]
lea ecx, [esp + 0x34]
addss xmm0, dword [edx]
push ecx
push dword [esp + 0x34]
lea ecx, [esp + 0x5c]
push ecx
push eax
movss dword [esp + 0x34], xmm0
call fcn.006bae60
mov eax, dword [ebp + 0x10]
add esp, 0x14
movss xmm1, dword [esp + 0x20]
movss xmm2, dword [esp + 0x40]
movss xmm0, dword [eax + 0xc]
addss xmm0, xmm1
comiss xmm0, xmm2
jbe 0x6ce2dd
mov eax, dword [esp + 0x24]
mov edx, dword [ebp + 0x14]
movss xmm0, dword [eax + 0x10]
mov eax, dword [esp + 0x1c]
subss xmm0, xmm2
mov edi, dword [edx]
shufps xmm0, xmm0, 0
mulps xmm0, xmmword [esp + 0x30]
addps xmm0, xmmword [eax]
mov eax, 0xffff
movaps xmmword [edi], xmm0
movaps xmm0, xmmword [esp + 0x30]
movaps xmmword [edi + 0x10], xmm0
movss xmm0, dword [esp + 0x40]
subss xmm0, xmm1
movss dword [edi + 0x1c], xmm0
cmp word [esi], ax
jne 0x6ce270
mov eax, dword [esp + 0x18]
push edi
push 0
push edx
mov ecx, dword [eax + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov eax, dword [ecx]
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
call eax
mov ecx, 0xffff
mov word [esi], ax
cmp ax, cx
je 0x6ce279
mov edx, dword [ebp + 0x14]
add dword [edx], 0x30
movzx eax, word [esi]
mov dword [edi + 0x20], eax
mov edi, dword [ebp + 0x14]
mov ecx, dword [esp + 0x14]
sub esi, 2
mov eax, dword [esp + 0x1c]
dec ecx
mov edx, dword [esp + 0x28]
add eax, 0x10
add edx, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x14], ecx
test ecx, ecx
jns 0x6ce1b1
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
mov esi, dword [edi + 4]
cmp esi, dword [edi + 0xc]
jae 0x6ce2d5
mov dword [esi], 0x77f5ec
rdtsc
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x20]
lea eax, [esi + 0xc]
mov dword [esi + 4], ecx
mov dword [edi + 4], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
movzx edx, word [esi]
mov eax, 0xffff
cmp dx, ax
je 0x6ce27c
mov eax, dword [esp + 0x18]
push dword [edi + 4]
push edx
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov eax, 0xffff
mov word [esi], ax
jmp 0x6ce27c