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

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rax, qword [0x140155cc0]
xor rax, rsp
mov qword [rsp + 0x40], rax
movsd xmm0, qword [0x140163298]
xorpd xmm1, xmm1
ucomisd xmm0, xmm1
jne 0x140011936
jp 0x140011936
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 [0x1401632a8]
mov ecx, dword [0x1401652f8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x10]
jg 0x140011957
mov eax, dword [0x1401632b8]
mov ecx, dword [0x1401652f8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x10]
jg 0x140011991
rdtsc
mov rdi, rax
mov rbx, rdx
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r14, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, esi
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub r14, qword [0x1401632b0]
jl 0x1400119db
xorps xmm1, xmm1
cvtsi2sd xmm1, r14
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x38]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x140119a60]
ucomisd xmm2, xmm1
ja 0x140011936
shl rbx, 0x20
or rdi, rbx
sub rdi, qword [0x1401632a0]
jb 0x140011a2d
movq xmm0, rdi
punpckldq xmm0, xmmword [0x140118380]
subpd xmm0, xmmword [0x140118390]
movapd xmm2, xmm0
unpckhpd xmm2, xmm0
addsd xmm2, xmm0
divsd xmm2, xmm1
movsd qword [0x140163298], xmm2
movsd xmm0, qword [0x140163298]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
cmp rcx, qword [0x140155cc0]
jne 0x140011951
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400e0180
int3
lea rcx, [0x1401632a8]
call fcn.1400dffec
cmp dword [0x1401632a8], 0xffffffff
jne 0x14001184d
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x1401632a0], rdx
lea rcx, [0x1401632a8]
call fcn.1400e00a0
jmp 0x14001184d
lea rcx, [0x1401632b8]
call fcn.1400dffec
cmp dword [0x1401632b8], 0xffffffff
jne 0x140011872
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x38]
mov qword [0x1401632b0], rax
lea rcx, [0x1401632b8]
call fcn.1400e00a0
jmp 0x140011872
call fcn.1400f3fa4
mov ecx, dword [rax]
call fcn.1400fedf4
mov rsi, rax
call fcn.1400f3fa4
mov edi, dword [rax]
lea rcx, [0x140119a68]
call fcn.14000e9e0
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.140010d70
int3
call fcn.1400f3fa4
mov ecx, dword [rax]
call fcn.1400fedf4
mov rsi, rax
call fcn.1400f3fa4
mov edi, dword [rax]
lea rcx, [0x140119a68]
call fcn.14000e9e0
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.140010d70
int3