Function at 0x1400fd5d0
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, [0x140db28a0]
lea r8, [rsp + 0x28]
call fcn.1400fc630
mov dword [rsi + 0xc], eax
cmp qword [rsp + 0x28], 0
jne 0x1400fd5b9
add rsp, 0x30
pop rsi
ret
add rsp, 0x30
pop rsi
jmp 0x1400fd5d0
push rsi
push rdi
sub rsp, 0x28
cmp dword [0x1402b1990], 0
je 0x1400fd651
jle 0x1400fd62b
mov al, 1
xchg byte [0x141210204], al
test al, al
jne 0x1400fd658
mov eax, dword [0x141210208]
cmp eax, 1
je 0x1400fd636
test eax, eax
jne 0x1400fd624
mov byte [0x141210218], 1
mov rax, qword [0x141210210]
test rax, rax
jne 0x1400fd68d
mov qword [0x141210210], 0
mov dword [0x141210208], 2
mov byte [0x141210204], 0
add rsp, 0x28
pop rdi
pop rsi
jmp 0x140102220
lock add dword [0x141210200], 1
lea rcx, [0x141210200]
call sub.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressSingle
mov byte [0x141210204], 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 0x1400fd666
add esi, 1
cmp esi, 0x63
ja 0x1400fd66f
pause
jmp 0x1400fd673
xor ecx, ecx
call rdi
cmp byte [0x141210204], 0
jne 0x1400fd663
mov al, 1
xchg byte [0x141210204], al
test al, al
jne 0x1400fd663
jmp 0x1400fd5ed
mov qword [rsp + 0x20], rax
lea rcx, str.gotsan.cpp
lea r8, str.__nullptr______thread___
mov edx, 0x28fe
xor r9d, r9d
call fcn.1400c44b0
int3
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
cmp dword [0x140d48554], 0
jle 0x140102272
cmp qword [0x140d72890], 0
je 0x14010237f
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
imul rax, qword [rsp + 0x30], 0x3b9aca00
mov rcx, qword [0x140d72890]
mov rdx, rax
or rdx, rcx
shr rdx, 0x20
je 0x140102277
cqo
idiv rcx
mov r14, rax
jmp 0x14010227e
xor r14d, r14d
jmp 0x14010227e
xor edx, edx
div ecx
mov r14d, eax
mov eax, dword [0x1402b1990]
mov ebp, eax
neg ebp
cmovs ebp, eax
mov ebx, 0x10
xor edi, edi
lea rsi, [0x140db28a0]
nop dword [rax]
lea rcx, [rsi + rbx]
mov edx, ebp
mov r8, rsi
call fcn.1400fceb0
add rdi, rax
add rbx, 0x10
cmp rbx, 0x10010
jne 0x1401022a0
test rdi, rdi
je 0x140102373
cmp dword [0x140d48554], 0
jle 0x140102373
cmp qword [0x140d72890], 0
je 0x14010239c
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [0x140d72890]
lea rdx, [0x140dc28b0]
lea rcx, [rsp + 0x30]
call fcn.14011f580
mov r9, qword [rsp + 0x38]
cmp dword [0x140d48554], 0
je 0x140102373
imul rax, rbx, 0x3b9aca00
mov rcx, rax
or rcx, rsi
shr rcx, 0x20
je 0x140102332
cqo
idiv rsi
jmp 0x140102336
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.1400d81c0
nop
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x140d72890]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
cmp qword [0x140d72890], 0
jne 0x140102241
jmp 0x1401023b7
lea rcx, [0x140d72890]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
cmp qword [0x140d72890], 0
jne 0x1401022e2
mov qword [rsp + 0x20], 0
lea rcx, str.gotsan.cpp
lea r8, str.__frequency.QuadPart_______0__
mov edx, 0x23d8
xor r9d, r9d
call fcn.1400c44b0
int3