Function at 0x1400124f0
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 [0x140098b00], r15b
mov r13, rdx
mov rbx, rcx
je 0x140012576
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 0x14001320f
mov rax, qword [rbp + 0x30]
xor edx, edx
sub rax, qword [0x140098f18]
imul rax, rax, 0xf4240
div qword [0x140098f10]
add rax, qword [0x140098f20]
mov qword [rbp - 0x30], rax
mov rax, qword [rbx + 0x1b8]
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x70], rdi
mov rdi, qword [rbx + 0x1b0]
lea rsi, [rdi + rax*4]
cmp rdi, rsi
je 0x1400125ca
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.14000d800
add rdi, 4
cmp rdi, rsi
jne 0x1400125a0
lea rcx, [rbp - 0x50]
call fcn.140001250
cmp byte [0x140098b00], r15b
je 0x140012632
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 0x14001321c
mov rax, qword [rbp + 0x30]
xor edx, edx
sub rax, qword [0x140098f18]
imul rax, rax, 0xf4240
div qword [0x140098f10]
add rax, qword [0x140098f20]
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.140010920
lea rcx, [rbp - 0x50]
call fcn.140001250
lea rcx, [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_WakeAllConditionVariable]
cmp byte [0x140098b00], r15b
je 0x1400126d7
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 0x140013229
mov rax, qword [rbp + 0x30]
xor edx, edx
sub rax, qword [0x140098f18]
imul rax, rax, 0xf4240
div qword [0x140098f10]
add rax, qword [0x140098f20]
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 0x140013202
lea rcx, [rbp - 0x50]
call fcn.140001250
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [0x1400ce080]
mov qword [rbp + 0x40], rax
test rax, rax
je 0x1400131e2
cmp qword [0x1400987b0], r15
je 0x1400131db
mov rcx, qword [r13 + 8]
mov rax, qword [r13 + 0x10]
mov qword [rbp + 0x48], rax
mov qword [rsp + 0x68], r12
mov rdx, qword [rcx + 0x18]
add rdx, 7
mov qword [rbp - 0x50], r13
and rdx, 0xfffffffffffffff8
lea rax, [rdx + 0x400]
cmp rax, qword [rcx + 0x10]
jbe 0x140012763
mov edx, 0x400
mov rcx, r13
call fcn.14003bc10
mov rdx, r15
mov rcx, qword [r13 + 8]
lea rax, [rdx + 0x400]
mov byte [rbp + 0x30], 0x7b
lea r12, [rbp + 0x30]
mov r14d, 1
mov rsi, qword [rcx + 0x28]
mov qword [rcx + 0x18], rax
add rsi, rdx
mov rax, qword [r13 + 8]
mov rdi, rsi
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x48], rsi
mov rcx, qword [rax + 0x20]
add rcx, qword [rax + 0x18]
mov qword [r13 + 0x10], rcx
mov rax, rsi
sub rax, rdi
add rax, 0x3f8
jne 0x140012815
mov rcx, qword [r13 + 8]
mov rdx, qword [rcx + 0x18]
add rdx, 7
and rdx, 0xfffffffffffffff8
lea rax, [rdx + 0x400]
cmp rax, qword [rcx + 0x10]
jbe 0x1400127dc
mov edx, 0x400
mov rcx, r13
call fcn.14003bc10
xor edx, edx
mov rcx, qword [r13 + 8]
lea rax, [rdx + 0x400]
mov rdi, qword [rcx + 0x28]
mov qword [rcx + 0x18], rax
add rdi, rdx
mov rax, qword [r13 + 8]
mov qword [rbp - 0x40], rdi
mov rcx, qword [rax + 0x20]
add rcx, qword [rax + 0x18]
mov eax, 0x3f8
mov qword [r13 + 0x10], rcx
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.14004eca0
add rdi, rbx
add r15, rbx
add r12, rbx
sub r14, rbx
jne 0x1400127a2
mov byte [rbp - 0x30], r14b
lea r12, [rbp + 0x30]
mov r14d, 1
mov byte [rbp + 0x30], 0x22
mov rax, rsi
sub rax, rdi
add rax, 0x3f8
jne 0x1400128c4
mov rcx, qword [r13 + 8]
mov rdx, qword [rcx + 0x18]
add rdx, 7
and rdx, 0xfffffffffffffff8
lea rax, [rdx + 0x400]
cmp rax, qword [rcx + 0x10]
jbe 0x14001288b
mov edx, 0x400
mov rcx, r13
call fcn.14003bc10
xor edx, edx
mov rcx, qword [r13 + 8]
lea rax, [rdx + 0x400]
mov rdi, qword [rcx + 0x28]
mov qword [rcx + 0x18], rax
add rdi, rdx
mov rax, qword [r13 + 8]
mov qword [rbp - 0x40], rdi
mov rcx, qword [rax + 0x20]
add rcx, qword [rax + 0x18]
mov eax, 0x3f8
mov qword [r13 + 0x10], rcx
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.14004eca0
add rdi, rbx
add r15, rbx
add r12, rbx
sub r14, rbx
jne 0x140012851
lea r8, [r14 - 1]
mov qword [rbp - 0x38], rdi
lea rdx, [0x14008920c]
mov qword [rbp - 0x28], r15
lea rcx, [rbp - 0x50]
call fcn.140037410
mov rsi, qword [rbp - 0x50]
lea r15d, [r14 + 1]
mov r14, qword [rbp - 0x40]
lea r13, [rbp + 0x30]
mov r12, 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 0x14001299f
mov rcx, qword [rsi + 8]
mov rdx, qword [rcx + 0x18]
add rdx, 7
and rdx, 0xfffffffffffffff8
lea rax, [rdx + 0x400]
cmp rax, qword [rcx + 0x10]
jbe 0x14001296a
mov edx, 0x400
mov rcx, rsi
call fcn.14003bc10
xor edx, edx
mov rcx, qword [rsi + 8]
lea rax, [rdx + 0x400]
mov rdi, qword [rcx + 0x28]
mov qword [rcx + 0x18], rax
add rdi, rdx
mov rax, qword [rsi + 8]
mov rcx, qword [rax + 0x20]
add rcx, qword [rax + 0x18]
mov eax, 0x3f8
mov qword [rsi + 0x10], rcx
mov qword [r14 + 0x3f8], rdi
mov r14, rdi
cmp rax, r15
mov rbx, r15
mov rdx, r13
mov rcx, rdi
cmovb rbx, rax
mov r8, rbx
call fcn.14004eca0
add rdi, rbx
add r12, rbx
add r13, rbx
sub r15, rbx
jne 0x140012930
mov qword [rbp - 0x40], r14
lea r13, [rbp + 0x30]
mov byte [rbp + 0x30], 0x3a
mov r15d, 1
nop dword [rax + rax]
mov rax, r14
sub rax, rdi
add rax, 0x3f8
jne 0x140012a4f
mov rcx, qword [rsi + 8]
mov rdx, qword [rcx + 0x18]
add rdx, 7
and rdx, 0xfffffffffffffff8
lea rax, [rdx + 0x400]
cmp rax, qword [rcx + 0x10]
jbe 0x140012a1a
mov edx, 0x400
mov rcx, rsi
call fcn.14003bc10
xor edx, edx
mov rcx, qword [rsi + 8]
lea rax, [rdx + 0x400]
mov rdi, qword [rcx + 0x28]
mov qword [rcx + 0x18], rax
add rdi, rdx
mov rax, qword [rsi + 8]
mov rcx, qword [rax + 0x20]
add rcx, qword [rax + 0x18]
mov eax, 0x3f8
mov qword [rsi + 0x10], rcx
mov qword [r14 + 0x3f8], rdi
mov r14, rdi
cmp rax, r15
mov rbx, r15
mov rdx, r13
mov rcx, rdi
cmovb rbx, rax
mov r8, rbx
call fcn.14004eca0
add rdi, rbx
add r12, rbx
add r13, rbx
sub r15, rbx
jne 0x1400129e0
mov byte [rbp - 0x30], r15b
lea r13, [rbp + 0x30]
mov r15d, 1
mov qword [rbp - 0x40], r14
mov byte [rbp + 0x30], 0x22
nop
mov rax, r14
sub rax, rdi
add rax, 0x3f8
jne 0x140012aff
mov rcx, qword [rsi + 8]
mov rdx, qword [rcx + 0x18]
add rdx, 7
and rdx, 0xfffffffffffffff8
lea rax, [rdx + 0x400]
cmp rax, qword [rcx + 0x10]
jbe 0x140012aca
mov edx, 0x400
mov rcx, rsi
call fcn.14003bc10
xor edx, edx
mov rcx, qword [rsi + 8]
lea rax, [rdx + 0x400]
mov rdi, qword [rcx + 0x28]
mov qword [rcx + 0x18], rax
add rdi, rdx
mov rax, qword [rsi + 8]
mov rcx, qword [rax + 0x20]
add rcx, qword [rax + 0x18]
mov eax, 0x3f8
mov qword [rsi + 0x10], rcx
mov qword [r14 + 0x3f8], rdi
mov r14, rdi
cmp rax, r15
mov rbx, r15
mov rdx, r13
mov rcx, rdi
cmovb rbx, rax
mov r8, rbx
call fcn.14004eca0
add rdi, rbx
add r12, rbx
add r13, rbx
sub r15, rbx
jne 0x140012a90
lea r8, [r15 - 1]
mov qword [rbp - 0x38], rdi
lea rdx, str.interrupted
mov qword [rbp - 0x40], r14
lea rcx, [rbp - 0x50]
mov qword [rbp - 0x28], r12
call fcn.140037410
mov rsi, qword [rbp - 0x50]
lea r13, [rbp + 0x30]
mov r12, qword [rbp - 0x28]
mov r15d, 1
mov rdi, qword [rbp - 0x38]
mov r14, qword [rbp - 0x40]
mov byte [rbp + 0x30], 0x22
nop word [rax + rax]
mov rax, r14
sub rax, rdi
add rax, 0x3f8
jne 0x140012bdf
mov rcx, qword [rsi + 8]
mov rdx, qword [rcx + 0x18]
add rdx, 7
and rdx, 0xfffffffffffffff8
lea rax, [rdx + 0x400]
cmp rax, qword [rcx + 0x10]
jbe 0x140012baa
mov edx, 0x400
mov rcx, rsi
call fcn.14003bc10
xor edx, edx
mov rcx, qword [rsi + 8]
lea rax, [rdx + 0x400]
mov rdi, qword [rcx + 0x28]
mov qword [rcx + 0x18], rax
add rdi, rdx
mov rax, qword [rsi + 8]
mov rcx, qword [rax + 0x20]
add rcx, qword [rax + 0x18]
mov eax, 0x3f8
mov qword [rsi + 0x10], rcx
mov qword [r14 + 0x3f8], rdi
mov r14, rdi
cmp rax, r15
mov rbx, r15
mov rdx, r13
mov rcx, rdi
cmovb rbx, rax
mov r8, rbx
call fcn.14004eca0
add rdi, rbx
add r12, rbx
add r13, rbx
sub r15, rbx
jne 0x140012b70
mov qword [rbp - 0x40], r14
lea r13, [rbp + 0x30]
mov byte [rbp - 0x30], 1
mov r15d, 1
mov byte [rbp + 0x30], 0x2c
nop
mov rax, r14
sub rax, rdi
add rax, 0x3f8
jne 0x140012c8f
mov rcx, qword [rsi + 8]
mov rdx, qword [rcx + 0x18]
add rdx, 7
and rdx, 0xfffffffffffffff8
lea rax, [rdx + 0x400]
cmp rax, qword [rcx + 0x10]
jbe 0x140012c5a
mov edx, 0x400
mov rcx, rsi
call fcn.14003bc10
xor edx, edx
mov rcx, qword [rsi + 8]
lea rax, [rdx + 0x400]
mov rdi, qword [rcx + 0x28]
mov qword [rcx + 0x18], rax
add rdi, rdx
mov rax, qword [rsi + 8]
mov rcx, qword [rax + 0x20]
add rcx, qword [rax + 0x18]
mov eax, 0x3f8
mov qword [rsi + 0x10], rcx
mov qword [r14 + 0x3f8], rdi
mov r14, rdi
cmp rax, r15
mov rbx, r15
mov rdx, r13
mov rcx, rdi
cmovb rbx, rax
mov r8, rbx
call fcn.14004eca0
add rdi, rbx
add r12, rbx
add r13, rbx
sub r15, rbx
jne 0x140012c20
mov qword [rbp - 0x40], r14
lea r13, [rbp + 0x30]
mov byte [rbp + 0x30], 0x22
mov r15d, 1
nop dword [rax + rax]
mov rax, r14
sub rax, rdi
add rax, 0x3f8
jne 0x140012d3f
mov rcx, qword [rsi + 8]
mov rdx, qword [rcx + 0x18]
add rdx, 7
and rdx, 0xfffffffffffffff8
lea rax, [rdx + 0x400]
cmp rax, qword [rcx + 0x10]
jbe 0x140012d0a
mov edx, 0x400
mov rcx, rsi
call fcn.14003bc10
xor edx, edx
mov rcx, qword [rsi + 8]
lea rax, [rdx + 0x400]
mov rdi, qword [rcx + 0x28]
mov qword [rcx + 0x18], rax
add rdi, rdx
mov rax, qword [rsi + 8]
mov rcx, qword [rax + 0x20]
add rcx, qword [rax + 0x18]
mov eax, 0x3f8
mov qword [rsi + 0x10], rcx
mov qword [r14 + 0x3f8], rdi
mov r14, rdi
cmp rax, r15
mov rbx, r15
mov rdx, r13
mov rcx, rdi
cmovb rbx, rax
mov r8, rbx
call fcn.14004eca0
add rdi, rbx
add r12, rbx
add r13, rbx
sub r15, rbx
jne 0x140012cd0
lea r8, [r15 - 1]
mov qword [rbp - 0x38], rdi
lea rdx, str.reason
mov qword [rbp - 0x40], r14
lea rcx, [rbp - 0x50]
mov qword [rbp - 0x28], r12
call fcn.140037410
mov rsi, qword [rbp - 0x50]
lea r13, [rbp + 0x30]
mov r12, qword [rbp - 0x28]
mov r15d, 1
mov rdi, qword [rbp - 0x38]
mov r14, qword [rbp - 0x40]
mov byte [rbp + 0x30], 0x22
nop word [rax + rax]
mov rax, r14
sub rax, rdi
add rax, 0x3f8
jne 0x140012e1f
mov rcx, qword [rsi + 8]
mov rdx, qword [rcx + 0x18]
add rdx, 7
and rdx, 0xfffffffffffffff8
lea rax, [rdx + 0x400]
cmp rax, qword [rcx + 0x10]
jbe 0x140012dea
mov edx, 0x400
mov rcx, rsi
call fcn.14003bc10
xor edx, edx
mov rcx, qword [rsi + 8]
lea rax, [rdx + 0x400]
mov rdi, qword [rcx + 0x28]
mov qword [rcx + 0x18], rax
add rdi, rdx
mov rax, qword [rsi + 8]
mov rcx, qword [rax + 0x20]
add rcx, qword [rax + 0x18]
mov eax, 0x3f8
mov qword [rsi + 0x10], rcx
mov qword [r14 + 0x3f8], rdi
mov r14, rdi
cmp rax, r15
mov rbx, r15
mov rdx, r13
mov rcx, rdi
cmovb rbx, rax
mov r8, rbx
call fcn.14004eca0
add rdi, rbx
add r12, rbx
add r13, rbx
sub r15, rbx
jne 0x140012db0
mov qword [rbp - 0x40], r14
lea r13, [rbp + 0x30]
mov byte [rbp + 0x30], 0x3a
mov r15d, 1
nop dword [rax + rax]
mov rax, r14
sub rax, rdi
add rax, 0x3f8
jne 0x140012ecf
mov rcx, qword [rsi + 8]
mov rdx, qword [rcx + 0x18]
add rdx, 7
and rdx, 0xfffffffffffffff8
lea rax, [rdx + 0x400]
cmp rax, qword [rcx + 0x10]
jbe 0x140012e9a
mov edx, 0x400
mov rcx, rsi
call fcn.14003bc10
xor edx, edx
mov rcx, qword [rsi + 8]
lea rax, [rdx + 0x400]
mov rdi, qword [rcx + 0x28]
mov qword [rcx + 0x18], rax
add rdi, rdx
mov rax, qword [rsi + 8]
mov rcx, qword [rax + 0x20]
add rcx, qword [rax + 0x18]
mov eax, 0x3f8
mov qword [rsi + 0x10], rcx
mov qword [r14 + 0x3f8], rdi
mov r14, rdi
cmp rax, r15
mov rbx, r15
mov rdx, r13
mov rcx, rdi
cmovb rbx, rax
mov r8, rbx
call fcn.14004eca0
add rdi, rbx
add r12, rbx
add r13, rbx
sub r15, rbx
jne 0x140012e60
mov byte [rbp - 0x30], r15b
lea r13, [rbp + 0x30]
mov r15d, 1
mov qword [rbp - 0x40], r14
mov byte [rbp + 0x30], 0x22
nop
mov rax, r14
sub rax, rdi
add rax, 0x3f8
jne 0x140012f7f
mov rcx, qword [rsi + 8]
mov rdx, qword [rcx + 0x18]
add rdx, 7
and rdx, 0xfffffffffffffff8
lea rax, [rdx + 0x400]
cmp rax, qword [rcx + 0x10]
jbe 0x140012f4a
mov edx, 0x400
mov rcx, rsi
call fcn.14003bc10
xor edx, edx
mov rcx, qword [rsi + 8]
lea rax, [rdx + 0x400]
mov rdi, qword [rcx + 0x28]
mov qword [rcx + 0x18], rax
add rdi, rdx
mov rax, qword [rsi + 8]
mov rcx, qword [rax + 0x20]
add rcx, qword [rax + 0x18]
mov eax, 0x3f8
mov qword [rsi + 0x10], rcx
mov qword [r14 + 0x3f8], rdi
mov r14, rdi
cmp rax, r15
mov rbx, r15
mov rdx, r13
mov rcx, rdi
cmovb rbx, rax
mov r8, rbx
call fcn.14004eca0
add rdi, rbx
add r12, rbx
add r13, rbx
sub r15, rbx
jne 0x140012f10
mov rdx, qword [rbp + 0x40]
lea r8, [r15 - 1]
lea rcx, [rbp - 0x50]
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x28], r12
call fcn.140037410
mov rsi, qword [rbp - 0x50]
lea r12d, [r15 + 1]
mov r15, qword [rbp - 0x40]
lea r13, [rbp + 0x30]
mov r14, qword [rbp - 0x28]
mov rdi, qword [rbp - 0x38]
mov byte [rbp + 0x30], 0x22
mov rax, r15
sub rax, rdi
add rax, 0x3f8
jne 0x140013051
mov rcx, qword [rsi + 8]
mov rdx, qword [rcx + 0x18]
add rdx, 7
and rdx, 0xfffffffffffffff8
lea rax, [rdx + 0x400]
cmp rax, qword [rcx + 0x10]
jbe 0x14001301c
mov edx, 0x400
mov rcx, rsi
call fcn.14003bc10
xor edx, edx
mov rcx, qword [rsi + 8]
lea rax, [rdx + 0x400]
mov rdi, qword [rcx + 0x28]
mov qword [rcx + 0x18], rax
add rdi, rdx
mov rax, qword [rsi + 8]
mov rcx, qword [rax + 0x20]
add rcx, qword [rax + 0x18]
mov eax, 0x3f8
mov qword [rsi + 0x10], rcx
mov qword [r15 + 0x3f8], rdi
mov r15, rdi
cmp rax, r12
mov rbx, r12
mov rdx, r13
mov rcx, rdi
cmovb rbx, rax
mov r8, rbx
call fcn.14004eca0
add rdi, rbx
add r14, rbx
add r13, rbx
sub r12, rbx
jne 0x140012fe2
mov byte [rbp + 0x30], 0x7d
lea r13, [rbp + 0x30]
mov r12d, 1
nop dword [rax]
mov rax, r15
sub rax, rdi
add rax, 0x3f8
jne 0x1400130ff
mov rcx, qword [rsi + 8]
mov rdx, qword [rcx + 0x18]
add rdx, 7
and rdx, 0xfffffffffffffff8
lea rax, [rdx + 0x400]
cmp rax, qword [rcx + 0x10]
jbe 0x1400130ca
mov edx, 0x400
mov rcx, rsi
call fcn.14003bc10
xor edx, edx
mov rcx, qword [rsi + 8]
lea rax, [rdx + 0x400]
mov rdi, qword [rcx + 0x28]
mov qword [rcx + 0x18], rax
add rdi, rdx
mov rax, qword [rsi + 8]
mov rcx, qword [rax + 0x20]
add rcx, qword [rax + 0x18]
mov eax, 0x3f8
mov qword [rsi + 0x10], rcx
mov qword [r15 + 0x3f8], rdi
mov r15, rdi
cmp rax, r12
mov rbx, r12
mov rdx, r13
mov rcx, rdi
cmovb rbx, rax
mov r8, rbx
call fcn.14004eca0
add rdi, rbx
add r14, rbx
add r13, rbx
sub r12, rbx
jne 0x140013090
cmp qword [0x1400987b0], 0
mov r12, qword [rsp + 0x68]
je 0x1400131ac
lea rcx, [0x140098f30]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rsi, qword [0x1400987b0]
mov rdi, qword [rbp - 0x48]
test r14, r14
je 0x140013192
nop word [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.140056750
mov rdi, qword [rdi + 0x3f8]
sub r14, rbx
jne 0x140013160
mov rsi, qword [0x1400987b0]
mov rdx, rsi
mov ecx, 0xa
call fcn.140056e18
lea rcx, [0x140098f30]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rdx, qword [rbp + 0x38]
mov rax, qword [rbp + 0x48]
mov rcx, qword [rdx + 8]
mov qword [rdx + 0x10], rax
cmp qword [rcx + 0x20], rax
jbe 0x1400131cf
mov rcx, qword [rcx]
mov qword [rdx + 8], rcx
cmp qword [rcx + 0x20], rax
ja 0x1400131c2
mov rcx, qword [rdx + 8]
sub rax, qword [rcx + 0x20]
mov qword [rcx + 0x18], rax
mov eax, 1
jmp 0x1400131e8
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.140013bd0
int3
lea rcx, str.QueryPerformanceCounter_failed
call fcn.140013bd0
int3
lea rcx, str.QueryPerformanceCounter_failed
call fcn.140013bd0
int3
lea rcx, str.QueryPerformanceCounter_failed
call fcn.140013bd0
int3