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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rdi, rcx
mov rsi, r9
lea rcx, [rsp + 0x30]
mov r14, r8
mov rbx, rdx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14001878a
mov rax, qword [rsp + 0x30]
lea rcx, [rsp + 0x40]
sub rax, qword [0x140099f88]
xor edx, edx
imul rax, rax, 0xf4240
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x1e0], r12
div qword [0x140099f80]
mov qword [rsp + 0x1e8], r13
xor r13d, r13d
mov qword [rsp + 0x1f0], r15
mov r15, rax
add r15, qword [0x140099f90]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x60], rax
mov qword [rbp + 0x80], rbx
mov qword [rbp + 0x88], r14
mov qword [rbp + 0x78], rdi
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
mov dword [rbp - 0x80], r13d
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x70], r13
call fcn.140007d90
mov rcx, qword [rsp + 0x60]
mov qword [rbp - 0x68], rax
call fcn.140007d90
mov rcx, qword [rsp + 0x60]
mov qword [rbp - 0x50], rax
call fcn.140007d90
mov rcx, qword [rsp + 0x60]
mov qword [rbp - 0x48], rax
call fcn.140007d90
mov rcx, qword [rsp + 0x60]
mov qword [rbp - 0x40], rax
call fcn.140007d90
mov rcx, qword [rsp + 0x60]
mov qword [rbp - 0x38], rax
call fcn.140007d90
mov rcx, qword [rsp + 0x60]
mov qword [rbp - 0x30], rax
call fcn.140007d90
mov rcx, qword [rsp + 0x60]
mov qword [rbp - 0x28], rax
call fcn.140007d90
mov rcx, qword [rsp + 0x60]
mov qword [rbp - 0x60], rax
call fcn.140007d90
mov rcx, qword [rsp + 0x60]
mov qword [rbp - 0x58], rax
call fcn.140007d90
mov rcx, qword [rsp + 0x60]
mov qword [rbp - 0x20], rax
call fcn.140007d90
mov rcx, qword [rsp + 0x60]
mov qword [rbp - 0x18], rax
call fcn.140007d90
mov rcx, qword [rsp + 0x60]
mov qword [rbp - 0x10], rax
call fcn.140007d90
mov rcx, qword [rsp + 0x60]
mov qword [rbp - 8], rax
call fcn.140007d90
mov rcx, qword [rsp + 0x60]
mov qword [rbp], rax
call fcn.140007d90
mov rdx, qword [rbp + 0x100]
lea rcx, [rsp + 0x40]
mov qword [rbp + 8], rax
mov eax, dword [rdi + 8]
mov dword [rbp + 0x90], eax
mov dword [rbp + 0x94], r13d
mov qword [rbp + 0x98], rsi
call fcn.140017140
movzx r12d, al
mov r8d, r13d
mov r9d, r13d
mov edx, dword [rbp + 0x90]
mov edi, r13d
test edx, edx
jle 0x14001857e
mov r11, qword [rbp + 0x78]
mov ecx, r13d
mov rbx, qword [rbp + 0xa0]
add r11, 0x10
mov r10d, r13d
mov r14d, edx
sub ecx, dword [r11]
movsxd rsi, dword [r11]
add rsi, r11
neg ecx
sbb rax, rax
and rsi, rax
add rbx, 8
nop
add r8, qword [rbx]
lea rbx, [rbx + 0x18]
movsxd rcx, dword [r11]
lea r10, [r10 + 0xb0]
add rcx, r11
mov eax, r13d
sub eax, dword [r11]
neg eax
sbb rax, rax
and rcx, rax
movsxd rax, dword [rcx + r10 - 0x98]
add r9, rax
movsxd rax, dword [r10 + rsi - 0x90]
add rdi, rax
sub r14, 1
jne 0x140018540
mov eax, dword [rbp + 0x94]
lea rcx, str.Finished_compiling_graph:__d_nodes___lld_flattened_edges___lld_ToBuild___lld_ToUse___maximum_node_priority__d_n
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
call fcn.1400011a0
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400185bb
mov rdx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
mov rax, qword [rbp - 0x78]
neg rdx
lock add qword [rax], rdx
call fcn.140058710
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400185dd
mov rdx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
mov rax, qword [rbp - 0x78]
neg rdx
lock add qword [rax], rdx
call fcn.140058710
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1400185fe
mov rdx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
mov rax, qword [rbp - 0x78]
neg rdx
lock add qword [rax], rdx
call fcn.140058710
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
mov dword [rbp - 0x80], r13d
mov qword [rbp - 0x70], r13
call fcn.140007aa0
movsxd rax, dword [rbp + 0x90]
mov rsi, r13
test rax, rax
je 0x1400186c8
mov rdi, r13
nop word [rax + rax]
mov rbx, qword [rbp + 0xa8]
add rbx, rdi
mov rcx, qword [rbx]
test rcx, rcx
je 0x140018678
mov rdx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
mov rax, qword [rbp + 0x80]
neg rdx
lock add qword [rax], rdx
call fcn.140058710
mov qword [rbx], r13
mov qword [rbx + 8], r13
mov qword [rbx + 0x10], r13
mov rbx, qword [rbp + 0xa0]
mov rcx, qword [rdi + rbx]
test rcx, rcx
je 0x1400186b1
mov rdx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
mov rax, qword [rbp + 0x80]
neg rdx
lock add qword [rax], rdx
call fcn.140058710
mov qword [rdi + rbx], r13
mov qword [rdi + rbx + 8], r13
mov qword [rdi + rbx + 0x10], r13
movsxd rax, dword [rbp + 0x90]
inc rsi
add rdi, 0x18
cmp rsi, rax
jb 0x140018640
mov rcx, qword [rbp + 0xa8]
mov r13, qword [rsp + 0x1e8]
test rcx, rcx
je 0x1400186f7
mov rdx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
mov rax, qword [rbp + 0x80]
neg rdx
lock add qword [rax], rdx
call fcn.140058710
mov rcx, qword [rbp + 0xa0]
test rcx, rcx
je 0x14001871e
mov rdx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
mov rax, qword [rbp + 0x80]
neg rdx
lock add qword [rax], rdx
call fcn.140058710
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14001877d
mov rax, qword [rsp + 0x38]
xor edx, edx
sub rax, qword [0x140099f88]
imul rax, rax, 0xf4240
div qword [0x140099f80]
sub rax, r15
add rax, qword [0x140099f90]
lock add qword [0x140099908], rax
mov r15, qword [rsp + 0x1f0]
movzx eax, r12b
mov r12, qword [rsp + 0x1e0]
add rsp, 0x1b0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, str.QueryPerformanceCounter_failed
call fcn.140013a60
int3
lea rcx, str.QueryPerformanceCounter_failed
call fcn.140013a60
int3