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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1e8
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 0x6dc9c8
mov dword [esi], str.LtGsk
mov dword [esi + 0xc], str.Sttim
rdtsc
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 4], eax
lea eax, [esi + 0x10]
mov dword [edi + 4], eax
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
mov esi, dword [edi + 4]
cmp esi, dword [edi + 0xc]
jae 0x6dc9f7
mov dword [esi], str.StSepNormal
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 edi, dword [ebp + 8]
mov eax, dword [edi]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
push dword [eax + 8]
mov ecx, dword [eax]
push dword [edi + 8]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x1b8]
call fcn.0046efa0
mov esi, dword [esp + 0x18]
mov dword [esp + 0x40], 1
mov dword [esp + 0x44], 0
movzx eax, byte [esi + 0x15]
movzx ecx, byte [esi + 0x16]
movzx edx, byte [esi + 0x14]
mov dword [esp + 0x34], eax
mov eax, ecx
and eax, 0xf
shr ecx, 4
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x34], edx
lea ecx, [esi + 0xc]
push edx
mov eax, dword [eax]
push ecx
mov ecx, dword [esp + 0x28]
call dword [eax + 0x3c]
mov eax, dword [esp + 0x14]
lea ecx, [esi + 0xc]
mov edx, dword [eax]
lea eax, [esp + 0x110]
push eax
mov eax, dword [esp + 0x34]
push dword [esp + 0x38]
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0x1c]
push eax
call dword [edx + 0x3c]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1b4]
push eax
push dword [esp + 0x1c]
lea ecx, [esp + 0x3c]
push dword [esp + 0x28]
call fcn.00547920
cmp dword [esp + 0x44], 0
mov dword [esp + 0x18], eax
je 0x6dcac8
lea eax, [esi + 0xc]
push eax
lea ecx, [esp + 0x34]
call fcn.00549c40
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x6dcb22
mov eax, dword [esp + 0x1c]
movss xmm3, dword [esp + 0x2c]
movaps xmm1, xmmword [esp + 0x20]
movaps xmm2, xmm1
movaps xmm0, xmm1
subss xmm3, dword [eax + 0x10]
mov eax, dword [esp + 0x14]
shufps xmm2, xmm1, 0x55
shufps xmm0, xmm1, 0
shufps xmm1, xmm1, 0xaa
subss xmm3, dword [eax + 0x10]
mov eax, dword [edi + 8]
mulps xmm2, xmmword [eax + 0x10]
mulps xmm0, xmmword [eax]
mulps xmm1, xmmword [eax + 0x20]
addps xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm3
addps xmm2, xmm1
movaps xmmword [esi + 0x20], xmm2
movss dword [esi + 0x2c], xmm3
jbe 0x6dcb35
jmp 0x6dcb29
xorps xmm0, xmm0
movaps xmmword [esi + 0x20], xmm0
mov ecx, dword [ebp + 0x14]
push dword [ebp + 0xc]
push edi
mov eax, dword [ecx]
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 0x6dcb64
mov dword [esi], 0x77f784
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