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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x138
push esi
push edi
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
mov esi, dword [edi + 4]
cmp esi, dword [edi + 0xc]
jae 0x6ce95d
mov dword [esi], str.TtmultiRay_cvx
rdtsc
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
lea eax, [esi + 0xc]
mov dword [esi + 4], ecx
mov dword [edi + 4], eax
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push dword [edx + 8]
mov eax, dword [ecx]
push dword [ecx + 8]
mov esi, dword [edx]
lea ecx, [esp + 0x108]
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
call fcn.0046efa0
mov edi, dword [esi + 0x14]
mov esi, dword [esi + 0x10]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
test edi, edi
jle 0x6ceb61
add esi, 0x10
movaps xmm2, xmmword [esi - 0x10]
lea edx, [esp + 0x50]
movaps xmm1, xmm2
mov ecx, dword [esp + 0x18]
shufps xmm1, xmm2, 0x55
movaps xmm0, xmm2
mulps xmm1, xmmword [esp + 0x110]
push edx
shufps xmm0, xmm2, 0
lea edx, [esp + 0x24]
mulps xmm0, xmmword [esp + 0x104]
push edx
shufps xmm2, xmm2, 0xaa
lea edx, [esp + 0x1f]
mulps xmm2, xmmword [esp + 0x128]
push edx
addps xmm1, xmm0
mov dword [esp + 0x6c], 0x3f800000
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x70], 0xffffffff
addps xmm2, xmmword [esp + 0x13c]
mov dword [esp + 0x9c], 0
mov dword [esp + 0x7c], 0xffffffff
addps xmm1, xmm2
movaps xmmword [esp + 0x2c], xmm1
movaps xmm2, xmmword [esi]
movaps xmm1, xmm2
movaps xmm0, xmm2
shufps xmm1, xmm2, 0x55
mulps xmm1, xmmword [esp + 0x11c]
shufps xmm0, xmm2, 0
mulps xmm0, xmmword [esp + 0x10c]
shufps xmm2, xmm2, 0xaa
mulps xmm2, xmmword [esp + 0x12c]
addps xmm1, xmm0
addps xmm2, xmmword [esp + 0x13c]
addps xmm1, xmm2
movaps xmmword [esp + 0x3c], xmm1
mov eax, dword [ecx]
call dword [eax + 0x20]
cmp byte [esp + 0x17], 0
je 0x6ceb55
movss xmm4, dword [esp + 0x60]
lea edx, [esp + 0xc0]
movaps xmm2, xmmword [0x727d50]
movaps xmm1, xmm4
movaps xmm0, xmmword [esp + 0x30]
mov ecx, dword [ebp + 0xc]
shufps xmm1, xmm1, 0
subps xmm2, xmm1
mulps xmm0, xmm1
push edx
mov eax, dword [ecx + 8]
movaps xmm1, xmmword [esp + 0x54]
subss xmm4, dword [0x718824]
mulps xmm2, xmmword [esp + 0x24]
mulss xmm4, dword [esi - 4]
addps xmm2, xmm0
movaps xmm3, xmm2
movaps xmm0, xmm2
shufps xmm0, xmm2, 0
mulps xmm0, xmmword [eax]
shufps xmm3, xmm2, 0x55
mulps xmm3, xmmword [eax + 0x10]
shufps xmm2, xmm2, 0xaa
mulps xmm2, xmmword [eax + 0x20]
addps xmm3, xmm0
movaps xmm0, xmm1
shufps xmm0, xmm1, 0
mulps xmm0, xmmword [eax]
addps xmm2, xmmword [eax + 0x30]
addps xmm3, xmm2
movaps xmm2, xmm1
shufps xmm2, xmm1, 0x55
mulps xmm2, xmmword [eax + 0x10]
shufps xmm1, xmm1, 0xaa
mulps xmm1, xmmword [eax + 0x20]
mov eax, dword [esp + 0x20]
addps xmm2, xmm0
mov dword [esp + 0xf8], ecx
mov ecx, dword [ebp + 0x14]
movaps xmmword [esp + 0xc4], xmm3
addss xmm4, dword [eax + 0x1c]
mov eax, dword [ebp + 8]
addps xmm2, xmm1
mov dword [esp + 0xf4], eax
mov eax, dword [ecx]
movaps xmmword [esp + 0xb4], xmm2
movss dword [esp + 0xc0], xmm4
movaps xmm0, xmmword [esp + 0xb4]
movaps xmmword [esp + 0xd4], xmm0
movaps xmmword [esp + 0xe4], xmm0
call dword [eax + 4]
add esi, 0x20
sub edi, 1
jne 0x6ce9a2
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
mov esi, dword [edi + 4]
cmp esi, dword [edi + 0xc]
jae 0x6ceb90
mov dword [esi], 0x77f5ec
rdtsc
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
lea eax, [esi + 0xc]
mov dword [esi + 4], ecx
mov dword [edi + 4], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret