Function at 0x1400138c0
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 [0x14009bbec], r15b
mov r13, rdx
mov rbx, rcx
je 0x140013946
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 0x1400145bd
mov rax, qword [rbp + 0x30]
xor edx, edx
sub rax, qword [0x14009c1f8]
imul rax, rax, 0xf4240
div qword [0x14009c1f0]
add rax, qword [0x14009c200]
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 0x14001399d
nop word [rax + rax]
movsxd rax, dword [rdi]
xor r9d, r9d
mov rdx, qword [rbx + 0x118]
mov rcx, rbx
imul r8, rax, 0xa8
mov dword [rsp + 0x20], r15d
add r8, r14
call fcn.14000eaa0
add rdi, 4
cmp rdi, rsi
jne 0x140013970
lea rcx, [rbp - 0x50]
call fcn.140001370
cmp byte [0x14009bbec], r15b
je 0x140013a05
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 0x1400145ca
mov rax, qword [rbp + 0x30]
xor edx, edx
sub rax, qword [0x14009c1f8]
imul rax, rax, 0xf4240
div qword [0x14009c1f0]
add rax, qword [0x14009c200]
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.140011e00
lea rcx, [rbp - 0x50]
call fcn.140001370
lea rcx, [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_WakeAllConditionVariable]
cmp byte [0x14009bbec], r15b
je 0x140013aaa
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 0x1400145d7
mov rax, qword [rbp + 0x30]
xor edx, edx
sub rax, qword [0x14009c1f8]
imul rax, rax, 0xf4240
div qword [0x14009c1f0]
add rax, qword [0x14009c200]
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 0x1400145b0
lea rcx, [rbp - 0x50]
call fcn.140001370
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [0x1400d1360]
mov qword [rbp + 0x40], rax
test rax, rax
je 0x140014590
cmp qword [0x14009b820], r15
je 0x140014589
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.140038250
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 dword [rax]
mov rax, rsi
sub rax, rdi
add rax, 0x3f8
jne 0x140013ba2
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 0x140013b6d
mov edx, 0x400
mov rcx, r13
call fcn.14003cf60
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.14004fbf0
add rdi, rbx
add r15, rbx
add r12, rbx
sub r14, rbx
jne 0x140013b30
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 0x140013c54
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 0x140013c1f
mov edx, 0x400
mov rcx, r13
call fcn.14003cf60
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.14004fbf0
add rdi, rbx
add r15, rbx
add r12, rbx
sub r14, rbx
jne 0x140013be2
lea r8, [r14 - 1]
mov qword [rbp - 0x38], rdi
lea rdx, [0x14008b5fc]
mov qword [rbp - 0x40], rsi
lea rcx, [rbp - 0x50]
mov qword [rbp - 0x28], r15
call fcn.1400380c0
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 0x140013d32
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 0x140013cfd
mov edx, 0x400
mov rcx, rsi
call fcn.14003cf60
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.14004fbf0
add rdi, rbx
add r15, rbx
add r13, rbx
sub r12, rbx
jne 0x140013cc0
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 0x140013de2
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 0x140013dad
mov edx, 0x400
mov rcx, rsi
call fcn.14003cf60
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.14004fbf0
add rdi, rbx
add r15, rbx
add r13, rbx
sub r12, rbx
jne 0x140013d70
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 0x140013e94
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 0x140013e5f
mov edx, 0x400
mov rcx, rsi
call fcn.14003cf60
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.14004fbf0
add rdi, rbx
add r15, rbx
add r13, rbx
sub r12, rbx
jne 0x140013e22
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.1400380c0
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 0x140013f72
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 0x140013f3d
mov edx, 0x400
mov rcx, rsi
call fcn.14003cf60
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.14004fbf0
add rdi, rbx
add r15, rbx
add r13, rbx
sub r12, rbx
jne 0x140013f00
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 0x140014024
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 0x140013fef
mov edx, 0x400
mov rcx, rsi
call fcn.14003cf60
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.14004fbf0
add rdi, rbx
add r15, rbx
add r13, rbx
sub r12, rbx
jne 0x140013fb2
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 0x1400140d2
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 0x14001409d
mov edx, 0x400
mov rcx, rsi
call fcn.14003cf60
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.14004fbf0
add rdi, rbx
add r15, rbx
add r13, rbx
sub r12, rbx
jne 0x140014060
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.1400380c0
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 0x1400141b2
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 0x14001417d
mov edx, 0x400
mov rcx, rsi
call fcn.14003cf60
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.14004fbf0
add rdi, rbx
add r15, rbx
add r13, rbx
sub r12, rbx
jne 0x140014140
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 0x140014262
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 0x14001422d
mov edx, 0x400
mov rcx, rsi
call fcn.14003cf60
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.14004fbf0
add rdi, rbx
add r15, rbx
add r13, rbx
sub r12, rbx
jne 0x1400141f0
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 0x140014314
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 0x1400142df
mov edx, 0x400
mov rcx, rsi
call fcn.14003cf60
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.14004fbf0
add rdi, rbx
add r15, rbx
add r13, rbx
sub r12, rbx
jne 0x1400142a2
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.1400380c0
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 0x1400143f2
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 0x1400143bd
mov edx, 0x400
mov rcx, rdi
call fcn.14003cf60
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.14004fbf0
add rsi, rbx
add r14, rbx
add r13, rbx
sub r12, rbx
jne 0x140014380
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 0x1400144a2
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 0x14001446d
mov edx, 0x400
mov rcx, rdi
call fcn.14003cf60
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.14004fbf0
add rsi, rbx
add r14, rbx
add r13, rbx
sub r12, rbx
jne 0x140014430
cmp qword [0x14009b820], 0
mov r12, qword [rsp + 0x68]
je 0x14001454c
lea rcx, [0x14009c210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rsi, qword [0x14009b820]
mov rdi, qword [rbp - 0x48]
test r14, r14
je 0x140014532
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.140058e40
mov rdi, qword [rdi + 0x3f8]
sub r14, rbx
jne 0x140014500
mov rsi, qword [0x14009b820]
mov rdx, rsi
mov ecx, 0xa
call fcn.14005974c
lea rcx, [0x14009c210]
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 0x14001457d
mov rcx, rax
nop word [rax + rax]
mov rcx, qword [rcx]
mov qword [rdx + 8], rcx
cmp qword [rcx + 0x20], r8
ja 0x140014570
mov rcx, qword [rdx + 8]
sub r8, qword [rcx + 0x20]
mov qword [rcx + 0x18], r8
mov eax, 1
jmp 0x140014596
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.140014f00
int3
lea rcx, str.QueryPerformanceCounter_failed
call fcn.140014f00
int3
lea rcx, str.QueryPerformanceCounter_failed
call fcn.140014f00
int3
lea rcx, str.QueryPerformanceCounter_failed
call fcn.140014f00
int3