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

Disassembly:
push rsi
sub rsp, 0x30
mov rdx, r8
mov rsi, rcx
mov qword [rcx], r9
mov qword [rsp + 0x28], 0
lea rcx, [0x140e1c2e0]
lea r8, [rsp + 0x28]
call fcn.14010ec50
mov dword [rsi + 0xc], eax
cmp qword [rsp + 0x28], 0
jne 0x14010fbd9
add rsp, 0x30
pop rsi
ret
add rsp, 0x30
pop rsi
jmp 0x14010fbf0
push rsi
push rdi
sub rsp, 0x28
cmp dword [0x14031b3d0], 0
je 0x14010fc71
jle 0x14010fc4b
mov al, 1
xchg byte [0x141279c44], al
test al, al
jne 0x14010fc78
mov eax, dword [0x141279c48]
cmp eax, 1
je 0x14010fc56
test eax, eax
jne 0x14010fc44
mov byte [0x141279c58], 1
mov rax, qword [0x141279c50]
test rax, rax
jne 0x14010fcad
mov qword [0x141279c50], 0
mov dword [0x141279c48], 2
mov byte [0x141279c44], 0
add rsp, 0x28
pop rdi
pop rsi
jmp 0x140114a70
lock add dword [0x141279c40], 1
lea rcx, [0x141279c40]
call sub.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressSingle
mov byte [0x141279c44], 0
add rsp, 0x28
pop rdi
pop rsi
ret
xor esi, esi
mov rdi, qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14010fc86
add esi, 1
cmp esi, 0x63
ja 0x14010fc8f
pause
jmp 0x14010fc93
xor ecx, ecx
call rdi
cmp byte [0x141279c44], 0
jne 0x14010fc83
mov al, 1
xchg byte [0x141279c44], al
test al, al
jne 0x14010fc83
jmp 0x14010fc0d
mov qword [rsp + 0x20], rax
lea rcx, str.gotsan.cpp
lea r8, str.__nullptr______thread___
mov edx, 0x2961
xor r9d, r9d
call fcn.1400d2b30
int3
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
cmp dword [0x140db1fa4], 0
jle 0x140114ac2
cmp qword [0x140ddc2d0], 0
je 0x140114bcf
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
imul rax, qword [rsp + 0x30], 0x3b9aca00
mov rcx, qword [0x140ddc2d0]
mov rdx, rax
or rdx, rcx
shr rdx, 0x20
je 0x140114ac7
cqo
idiv rcx
mov r14, rax
jmp 0x140114ace
xor r14d, r14d
jmp 0x140114ace
xor edx, edx
div ecx
mov r14d, eax
mov eax, dword [0x14031b3d0]
mov ebp, eax
neg ebp
cmovs ebp, eax
mov ebx, 0x10
xor edi, edi
lea rsi, [0x140e1c2e0]
nop dword [rax]
lea rcx, [rsi + rbx]
mov edx, ebp
mov r8, rsi
call fcn.14010f4d0
add rdi, rax
add rbx, 0x10
cmp rbx, 0x10010
jne 0x140114af0
test rdi, rdi
je 0x140114bc3
cmp dword [0x140db1fa4], 0
jle 0x140114bc3
cmp qword [0x140ddc2d0], 0
je 0x140114bec
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [0x140ddc2d0]
lea rdx, [0x140e2c2f0]
lea rcx, [rsp + 0x30]
call fcn.140131b20
mov r9, qword [rsp + 0x38]
cmp dword [0x140db1fa4], 0
je 0x140114bc3
imul rax, rbx, 0x3b9aca00
mov rcx, rax
or rcx, rsi
shr rcx, 0x20
je 0x140114b82
cqo
idiv rsi
jmp 0x140114b86
xor edx, edx
div esi
sub rax, r14
add r9, rdi
mov rbx, qword [str.SanitizerTool]
shr rdi, 0xa
shr r9, 0xa
movabs rcx, 0x431bde82d7b634db
mul rcx
shr rdx, 0x12
mov qword [rsp + 0x20], rdx
lea rcx, str._s:_StackDepot_released__zu_KiB_out_of__zu_KiB_in__llu_ms_n
mov rdx, rbx
mov r8, rdi
call fcn.1400e9f80
nop
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x140ddc2d0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
cmp qword [0x140ddc2d0], 0
jne 0x140114a91
jmp 0x140114c07
lea rcx, [0x140ddc2d0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
cmp qword [0x140ddc2d0], 0
jne 0x140114b32
mov qword [rsp + 0x20], 0
lea rcx, str.gotsan.cpp
lea r8, str.__frequency.QuadPart_______0__
mov edx, 0x2430
xor r9d, r9d
call fcn.1400d2b30
int3