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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rdi
push r13
lea rbp, [rsp - 0x1af8]
mov eax, 0x1bf8
call fcn.14004c200
sub rsp, rax
cmp dword [0x14009982c], 5
mov rbx, r8
mov r13, rdx
mov rdi, rcx
jbe 0x1400131ea
xor eax, eax
add rsp, 0x1bf8
pop r13
pop rdi
pop rbx
pop rbp
ret
movsxd rdx, dword [r8 + 4]
lea rcx, [r8 + 4]
add rdx, rcx
mov qword [rsp + 0x1c20], rsi
xor esi, esi
mov eax, esi
sub eax, dword [rcx]
neg eax
sbb rax, rax
and rdx, rax
cmp byte [0x140099b70], sil
je 0x140013283
mov eax, dword [r9 + 0x38]
movsxd rcx, dword [rdx]
mov dword [rsp + 0x70], eax
add rcx, rdx
lea rax, str.InvokeCacheMe
mov qword [rbp - 0x78], rsi
mov qword [rsp + 0x78], rax
mov eax, esi
sub eax, dword [rdx]
neg eax
mov dword [rbp - 0x68], 0x32
sbb rax, rax
and rcx, rax
mov qword [rbp - 0x80], rcx
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14001377e
mov rax, qword [rsp + 0x40]
xor edx, edx
sub rax, qword [0x140099f88]
imul rax, rax, 0xf4240
div qword [0x140099f80]
add rax, qword [0x140099f90]
mov qword [rbp - 0x70], rax
lea rcx, str.REAPI_CACHE_CLIENT
call fcn.140056b98
test rax, rax
je 0x14001378b
mov qword [rsp + 0x1bf0], r12
lea rcx, [rbp + 0x230]
mov qword [rsp + 0x1be8], r14
mov rdx, rax
mov qword [rsp + 0x1be0], r15
call fcn.140040600
lea rdx, [rbp + 0x230]
lea rcx, [rbp + 0x30]
call fcn.140040970
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.14002de90
cmp dword [rbp + 0x1b40], esi
lea rcx, str.down
lea rax, [0x140089ca0]
mov r15d, 0x1388
cmove rax, rcx
lea r9, [rbp + 0x30]
lea rcx, [rbp - 0x30]
mov edx, r15d
mov qword [rsp + 0x28], rcx
lea r8, str._s__v__s__s00000000000000000000000000000002
lea rcx, [rbp + 0x750]
mov qword [rsp + 0x20], rax
call fcn.140003390
movsxd rdi, dword [rbx + 4]
lea rdx, [rbx + 4]
add rdi, rdx
mov r14d, eax
mov ecx, esi
mov eax, esi
sub ecx, dword [rdx]
movsxd rdx, dword [rbx + 4]
neg ecx
sbb rcx, rcx
sub eax, dword [rbx + 4]
and rdi, rcx
lea rcx, [rbx + 4]
add rdx, rcx
neg eax
sbb rax, rax
and rdx, rax
movsxd rax, dword [rbx]
lea r12, [rdx + rax*8]
cmp rdi, r12
je 0x1400133cd
nop
movsxd rdx, dword [rdi]
lea rcx, [rbp + 0x4c0]
add rdx, rdi
mov eax, esi
sub eax, dword [rdi]
neg eax
sbb rax, rax
and rdx, rax
call fcn.140040600
lea rdx, [rbp + 0x4c0]
mov rcx, r13
call fcn.14003b550
movsxd r9, dword [rdi]
lea rcx, [rbp + 0x750]
add r9, rdi
movsxd rax, r14d
mov ebx, r15d
lea r8, str.___s_
sub ebx, r14d
cmp dword [rdi], esi
movsxd rdx, ebx
cmove r9, rsi
add rcx, rax
call fcn.140003390
cmp eax, ebx
jge 0x14001340d
add r14d, eax
je 0x14001341e
add rdi, 8
cmp rdi, r12
jne 0x140013360
mov r9, qword [rbp + 0x1b60]
test r9, r9
je 0x140013427
movsxd rax, r14d
lea rcx, [rbp + 0x750]
mov ebx, r15d
lea r8, str.___s_
sub ebx, r14d
add rcx, rax
movsxd rdx, ebx
call fcn.140003390
cmp eax, ebx
jge 0x14001340d
add r14d, eax
jne 0x140013427
lea r9, str.Not_enough_space_in_commandline_buffer_for_all_output_files
jmp 0x14001347a
lea rdx, str.Building_CacheClient_string_exceeded_buffer_length
mov ecx, 1
call fcn.140013ae0
lea r9, str.Not_enough_space_in_commandline_buffer_for_all_output_files
jmp 0x14001347a
mov r9, qword [rbp + 0x1b58]
test r9, r9
je 0x1400134e1
movsxd rax, r14d
lea rcx, [rbp + 0x750]
sub r15d, r14d
lea r8, str.___s_
movsxd rdx, r15d
add rcx, rax
call fcn.140003390
cmp eax, r15d
jl 0x14001346e
lea rdx, str.Building_CacheClient_string_exceeded_buffer_length
mov ecx, 1
call fcn.140013ae0
jmp 0x140013473
add r14d, eax
jne 0x1400134e1
lea r9, str.Not_enough_space_in_commandline_buffer_for_ingredients_file
mov rax, qword [rbp + 0x1b50]
lea rdx, str.Failure_while_invoking_caching_client:__s_n_s_n
add rax, 0xc
mov ebx, 2
mov ecx, ebx
movsxd r8, dword [rax]
sub esi, dword [rax]
add r8, rax
neg esi
sbb rax, rax
and r8, rax
call fcn.14003bef0
mov r8d, dword [0x14009982c]
inc r8d
mov dword [0x14009982c], r8d
cmp r8d, 5
jbe 0x1400134cd
lea rdx, str.We_encountered__d_cache_client_failures._The_rest_of_the_build_will_not_attempt_any_more_cache_client_operations_n
mov ecx, ebx
call fcn.14003bef0
lea rcx, [rsp + 0x70]
call fcn.140001250
mov eax, 1
jmp 0x140013744
mov r15, qword [rbp + 0x1b50]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x58], r15
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140013771
mov rax, qword [rsp + 0x48]
lea r8, [rbp + 0x750]
sub rax, qword [0x140099f88]
xor edx, edx
mov rbx, qword [rbp + 0x1b38]
mov ecx, 8
imul rax, rax, 0xf4240
div qword [0x140099f80]
lea rdx, [0x140089d54]
add rax, qword [0x140099f90]
mov qword [rsp + 0x60], rax
mov rax, qword [rbx + 0x40]
mov qword [rsp + 0x68], rax
call fcn.140013ae0
mov ecx, dword [rbx + 0x38]
lea rdx, [0x1400130c0]
dec ecx
lea rax, [0x140013130]
cmp dword [rbp + 0x1b40], esi
cmove rax, rdx
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x38], rdx
xor r9d, r9d
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 0x750]
mov dword [rsp + 0x28], ecx
xor r8d, r8d
lea rcx, [rbp - 8]
mov qword [rsp + 0x20], rbx
call fcn.1400253d0
mov r10d, dword [rbp + 0x1b40]
movups xmm1, xmmword [rax + 0x10]
movups xmm2, xmmword [rax]
movq rdi, xmm1
mov qword [rsp + 0x50], rdi
movups xmm0, xmmword [rax + 0x20]
movd eax, xmm2
movups xmmword [rbp - 0x60], xmm2
mov dword [rbp + 0x1b48], eax
movups xmmword [rbp - 0x50], xmm1
movups xmmword [rbp - 0x40], xmm0
test r10d, r10d
jne 0x1400136af
mov r9, qword [rbp + 0x1b30]
mov eax, esi
sub eax, dword [r9 + 4]
lea rcx, [r9 + 4]
movsxd rdx, dword [rcx]
lea r8, [r9 + 4]
movsxd r14, dword [r8]
add rdx, rcx
neg eax
sbb rax, rax
add r14, r8
and rdx, rax
movsxd rax, dword [r9]
lea r12, [rdx + rax*8]
mov eax, esi
sub eax, dword [r8]
neg eax
sbb rax, rax
and r14, rax
cmp r14, r12
je 0x1400136a9
mov r15, qword [rbp + 0x1b28]
nop dword [rax]
nop word [rax + rax]
movsxd rbx, dword [r14]
lea rcx, [r15 + 0x10]
mov edi, dword [r14 + 4]
mov eax, esi
sub eax, dword [r14]
add rbx, r14
neg eax
sbb rax, rax
and rbx, rax
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov r8, rbx
lea rcx, [r13 + 0x18]
mov edx, edi
call fcn.140015f60
cmp eax, 0xffffffff
je 0x14001367d
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [r13 + 0x40]
lea rdx, [rax + rcx*8]
test rdx, rdx
je 0x14001367d
mov dword [rdx], 0x40000000
lea rcx, [r15 + 0x10]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
add r14, 8
cmp r14, r12
jne 0x140013630
mov rdi, qword [rsp + 0x50]
mov ebx, 3
mov r15, qword [rbp + 0x1b50]
mov eax, dword [rbp + 0x1b48]
jmp 0x1400136b9
mov eax, dword [rbp + 0x1b48]
mov ebx, 3
test r10d, r10d
jne 0x1400136c2
cmp eax, 2
jne 0x1400136c2
mov ebx, eax
jmp 0x14001371b
test eax, eax
je 0x14001371b
movsxd r8, dword [r15 + 0xc]
lea rax, [r15 + 0xc]
sub esi, dword [rax]
lea rdx, str.Failure_while_invoking_caching_client:__s_n_s_n
add r8, rax
mov ebx, 2
neg esi
mov r9, rdi
mov ecx, ebx
sbb rax, rax
and r8, rax
call fcn.14003bef0
mov r8d, dword [0x14009982c]
inc r8d
mov dword [0x14009982c], r8d
cmp r8d, 5
jbe 0x140013716
lea rdx, str.We_encountered__d_cache_client_failures._The_rest_of_the_build_will_not_attempt_any_more_cache_client_operations_n
mov ecx, ebx
call fcn.14003bef0
mov ebx, 1
test rdi, rdi
je 0x140013738
mov r8, qword [rdi - 8]
lea rcx, [rdi - 8]
mov rdx, qword [rbp - 0x38]
neg r8
lock add qword [rdx], r8
call fcn.140058710
lea rcx, [rsp + 0x70]
call fcn.140001250
mov eax, ebx
mov r14, qword [rsp + 0x1be8]
mov r12, qword [rsp + 0x1bf0]
mov r15, qword [rsp + 0x1be0]
mov rsi, qword [rsp + 0x1c20]
add rsp, 0x1bf8
pop r13
pop rdi
pop rbx
pop rbp
ret
lea rcx, str.QueryPerformanceCounter_failed
call fcn.140013a60
int3
lea rcx, str.QueryPerformanceCounter_failed
call fcn.140013a60
int3
lea rdx, str.REAPI_CACHE_CLIENT
lea rcx, str._s_not_setup
call fcn.1400139e0
int3