Function at 0x1400ef510
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 [0x140219028]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
mov eax, dword [0x140231948]
mov ecx, dword [0x140228d28]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400ef92c
cmp byte [rbx], 0
je 0x1400ef73e
mov eax, dword [0x1402319cc]
mov ecx, dword [0x140228d28]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400ef964
cmp byte [0x1402319c8], 0
je 0x1400efa2a
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 [0x1402319d0]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x1400ef5e2
jnp 0x1400ef771
ucomisd xmm0, xmm6
jne 0x1400ef5ee
jnp 0x1400ef76a
movsd xmm1, qword [rsp + 0x190]
unpcklps xmm1, xmmword [0x1401f3950]
subpd xmm1, xmmword [0x1401f3960]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x1401f7d68]
cvttsd2si rax, xmm2
mov qword [rsp + 0x48], rax
mov rax, qword [0x140228618]
lea rcx, [0x14012ac60]
cmp rax, rcx
jne 0x1400ef893
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 0x1400efb89
imul rax, rax, 0xf4240
cqo
idiv qword [0x140231a18]
mov qword [rsp + 0x50], rax
movabs rcx, 0x7fffffffffffffff
mov rdx, qword [0x140231780]
lea r8, [rdx + rcx]
add r8, 2
cmp r8, 2
jb 0x1400efa38
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 0x1400ef73e
mov ebp, eax
mov eax, dword [0x140228d28]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp byte [rax + 0x131], 0
jne 0x1400ef73e
lea r14, [rax + 0x131]
mov byte [r14], 1
movzx eax, byte [rbx]
test al, 8
jne 0x1400efa51
test al, 1
je 0x1400ef73a
mov rax, qword [0x140231940]
test rax, rax
je 0x1400efa7c
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 [0x140243008]
mov byte [r14], 0
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.14012ec00
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 0x1400ef623
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 [0x1402319e0]
mov ecx, dword [0x140228d28]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400ef8a9
mov eax, dword [0x1402319f0]
mov ecx, dword [0x140228d28]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400ef8e3
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 [0x1402319e8]
cvtsi2sd xmm1, r14
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [r12]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x1401f7d60]
ucomisd xmm2, xmm1
ja 0x1400ef5e2
shl r15, 0x20
mov rax, qword [rsp + 0x38]
or rax, r15
sub rax, qword [0x1402319d8]
movq xmm0, rax
punpckldq xmm0, xmmword [0x1401f3950]
subpd xmm0, xmmword [0x1401f3960]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x1402319d0], xmm0
jmp 0x1400ef5e2
lea r14, [rsp + 0x50]
mov rcx, r14
call qword [0x140243008]
mov rax, qword [r14]
jmp 0x1400ef680
lea rcx, [0x1402319e0]
call fcn.14012c340
cmp dword [0x1402319e0], 0xffffffff
jne 0x1400ef7bc
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x1402319d8], rdx
lea rcx, [0x1402319e0]
call fcn.14012c3a8
jmp 0x1400ef7bc
lea rcx, [0x1402319f0]
call fcn.14012c340
cmp dword [0x1402319f0], 0xffffffff
jne 0x1400ef7e1
lea r14, [rsp + 0x50]
mov qword [r14], 0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [r14]
mov qword [0x1402319e8], rax
lea rcx, [0x1402319f0]
call fcn.14012c3a8
jmp 0x1400ef7e1
lea rcx, [0x140231948]
call fcn.14012c340
cmp dword [0x140231948], 0xffffffff
jne 0x1400ef56c
lea rcx, [0x1402315e8]
xor edx, edx
call fcn.140029840
lea rcx, [0x140231948]
call fcn.14012c3a8
jmp 0x1400ef56c
lea rcx, [0x1402319cc]
call fcn.14012c340
cmp dword [0x1402319cc], 0xffffffff
jne 0x1400ef59a
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 0x1400ef9b9
lea rdx, [rsp + 0x87]
cmp rdx, rcx
ja 0x1400efbc2
mov ecx, dword [0x1401f5302]
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.14002db10
mov bpl, byte [r14 + 0x29]
cmp byte [r14 + 0x5f], 0
jns 0x1400efa04
mov rcx, qword [rsp + 0x98]
call fcn.14012c25c
cmp byte [rsp + 0x97], 0
js 0x1400efbb0
mov byte [0x1402319c8], bpl
lea rcx, [0x1402319cc]
call fcn.14012c3a8
jmp 0x1400ef59a
mov qword [rsp + 0x48], 0
jmp 0x1400ef628
cmp rax, rdx
je 0x1400efbc5
lea rax, [rcx + 1]
test rdx, rdx
cmovs rax, rcx
jmp 0x1400ef6b7
mov rcx, rbx
mov rdx, rdi
call fcn.140197a90
mov al, byte [rbx]
jmp 0x1400ef6fb
lea rcx, [rsp + 0x190]
lea r8, [rsp + 0x40]
mov dl, 0x45
mov r9, rsi
call fcn.14018d8a0
jmp 0x1400efade
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, [0x1402315f0]
mov qword [rdx], rax
mov rcx, rsi
call fcn.14018dd80
mov rsi, rax
test rax, rax
je 0x1400efad4
lea rdx, [rsp + 0x40]
lea r8, [rsp + 0x48]
mov rcx, rsi
call fcn.140195300
mov eax, dword [0x140231788]
test al, 8
jne 0x1400efa63
cmp byte [rsp + 0x58], 0
je 0x1400efaf0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov bl, byte [rsp + 0x1a7]
test bl, bl
js 0x1400efb00
movzx esi, bl
jmp 0x1400efb08
mov rsi, qword [rsp + 0x198]
test rsi, rsi
je 0x1400efb1b
mov ecx, 2
call fcn.1400b9d80
test al, al
jne 0x1400efb35
test bl, bl
jns 0x1400ef73a
mov rcx, qword [rsp + 0x190]
call fcn.14012c25c
jmp 0x1400ef73a
lea rdx, str....._base_trace_event_trace_log.cc
lea rdi, [rsp + 0x50]
mov rcx, rdi
mov r8d, 0x796
mov r9d, 2
call fcn.1400066f0
lea rcx, [rsp + 0x60]
test bl, bl
js 0x1400efb68
lea rdx, [rsp + 0x190]
jmp 0x1400efb70
mov rdx, qword [rsp + 0x190]
mov r8, rsi
call fcn.140167320
mov rcx, rdi
call fcn.1400068f0
mov bl, byte [rsp + 0x1a7]
jmp 0x1400efb1b
mov rcx, qword [0x140231a18]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x1400ef67b
mov rcx, qword [rsp + 0x80]
call fcn.14012c25c
jmp 0x1400efa12
int3
int3