Function at 0x14014a3b0
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, 0x118
movaps xmmword [rsp + 0x100], xmm6
mov rsi, rcx
mov rax, qword [0x14029b028]
xor rax, rsp
mov qword [rsp + 0xf8], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
movaps xmm0, xmmword [0x1402724c0]
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0xb0], xmm0
mov qword [rsp + 0xc0], r15
mov byte [rsp + 0x90], 0
xorps xmm6, xmm6
movups xmmword [rsp + 0x98], xmm6
movups xmmword [rsp + 0xa8], xmm6
mov qword [rsp + 0xb8], 0
movzx ebp, byte [0x14029e000]
test bpl, 0x19
jne 0x14014aaba
xor edx, edx
mov r8, r15
mov r9, r15
movabs rdi, 0x8000000000000001
cmp byte [rsi + 0xe0], 0
jne 0x14014a483
mov rax, qword [rsi + 0x70]
mov rax, qword [rax + 0x230]
mov ebx, dword [rax + 0x28]
test ebx, ebx
setne al
cmp byte [rsi + 0x89], al
jne 0x14014a6a3
lea r12, [rsp + 0x98]
movabs rbx, 0xfffffffc00000000
mov r14, qword [rsi + 0x70]
mov r13, qword [r14 + 0x228]
test r13, r13
jne 0x14014ab1b
cmp byte [r14 + 0x240], 0
jne 0x14014a8cc
mov r15, qword [r14 + 0x310]
test r15, r15
jne 0x14014aa1e
cmp byte [rsi + 0x128], 0
jne 0x14014a5f4
lea r15, [rsi - 0xe0]
mov rax, qword [rsi - 0xe8]
mov byte [rsp + 0x98], 0
mov qword [rsp + 0xb0], rax
mov rax, r15
and rax, rbx
cmp rax, qword [0x1402aaec8]
je 0x14014a5b5
mov qword [rsp + 0xb8], r15
mov byte [rsp + 0x90], 1
add rdi, 0xfffffffffffffffe
cmp qword [rsi + 0xa8], rdi
jne 0x14014ac09
mov rax, qword [rsi + 0x18]
cmp qword [rsi + 0x10], rax
je 0x14014ac61
mov rdi, qword [rax - 8]
cmp byte [rdi + 0xf], 0
jne 0x14014a894
test bpl, 0x19
jne 0x14014ac8d
cmp byte [rsp + 0x90], 0
je 0x14014a587
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x14014aca9
mov rdx, r12
call fcn.1400e0f50
mov rcx, qword [rsp + 0xb8]
and rbx, rcx
cmp rbx, qword [0x1402aaec8]
je 0x14014a699
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1401874c0
xor eax, eax
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x118
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, r15
mov r14, rdx
mov r13, r8
mov qword [rsp + 0x60], rsi
mov rsi, rbx
mov rbx, rdi
mov edi, ebp
mov rbp, r12
mov r12, r9
call fcn.1400da330
mov r9, r12
mov r12, rbp
mov ebp, edi
mov rdi, rbx
mov rbx, rsi
mov rsi, qword [rsp + 0x60]
mov r8, r13
mov rdx, r14
jmp 0x14014a505
cmp byte [rsi + 0x130], 0
je 0x14014a68d
mov eax, dword [0x1402ab7ac]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov r14, qword [rax + 0x190]
test r14, r14
je 0x14014a68d
mov rax, qword [r14 + 0x10]
test rax, rax
js 0x14014aa81
cmp dword [r14 + 0x24], 1
movabs r15, 0x4000000000000000
jne 0x14014acc9
cmp qword [r14 + 0x18], 0
jne 0x14014ad50
movabs rax, 0xbfffffffffffffff
lock and qword [r14 + 0x10], rax
mov r13, qword [rsi + 0x138]
cmp qword [r14 + 0x18], 0
jne 0x14014ad05
mov rax, qword [r14 + 0x10]
and rax, r15
movabs rcx, 0xffffffffffffff
and r13, rcx
or r13, rax
mov qword [r14 + 0x10], r13
dec dword [r14 + 0x24]
mov byte [rsi + 0x128], 0
jmp 0x14014a4d4
call fcn.1400da480
jmp 0x14014a587
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x68], rdx
mov byte [rsi + 0x89], al
mov eax, dword [0x1402b0a88]
mov ecx, dword [0x1402ab7ac]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14014a9dc
mov r12, qword [0x1402b0a80]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14014aa73
xor eax, eax
cmp ebx, 1
mov ebx, 0
sbb ebx, ebx
or ebx, 1
cmp byte [0x1402b0a30], 0
mov ecx, 8
mov r14d, 1
cmove r14d, ecx
add ebx, dword [0x1402b0a34]
mov dword [0x1402b0a34], ebx
cmove r14d, eax
mov eax, dword [0x1402b0a38]
cmp r14d, eax
je 0x14014a877
test eax, eax
je 0x14014a802
mov rax, qword [0x14029ee18]
lea rcx, [0x140182e50]
lea r13, [rsp + 0xd0]
cmp rax, rcx
jne 0x14014adec
mov qword [r13], 0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [r13]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x14014adfe
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402b0aa0]
mov qword [rsp + 0xd0], rax
mov rcx, qword [0x1402b0a90]
xor edx, edx
cmp rax, rcx
setns dl
movabs r8, 0x7fffffffffffffff
add r8, rdx
sub rax, rcx
cmovo rax, r8
lea rdx, [rax + rdi]
mov rcx, qword [0x1402b0a40]
cmp rdx, 2
jb 0x14014add0
lea rdx, [rcx + rax]
sar rdx, 0x3f
btc rdx, 0x3f
add rcx, rax
cmovo rcx, rdx
mov rax, rcx
mov qword [0x1402b0a40], rax
mov ecx, dword [0x1402b0a38]
call qword [sym.imp.WINMM.dll_timeEndPeriod]
mov dword [0x1402b0a38], r14d
test ebx, ebx
je 0x14014a877
mov rax, qword [0x14029ee18]
lea rcx, [0x140182e50]
lea r13, [rsp + 0xd0]
cmp rax, rcx
jne 0x14014ad97
mov qword [r13], 0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [r13]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x14014ada9
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402b0aa0]
mov qword [0x1402b0a90], rax
mov ecx, dword [0x1402b0a38]
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x58]
mov r9, qword [rsp + 0x50]
jmp 0x14014a483
mov r15, r9
mov r13, r8
mov r14, rdx
add rsi, 8
test byte [0x14029e0f0], 0x19
jne 0x14014ae5a
mov rax, qword [rsi]
mov rax, qword [rax + 0x10]
mov rcx, rsi
call qword [case.0x1401eda70.0]
mov rdx, r14
mov r8, r13
mov r9, r15
jmp 0x14014a542
lea r13, [r14 - 8]
mov al, byte [0x14029e000]
mov byte [rsp + 0x60], al
test al, 0x19
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x50], r9
jne 0x14014aed7
xor eax, eax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], r15
mov rcx, r13
call fcn.140001d70
mov rax, qword [r14 + 0x318]
mov rax, qword [fcn.140105050]
lea rcx, [0x140182e50]
lea r13, [rsp + 0x88]
cmp rax, rcx
jne 0x14014aaa8
mov qword [r13], 0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [r13]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x14014af39
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402b0aa0]
mov r8, qword [rsp + 0x58]
mov r9, qword [rsp + 0x50]
lea rcx, [rax + 0x1c9c380]
sar rcx, 0x3f
btc rcx, 0x3f
add rax, 0x1c9c380
cmovo rax, rcx
mov qword [r14 + 0x248], rax
mov byte [r14 + 0x240], 0
test byte [rsp + 0x60], 0x19
mov rdx, qword [rsp + 0x68]
je 0x14014a4b7
mov rax, qword [rsp + 0x70]
cmp byte [rax], 0
je 0x14014a4b7
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
mov r13, r8
mov r8, r15
mov r15, r9
call fcn.140143910
mov r9, r15
mov r8, r13
mov rdx, qword [rsp + 0x68]
jmp 0x14014a4b7
lea rcx, [0x1402b0a88]
call fcn.140184b80
cmp dword [0x1402b0a88], 0xffffffff
jne 0x14014a6dd
mov ecx, 8
call fcn.140184834
mov qword [rax], 0
mov qword [0x1402b0a80], rax
lea rcx, [0x1402b0a88]
call fcn.140184be8
jmp 0x14014a6dd
mov qword [r14 + 0x310], 0
mov rax, qword [r15 + 8]
mov rcx, r15
mov r14, rdx
mov r13, r8
mov qword [rsp + 0x50], r9
call qword [case.0x1401eda70.0]
mov r9, qword [rsp + 0x50]
mov r8, r13
mov rdx, r14
lock dec dword [r15]
jne 0x14014a4c7
mov rax, qword [r15 + 0x10]
mov rcx, r15
call qword [case.0x1401eda70.0]
mov r9, qword [rsp + 0x50]
mov r8, r13
mov rdx, r14
jmp 0x14014a4c7
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x14014a6f5
mov rcx, qword [0x1402b4340]
mov r15, rdx
mov r13, r8
mov qword [rsp + 0x50], r9
call fcn.1401c1350
mov r9, qword [rsp + 0x50]
mov r8, r13
mov rdx, r15
jmp 0x14014a62d
mov rcx, r13
call qword [case.0x1401eda70.0]
mov rax, qword [r13]
jmp 0x14014a963
lea rdi, [rsp + 0xd0]
mov rcx, rdi
call fcn.140105050
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], eax
movups xmmword [rsp + 0x20], xmm6
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
lea rdi, [0x14029e000]
lea rbx, str.SequenceManager::DoIdleWork
mov cl, 0x58
mov rdx, rdi
mov r8, rbx
xor r9d, r9d
call fcn.1401589f0
mov r8, rbx
mov rdx, rdi
mov r9, rax
jmp 0x14014a451
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x68], rdx
mov rcx, qword [r14 + 0x230]
mov rax, qword [rcx + 0x10]
cmp rax, qword [rcx + 0x18]
je 0x14014acac
mov rcx, qword [rax]
mov qword [rsp + 0x60], rcx
mov rcx, qword [rax + 8]
mov qword [rsp + 0x70], rcx
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x78], eax
mov al, 1
mov qword [rsp + 0x80], rax
mov rcx, qword [r14 + 0x28]
mov rax, qword [rcx]
mov rax, qword [rax + 0x58]
call qword [case.0x1401eda70.0]
lea rdx, [rsp + 0xd0]
mov rcx, qword [rsp + 0x80]
mov byte [rdx], cl
mov ecx, 0xaaaaaaaa
mov dword [rdx + 1], ecx
mov dword [rdx + 4], ecx
mov rcx, qword [rsp + 0x60]
mov qword [rdx + 8], rcx
mov rcx, qword [rsp + 0x70]
mov qword [rdx + 0x10], rcx
mov dword [rdx + 0x18], 0
mov ecx, dword [rsp + 0x78]
mov dword [rdx + 0x1c], ecx
mov qword [rdx + 0x20], r15
mov rcx, qword [r13]
mov r9, qword [rcx + 0x10]
mov rcx, r13
mov r8d, eax
mov rax, r9
call qword [case.0x1401eda70.0]
test al, al
mov rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x58]
mov r9, qword [rsp + 0x50]
je 0x14014a4a9
mov rcx, qword [rsi + 0x150]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x1401eda70.0]
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x68]
jmp 0x14014a542
lea r15, [rsp + 0xd0]
mov rcx, r12
mov rdi, rdx
mov rdx, r15
mov r14, r8
mov r13, r9
call fcn.1401840b0
mov r9, r13
mov r8, r14
mov rdx, rdi
mov rax, qword [rsi + 0xa8]
cmp rax, qword [r15]
jg 0x14014a526
mov rax, qword [rsi + 8]
add rsi, 8
mov rax, qword [rax + 0x10]
mov rcx, rsi
call qword [case.0x1401eda70.0]
mov r9, r13
mov r8, r14
mov rdx, rdi
jmp 0x14014a542
lea rax, str.back___called_on_an_empty_vector
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_vector
lea r9, str._empty__
mov r8d, 0x240
call fcn.1401c1b10
cmp byte [rdx], 0
je 0x14014a54c
mov rcx, rdx
mov rdx, r8
mov r8, r9
call fcn.140143910
jmp 0x14014a54c
int3
xor eax, eax
mov qword [rsp + 0x60], rax
xor eax, eax
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0
xor eax, eax
jmp 0x14014ab59
cmp byte [rsi + 0x140], 0
je 0x14014a65c
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x58], r8
mov r13, rdx
cmp qword [r14 + 0x18], 0
jne 0x14014ae2d
lock or qword [r14 + 0x10], r15
mov rdx, r13
mov r8, qword [rsp + 0x58]
mov r9, qword [rsp + 0x50]
jmp 0x14014a65c
lea rcx, [r14 + 0x18]
mov rax, qword [r14 + 0x10]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x50], r9
call fcn.1401c13a0
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x68]
movabs rcx, 0xff00000000000000
and rcx, qword [rsp + 0x60]
or rcx, rax
mov qword [r14 + 0x10], rcx
jmp 0x14014a66e
lea rcx, [r14 + 0x18]
mov rax, qword [r14 + 0x10]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdx
mov r13, r8
mov qword [rsp + 0x50], r9
call fcn.1401c13a0
mov r9, qword [rsp + 0x50]
mov r8, r13
mov rdx, qword [rsp + 0x68]
movabs rcx, 0xff00000000000000
and rcx, qword [rsp + 0x60]
or rcx, rax
mov qword [r14 + 0x10], rcx
jmp 0x14014a64d
mov rcx, r13
call qword [case.0x1401eda70.0]
mov rax, qword [r13]
jmp 0x14014a864
mov rcx, qword [0x1402b0aa0]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x14014a864
mov r8, rdi
lea rdx, [rcx + rdi]
cmp rdx, 1
ja 0x14014ae25
cmp rcx, rax
mov rdi, r8
je 0x14014a7ef
int3
mov rcx, r13
call qword [case.0x1401eda70.0]
mov rax, qword [r13]
jmp 0x14014a7a0
mov rcx, qword [0x1402b0aa0]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x14014a798
mov rdi, r8
jmp 0x14014a7ef
lea rcx, [r14 + 0x18]
mov rax, qword [r14 + 0x10]
mov qword [rsp + 0x60], rax
call fcn.1401c13a0
movabs rcx, 0xff00000000000000
and rcx, qword [rsp + 0x60]
or rcx, rax
mov qword [r14 + 0x10], rcx
jmp 0x14014acee
lea rcx, [rsp + 0xd0]
call fcn.140105050
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ecx, ecx
mov qword [rsp + 0x40], rcx
lea rdx, [rsp + 0xd0]
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rcx
mov dword [rsp + 0x48], 0x880
lea rdx, [0x14029e0f0]
lea r8, str.RunLoop_ExitedOnIdle
mov cl, 0x58
xor r9d, r9d
call fcn.1401589f0
cmp byte [0x14029e0f0], 0
je 0x14014a8ae
lea rcx, [0x14029e0f0]
lea rdx, str.RunLoop_ExitedOnIdle
mov r8, rax
call fcn.140143910
jmp 0x14014a8ae
lea r15, [rsp + 0x88]
mov rcx, r15
call fcn.140105050
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
lea rdx, [0x14029e000]
lea r8, str.SequenceManagerImpl::MaybeReclaimMemory
mov cl, 0x58
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x78], r8
xor r9d, r9d
call fcn.1401589f0
mov r15, rax
jmp 0x14014a8fd
mov rcx, qword [0x1402b0aa0]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x14014a963