Function at 0x140143570
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 [0x140297028]
xor rax, rsp
mov qword [rsp + 0xf8], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
movaps xmm0, xmmword [0x140268c70]
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 [0x140299fd0]
test bpl, 0x19
jne 0x140144033
xor edx, edx
mov r8, r15
mov r9, r15
movabs rdi, 0x8000000000000001
cmp byte [rsi + 0xe0], 0
jne 0x140143643
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 0x140143857
lea r12, [rsp + 0x98]
movabs rbx, 0xfffffffc00000000
mov r14, qword [rsi + 0x70]
mov r13, qword [r14 + 0x228]
test r13, r13
jne 0x140143eb7
cmp byte [r14 + 0x240], 0
jne 0x140143ac2
mov r15, qword [r14 + 0x2f8]
test r15, r15
jne 0x140143d43
cmp byte [rsi + 0x128], 0
je 0x140143734
cmp byte [rsi + 0x130], 0
je 0x14014372d
mov eax, dword [0x1402a76e4]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov r14, qword [rax + 0x190]
test r14, r14
je 0x14014372d
mov rax, qword [r14 + 0x10]
test rax, rax
js 0x140143ba1
cmp dword [r14 + 0x24], 1
movabs r15, 0x4000000000000000
jne 0x140143de3
cmp qword [r14 + 0x18], 0
jne 0x140143fec
movabs rax, 0xbfffffffffffffff
lock and qword [r14 + 0x10], rax
mov r13, qword [rsi + 0x138]
cmp qword [r14 + 0x18], 0
jne 0x140143fa1
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
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 [0x1402a6e88]
je 0x140143818
mov qword [rsp + 0xb8], r15
mov byte [rsp + 0x90], 1
add rdi, 0xfffffffffffffffe
cmp qword [rsi + 0xa8], rdi
jne 0x140143e45
mov rax, qword [rsi + 0x18]
cmp qword [rsi + 0x10], rax
je 0x140143db7
mov rdi, qword [rax - 8]
cmp byte [rdi + 0xf], 0
jne 0x140143a8a
test bpl, 0x19
jne 0x140143d9b
cmp byte [rsp + 0x90], 0
je 0x1401437e3
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x140143d98
mov rdx, r12
call fcn.1400dde60
mov rcx, qword [rsp + 0xb8]
and rbx, rcx
cmp rbx, qword [0x1402a6e88]
je 0x140143811
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1401830b0
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
call fcn.1400d83a0
jmp 0x1401437e3
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.1400d8270
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 0x140143765
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x68], rdx
mov byte [rsi + 0x89], al
mov eax, dword [0x1402ac9b0]
mov ecx, dword [0x1402a76e4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140143a48
mov r12, qword [0x1402ac9a8]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140144094
xor eax, eax
cmp ebx, 1
mov ebx, 0
sbb ebx, ebx
or ebx, 1
cmp byte [0x1402ac964], 0
mov ecx, 8
mov r14d, 1
cmove r14d, ecx
add ebx, dword [0x1402ac968]
mov dword [0x1402ac968], ebx
cmove r14d, eax
mov eax, dword [0x1402ac96c]
cmp r14d, eax
je 0x140143a2b
test eax, eax
je 0x1401439b6
mov rax, qword [0x14029adc8]
lea rcx, [0x14017e8a0]
lea r13, [rsp + 0xd0]
cmp rax, rcx
jne 0x140143be9
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 0x1401440a2
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402ac9c8]
mov qword [rsp + 0xd0], rax
mov rcx, qword [0x1402ac9b8]
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 [0x1402ac970]
cmp rdx, 2
jb 0x140143bfb
lea rdx, [rcx + rax]
sar rdx, 0x3f
btc rdx, 0x3f
add rcx, rax
cmovo rcx, rdx
mov rax, rcx
mov qword [0x1402ac970], rax
mov ecx, dword [0x1402ac96c]
call qword [sym.imp.WINMM.dll_timeEndPeriod]
mov dword [0x1402ac96c], r14d
test ebx, ebx
je 0x140143a2b
mov rax, qword [0x14029adc8]
lea rcx, [0x14017e8a0]
lea r13, [rsp + 0xd0]
cmp rax, rcx
jne 0x140143bd7
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 0x140143c16
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402ac9c8]
mov qword [0x1402ac9b8], rax
mov ecx, dword [0x1402ac96c]
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 0x140143643
lea rcx, [0x1402ac9b0]
call fcn.1401805cc
cmp dword [0x1402ac9b0], 0xffffffff
jne 0x140143891
mov ecx, 8
call fcn.1401803a4
mov qword [rax], 0
mov qword [0x1402ac9a8], rax
lea rcx, [0x1402ac9b0]
call fcn.140180634
jmp 0x140143891
mov r15, r9
mov r13, r8
mov r14, rdx
add rsi, 8
test byte [0x14029a0c0], 0x19
jne 0x140143c3d
mov rax, qword [rsi]
mov rax, qword [rax + 0x10]
mov rcx, rsi
call qword [case.0x1401e9be0.0]
mov rdx, r14
mov r8, r13
mov r9, r15
jmp 0x1401437a2
lea r13, [r14 - 8]
mov al, byte [0x140299fd0]
mov byte [rsp + 0x60], al
test al, 0x19
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x50], r9
jne 0x140143cba
xor eax, eax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], r15
mov rcx, r13
call fcn.1400015a0
mov rax, qword [r14 + 0x300]
mov rax, qword [fcn.1401038f0]
lea rcx, [0x14017e8a0]
lea r13, [rsp + 0x88]
cmp rax, rcx
jne 0x140143bc8
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 0x140143d1c
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402ac9c8]
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 0x140143677
jmp 0x1401440c9
mov rcx, qword [0x1402b01c0]
mov r15, rdx
mov r13, r8
mov qword [rsp + 0x50], r9
call fcn.1401bcd60
mov r9, qword [rsp + 0x50]
mov r8, r13
mov rdx, r15
jmp 0x1401436cd
mov rcx, r13
call qword [case.0x1401e9be0.0]
mov rax, qword [r13]
jmp 0x140143b59
mov rcx, r13
call qword [case.0x1401e9be0.0]
mov rax, qword [r13]
jmp 0x140143a18
mov rcx, r13
call qword [case.0x1401e9be0.0]
mov rax, qword [r13]
jmp 0x140143954
cmp rcx, rax
je 0x1401439a3
add rcx, rdi
cmp rcx, 1
ja 0x1401439a3
jmp 0x1401440ff
mov rcx, qword [0x1402ac9c8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x140143a18
lea rcx, [rsp + 0xd0]
call fcn.1401038f0
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, [0x14029a0c0]
lea r8, str.RunLoop_ExitedOnIdle
mov cl, 0x58
xor r9d, r9d
call fcn.140131640
cmp byte [0x14029a0c0], 0
je 0x140143aa4
lea rcx, [0x14029a0c0]
lea rdx, str.RunLoop_ExitedOnIdle
mov r8, rax
call fcn.140149db0
jmp 0x140143aa4
lea r15, [rsp + 0x88]
mov rcx, r15
call fcn.1401038f0
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, [0x140299fd0]
lea r8, str.SequenceManagerImpl::MaybeReclaimMemory
mov cl, 0x58
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x78], r8
xor r9d, r9d
call fcn.140131640
mov r15, rax
jmp 0x140143af3
mov rcx, qword [0x1402ac9c8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x140143b59
mov qword [r14 + 0x2f8], 0
mov rax, qword [r15 + 8]
mov rcx, r15
mov r14, rdx
mov r13, r8
mov qword [rsp + 0x50], r9
call qword [case.0x1401e9be0.0]
mov r9, qword [rsp + 0x50]
mov r8, r13
mov rdx, r14
lock dec dword [r15]
jne 0x140143687
mov rax, qword [r15 + 0x10]
mov rcx, r15
call qword [case.0x1401e9be0.0]
mov r9, qword [rsp + 0x50]
mov r8, r13
mov rdx, r14
jmp 0x140143687
int3
cmp byte [rdx], 0
je 0x1401437ac
mov rcx, rdx
mov rdx, r8
mov r8, r9
call fcn.140149db0
jmp 0x1401437ac
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, 0x241
call fcn.1401bda10
cmp byte [rsi + 0x140], 0
je 0x1401436fc
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x58], r8
mov r13, rdx
cmp qword [r14 + 0x18], 0
jne 0x140143e1b
lock or qword [r14 + 0x10], r15
mov rdx, r13
mov r8, qword [rsp + 0x58]
mov r9, qword [rsp + 0x50]
jmp 0x1401436fc
lea rcx, [r14 + 0x18]
mov rax, qword [r14 + 0x10]
mov qword [rsp + 0x60], rax
call fcn.1401bcdb0
movabs rcx, 0xff00000000000000
and rcx, qword [rsp + 0x60]
or rcx, rax
mov qword [r14 + 0x10], rcx
jmp 0x140143e04
lea r15, [rsp + 0xd0]
mov rcx, r12
mov rdi, rdx
mov rdx, r15
mov r14, r8
mov r13, r9
call fcn.14017fd70
mov r9, r13
mov r8, r14
mov rdx, rdi
mov rax, qword [rsi + 0xa8]
cmp rax, qword [r15]
jg 0x140143786
mov rax, qword [rsi + 8]
add rsi, 8
mov rax, qword [rax + 0x10]
mov rcx, rsi
call qword [case.0x1401e9be0.0]
mov r9, r13
mov r8, r14
mov rdx, rdi
jmp 0x1401437a2
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 0x140143ef1
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 0x140143e9d
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.0x1401e9be0.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.0x1401e9be0.0]
test al, al
mov rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x58]
mov r9, qword [rsp + 0x50]
je 0x140143669
mov rcx, qword [rsi + 0x150]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x1401e9be0.0]
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x68]
jmp 0x1401437a2
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.1401bcdb0
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 0x14014370e
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.1401bcdb0
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 0x1401436ed
lea rdi, [rsp + 0xd0]
mov rcx, rdi
call fcn.1401038f0
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, [0x140299fd0]
lea rbx, str.SequenceManager::DoIdleWork
mov cl, 0x58
mov rdx, rdi
mov r8, rbx
xor r9d, r9d
call fcn.140131640
mov r8, rbx
mov rdx, rdi
mov r9, rax
jmp 0x140143611
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x1401438a9
mov rcx, qword [0x1402ac9c8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x14014394c
mov rax, qword [rsp + 0x70]
cmp byte [rax], 0
je 0x140143677
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
mov r13, r8
mov r8, r15
mov r15, r9
call fcn.140149db0
mov r9, r15
mov r8, r13
mov rdx, qword [rsp + 0x68]
jmp 0x140143677
int3