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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xe8
push esi
push edi
push dword [0x884c50]
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esp + 0xc], eax
mov esi, dword [eax + 4]
cmp esi, dword [eax + 0xc]
jae 0x6cf005
mov dword [esi], str.TtmultiRay_cvx
rdtsc
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
lea eax, [esi + 0xc]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0xc]
mov dword [ecx + 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push dword [ecx + 8]
mov esi, dword [ecx]
lea ecx, [esp + 0xb4]
mov edx, dword [eax]
push dword [eax + 8]
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], edx
call fcn.0046efa0
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov eax, dword [esi + 0x10]
xor esi, esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
test ecx, ecx
jle 0x6cf24e
movaps xmm2, xmmword [eax]
lea edx, [esp + 0x60]
movaps xmm1, xmm2
mov ecx, dword [esp + 0x18]
shufps xmm1, xmm2, 0x55
movaps xmm0, xmm2
mulps xmm1, xmmword [esp + 0xc0]
push edx
shufps xmm0, xmm2, 0
lea edx, [esp + 0x24]
mulps xmm0, xmmword [esp + 0xb4]
push edx
shufps xmm2, xmm2, 0xaa
lea edx, [esp + 0x13]
mulps xmm2, xmmword [esp + 0xd8]
push edx
addps xmm1, xmm0
mov dword [esp + 0x7c], 0x3f800000
mov dword [esp + 0x84], 0xffffffff
mov dword [esp + 0x80], 0xffffffff
addps xmm2, xmmword [esp + 0xec]
mov dword [esp + 0xac], 0
mov dword [esp + 0x8c], 0xffffffff
addps xmm1, xmm2
movaps xmmword [esp + 0x2c], xmm1
movaps xmm2, xmmword [eax + 0x10]
movaps xmm1, xmm2
movaps xmm0, xmm2
shufps xmm1, xmm2, 0x55
mulps xmm1, xmmword [esp + 0xcc]
shufps xmm0, xmm2, 0
mulps xmm0, xmmword [esp + 0xbc]
shufps xmm2, xmm2, 0xaa
mulps xmm2, xmmword [esp + 0xdc]
addps xmm1, xmm0
addps xmm2, xmmword [esp + 0xec]
addps xmm1, xmm2
movaps xmmword [esp + 0x3c], xmm1
mov eax, dword [ecx]
call dword [eax + 0x20]
cmp byte [esp + 0xb], 0
jne 0x6cf161
mov eax, dword [edi + 0xc]
mov ecx, 0xffff
movzx eax, word [eax + esi*2]
mov dword [esp + 0xc], eax
cmp ax, cx
je 0x6cf238
mov edx, dword [ebp + 0x14]
mov ecx, dword [edi + 8]
push dword [edx + 4]
mov eax, dword [ecx]
push dword [esp + 0x10]
call dword [eax + 0x14]
mov eax, dword [edi + 0xc]
mov ecx, 0xffff
mov word [eax + esi*2], cx
jmp 0x6cf238
movss xmm2, dword [esp + 0x70]
lea ecx, [esp + 0x50]
movaps xmm1, xmmword [0x727d50]
movaps xmm0, xmmword [esp + 0x30]
mov eax, dword [ebp + 0x14]
shufps xmm2, xmm2, 0
subps xmm1, xmm2
mulps xmm0, xmm2
push ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mulps xmm1, xmmword [esp + 0x24]
push dword [ecx + 8]
mov ecx, eax
addps xmm1, xmm0
movaps xmmword [esp + 0x58], xmm1
call fcn.0046e9f0
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x60]
push eax
mov eax, dword [ebp + 0xc]
add ecx, 0x10
push dword [eax + 8]
call fcn.0046e9b0
movss xmm0, dword [esp + 0x70]
mov ecx, 0xffff
subss xmm0, dword [0x718824]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mulss xmm0, dword [eax + 0xc]
mov eax, dword [esp + 0x1c]
addss xmm0, dword [eax + 0x1c]
movss dword [edx + 0x1c], xmm0
mov eax, dword [edi + 0xc]
cmp word [eax + esi*2], cx
jne 0x6cf21f
mov ecx, dword [edi + 8]
push edx
push 0
push dword [ebp + 0x14]
mov eax, dword [ecx]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
push dword [ebp + 8]
call eax
mov edx, dword [esp + 0xc]
movzx ecx, ax
mov eax, dword [edi + 0xc]
mov word [eax + esi*2], cx
mov ecx, 0xffff
mov eax, dword [edi + 0xc]
cmp word [eax + esi*2], cx
je 0x6cf238
mov eax, dword [ebp + 0x14]
add dword [eax], 0x30
mov eax, dword [edi + 0xc]
movzx eax, word [eax + esi*2]
mov dword [edx + 0x20], eax
mov eax, dword [esp + 0x10]
inc esi
add eax, 0x20
mov dword [esp + 0x10], eax
cmp esi, dword [esp + 0x14]
jl 0x6cf051
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
mov esi, dword [edi + 4]
cmp esi, dword [edi + 0xc]
jae 0x6cf27d
mov dword [esi], 0x77f5ec
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
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10