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

Disassembly:
push rsi
sub rsp, 0x20
mov rcx, qword [rcx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, eax
test eax, eax
jne 0x140098df1
test esi, esi
sete al
add rsp, 0x20
pop rsi
ret
cmp esi, 0x102
je 0x140098de6
mov ecx, esi
call fcn.14018e7a0
jmp 0x140098de6
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov rsi, rcx
mov rax, qword [0x140231040]
xor rax, rsp
mov qword [rsp + 0xb0], rax
test rdx, rdx
jle 0x1400ab597
mov rdi, rdx
movaps xmm0, xmmword [0x1401fd000]
movaps xmmword [rsp + 0x50], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x90], rax
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
xor eax, eax
mov byte [rsp + 0x50], al
mov byte [rsp + 0x90], al
cmp byte [rsi + 8], al
je 0x1400ab492
movabs r12, 0x7fffffffffffffff
movabs r13, 0x8637bd05af7
cmp rdi, r12
je 0x1400ab463
mov rax, qword [0x140233700]
lea rcx, [0x140116ab0]
cmp rax, rcx
jne 0x1400ab569
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
cmp rax, r13
jge 0x1400ab5d9
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402439e8]
mov rbx, rax
lea rax, [rbx + rdi]
sar rax, 0x3f
btc rax, 0x3f
add rbx, rdi
cmovo rbx, rax
mov rbp, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r14, qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
movabs r15, 0x20c49ba5e353f7cf
mov rcx, rdi
mov edx, 0xffffffff
cmp rcx, r12
je 0x1400ab41d
mov rax, rcx
shr rax, 3
mul r15
mov rax, rdx
shr rax, 4
imul rdx, rax, 0x3e8
cmp rdx, rcx
adc rax, 0
mov rcx, rax
shr rcx, 0x20
neg rcx
mov edx, 0
sbb edx, edx
or edx, eax
mov rcx, qword [rsi]
call rbp
test eax, eax
jne 0x1400ab4fa
mov dil, 1
cmp byte [rsi + 8], 0
je 0x1400ab477
cmp byte [rsp + 0x90], 0
jne 0x1400ab46b
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14012d2c0
mov eax, edi
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rbx, r12
jmp 0x1400ab3c6
lea rcx, [rsp + 0x50]
call fcn.1400ab6c0
jmp 0x1400ab43d
mov qword [rsp + 0xa0], 0x164
mov al, byte [0x1402436e4]
test al, al
je 0x1400ab433
jmp 0x1400ab635
lea rdx, str.TimedWait
lea r8, str....._base_synchronizationwaitable_event.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r9d, 0x24
call fcn.1400dc8d0
cmp byte [rsp + 0x90], 0
jne 0x1400ab5c2
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 1
call fcn.1400b0260
mov qword [rsp + 0x98], 0xa
mov al, byte [0x14024358a]
test al, al
jne 0x1400ab603
mov byte [rsp + 0x90], 1
jmp 0x1400ab34a
cmp eax, 0x102
jne 0x1400ab678
mov rax, qword [0x140233700]
lea rcx, [0x140116ab0]
cmp rax, rcx
jne 0x1400ab582
mov qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call r14
mov rax, qword [rsp + 0x30]
cmp rax, r13
jge 0x1400ab68d
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402439e8]
xor edx, edx
cmp rbx, rax
setns dl
add rdx, r12
mov rcx, rbx
sub rcx, rax
cmovo rcx, rdx
jg 0x1400ab3e1
xor edi, edi
jmp 0x1400ab433
lea rbx, [rsp + 0xa8]
mov rcx, rbx
call qword [0x1402233e0]
mov rbx, qword [rbx]
jmp 0x1400ab3b2
lea rcx, [rsp + 0x30]
call qword [0x1402233e0]
lea rax, [rsp + 0x30]
mov rax, qword [rax]
jmp 0x1400ab547
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14012d2c0
mov rcx, rsi
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp 0x140098dd0
lea r14, [rsp + 0x50]
mov rcx, r14
call fcn.1400ab6c0
mov byte [r14 + 0x40], 0
jmp 0x1400ab4c1
mov rcx, qword [0x1402439e8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
mov rbx, rax
add rbx, r8
jmp 0x1400ab3b2
movzx ecx, al
lea r9, [rsp + 0xa8]
mov qword [r9], rbx
lea rax, str.ScopedBlockingCallWithBaseSyncPrimitives
lea r8, [rsp + 0xa0]
mov qword [r8], rax
lea rdx, [rsp + 0x98]
call fcn.140184750
jmp 0x1400ab4ed
movzx ecx, al
xor rsi, qword [0x140241b20]
mov qword [rsp + 0x30], rsi
lea rax, str.WaitableEvent::Wait_Complete
lea r8, [rsp + 0xa8]
mov qword [r8], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0xa0]
mov r9d, 3
call fcn.1400ffe80
jmp 0x1400ab433
cmp rdi, r12
jne 0x1400ab505
mov ecx, eax
call fcn.14018e7a0
jmp 0x1400ab505
mov rcx, qword [0x1402439e8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x1400ab547