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

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov r14, qword [rcx + 0x1a0]
xor r15d, r15d
cmp byte [0x140099b70], r15b
mov r13, rdx
mov rbx, rcx
je 0x140012416
lea rax, str.EnqueueRequestedNodes
mov dword [rbp - 0x50], r15d
xorps xmm0, xmm0
mov qword [rbp - 0x48], rax
lea rcx, [rbp + 0x30]
mov dword [rbp - 0x28], 0x32
movdqu xmmword [rbp - 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14001308d
mov rax, qword [rbp + 0x30]
xor edx, edx
sub rax, qword [0x140099f88]
imul rax, rax, 0xf4240
div qword [0x140099f80]
add rax, qword [0x140099f90]
mov qword [rbp - 0x30], rax
mov rax, qword [rbx + 0x1b0]
mov rcx, qword [rbx + 0x1b8]
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x70], rdi
mov rdi, rax
lea rsi, [rax + rcx*4]
cmp rax, rsi
je 0x14001246a
nop word [rax + rax]
movsxd rax, dword [rdi]
xor r9d, r9d
mov rdx, qword [rbx + 0x118]
mov rcx, rbx
imul r8, rax, 0x78
mov dword [rsp + 0x20], r15d
add r8, r14
call fcn.14000d880
add rdi, 4
cmp rdi, rsi
jne 0x140012440
lea rcx, [rbp - 0x50]
call fcn.140001250
cmp byte [0x140099b70], r15b
je 0x1400124d2
lea rax, str.SortWorkingStack
mov dword [rbp - 0x50], r15d
xorps xmm0, xmm0
mov qword [rbp - 0x48], rax
lea rcx, [rbp + 0x30]
mov dword [rbp - 0x28], 0x32
movdqu xmmword [rbp - 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14001309a
mov rax, qword [rbp + 0x30]
xor edx, edx
sub rax, qword [0x140099f88]
imul rax, rax, 0xf4240
div qword [0x140099f80]
add rax, qword [0x140099f90]
mov qword [rbp - 0x30], rax
mov rcx, qword [rbx + 0xa8]
mov rdx, qword [rbx + 0xb0]
mov r9, qword [rbx + 0x130]
add r9, 0x18
lea rdx, [rcx + rdx*4]
mov r8, rdx
sub r8, rcx
sar r8, 2
call fcn.1400108d0
lea rcx, [rbp - 0x50]
call fcn.140001250
lea rcx, [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_WakeAllConditionVariable]
cmp byte [0x140099b70], r15b
je 0x140012577
lea rax, str.WaitForBuildFinished
mov dword [rbp - 0x50], r15d
mov qword [rbp - 0x48], rax
lea rcx, [rbp + 0x30]
lea rax, str.thread_state_sleeping
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x28], 0x32
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1400130a7
mov rax, qword [rbp + 0x30]
xor edx, edx
sub rax, qword [0x140099f88]
imul rax, rax, 0xf4240
div qword [0x140099f80]
add rax, qword [0x140099f90]
mov qword [rbp - 0x30], rax
lea rcx, [rbx + 0x38]
mov r8d, 0xffffffff
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SleepConditionVariableCS]
test eax, eax
je 0x140013080
lea rcx, [rbp - 0x50]
call fcn.140001250
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [0x1400cf0f0]
mov qword [rbp + 0x40], rax
test rax, rax
je 0x140013060
cmp qword [0x140099830], r15
je 0x140013059
mov rax, qword [r13 + 0x10]
mov rcx, r13
mov qword [rbp + 0x48], rax
mov qword [rsp + 0x68], r12
mov qword [rbp - 0x50], r13
call fcn.140036970
mov rsi, rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x48], rax
lea r12, [rbp + 0x30]
mov rdi, rax
mov byte [rbp + 0x30], 0x7b
mov r14d, 1
nop word [rax + rax]
mov rax, rsi
sub rax, rdi
add rax, 0x3f8
jne 0x140012672
mov rax, qword [r13 + 8]
mov rcx, rax
mov rdx, qword [rax + 0x18]
add rdx, 7
and rdx, 0xfffffffffffffff8
lea rax, [rdx + 0x400]
cmp rax, qword [rcx + 0x10]
jbe 0x14001263d
mov edx, 0x400
mov rcx, r13
call fcn.14003b680
xor edx, edx
mov rax, qword [r13 + 8]
lea rcx, [rdx + 0x400]
mov rdi, qword [rax + 0x28]
mov qword [rax + 0x18], rcx
add rdi, rdx
mov rax, qword [r13 + 8]
mov rdx, qword [rax + 0x20]
add rdx, qword [rax + 0x18]
mov eax, 0x3f8
mov qword [r13 + 0x10], rdx
mov qword [rsi + 0x3f8], rdi
mov rsi, rdi
cmp rax, r14
mov rbx, r14
mov rdx, r12
mov rcx, rdi
cmovb rbx, rax
mov r8, rbx
call fcn.14004dd10
add rdi, rbx
add r15, rbx
add r12, rbx
sub r14, rbx
jne 0x140012600
mov byte [rbp - 0x30], r14b
lea r12, [rbp + 0x30]
mov r14d, 1
mov qword [rbp - 0x40], rsi
mov byte [rbp + 0x30], 0x22
mov rax, rsi
sub rax, rdi
add rax, 0x3f8
jne 0x140012724
mov rax, qword [r13 + 8]
mov rcx, rax
mov rdx, qword [rax + 0x18]
add rdx, 7
and rdx, 0xfffffffffffffff8
lea rax, [rdx + 0x400]
cmp rax, qword [rcx + 0x10]
jbe 0x1400126ef
mov edx, 0x400
mov rcx, r13
call fcn.14003b680
xor edx, edx
mov rax, qword [r13 + 8]
lea rcx, [rdx + 0x400]
mov rdi, qword [rax + 0x28]
mov qword [rax + 0x18], rcx
add rdi, rdx
mov rax, qword [r13 + 8]
mov rdx, qword [rax + 0x20]
add rdx, qword [rax + 0x18]
mov eax, 0x3f8
mov qword [r13 + 0x10], rdx
mov qword [rsi + 0x3f8], rdi
mov rsi, rdi
cmp rax, r14
mov rbx, r14
mov rdx, r12
mov rcx, rdi
cmovb rbx, rax
mov r8, rbx
call fcn.14004dd10
add rdi, rbx
add r15, rbx
add r12, rbx
sub r14, rbx
jne 0x1400126b2
lea r8, [r14 - 1]
mov qword [rbp - 0x38], rdi
lea rdx, [0x1400895cc]
mov qword [rbp - 0x40], rsi
lea rcx, [rbp - 0x50]
mov qword [rbp - 0x28], r15
call fcn.1400367e0
mov rsi, qword [rbp - 0x50]
lea r12d, [r14 + 1]
mov r14, qword [rbp - 0x40]
lea r13, [rbp + 0x30]
mov r15, qword [rbp - 0x28]
mov rdi, qword [rbp - 0x38]
mov byte [rbp + 0x30], 0x22
nop word [rax + rax]
mov rax, r14
sub rax, rdi
add rax, 0x3f8
jne 0x140012802
mov rax, qword [rsi + 8]
mov rcx, rax
mov rdx, qword [rax + 0x18]
add rdx, 7
and rdx, 0xfffffffffffffff8
lea rax, [rdx + 0x400]
cmp rax, qword [rcx + 0x10]
jbe 0x1400127cd
mov edx, 0x400
mov rcx, rsi
call fcn.14003b680
xor edx, edx
mov rax, qword [rsi + 8]
lea rcx, [rdx + 0x400]
mov rdi, qword [rax + 0x28]
mov qword [rax + 0x18], rcx
add rdi, rdx
mov rax, qword [rsi + 8]
mov rdx, qword [rax + 0x20]
add rdx, qword [rax + 0x18]
mov eax, 0x3f8
mov qword [rsi + 0x10], rdx
mov qword [r14 + 0x3f8], rdi
mov r14, rdi
cmp rax, r12
mov rbx, r12
mov rdx, r13
mov rcx, rdi
cmovb rbx, rax
mov r8, rbx
call fcn.14004dd10
add rdi, rbx
add r15, rbx
add r13, rbx
sub r12, rbx
jne 0x140012790
mov qword [rbp - 0x40], r14
lea r13, [rbp + 0x30]
mov byte [rbp + 0x30], 0x3a
mov r12d, 1
nop
mov rax, r14
sub rax, rdi
add rax, 0x3f8
jne 0x1400128b2
mov rax, qword [rsi + 8]
mov rcx, rax
mov rdx, qword [rax + 0x18]
add rdx, 7
and rdx, 0xfffffffffffffff8
lea rax, [rdx + 0x400]
cmp rax, qword [rcx + 0x10]
jbe 0x14001287d
mov edx, 0x400
mov rcx, rsi
call fcn.14003b680
xor edx, edx
mov rax, qword [rsi + 8]
lea rcx, [rdx + 0x400]
mov rdi, qword [rax + 0x28]
mov qword [rax + 0x18], rcx
add rdi, rdx
mov rax, qword [rsi + 8]
mov rdx, qword [rax + 0x20]
add rdx, qword [rax + 0x18]
mov eax, 0x3f8
mov qword [rsi + 0x10], rdx
mov qword [r14 + 0x3f8], rdi
mov r14, rdi
cmp rax, r12
mov rbx, r12
mov rdx, r13
mov rcx, rdi
cmovb rbx, rax
mov r8, rbx
call fcn.14004dd10
add rdi, rbx
add r15, rbx
add r13, rbx
sub r12, rbx
jne 0x140012840
mov byte [rbp - 0x30], r12b
lea r13, [rbp + 0x30]
mov r12d, 1
mov qword [rbp - 0x40], r14
mov byte [rbp + 0x30], 0x22
mov rax, r14
sub rax, rdi
add rax, 0x3f8
jne 0x140012964
mov rax, qword [rsi + 8]
mov rcx, rax
mov rdx, qword [rax + 0x18]
add rdx, 7
and rdx, 0xfffffffffffffff8
lea rax, [rdx + 0x400]
cmp rax, qword [rcx + 0x10]
jbe 0x14001292f
mov edx, 0x400
mov rcx, rsi
call fcn.14003b680
xor edx, edx
mov rax, qword [rsi + 8]
lea rcx, [rdx + 0x400]
mov rdi, qword [rax + 0x28]
mov qword [rax + 0x18], rcx
add rdi, rdx
mov rax, qword [rsi + 8]
mov rdx, qword [rax + 0x20]
add rdx, qword [rax + 0x18]
mov eax, 0x3f8
mov qword [rsi + 0x10], rdx
mov qword [r14 + 0x3f8], rdi
mov r14, rdi
cmp rax, r12
mov rbx, r12
mov rdx, r13
mov rcx, rdi
cmovb rbx, rax
mov r8, rbx
call fcn.14004dd10
add rdi, rbx
add r15, rbx
add r13, rbx
sub r12, rbx
jne 0x1400128f2
lea r8, [r12 - 1]
mov qword [rbp - 0x38], rdi
lea rdx, str.interrupted
mov qword [rbp - 0x40], r14
lea rcx, [rbp - 0x50]
mov qword [rbp - 0x28], r15
call fcn.1400367e0
mov rsi, qword [rbp - 0x50]
lea r13, [rbp + 0x30]
mov r15, qword [rbp - 0x28]
mov r12d, 1
mov rdi, qword [rbp - 0x38]
mov r14, qword [rbp - 0x40]
mov byte [rbp + 0x30], 0x22
nop dword [rax]
mov rax, r14
sub rax, rdi
add rax, 0x3f8
jne 0x140012a42
mov rax, qword [rsi + 8]
mov rcx, rax
mov rdx, qword [rax + 0x18]
add rdx, 7
and rdx, 0xfffffffffffffff8
lea rax, [rdx + 0x400]
cmp rax, qword [rcx + 0x10]
jbe 0x140012a0d
mov edx, 0x400
mov rcx, rsi
call fcn.14003b680
xor edx, edx
mov rax, qword [rsi + 8]
lea rcx, [rdx + 0x400]
mov rdi, qword [rax + 0x28]
mov qword [rax + 0x18], rcx
add rdi, rdx
mov rax, qword [rsi + 8]
mov rdx, qword [rax + 0x20]
add rdx, qword [rax + 0x18]
mov eax, 0x3f8
mov qword [rsi + 0x10], rdx
mov qword [r14 + 0x3f8], rdi
mov r14, rdi
cmp rax, r12
mov rbx, r12
mov rdx, r13
mov rcx, rdi
cmovb rbx, rax
mov r8, rbx
call fcn.14004dd10
add rdi, rbx
add r15, rbx
add r13, rbx
sub r12, rbx
jne 0x1400129d0
mov qword [rbp - 0x40], r14
lea r13, [rbp + 0x30]
mov byte [rbp - 0x30], 1
mov r12d, 1
mov byte [rbp + 0x30], 0x2c
mov rax, r14
sub rax, rdi
add rax, 0x3f8
jne 0x140012af4
mov rax, qword [rsi + 8]
mov rcx, rax
mov rdx, qword [rax + 0x18]
add rdx, 7
and rdx, 0xfffffffffffffff8
lea rax, [rdx + 0x400]
cmp rax, qword [rcx + 0x10]
jbe 0x140012abf
mov edx, 0x400
mov rcx, rsi
call fcn.14003b680
xor edx, edx
mov rax, qword [rsi + 8]
lea rcx, [rdx + 0x400]
mov rdi, qword [rax + 0x28]
mov qword [rax + 0x18], rcx
add rdi, rdx
mov rax, qword [rsi + 8]
mov rdx, qword [rax + 0x20]
add rdx, qword [rax + 0x18]
mov eax, 0x3f8
mov qword [rsi + 0x10], rdx
mov qword [r14 + 0x3f8], rdi
mov r14, rdi
cmp rax, r12
mov rbx, r12
mov rdx, r13
mov rcx, rdi
cmovb rbx, rax
mov r8, rbx
call fcn.14004dd10
add rdi, rbx
add r15, rbx
add r13, rbx
sub r12, rbx
jne 0x140012a82
mov qword [rbp - 0x40], r14
lea r13, [rbp + 0x30]
mov byte [rbp + 0x30], 0x22
mov r12d, 1
mov rax, r14
sub rax, rdi
add rax, 0x3f8
jne 0x140012ba2
mov rax, qword [rsi + 8]
mov rcx, rax
mov rdx, qword [rax + 0x18]
add rdx, 7
and rdx, 0xfffffffffffffff8
lea rax, [rdx + 0x400]
cmp rax, qword [rcx + 0x10]
jbe 0x140012b6d
mov edx, 0x400
mov rcx, rsi
call fcn.14003b680
xor edx, edx
mov rax, qword [rsi + 8]
lea rcx, [rdx + 0x400]
mov rdi, qword [rax + 0x28]
mov qword [rax + 0x18], rcx
add rdi, rdx
mov rax, qword [rsi + 8]
mov rdx, qword [rax + 0x20]
add rdx, qword [rax + 0x18]
mov eax, 0x3f8
mov qword [rsi + 0x10], rdx
mov qword [r14 + 0x3f8], rdi
mov r14, rdi
cmp rax, r12
mov rbx, r12
mov rdx, r13
mov rcx, rdi
cmovb rbx, rax
mov r8, rbx
call fcn.14004dd10
add rdi, rbx
add r15, rbx
add r13, rbx
sub r12, rbx
jne 0x140012b30
lea r8, [r12 - 1]
mov qword [rbp - 0x38], rdi
lea rdx, str.reason
mov qword [rbp - 0x40], r14
lea rcx, [rbp - 0x50]
mov qword [rbp - 0x28], r15
call fcn.1400367e0
mov rsi, qword [rbp - 0x50]
lea r13, [rbp + 0x30]
mov r15, qword [rbp - 0x28]
mov r12d, 1
mov rdi, qword [rbp - 0x38]
mov r14, qword [rbp - 0x40]
mov byte [rbp + 0x30], 0x22
nop dword [rax + rax]
mov rax, r14
sub rax, rdi
add rax, 0x3f8
jne 0x140012c82
mov rax, qword [rsi + 8]
mov rcx, rax
mov rdx, qword [rax + 0x18]
add rdx, 7
and rdx, 0xfffffffffffffff8
lea rax, [rdx + 0x400]
cmp rax, qword [rcx + 0x10]
jbe 0x140012c4d
mov edx, 0x400
mov rcx, rsi
call fcn.14003b680
xor edx, edx
mov rax, qword [rsi + 8]
lea rcx, [rdx + 0x400]
mov rdi, qword [rax + 0x28]
mov qword [rax + 0x18], rcx
add rdi, rdx
mov rax, qword [rsi + 8]
mov rdx, qword [rax + 0x20]
add rdx, qword [rax + 0x18]
mov eax, 0x3f8
mov qword [rsi + 0x10], rdx
mov qword [r14 + 0x3f8], rdi
mov r14, rdi
cmp rax, r12
mov rbx, r12
mov rdx, r13
mov rcx, rdi
cmovb rbx, rax
mov r8, rbx
call fcn.14004dd10
add rdi, rbx
add r15, rbx
add r13, rbx
sub r12, rbx
jne 0x140012c10
mov qword [rbp - 0x40], r14
lea r13, [rbp + 0x30]
mov byte [rbp + 0x30], 0x3a
mov r12d, 1
nop
mov rax, r14
sub rax, rdi
add rax, 0x3f8
jne 0x140012d32
mov rax, qword [rsi + 8]
mov rcx, rax
mov rdx, qword [rax + 0x18]
add rdx, 7
and rdx, 0xfffffffffffffff8
lea rax, [rdx + 0x400]
cmp rax, qword [rcx + 0x10]
jbe 0x140012cfd
mov edx, 0x400
mov rcx, rsi
call fcn.14003b680
xor edx, edx
mov rax, qword [rsi + 8]
lea rcx, [rdx + 0x400]
mov rdi, qword [rax + 0x28]
mov qword [rax + 0x18], rcx
add rdi, rdx
mov rax, qword [rsi + 8]
mov rdx, qword [rax + 0x20]
add rdx, qword [rax + 0x18]
mov eax, 0x3f8
mov qword [rsi + 0x10], rdx
mov qword [r14 + 0x3f8], rdi
mov r14, rdi
cmp rax, r12
mov rbx, r12
mov rdx, r13
mov rcx, rdi
cmovb rbx, rax
mov r8, rbx
call fcn.14004dd10
add rdi, rbx
add r15, rbx
add r13, rbx
sub r12, rbx
jne 0x140012cc0
mov byte [rbp - 0x30], r12b
lea r13, [rbp + 0x30]
mov r12d, 1
mov qword [rbp - 0x40], r14
mov byte [rbp + 0x30], 0x22
mov rax, r14
sub rax, rdi
add rax, 0x3f8
jne 0x140012de4
mov rax, qword [rsi + 8]
mov rcx, rax
mov rdx, qword [rax + 0x18]
add rdx, 7
and rdx, 0xfffffffffffffff8
lea rax, [rdx + 0x400]
cmp rax, qword [rcx + 0x10]
jbe 0x140012daf
mov edx, 0x400
mov rcx, rsi
call fcn.14003b680
xor edx, edx
mov rax, qword [rsi + 8]
lea rcx, [rdx + 0x400]
mov rdi, qword [rax + 0x28]
mov qword [rax + 0x18], rcx
add rdi, rdx
mov rax, qword [rsi + 8]
mov rdx, qword [rax + 0x20]
add rdx, qword [rax + 0x18]
mov eax, 0x3f8
mov qword [rsi + 0x10], rdx
mov qword [r14 + 0x3f8], rdi
mov r14, rdi
cmp rax, r12
mov rbx, r12
mov rdx, r13
mov rcx, rdi
cmovb rbx, rax
mov r8, rbx
call fcn.14004dd10
add rdi, rbx
add r15, rbx
add r13, rbx
sub r12, rbx
jne 0x140012d72
mov rdx, qword [rbp + 0x40]
lea r8, [r12 - 1]
lea rcx, [rbp - 0x50]
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x28], r15
call fcn.1400367e0
mov rdi, qword [rbp - 0x50]
lea r13, [rbp + 0x30]
mov r14, qword [rbp - 0x28]
mov r12d, 1
mov rsi, qword [rbp - 0x38]
mov r15, qword [rbp - 0x40]
mov byte [rbp + 0x30], 0x22
nop word [rax + rax]
mov rax, r15
sub rax, rsi
add rax, 0x3f8
jne 0x140012ec2
mov rax, qword [rdi + 8]
mov rcx, rax
mov rdx, qword [rax + 0x18]
add rdx, 7
and rdx, 0xfffffffffffffff8
lea rax, [rdx + 0x400]
cmp rax, qword [rcx + 0x10]
jbe 0x140012e8d
mov edx, 0x400
mov rcx, rdi
call fcn.14003b680
xor edx, edx
mov rax, qword [rdi + 8]
lea rcx, [rdx + 0x400]
mov rsi, qword [rax + 0x28]
mov qword [rax + 0x18], rcx
add rsi, rdx
mov rax, qword [rdi + 8]
mov rdx, qword [rax + 0x20]
add rdx, qword [rax + 0x18]
mov eax, 0x3f8
mov qword [rdi + 0x10], rdx
mov qword [r15 + 0x3f8], rsi
mov r15, rsi
cmp rax, r12
mov rbx, r12
mov rdx, r13
mov rcx, rsi
cmovb rbx, rax
mov r8, rbx
call fcn.14004dd10
add rsi, rbx
add r14, rbx
add r13, rbx
sub r12, rbx
jne 0x140012e50
mov byte [rbp + 0x30], 0x7d
lea r13, [rbp + 0x30]
mov r12d, 1
nop word [rax + rax]
mov rax, r15
sub rax, rsi
add rax, 0x3f8
jne 0x140012f72
mov rax, qword [rdi + 8]
mov rcx, rax
mov rdx, qword [rax + 0x18]
add rdx, 7
and rdx, 0xfffffffffffffff8
lea rax, [rdx + 0x400]
cmp rax, qword [rcx + 0x10]
jbe 0x140012f3d
mov edx, 0x400
mov rcx, rdi
call fcn.14003b680
xor edx, edx
mov rax, qword [rdi + 8]
lea rcx, [rdx + 0x400]
mov rsi, qword [rax + 0x28]
mov qword [rax + 0x18], rcx
add rsi, rdx
mov rax, qword [rdi + 8]
mov rdx, qword [rax + 0x20]
add rdx, qword [rax + 0x18]
mov eax, 0x3f8
mov qword [rdi + 0x10], rdx
mov qword [r15 + 0x3f8], rsi
mov r15, rsi
cmp rax, r12
mov rbx, r12
mov rdx, r13
mov rcx, rsi
cmovb rbx, rax
mov r8, rbx
call fcn.14004dd10
add rsi, rbx
add r14, rbx
add r13, rbx
sub r12, rbx
jne 0x140012f00
cmp qword [0x140099830], 0
mov r12, qword [rsp + 0x68]
je 0x14001301c
lea rcx, [0x140099fa0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rsi, qword [0x140099830]
mov rdi, qword [rbp - 0x48]
test r14, r14
je 0x140013002
nop dword [rax + rax]
mov ebx, 0x3f8
mov r9, rsi
cmp r14, rbx
mov edx, 1
mov rcx, rdi
cmovb rbx, r14
mov r8, rbx
call fcn.1400570cc
mov rdi, qword [rdi + 0x3f8]
sub r14, rbx
jne 0x140012fd0
mov rsi, qword [0x140099830]
mov rdx, rsi
mov ecx, 0xa
call fcn.1400579dc
lea rcx, [0x140099fa0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rdx, qword [rbp + 0x38]
mov r8, qword [rbp + 0x48]
mov rax, qword [rdx + 8]
mov qword [rdx + 0x10], r8
cmp qword [rax + 0x20], r8
jbe 0x14001304d
mov rcx, rax
nop word [rax + rax]
mov rcx, qword [rcx]
mov qword [rdx + 8], rcx
cmp qword [rcx + 0x20], r8
ja 0x140013040
mov rcx, qword [rdx + 8]
sub r8, qword [rcx + 0x20]
mov qword [rcx + 0x18], r8
mov eax, 1
jmp 0x140013066
mov eax, dword [rbx + 0x220]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x70]
add rsp, 0x80
pop r15
pop r14
pop r13
pop rbx
pop rbp
ret
lea rcx, str.SleepConditionVariableCS___failed
call fcn.140013a60
int3
lea rcx, str.QueryPerformanceCounter_failed
call fcn.140013a60
int3
lea rcx, str.QueryPerformanceCounter_failed
call fcn.140013a60
int3
lea rcx, str.QueryPerformanceCounter_failed
call fcn.140013a60
int3