Function at 0x14013ff10
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov qword [rbp - 0x18], r8
mov qword [rbp + 8], rdx
mov r15, rcx
mov qword [rbp - 0x50], 0
mov eax, dword [0x140214214]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp qword [rax + 8], 0
mov dword [rbp - 4], r9d
je 0x14013ff70
lea rdi, [rax + 8]
jmp 0x14013ff89
call fcn.140140750
mov rdi, rax
test rax, rax
jne 0x14013ff89
lea rdi, [rbp - 0x50]
mov rcx, rdi
call fcn.140140ad0
movabs rax, 0x9e3779b97f4a7c15
mov qword [rbp - 0x10], r15
imul r15, rax
mov r14d, 1
nop word cs:[rax + rax]
mov rsi, qword [0x140214088]
test rsi, rsi
je 0x14014001a
movzx eax, byte [rsi + 0x18]
xor ecx, ecx
sub cl, al
mov r13, r15
shr r13, cl
mov rdx, qword [rsi + 8]
cmp r13, rdx
jae 0x14014052d
mov rbx, qword [rsi]
shl r13, 6
lea r12, [rbx + r13]
xor eax, eax
lock cmpxchg qword [rbx + r13], r14
jne 0x140140024
mov rax, qword [0x140214088]
cmp rsi, rax
je 0x140140038
mov rax, 0xffffffffffffffff
lock xadd qword [r12], rax
cmp rax, 4
jb 0x14013ffb0
and eax, 2
jne 0x14013ffb0
mov rcx, r12
call fcn.1401b88d0
jmp 0x14013ffb0
call fcn.1401b8860
mov rsi, rax
jmp 0x14013ffbc
mov rcx, r12
call fcn.1401b89e0
mov rax, qword [0x140214088]
cmp rsi, rax
jne 0x14013fff8
mov rcx, qword [rbp - 0x10]
mov rax, qword [rcx]
test rax, rax
je 0x140140098
cmp rax, qword [rbp + 8]
mov r14d, dword [rbp - 4]
mov r15, qword [rbp - 0x18]
je 0x1401400a7
mov rcx, 0xffffffffffffffff
lock xadd qword [r12], rcx
xor esi, esi
cmp rcx, 4
jb 0x140140084
mov edi, 0
mov ebx, 0
and ecx, 2
jne 0x1401404b9
mov rcx, r12
call fcn.1401b88d0
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp qword [rbp - 0x50], 0
jne 0x1401404c0
jmp 0x1401404c8
mov rax, qword [rbp + 8]
mov qword [rcx], rax
mov r14d, dword [rbp - 4]
mov r15, qword [rbp - 0x18]
cmp r14d, 0x3b9aca00
setne byte [rdi + 0x30]
mov qword [rdi + 0x18], 0
mov qword [rdi + 0x10], rcx
mov qword [rdi + 0x28], 0
mov qword [rdi + 8], 1
cmp qword [rbx + r13 + 8], 0
je 0x1401400e1
mov rax, qword [rbx + r13 + 0x10]
add rax, 0x18
jmp 0x1401400e9
lea rax, [rbx + r13]
add rax, 8
mov qword [rax], rdi
mov qword [rbx + r13 + 0x10], rdi
mov rax, 0xffffffffffffffff
lock xadd qword [r12], rax
cmp rax, 4
jb 0x14014010d
and eax, 2
je 0x140140507
xor ecx, ecx
mov al, 1
mov rdx, qword [rbp + 8]
lock cmpxchg byte [rdx], cl
jne 0x140140514
lea r12, [rdi + 8]
mov rax, qword [rdi]
mov rcx, qword [rax]
cmp r14d, 0x3b9aca00
jne 0x140140150
test rcx, rcx
je 0x1401402de
mov rcx, qword [rax + 0x10]
mov rdx, r12
xor r8d, r8d
xor r9d, r9d
call qword [rax + 8]
jmp 0x1401404ae
test rcx, rcx
je 0x14014032a
mov rsi, qword [rax + 8]
mov r13, qword [rax + 0x10]
mov qword [rbp], 0
mov rcx, rbp
call qword [sym.imp.kernel32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140140688
mov rcx, qword [rbp]
call fcn.14014d6f0
cmp rax, r15
ja 0x14014019a
mov r8d, edx
jne 0x14014044b
cmp r8d, r14d
jb 0x14014044b
mov rcx, qword [r12]
test rcx, rcx
je 0x1401404ae
mov rbx, qword [rax + 8]
lea rsi, [rbp + 0x10]
nop word cs:[rax + rax]
mov qword [rbp + 0x10], 1
mov r8d, 8
mov rcx, r12
mov rdx, rsi
mov r9d, 0xffffffff
call rbx
mov rax, qword [r12]
test rax, rax
jne 0x140140300
jmp 0x1401404ae
mov rcx, qword [r12]
test rcx, rcx
je 0x1401404ae
mov rsi, qword [rax + 8]
mov rbx, rbp
lea r13, [rbp + 0x10]
jmp 0x140140379
mov qword [rbp + 0x10], r15
mov dword [rbp + 0x18], r14d
jne 0x14014046b
mov rcx, r12
call fcn.1401b88d0
jmp 0x14014010d
mov rcx, qword [rbp + 8]
call fcn.1401b69a0
and dword [rdi + rax], 0xffffffe9
std
sti
invalid
invalid
lea r8, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001fparking_lot_core_0.9.10_srcparking_lot.rs
mov rcx, r13
call fcn.1401b1d10
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x10], rax
lea rax, str.library_std_src_syspalwindows_time.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x1401f5a72]
lea r9, fcn.14014ae80
lea r8, [rbp + 0x10]
mov edx, 0x2b
call fcn.1401b21a0