Function at 0x1400a3810
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 [0x140174028]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
mov eax, dword [0x1401868b8]
mov ecx, dword [0x140183a44]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400a3c1c
cmp byte [rbx], 0
je 0x1400a3a33
mov eax, dword [0x140186938]
mov ecx, dword [0x140183a44]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400a3c54
cmp byte [0x140186934], 0
je 0x1400a3d00
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea rdx, [rsp + 0x190]
mov qword [rdx], 0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_QueryThreadCycleTime]
movsd xmm0, qword [0x140186940]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x1400a38dd
jnp 0x1400a3a66
ucomisd xmm0, xmm6
jne 0x1400a38e9
jnp 0x1400a3a5f
movsd xmm1, qword [rsp + 0x190]
unpcklps xmm1, xmmword [0x14015ecc0]
subpd xmm1, xmmword [0x14015ecd0]
haddpd xmm1, xmm1
divsd xmm1, xmm0
mulsd xmm1, qword [0x14015ece0]
cvttsd2si rax, xmm1
mov qword [rsp + 0x48], rax
mov rax, qword [0x1401774a8]
lea rcx, [0x1400b9ff0]
lea r14, [rsp + 0x50]
cmp rax, rcx
jne 0x1400a3b88
mov qword [r14], 0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [r14]
movabs rcx, 0x8637bd05af6
cmp rax, rcx
jg 0x1400a3e82
imul rax, rax, 0xf4240
cqo
idiv qword [0x140186968]
mov qword [rsp + 0x50], rax
movabs rcx, 0x7fffffffffffffff
mov rdx, qword [0x1401866f0]
lea r8, [rdx + rcx]
add r8, 2
cmp r8, 2
jb 0x1400a3d0e
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 0x1400a3a33
mov ebp, eax
mov eax, dword [0x140183a44]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp byte [rax + 0x129], 0
jne 0x1400a3a33
lea r14, [rax + 0x129]
mov byte [r14], 1
mov al, byte [rbx]
test al, 8
jne 0x1400a3d26
test al, 1
je 0x1400a3dd6
mov rax, qword [0x1401868b0]
test rax, rax
je 0x1400a3d51
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 [case.0x14010edb0.0]
mov byte [r14], 0
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.1400bce30
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 0x1400a3916
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 [0x140186950]
mov ecx, dword [0x140183a44]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400a3b99
mov eax, dword [0x140186960]
mov ecx, dword [0x140183a44]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400a3bd3
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 [0x140186958]
cvtsi2sd xmm1, r14
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [r12]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x14015ecb0]
ucomisd xmm2, xmm1
ja 0x1400a38dd
shl r15, 0x20
mov rax, qword [rsp + 0x38]
or rax, r15
sub rax, qword [0x140186948]
movq xmm0, rax
punpckldq xmm0, xmmword [0x14015ecc0]
subpd xmm0, xmmword [0x14015ecd0]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x140186940], xmm0
jmp 0x1400a38dd
mov rcx, r14
call qword [case.0x14010edb0.0]
mov rax, qword [r14]
jmp 0x1400a3972
lea rcx, [0x140186950]
call fcn.1400bac58
cmp dword [0x140186950], 0xffffffff
jne 0x1400a3ab1
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x140186948], rdx
lea rcx, [0x140186950]
call fcn.1400baf38
jmp 0x1400a3ab1
lea rcx, [0x140186960]
call fcn.1400bac58
cmp dword [0x140186960], 0xffffffff
jne 0x1400a3ad6
lea r14, [rsp + 0x50]
mov qword [r14], 0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [r14]
mov qword [0x140186958], rax
lea rcx, [0x140186960]
call fcn.1400baf38
jmp 0x1400a3ad6
lea rcx, [0x1401868b8]
call fcn.1400bac58
cmp dword [0x1401868b8], 0xffffffff
jne 0x1400a386c
lea rcx, [0x140186558]
xor edx, edx
call fcn.14001b090
lea rcx, [0x1401868b8]
call fcn.1400baf38
jmp 0x1400a386c
lea rcx, [0x140186938]
call fcn.1400bac58
cmp dword [0x140186938], 0xffffffff
jne 0x1400a389a
lea r14, [rsp + 0x80]
xorpd xmm6, xmm6
movupd xmmword [r14 - 0x15], xmm6
movapd xmmword [r14 - 0x20], xmm6
movapd xmmword [r14 - 0x30], xmm6
lea rdx, str.unknown
mov rcx, r14
call fcn.1400f3590
movupd xmmword [r14 + 0x18], xmm6
mov qword [r14 + 0x28], 0
lea r14, [rsp + 0x50]
mov rcx, r14
xor edx, edx
call fcn.140018280
mov bpl, byte [r14 + 0x29]
cmp byte [r14 + 0x5f], 0
jns 0x1400a3ccf
mov rcx, qword [rsp + 0x98]
call fcn.1400bab7c
cmp byte [rsp + 0x97], 0
js 0x1400a3cf1
mov byte [0x140186934], bpl
lea rcx, [0x140186938]
call fcn.1400baf38
jmp 0x1400a389a
mov rcx, qword [rsp + 0x80]
call fcn.1400bab7c
jmp 0x1400a3cd9
mov qword [rsp + 0x48], 0
jmp 0x1400a391b
cmp rax, rdx
je 0x1400a3d23
lea rax, [rcx + 1]
test rdx, rdx
cmovs rax, rcx
jmp 0x1400a39a9
int3
mov rcx, rbx
mov rdx, rdi
call fcn.140114dd0
mov al, byte [rbx]
jmp 0x1400a39ec
lea rcx, [rsp + 0x190]
lea r8, [rsp + 0x40]
mov dl, 0x45
mov r9, rsi
call fcn.14010d030
jmp 0x1400a3db3
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, [0x140186560]
mov qword [rdx], rax
mov rcx, rsi
call fcn.14010d4d0
mov rsi, rax
test rax, rax
je 0x1400a3da9
lea rdx, [rsp + 0x40]
lea r8, [rsp + 0x48]
mov rcx, rsi
call fcn.140112890
mov eax, dword [0x1401866f8]
test al, 8
jne 0x1400a3d38
cmp byte [rsp + 0x58], 0
je 0x1400a3dc5
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov bl, byte [rsp + 0x1a7]
mov rax, qword [rsp + 0x198]
jmp 0x1400a3df3
xorpd xmm0, xmm0
movapd xmmword [rsp + 0x190], xmm0
mov qword [rsp + 0x1a0], 0
xor eax, eax
xor ebx, ebx
mov ecx, ebx
and cl, 0x7f
test bl, bl
movzx esi, cl
cmovs rsi, rax
test rsi, rsi
je 0x1400a3e14
mov ecx, 2
call fcn.1400ba380
test al, al
jne 0x1400a3e2e
test bl, bl
jns 0x1400a3a2f
mov rcx, qword [rsp + 0x190]
call fcn.1400bab7c
jmp 0x1400a3a2f
lea rdx, str....._base_trace_event_trace_log.cc
lea rdi, [rsp + 0x50]
mov rcx, rdi
mov r8d, 0x78d
mov r9d, 2
call fcn.140005e20
lea rcx, [rsp + 0x60]
test bl, bl
jns 0x1400a3e61
mov rdx, qword [rsp + 0x190]
jmp 0x1400a3e69
lea rdx, [rsp + 0x190]
mov r8, rsi
call fcn.1400f3910
mov rcx, rdi
call fcn.1400070a0
mov bl, byte [rsp + 0x1a7]
jmp 0x1400a3e14
mov rcx, qword [0x140186968]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x1400a396d