Function at 0x6cb380
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]
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 0x6cb3c1
mov dword [esi], str.TtCapsTriangle
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 ecx, [esp + 0x100]
mov edi, dword [ebp + 0xc]
movaps xmm0, xmmword [0x719320]
mov dword [esp + 0x60], eax
mov edx, dword [eax]
mov eax, dword [eax + 8]
mov esi, dword [edi]
movaps xmmword [esp + 0x30], xmm0
movaps xmmword [esp + 0x40], xmm0
mov dword [esp + 0x64], edi
movaps xmmword [esp + 0x50], xmm0
movups xmm3, xmmword [eax]
mov dword [esp + 0x1c], edx
add edx, 0x30
movups xmm4, xmmword [eax + 0x10]
mov dword [esp + 0x14], esi
movups xmm5, xmmword [eax + 0x20]
movups xmm6, xmmword [eax + 0x30]
mov eax, 1
movaps xmm2, xmmword [edx]
sub edx, 0x10
movaps xmm1, xmm2
movaps xmm0, xmm2
shufps xmm1, xmm2, 0
shufps xmm0, xmm2, 0x55
shufps xmm2, xmm2, 0xaa
mulps xmm1, xmm3
mulps xmm0, xmm4
mulps xmm2, xmm5
addps xmm1, xmm0
addps xmm2, xmm6
addps xmm1, xmm2
movaps xmmword [ecx], xmm1
sub ecx, 0x10
sub eax, 1
jns 0x6cb412
mov eax, dword [edi + 8]
lea ecx, [esp + 0x130]
lea edx, [esi + 0x40]
movups xmm3, xmmword [eax]
movups xmm4, xmmword [eax + 0x10]
movups xmm5, xmmword [eax + 0x20]
movups xmm6, xmmword [eax + 0x30]
mov eax, 2
nop dword [eax + eax]
movaps xmm2, xmmword [edx]
sub edx, 0x10
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 [ecx], xmm1
sub ecx, 0x10
sub eax, 1
jns 0x6cb470
mov edi, dword [ebp + 0x10]
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x94]
push eax
movss xmm0, dword [edi + 0xc]
mov eax, dword [esp + 0x20]
push 0
push ecx
movss dword [esp], xmm0
add eax, 0x14
movss xmm0, dword [esi + 0x10]
push eax
push ecx
movss dword [esp], xmm0
lea eax, [esp + 0x128]
push eax
mov eax, dword [esp + 0x38]
push ecx
movss xmm0, dword [eax + 0x10]
lea eax, [esp + 0x110]
movss dword [esp], xmm0
push eax
call fcn.006d77e0
movss xmm1, dword [esp + 0xf0]
add esp, 0x24
movss xmm2, dword [esp + 0xac]
comiss xmm1, xmm2
movss xmm0, dword [edi + 0xc]
jbe 0x6cb525
comiss xmm0, xmm2
jbe 0x6cb5ec
xor ecx, ecx
jmp 0x6cb533
comiss xmm0, xmm1
jbe 0x6cb5ec
mov ecx, 1
mov al, byte [esp + ecx*8 + 0x78]
mov esi, ecx
shl esi, 5
cmp dword [edi + 4], 0
mov byte [esp + 0x13], al
je 0x6cb5c0
test al, al
je 0x6cb5c0
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
mov eax, dword [ebp + 8]
movups xmm0, xmmword [esp + esi + 0xa4]
mov edx, dword [edx]
push dword [eax + 8]
mov eax, dword [ebp + 0xc]
push dword [esp + 0x24]
movups xmmword [esp + 0x2c], xmm0
push dword [eax + 8]
lea eax, [esp + 0xa0]
add eax, esi
push eax
lea eax, [esp + 0x27]
push eax
lea eax, [esp + 0x92]
lea eax, [eax + ecx*8]
mov ecx, dword [esp + 0x2c]
push eax
mov eax, dword [edx + 0x40]
call eax
cmp dword [edi + 8], 0
jne 0x6cb59f
test eax, eax
je 0x6cb5ec
cmp eax, 1
jne 0x6cb5c0
movaps xmm1, xmmword [esp + 0x20]
movaps xmm0, xmm1
unpckhps xmm0, xmmword [esp + esi + 0xa0]
shufps xmm1, xmm0, 0xc4
movaps xmmword [esp + esi + 0xa0], xmm1
mov ecx, dword [ebp + 0x14]
lea edx, [esp + 0x30]
movaps xmm0, xmmword [esp + esi + 0x90]
movaps xmmword [esp + 0x30], xmm0
movaps xmm0, xmmword [esp + esi + 0xa0]
mov eax, dword [ecx]
push edx
movaps xmmword [esp + 0x44], xmm0
movaps xmmword [esp + 0x54], xmm0
call dword [eax + 4]
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
mov esi, dword [edi + 4]
cmp esi, dword [edi + 0xc]
jae 0x6cb61b
mov dword [esi], 0x77f5ec
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
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10