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

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
movaps xmmword [rsp + 0x50], xmm6
mov rax, qword [0x1400e4040]
xor rax, rsp
mov qword [rsp + 0x48], rax
movsd xmm6, qword [0x1400f3ab0]
xorpd xmm0, xmm0
ucomisd xmm6, xmm0
jne 0x14001f4bc
jp 0x14001f4bc
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 [0x1400f3ac0]
mov ecx, dword [0x1400f2648]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14001f4e0
mov eax, dword [0x1400f3ad0]
mov ecx, dword [0x1400f2648]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14001f51a
rdtsc
mov rdi, rax
mov rbx, rdx
xor r12d, r12d
lea r14, [rsp + 0x40]
mov qword [r14], r12
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r15, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, esi
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [r14], r12
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub r15, qword [0x1400f3ac8]
jl 0x14001f563
xorps xmm0, xmm0
cvtsi2sd xmm0, r15
cvtsi2sd xmm1, qword [rsp + 0x40]
divsd xmm0, xmm1
xorpd xmm6, xmm6
movsd xmm1, qword [0x1400c8690]
ucomisd xmm1, xmm0
ja 0x14001f4bc
shl rbx, 0x20
or rdi, rbx
sub rdi, qword [0x1400f3ab8]
jb 0x14001f5b1
movq xmm1, rdi
punpckldq xmm1, xmmword [0x1400c8670]
subpd xmm1, xmmword [0x1400c8680]
haddpd xmm1, xmm1
divsd xmm1, xmm0
movsd qword [0x1400f3ab0], xmm1
movsd xmm6, qword [0x1400f3ab0]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140087ae0
movapd xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [0x1400f3ac0]
call fcn.14008672c
cmp dword [0x1400f3ac0], 0xffffffff
jne 0x14001f3e6
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x1400f3ab8], rdx
lea rcx, [0x1400f3ac0]
call fcn.1400867e0
jmp 0x14001f3e6
lea rcx, [0x1400f3ad0]
call fcn.14008672c
cmp dword [0x1400f3ad0], 0xffffffff
jne 0x14001f40b
lea rdi, [rsp + 0x40]
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
mov qword [0x1400f3ac8], rax
lea rcx, [0x1400f3ad0]
call fcn.1400867e0
jmp 0x14001f40b
call fcn.1400985d0
mov ecx, dword [rax]
call fcn.1400a15a4
mov rsi, rax
call fcn.1400985d0
mov edi, dword [rax]
lea rcx, [0x1400c8698]
call fcn.14001c546
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
jmp 0x14001f5fd
call fcn.1400985d0
mov ecx, dword [rax]
call fcn.1400a15a4
mov rsi, rax
call fcn.1400985d0
mov edi, dword [rax]
lea rcx, [0x1400c8698]
call fcn.14001c546
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, 0x65
call fcn.14001e8a4
int3