Function at 0x1400087d0
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
movaps xmmword [rsp + 0x50], xmm6
mov rax, qword [0x1401fdbb8]
xor rax, rsp
mov qword [rsp + 0x48], rax
movsd xmm6, qword [0x1401ff7a8]
xorpd xmm0, xmm0
ucomisd xmm6, xmm0
jne 0x140008938
jp 0x140008938
mov rdi, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov esi, eax
call rdi
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x1401ff7b8]
mov ecx, dword [0x140201350]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x30]
jg 0x140008958
mov eax, dword [0x1401ff7c8]
mov ecx, dword [0x140201350]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x30]
jg 0x140008992
rdtsc
mov rdi, rax
mov rbx, rdx
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r14, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, esi
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub r14, qword [0x1401ff7c0]
jl 0x1400089dc
xorps xmm0, xmm0
cvtsi2sd xmm0, r14
cvtsi2sd xmm1, qword [rsp + 0x40]
divsd xmm0, xmm1
xorpd xmm6, xmm6
movsd xmm1, qword [0x1401b3148]
ucomisd xmm1, xmm0
ja 0x140008938
shl rbx, 0x20
or rdi, rbx
sub rdi, qword [0x1401ff7b0]
jb 0x140008a2e
movq xmm1, rdi
punpckldq xmm1, xmmword [0x1401b1f00]
subpd xmm1, xmmword [0x1401b1f10]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
movsd qword [0x1401ff7a8], xmm2
movsd xmm6, qword [0x1401ff7a8]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140174050
movapd xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x1401ff7b8]
call fcn.140173e10
cmp dword [0x1401ff7b8], 0xffffffff
jne 0x140008852
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x1401ff7b0], rdx
lea rcx, [0x1401ff7b8]
call fcn.140173ea8
jmp 0x140008852
lea rcx, [0x1401ff7c8]
call fcn.140173e10
cmp dword [0x1401ff7c8], 0xffffffff
jne 0x140008877
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x40]
mov qword [0x1401ff7c0], rax
lea rcx, [0x1401ff7c8]
call fcn.140173ea8
jmp 0x140008877
call fcn.14018a40c
mov ecx, dword [rax]
call fcn.140199684
mov rsi, rax
call fcn.14018a40c
mov edi, dword [rax]
lea rcx, [0x1401b3150]
call fcn.140005cf0
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], edi
lea rcx, str.PERFETTO_CHECK_perf_counter_now___perf_counter_initial_
mov qword [rsp + 0x20], rcx
lea r9, str._s__errno:__d___s_
mov ecx, 3
mov rdx, rax
mov r8d, 0x5b
call fcn.140007f00
int3
call fcn.14018a40c
mov ecx, dword [rax]
call fcn.140199684
mov rsi, rax
call fcn.14018a40c
mov edi, dword [rax]
lea rcx, [0x1401b3150]
call fcn.140005cf0
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], edi
lea rcx, str.PERFETTO_CHECK_tsc_now___tsc_initial_
mov qword [rsp + 0x20], rcx
lea r9, str._s__errno:__d___s_
mov ecx, 3
mov rdx, rax
mov r8d, 0x66
call fcn.140007f00
int3