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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1c8
movapd xmmword [rsp + 0x1b0], xmm6
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14012f028]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
mov eax, dword [0x140147358]
mov ecx, dword [0x14013e9b0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400812dc
cmp byte [rbx], 0
je 0x1400810ee
mov eax, dword [0x1401473c8]
mov ecx, dword [0x14013e9b0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140081314
cmp byte [0x1401473c4], 0
je 0x1400813da
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov qword [rsp + 0x190], 0
lea rdx, [rsp + 0x190]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_QueryThreadCycleTime]
movsd xmm0, qword [0x1401473d0]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x140080f92
jnp 0x140081121
ucomisd xmm0, xmm6
jne 0x140080f9e
jnp 0x14008111a
movsd xmm1, qword [rsp + 0x190]
unpcklps xmm1, xmmword [0x140115370]
subpd xmm1, xmmword [0x140115380]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x140118d58]
cvttsd2si rax, xmm2
mov qword [rsp + 0x48], rax
mov rax, qword [0x14013e628]
lea rcx, [0x1400931e0]
cmp rax, rcx
jne 0x140081243
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x50]
movabs rcx, 0x8637bd05af6
cmp rax, rcx
jg 0x140081539
imul rax, rax, 0xf4240
cqo
idiv qword [0x1401473f8]
mov qword [rsp + 0x50], rax
movabs rcx, 0x7fffffffffffffff
mov rdx, qword [0x140147190]
lea r8, [rdx + rcx]
add r8, 2
cmp r8, 2
jb 0x1400813e8
xor r8d, r8d
cmp rax, rdx
setns r8b
add r8, rcx
sub rax, rdx
cmovo rax, r8
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp byte [rbx], 0
je 0x1400810ee
mov ebp, eax
mov eax, dword [0x14013e9b0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp byte [rax + 0x131], 0
jne 0x1400810ee
lea r14, [rax + 0x131]
mov byte [r14], 1
movzx eax, byte [rbx]
test al, 8
jne 0x140081401
test al, 1
je 0x1400810ea
mov rax, qword [0x140147350]
test rax, rax
je 0x14008142c
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
mov byte [rsp + 0x20], 0
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
mov r9d, ebp
call qword [0x140152008]
mov byte [r14], 0
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.140095f80
movaps xmm6, xmmword [rsp + 0x1b0]
add rsp, 0x1c8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
jmp 0x140080fd3
mov r14, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call r14
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ebp, eax
call r14
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x1401473e0]
mov ecx, dword [0x14013e9b0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140081259
mov eax, dword [0x1401473f0]
mov ecx, dword [0x14013e9b0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140081293
rdtsc
mov qword [rsp + 0x38], rax
mov r15, rdx
xor r13d, r13d
lea r12, [rsp + 0x50]
mov qword [r12], r13
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r14, qword [r12]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [r12], r13
lea r12, [rsp + 0x50]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub r14, qword [0x1401473e8]
cvtsi2sd xmm1, r14
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [r12]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x140118d50]
ucomisd xmm2, xmm1
ja 0x140080f92
shl r15, 0x20
mov rax, qword [rsp + 0x38]
or rax, r15
sub rax, qword [0x1401473d8]
movq xmm0, rax
punpckldq xmm0, xmmword [0x140115370]
subpd xmm0, xmmword [0x140115380]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x1401473d0], xmm0
jmp 0x140080f92
lea r14, [rsp + 0x50]
mov rcx, r14
call qword [0x140152008]
mov rax, qword [r14]
jmp 0x140081030
lea rcx, [0x1401473e0]
call fcn.140093f10
cmp dword [0x1401473e0], 0xffffffff
jne 0x14008116c
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x1401473d8], rdx
lea rcx, [0x1401473e0]
call fcn.140093f78
jmp 0x14008116c
lea rcx, [0x1401473f0]
call fcn.140093f10
cmp dword [0x1401473f0], 0xffffffff
jne 0x140081191
lea r14, [rsp + 0x50]
mov qword [r14], 0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [r14]
mov qword [0x1401473e8], rax
lea rcx, [0x1401473f0]
call fcn.140093f78
jmp 0x140081191
lea rcx, [0x140147358]
call fcn.140093f10
cmp dword [0x140147358], 0xffffffff
jne 0x140080f1c
lea rcx, [0x140146ff8]
xor edx, edx
call fcn.1400175e0
lea rcx, [0x140147358]
call fcn.140093f78
jmp 0x140080f1c
lea rcx, [0x1401473c8]
call fcn.140093f10
cmp dword [0x1401473c8], 0xffffffff
jne 0x140080f4a
lea rax, [rsp + 0x80]
xorpd xmm0, xmm0
movupd xmmword [rax - 0x15], xmm0
movapd xmmword [rax - 0x20], xmm0
movapd xmmword [rax - 0x30], xmm0
mov byte [rax + 0x17], 7
lea rcx, str.unknown
cmp rax, rcx
ja 0x140081369
lea rdx, [rsp + 0x87]
cmp rdx, rcx
ja 0x140081572
mov ecx, dword [0x140116831]
mov dword [rax + 3], ecx
mov ecx, dword [str.unknown]
mov dword [rax], ecx
lea r14, [rsp + 0x50]
mov byte [r14 + 0x37], 0
movupd xmmword [r14 + 0x48], xmm0
mov qword [r14 + 0x58], 0
mov rcx, r14
xor edx, edx
call fcn.14001b260
mov bpl, byte [r14 + 0x29]
cmp byte [r14 + 0x5f], 0
jns 0x1400813b4
mov rcx, qword [rsp + 0x98]
call fcn.140093dd0
cmp byte [rsp + 0x97], 0
js 0x140081560
mov byte [0x1401473c4], bpl
lea rcx, [0x1401473c8]
call fcn.140093f78
jmp 0x140080f4a
mov qword [rsp + 0x48], 0
jmp 0x140080fd8
cmp rax, rdx
je 0x140081575
lea rax, [rcx + 1]
test rdx, rdx
cmovs rax, rcx
jmp 0x140081067
mov rcx, rbx
mov rdx, rdi
call fcn.1400f2910
mov al, byte [rbx]
jmp 0x1400810ab
lea rcx, [rsp + 0x190]
lea r8, [rsp + 0x40]
mov dl, 0x45
mov r9, rsi
call fcn.1400eb460
jmp 0x14008148e
xorpd xmm0, xmm0
movapd xmmword [rsp + 0x190], xmm0
mov qword [rsp + 0x1a0], 0
movabs rax, 0xaaaaaaaaaaaaaa00
lea rdx, [rsp + 0x50]
mov qword [rdx + 8], rax
lea rax, [0x140147000]
mov qword [rdx], rax
mov rcx, rsi
call fcn.1400eb940
mov rsi, rax
test rax, rax
je 0x140081484
lea rdx, [rsp + 0x40]
lea r8, [rsp + 0x48]
mov rcx, rsi
call fcn.1400f0180
mov eax, dword [0x140147198]
test al, 8
jne 0x140081413
cmp byte [rsp + 0x58], 0
je 0x1400814a0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov bl, byte [rsp + 0x1a7]
test bl, bl
js 0x1400814b0
movzx esi, bl
jmp 0x1400814b8
mov rsi, qword [rsp + 0x198]
test rsi, rsi
je 0x1400814cb
mov ecx, 2
call fcn.1400934a0
test al, al
jne 0x1400814e5
test bl, bl
jns 0x1400810ea
mov rcx, qword [rsp + 0x190]
call fcn.140093dd0
jmp 0x1400810ea
lea rdx, str....._base_trace_event_trace_log.cc
lea rdi, [rsp + 0x50]
mov rcx, rdi
mov r8d, 0x796
mov r9d, 2
call fcn.140013de0
lea rcx, [rsp + 0x60]
test bl, bl
js 0x140081518
lea rdx, [rsp + 0x190]
jmp 0x140081520
mov rdx, qword [rsp + 0x190]
mov r8, rsi
call fcn.1400c7ed0
mov rcx, rdi
call fcn.140004bc0
mov bl, byte [rsp + 0x1a7]
jmp 0x1400814cb
mov rcx, qword [0x1401473f8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x14008102b
mov rcx, qword [rsp + 0x80]
call fcn.140093dd0
jmp 0x1400813c2
int3
int3