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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x3838
call fcn.00607e10
mov eax, dword [ebp + 8]
mov edx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esp + 0x7ac], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
mov dword [esp + 0x37e0], 0x7f7fffee
mov ecx, dword [eax + 8]
xor esi, esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x3800], edi
mov dword [esp + 0x3804], edi
test ecx, ecx
jle 0x6ae54a
mov eax, dword [eax + 4]
mov edi, dword [eax + esi*4]
inc esi
mov dword [esp + 0x2c], esi
cmp esi, ecx
jne 0x6ae16a
mov eax, dword [ebp + 0xc]
movzx eax, word [eax]
add eax, edi
jmp 0x6ae170
lea eax, [edi + 0x200]
mov dword [esp + 0x18], eax
cmp edi, eax
jae 0x6ae538
nop dword [eax]
mov eax, dword [edi + 0x10]
push dword [0x884c50]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x7c4]
mov dword [esp + 0x7b4], eax
mov dword [esp + 0x37e4], 0x7f7fffee
mov dword [esp + 0x3834], 0
mov eax, dword [edi + 8]
prefetchnta byte [edi + 0x80]
prefetchnta byte [eax]
call edx
mov dword [esp + 8], eax
mov esi, dword [eax + 4]
cmp esi, dword [eax + 0xc]
jae 0x6ae1f0
mov dword [esi], str.TtProcessNnEntry
rdtsc
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
lea eax, [esi + 0xc]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 8]
mov dword [ecx + 4], eax
movzx eax, byte [edi]
mov edx, dword [edi + 0x14]
mov esi, dword [edi + 0x10]
mov dword [esp + 8], eax
add eax, 0xfffffffe
mov dword [esp + 0x10], edx
cmp eax, 0xc
ja case.0x6ae217.3
nop dword [eax]
movzx eax, byte [eax + 0x6ae734]
jmp dword [eax*4 + 0x6ae720]
lea eax, [esp + 0xf]
push eax
push 4
lea eax, [esp + 0x238]
push eax
lea eax, [esp + 0x1bc]
push eax
push esi
call fcn.006aeb60
mov esi, eax
lea eax, [esp + 0x23]
push eax
push 4
lea eax, [esp + 0x50c]
push eax
lea eax, [esp + 0x210]
push eax
push dword [esp + 0x34]
call fcn.006aeb60
mov ecx, dword [esp + 0x30]
mov edx, eax
movzx ecx, cl
add esp, 0x28
and ecx, 0xf7
mov dword [esp + 0x10], edx
mov dword [esp + 8], ecx
lea eax, [ecx - 2]
cmp eax, 0xc
jbe 0x6ae210
jmp case.0x6ae217.3
mov ecx, dword [edi + 0x20]
lea edx, [esp + 0x7b0]
push edx
push dword [ebp + 0x10]
mov edx, dword [esp + 0x18]
mov eax, dword [ecx]
push edx
push esi
call dword [eax + 0x18]
jmp case.0x6ae217.3
mov eax, dword [edi + 8]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x30], esi
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], eax
mov ecx, dword [esi + 8]
mov eax, dword [edx + 8]
mov esi, dword [ebp + 0x10]
push eax
movss xmm4, dword [ecx + 0x5c]
movaps xmm2, xmmword [ecx + 0x40]
mulss xmm4, dword [esi + 0x58]
push ecx
subps xmm2, xmmword [ecx + 0x50]
movss xmm3, dword [eax + 0x5c]
mulss xmm3, dword [esi + 0x58]
movaps xmm0, xmm4
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
addps xmm2, xmm1
movaps xmmword [esp + 0xa8], xmm2
movss xmm0, dword [ecx + 0x9c]
movss xmm1, dword [eax + 0x9c]
mulss xmm1, xmm3
mulss xmm0, xmm4
mulss xmm1, dword [eax + 0xa0]
mulss xmm0, dword [ecx + 0xa0]
lea ecx, [esp + 0x58]
addss xmm1, xmm0
movss dword [esp + 0xb4], xmm1
call fcn.0046efa0
movzx eax, byte [edi + 1]
mov ecx, dword [esi]
lea edx, [eax + eax*4]
lea eax, [esp + 0x7b0]
add edx, edx
push eax
push 0
lea eax, [edi + 0x20]
push eax
lea eax, [esp + 0x3c]
push edi
push eax
mov eax, dword [ecx + edx*8 + 0x16dc]
jmp 0x6ae4ac
mov eax, dword [ebp + 0x10]
mov ecx, dword [edi + 8]
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], esi
mov dword [esp + 0x40], ecx
mov edx, dword [edx + 8]
mov eax, dword [esi + 8]
mov dword [esp + 8], edx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
movss xmm4, dword [eax + 0x5c]
movaps xmm2, xmmword [eax + 0x40]
movss xmm0, dword [edx + 0x58]
mov edx, dword [esp + 8]
subps xmm2, xmmword [eax + 0x50]
mulss xmm4, xmm0
movss xmm3, dword [edx + 0x5c]
movaps xmm1, xmmword [edx + 0x50]
subps xmm1, xmmword [edx + 0x40]
mulss xmm3, xmm0
movaps xmm0, xmm4
shufps xmm0, xmm0, 0
mulps xmm2, xmm0
movaps xmm0, xmm3
shufps xmm0, xmm0, 0
mulps xmm1, xmm0
addps xmm2, xmm1
movaps xmmword [esp + 0xa0], xmm2
movss xmm1, dword [edx + 0x9c]
movss xmm0, dword [eax + 0x9c]
mulss xmm1, xmm3
mulss xmm0, xmm4
mulss xmm1, dword [edx + 0xa0]
mov edx, dword [ebp + 0x10]
mulss xmm0, dword [eax + 0xa0]
addss xmm1, xmm0
movss xmm0, dword [edi + 0x18]
movss dword [esp + 0xac], xmm1
movss xmm1, dword [edx + 0x50]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x6ae69d
mov eax, dword [edx + 0x60]
cmp dword [eax + 0x10], 0
jne 0x6ae57a
mov eax, dword [edx + 0x54]
lea esi, [edi + 0x20]
movss xmm1, dword [0x77fafc]
xorps xmm0, xmm0
mov dword [edi + 0x18], eax
movaps xmmword [esi], xmm0
mov dword [edi + 0x2c], 0xff7fffee
push dword [esp + 8]
lea ecx, [esp + 0x54]
movss dword [esp + 0x94], xmm1
push dword [esp + 0x14]
call fcn.0046efa0
movzx eax, byte [edi + 1]
lea edx, [esp + 0x7b0]
push edx
push esi
lea esi, [edi + 0x30]
lea ecx, [eax + eax*4]
mov eax, dword [ebp + 0x10]
add ecx, ecx
lea edx, [esp + 0x38]
push esi
push edi
mov eax, dword [eax]
push edx
mov eax, dword [eax + ecx*8 + 0x16dc]
call eax
add esp, 0x14
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esp + 8], eax
mov esi, dword [eax + 4]
cmp esi, dword [eax + 0xc]
jae 0x6ae4e6
mov dword [esi], 0x77f5ec
rdtsc
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x20]
lea eax, [esi + 0xc]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 8]
mov dword [ecx + 4], eax
cmp dword [0x8d7868], 1
je 0x6ae574
lea eax, [esp + 0x7c0]
cmp dword [esp + 0x7b0], eax
je 0x6ae51e
mov ecx, dword [edi + 8]
lea edx, [esp + 0x7b0]
push edx
push dword [ebp + 0x10]
push dword [esp + 0x2c]
mov eax, dword [ecx]
push dword [esp + 0x34]
call dword [eax + 0x18]
movzx eax, byte [edi + 3]
mov edx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
add edi, eax
cmp edi, dword [esp + 0x18]
jb 0x6ae180
mov esi, dword [esp + 0x2c]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
cmp esi, ecx
jl 0x6ae151
mov edi, dword [esp + 0x14]
push dword [0x884c50]
call edx
mov ecx, eax
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 0xc]
jae 0x6ae574
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mov dword [eax], str.MinumTim
movss dword [eax + 4], xmm0
add eax, 8
mov dword [ecx + 4], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0xd0]
mov dword [esp + 0x158], 0
push eax
mov eax, dword [esi + 8]
push ecx
add eax, 0x40
movss dword [esp], xmm1
push eax
call fcn.00650310
add esp, 0xc
lea eax, [esp + 0x110]
push eax
mov eax, dword [esp + 0x40]
push ecx
movss xmm0, dword [eax + 0x50]
mov eax, dword [esp + 0x3c]
movss dword [esp], xmm0
mov eax, dword [eax + 8]
add eax, 0x40
push eax
call fcn.00650310
mov esi, dword [esp + 0x3c]
lea eax, [esp + 0xbc]
mov edx, dword [esp + 0x40]
add esp, 0xc
mov dword [esp + 0x150], eax
lea eax, [esp + 0xc0]
mov dword [esp + 0x154], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x160], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x15c], eax
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [esp + 0xc0], eax
lea eax, [esp + 0xd0]
mov dword [esp + 0xb8], eax
lea eax, [esp + 0x110]
push eax
mov dword [esp + 0xcc], eax
lea eax, [esp + 0xd4]
mov dword [esp + 0xc8], ecx
lea ecx, [esp + 0x174]
push eax
mov dword [esp + 0xc4], esi
mov dword [esp + 0xd4], edx
call fcn.0046efa0
movzx eax, byte [edi + 1]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x10]
add edx, edx
mov ecx, dword [eax]
lea eax, [edi + 0x20]
push eax
lea eax, [edi + 0x30]
push eax
lea eax, [esp + 0x158]
push edi
push eax
mov eax, dword [ecx + edx*8 + 0x16d8]
call eax
mov ecx, dword [esp + 0x50]
add esp, 0x10
mov edx, dword [ebp + 0x10]
movaps xmm0, xmmword [esp + 0xa0]
lea esi, [edi + 0x20]
mov eax, dword [edx + 0x54]
movaps xmm1, xmm0
mulps xmm1, xmmword [esi]
mov dword [edi + 0x18], eax
shufps xmm0, xmm0, 0xff
movaps xmm2, xmm1
shufps xmm2, xmm1, 0xaa
addss xmm2, xmm0
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
addss xmm0, xmm1
movss xmm1, dword [edi + 0x2c]
addps xmm2, xmm0
subss xmm1, xmm2
comiss xmm1, dword [edx + 0xc]
jb 0x6ae46a
movss dword [edi + 0x2c], xmm1
cmp byte [edi + 2], 0
je 0x6ae716
movzx eax, byte [edi + 1]
lea esi, [edi + 0x30]
push dword [esp + 0x7b4]
push ecx
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x10]
add edx, edx
push esi
push edi
mov eax, dword [eax]
mov eax, dword [eax + edx*8 + 0x16b8]
call eax
add esp, 0x10
inc dword [esp + 0x14]
jmp case.0x6ae217.3