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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x278
push esi
push edi
push dword [0x884c50]
mov esi, ecx
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esp + 0xc], eax
mov edi, dword [eax + 4]
cmp edi, dword [eax + 0xc]
jae 0x6c18c9
mov dword [edi], str.TtGsk
rdtsc
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
lea eax, [edi + 0xc]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0xc]
mov dword [ecx + 4], eax
mov edi, dword [ebp + 0x10]
movss xmm0, dword [esi + 0x18]
mov dword [esp + 0x10], 0
movss xmm1, dword [edi + 0x50]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x6c1a95
mov eax, dword [edi + 0x60]
cmp dword [eax + 0x10], 0
jne 0x6c1947
mov eax, dword [edi + 0x54]
mov dword [esi + 0x18], eax
mov edx, dword [ebp + 0x14]
push edx
push dword [esp + 0x14]
mov ecx, esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.006dd930
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
mov esi, dword [edi + 4]
cmp esi, dword [edi + 0xc]
jae 0x6c193f
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
mov edx, dword [ebp + 8]
lea eax, [esp + 0x240]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
mov eax, dword [edx]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x38], eax
mov eax, dword [ecx]
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x240]
push eax
mov eax, dword [edx + 8]
push ecx
add eax, 0x40
movss dword [esp], xmm1
push eax
mov dword [esp + 0x48], ecx
call fcn.00650310
movss xmm0, dword [edi + 0x50]
lea eax, [esp + 0x4c]
mov edi, dword [ebp + 0xc]
add esp, 0xc
push eax
mov eax, dword [edi + 8]
push ecx
add eax, 0x40
movss dword [esp], xmm0
push eax
call fcn.00650310
movzx eax, byte [esi + 0x15]
lea edx, [esi + 0xc]
movzx esi, byte [edx + 8]
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edi, dword [edi]
mov dword [esp + 0xc], edx
movzx edx, byte [edx + 0xa]
mov ecx, dword [ecx]
mov dword [esp + 0xc4], eax
mov eax, edx
shr edx, 4
and eax, 0xf
mov dword [esp + 0xcc], edx
lea edx, [esp + 0xe0]
mov dword [esp + 0xc0], esi
push edx
mov dword [esp + 0xd4], 0
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd8], 0
mov eax, dword [ecx]
push esi
mov esi, dword [esp + 0x14]
push esi
call dword [eax + 0x3c]
mov edx, dword [edi]
lea eax, [esp + 0x1a0]
push eax
mov eax, dword [esp + 0xc4]
mov ecx, edi
push dword [esp + 0xc8]
lea eax, [esi + eax*2]
push eax
call dword [edx + 0x3c]
mov esi, dword [esp + 0x1c]
mov edi, dword [ebp + 0x10]
lea eax, [esi + 0x20]
push eax
lea eax, [esp + 0xc4]
push eax
mov eax, dword [edi + 0x60]
push ecx
movss xmm0, dword [eax]
lea eax, [esp + 0x3c]
movss dword [esp], xmm0
push eax
lea eax, [esp + 0x30]
push eax
call fcn.006dd2f0
add esp, 0x14
cmp dword [esp + 0xd4], 0
je 0x6c1a95
lea eax, [esi + 0xc]
push eax
lea ecx, [esp + 0xc4]
call fcn.00549c40
mov eax, dword [edi + 0x54]
mov edx, dword [ebp + 0xc]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 8]
movss xmm5, dword [esi + 0x2c]
mov ecx, dword [eax + 8]
mov eax, dword [edx + 8]
movss xmm4, dword [ecx + 0x5c]
mulss xmm4, dword [edi + 0x58]
movaps xmm2, xmmword [ecx + 0x40]
subps xmm2, xmmword [ecx + 0x50]
movss xmm3, dword [eax + 0x5c]
movaps xmm0, xmm4
mulss xmm3, dword [edi + 0x58]
movaps xmm1, xmmword [eax + 0x50]
subps xmm1, xmmword [eax + 0x40]
shufps xmm0, xmm0, 0
mulps xmm2, xmm0
movaps xmm0, xmm3
shufps xmm0, xmm0, 0
mulps xmm1, xmm0
movss xmm0, dword [ecx + 0x9c]
mulss xmm0, xmm4
addps xmm2, xmm1
mulss xmm0, dword [ecx + 0xa0]
mov ecx, dword [edi + 0x60]
movaps xmmword [esp + 0x20], xmm2
movss xmm2, dword [eax + 0x9c]
mulss xmm2, xmm3
movaps xmm3, xmm5
mulss xmm2, dword [eax + 0xa0]
addss xmm2, xmm0
movss dword [esp + 0x2c], xmm2
movaps xmm4, xmmword [esp + 0x20]
movaps xmm1, xmm4
mulps xmm1, xmmword [esi + 0x20]
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
addss xmm0, xmm1
shufps xmm1, xmm1, 0xaa
addss xmm1, xmm0
subss xmm3, xmm1
subss xmm3, xmm2
comiss xmm3, dword [ecx]
jbe 0x6c1b8b
movss xmm0, dword [esi + 0x1c]
mulss xmm0, dword [0x719760]
comiss xmm3, xmm0
jbe 0x6c1b8b
movss dword [esi + 0x2c], xmm3
cmp byte [esi + 0x32], 0
je 0x6c1910
mov eax, dword [ebp + 0x14]
push dword [eax + 4]
lea eax, [esi + 0x30]
push dword [esi + 8]
push eax
call fcn.006f5720
add esp, 0xc
jmp 0x6c1910
cmp dword [ecx + 0x10], 0
je 0x6c1c3b
mov eax, dword [ebp + 8]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 8]
movaps xmmword [esp + 0xb0], xmm4
movss xmm4, dword [esi + 0x1c]
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], edx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], eax
movss dword [esp + 0xa0], xmm3
movss xmm0, dword [ecx + 0x1c]
movss xmm2, dword [ecx + 0x18]
mulss xmm0, xmm4
mulss xmm2, xmm4
addss xmm0, xmm5
comiss xmm0, xmm2
ja 0x6c1be7
movaps xmm2, xmm0
comiss xmm3, xmm2
jae 0x6c1c3b
movss xmm0, dword [ecx + 0x2c]
movss xmm1, dword [ecx + 0x28]
mulss xmm0, xmm4
mulss xmm1, xmm4
addss xmm0, xmm5
comiss xmm0, xmm1
ja 0x6c1c0a
movaps xmm1, xmm0
push dword [ebp + 0x14]
lea eax, [esi + 0x20]
push eax
lea eax, [esi + 0xc]
push eax
sub esp, 0xc
lea eax, [esp + 0x58]
movss dword [esp + 8], xmm1
movss dword [esp + 4], xmm2
movss dword [esp], xmm4
push eax
call fcn.006f6450
add esp, 0x1c
jmp 0x6c18fa
comiss xmm3, dword [ecx + 0xc]
jbe 0x6c18fa
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x30]
movss dword [esi + 0x2c], xmm3
movss xmm1, dword [edi + 0xc]
mov edx, dword [edx]
mov eax, dword [eax]
movss dword [esp + 0x1d8], xmm1
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], ecx
movss xmm2, dword [eax + 0x10]
lea eax, [esi + 0x20]
movss dword [esp + 0x1d0], xmm2
addss xmm2, xmm1
movss xmm0, dword [edx + 0x10]
movss dword [esp + 0x1d4], xmm0
mov dword [esp + 0x18], edx
addss xmm2, xmm0
movaps xmm0, xmmword [eax]
mov al, byte [ecx + 2]
movaps xmmword [esp + 0x1c0], xmm0
mulss xmm2, xmm2
movss dword [esp + 0x1dc], xmm2
test al, al
je 0x6c1dda
mov esi, dword [esp + 0x14]
movzx eax, al
mov edx, dword [esi]
lea eax, [eax*8 + 4]
add eax, ecx
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc0]
push eax
movzx eax, byte [ecx]
mov ecx, esi
push eax
push dword [esp + 0x18]
call dword [edx + 0x3c]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
movups xmm3, xmmword [eax]
movups xmm4, xmmword [eax + 0x10]
movups xmm5, xmmword [eax + 0x20]
movups xmm6, xmmword [eax + 0x30]
mov eax, dword [esp + 0xc]
movzx edx, byte [eax]
mov dword [esp + 0x14], edx
lea ecx, [edx - 1]
mov eax, ecx
add eax, eax
lea eax, [esp + eax*8 + 0xc0]
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 [eax], xmm1
sub eax, 0x10
sub ecx, 1
jns 0x6c1d11
mov ecx, dword [esp + 0x18]
lea esi, [esp + 0xc0]
mov edi, dword [esp + 0x10]
mov eax, edx
shl eax, 4
add esi, eax
mov eax, dword [esp + 0xc]
mov edx, dword [ecx]
push esi
movzx eax, byte [eax + 1]
push eax
mov eax, dword [esp + 0x1c]
lea eax, [edi + eax*2]
push eax
call dword [edx + 0x3c]
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
movups xmm3, xmmword [eax]
movups xmm4, xmmword [eax + 0x10]
movups xmm5, xmmword [eax + 0x20]
movups xmm6, xmmword [eax + 0x30]
mov eax, dword [esp + 0xc]
movzx ecx, byte [eax + 1]
dec ecx
mov eax, ecx
shl eax, 4
add eax, esi
nop dword [eax + 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 [eax], xmm1
sub eax, 0x10
sub ecx, 1
jns 0x6c1da0
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
push dword [esi + 8]
lea eax, [esp + 0xc4]
push dword [ebp + 0x14]
push 0
push eax
push ecx
call fcn.006f4870
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x6c1910
test byte [esi + 0x17], 0x80
je 0x6c1910
movzx ecx, byte [esi + 0x32]
mov edx, dword [ebp + 0x14]
imul ecx, ecx, 0xffffffd0
add dword [edx], ecx
jmp 0x6c18fd