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

Disassembly:
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 [0x14013a028]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs r15, 0x8637bd05af7
movaps xmm0, xmmword [0x140119af0]
movaps xmmword [rsp + 0x50], xmm0
movabs r14, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x90], r14
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 [rcx + 8], al
je 0x14008e123
movabs r14, 0x7fffffffffffffff
mov r12, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea r13, [0x140080280]
lea rdi, [rsp + 0x30]
mov rbp, qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
movabs rbx, 0x20c49ba5e353f7cf
mov rcx, r14
jmp 0x14008e03a
mov ecx, eax
call fcn.140001130
mov rax, qword [0x14013c540]
cmp rax, r13
jne 0x14008e41f
mov qword [rsp + 0x30], 0
mov rcx, rdi
call rbp
mov rax, qword [rsp + 0x30]
cmp rax, r15
jge 0x14008e4f0
imul rax, rax, 0xf4240
cqo
idiv qword [0x14014bb88]
xor edx, edx
cmp r14, rax
setns dl
add rdx, r14
mov rcx, r14
sub rcx, rax
cmovo rcx, rdx
je 0x14008e08c
mov edx, 0xffffffff
cmp rcx, r14
je 0x14008e06d
mov rax, rcx
shr rax, 3
mul rbx
shr rdx, 4
imul rax, rdx, 0x3e8
cmp rax, rcx
adc rdx, 0
mov rax, rdx
shr rax, 0x20
jne 0x14008e3e6
mov rcx, qword [rsi]
call r12
cmp eax, 0x102
je 0x14008dfe7
test eax, eax
jne 0x14008dfe0
cmp byte [rsi + 8], 0
je 0x14008e0c7
cmp byte [rsp + 0x90], 0
jne 0x14008e0bb
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400a77a0
nop
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0x50]
call fcn.14008e5f0
jmp 0x14008e096
mov qword [rsp + 0xa0], 0x164
mov al, byte [0x14014b974]
test al, al
je 0x14008e08c
jmp 0x14008e5a6
mov eax, dword [0x140151a6c]
mov ecx, dword [0x140148908]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14008e48c
cmp byte [0x140151a68], 0
jne 0x14008e21c
jmp 0x14008e4d5
mov rcx, rbx
call fcn.14005de80
jmp 0x14008e185
lea rdx, str.TimedWait
lea r8, str....._base_synchronizationwaitable_event.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r9d, 0x24
call fcn.1400824a0
cmp byte [rsp + 0x90], 0
jne 0x14008e527
movabs r12, 0xfffffffc00000000
mov eax, dword [0x140148908]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rbx, qword [rax + 0x168]
mov rax, rbx
and rax, r12
cmp rax, qword [0x14013c508]
je 0x14008e119
mov qword [rsp + 0x50], rbx
mov eax, dword [0x140148908]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea r13, [rax + 0x170]
mov rbx, qword [r13]
mov rax, rbx
and rax, r12
cmp rax, qword [0x14013c508]
je 0x14008e517
lea rax, [rsp + 0x50]
mov qword [rax + 8], rbx
mov qword [rax + 0x10], r13
mov rcx, qword [r13]
mov qword [r13], rax
mov qword [rax + 0x18], rcx
mov rax, qword [rax + 8]
test rax, rax
jne 0x14008e3de
xor ecx, ecx
mov byte [rsp + 0x70], cl
xor ecx, ecx
mov byte [rsp + 0x78], cl
mov byte [rsp + 0x88], cl
mov edx, dword [0x140148908]
mov r8, qword gs:[0x58]
mov rdx, qword [r8 + rdx*8]
cmp byte [rdx + 0x180], cl
je 0x14008e0e2
test rax, rax
jne 0x14008e445
mov r13, qword [rsp + 0x50]
test r13, r13
je 0x14008e3bb
cmp qword [rsp + 0x58], 0
jne 0x14008e3bb
cmp byte [r13 + 0x19], 0
je 0x14008e3bb
mov rbp, qword [r13 + 8]
mov rax, qword [rbp + 0x38]
mov rax, qword [rax + 0x10]
mov eax, dword [rax]
test al, 1
jne 0x14008e482
mov ebx, dword [rbp + 0x50]
cmp dword [rbp + 0x54], ebx
jne 0x14008e55a
mov qword [rsp + 0xa0], r14
mov rbx, qword [r13 + 0x28]
mov rax, qword [rbx]
mov rax, qword [rax + 0x48]
lea rcx, [0x1400a3660]
cmp rax, rcx
jne 0x14008e569
mov ecx, 0x60
call fcn.1400a5638
mov r14, rax
and r12, rbx
cmp r12, qword [0x14013c508]
je 0x14008e53d
mov qword [r14 + 8], rbx
mov byte [r14 + 0x40], 0
xorps xmm0, xmm0
movups xmmword [r14 + 0x10], xmm0
movups xmmword [r14 + 0x20], xmm0
lea rax, fcn.14008ecd0
mov qword [r14], rax
mov qword [r14 + 0x48], 0
mov qword [rsp + 0xa0], r14
mov rbx, qword [r13 + 0x28]
add rbx, 0x68
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14008e437
mov rax, qword [0x14013c540]
lea rcx, [0x140080280]
lea r14, [rsp + 0xa8]
cmp rax, rcx
jne 0x14008e4df
mov qword [r14], 0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [r14]
cmp rax, r15
jge 0x14008e57f
imul rax, rax, 0xf4240
cqo
idiv qword [0x14014bb88]
mov qword [r13 + 0x20], rax
cmp byte [r13 + 0x3b], 0
jne 0x14008e379
cmp byte [r13 + 0x19], 0
je 0x14008e524
cmp byte [r13 + 0x18], 0
jne 0x14008e35e
mov rax, qword [r13 + 0x28]
inc dword [rax + 0x134]
mov rax, qword [r13 + 0x28]
inc dword [rax + 0x130]
mov rcx, qword [r13 + 0x28]
mov rdx, qword [rsp + 0xa0]
call fcn.14008eac0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, qword [rsp + 0xa0]
mov qword [rsp + 0xa0], 0
test rcx, rcx
je 0x14008e3bb
mov rax, qword [rcx]
mov rax, qword [rax]
lea rdx, [fcn.14008ecd0]
cmp rax, rdx
jne 0x14008e54a
mov edx, 1
call fcn.14008ecd0
mov qword [rsp + 0x98], 0xa
mov al, byte [0x14014b81a]
test al, al
jne 0x14008e3f0
mov byte [rsp + 0x90], 1
jmp 0x14008dfa8
mov cl, byte [rax + 0x20]
jmp 0x14008e1e3
mov edx, 0xffffffff
jmp 0x14008e06d
movzx ecx, al
lea r9, [rsp + 0xa8]
mov qword [r9], rdi
lea rax, str.ScopedBlockingCallWithBaseSyncPrimitives
lea r8, [rsp + 0xa0]
mov qword [r8], rax
lea rdx, [rsp + 0x98]
call fcn.140017ff0
jmp 0x14008e3d1
lea rcx, [rsp + 0x30]
call qword [0x14012eaa8]
lea rax, [rsp + 0x30]
mov rax, qword [rax]
jmp 0x14008e023
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x14008e2ec
cmp byte [rax + 0x38], 0
je 0x14008e21c
mov rbx, qword [rax + 0x30]
mov qword [rax + 0x30], 0
test rbx, rbx
je 0x14008e21c
lock dec dword [rbx]
jne 0x14008e21c
mov rcx, rbx
call fcn.14000d100
mov rcx, rbx
call fcn.1400a5630
jmp 0x14008e21c
mov ebx, 3
jmp 0x14008e25a
lea rcx, [0x140151a6c]
call fcn.1400a56f4
cmp dword [0x140151a6c], 0xffffffff
jne 0x14008e107
mov rcx, qword [0x14014bae0]
test rcx, rcx
je 0x14008e4bd
lea rdx, str.enable_background_thread_pool
call fcn.140061360
mov byte [0x140151a68], 1
lea rcx, [0x140151a6c]
call fcn.1400a5694
jmp 0x14008e107
mov rax, qword [rsp + 0x58]
jmp 0x14008e213
mov rcx, r14
call qword [0x14012eaa8]
mov rax, qword [r14]
jmp 0x14008e337
mov rcx, qword [0x14014bb88]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x14008e023
mov rcx, rbx
call fcn.14005de80
jmp 0x14008e1bb
int3
lea rbx, [rsp + 0x50]
mov rcx, rbx
call fcn.14008e5f0
mov byte [rbx + 0x40], 0
jmp 0x14008e152
mov rcx, rbx
call fcn.14005de80
jmp 0x14008e2a3
mov edx, 1
call qword [0x14012eaa8]
jmp 0x14008e3bb
mov ecx, ebx
call fcn.140004a80
mov dword [rbp + 0x54], ebx
jmp 0x14008e263
lea rdx, [rsp + 0xa0]
mov rcx, rbx
call qword [0x14012eaa8]
jmp 0x14008e2d3
mov rcx, qword [0x14014bb88]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x14008e337
movzx ecx, al
xor rsi, qword [0x140149db0]
mov qword [rsp + 0x30], rsi
lea rax, str.WaitableEvent::Wait_Complete
lea r8, [rsp + 0xa8]
mov qword [r8], rax
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0xa0]
mov r9d, 3
call fcn.140060380
jmp 0x14008e08c