Function at 0x140014750
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 rsi
push rdi
push r13
lea rbp, [rsp - 0x1af8]
mov eax, 0x1bf8
call fcn.14004e0f0
sub rsp, rax
cmp dword [0x14009b81c], 5
mov rdi, r8
mov r13, rdx
mov rsi, rcx
jbe 0x14001479a
xor eax, eax
add rsp, 0x1bf8
pop r13
pop rdi
pop rsi
pop rbp
ret
movsxd rdx, dword [r8 + 4]
lea rcx, [r8 + 4]
add rdx, rcx
mov qword [rsp + 0x1c20], rbx
xor ebx, ebx
mov eax, ebx
sub eax, dword [rcx]
neg eax
sbb rax, rax
and rdx, rax
cmp byte [0x14009bbec], bl
je 0x140014832
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], rbx
mov qword [rsp + 0x78], rax
mov eax, ebx
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 0x140014d3e
mov rax, qword [rsp + 0x40]
xor edx, edx
sub rax, qword [0x14009c1f8]
imul rax, rax, 0xf4240
div qword [0x14009c1f0]
add rax, qword [0x14009c200]
mov qword [rbp - 0x70], rax
lea rcx, str.REAPI_CACHE_CLIENT
call fcn.140058924
test rax, rax
je 0x140014d4b
mov qword [rsp + 0x1bf0], r12
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x1be8], r14
mov r8d, 1
mov rdx, rax
mov qword [rsp + 0x1be0], r15
call fcn.140041d60
movzx r9d, word [rbp + 0x36]
lea rdx, [rbp + 0x30]
dec r9d
lea rcx, [rbp + 0x2c0]
xor r8d, r8d
call fcn.140042120
mov rdx, rsi
lea rcx, [rbp - 0x30]
call fcn.14002f5c0
cmp dword [rbp + 0x1b40], ebx
lea rcx, str.down
lea rax, [0x14008bcd0]
mov r15d, 0x1388
cmove rax, rcx
lea r9, [rbp + 0x2c0]
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.140003900
movsxd rsi, dword [rdi + 4]
lea rdx, [rdi + 4]
add rsi, rdx
mov r14d, eax
mov ecx, ebx
mov eax, ebx
sub ecx, dword [rdx]
movsxd rdx, dword [rdi + 4]
neg ecx
sbb rcx, rcx
sub eax, dword [rdi + 4]
and rsi, rcx
lea rcx, [rdi + 4]
add rdx, rcx
neg eax
sbb rax, rax
and rdx, rax
movsxd rax, dword [rdi]
lea r12, [rdx + rax*8]
cmp rsi, r12
je 0x140014993
nop
movsxd rdx, dword [rsi]
lea rcx, [rbp + 0x4c0]
add rdx, rsi
mov eax, ebx
sub eax, dword [rsi]
mov r8d, 1
neg eax
sbb rax, rax
and rdx, rax
call fcn.140041d60
lea rdx, [rbp + 0x4c0]
mov rcx, r13
call fcn.14003ce30
movsxd r9, dword [rsi]
lea rcx, [rbp + 0x750]
add r9, rsi
movsxd rax, r14d
mov edi, r15d
lea r8, str.___s_
sub edi, r14d
cmp dword [rsi], ebx
movsxd rdx, edi
cmove r9, rbx
add rcx, rax
call fcn.140003900
cmp eax, edi
jge 0x1400149d3
add r14d, eax
je 0x1400149e4
add rsi, 8
cmp rsi, r12
jne 0x140014920
mov r9, qword [rbp + 0x1b60]
test r9, r9
je 0x1400149ed
movsxd rax, r14d
lea rcx, [rbp + 0x750]
mov edi, r15d
lea r8, str.___s_
sub edi, r14d
add rcx, rax
movsxd rdx, edi
call fcn.140003900
cmp eax, edi
jge 0x1400149d3
add r14d, eax
jne 0x1400149ed
lea r9, str.Not_enough_space_in_commandline_buffer_for_all_output_files
jmp 0x140014a40
lea rdx, str.Building_CacheClient_string_exceeded_buffer_length
mov ecx, 1
call fcn.140014f80
lea r9, str.Not_enough_space_in_commandline_buffer_for_all_output_files
jmp 0x140014a40
mov r9, qword [rbp + 0x1b58]
test r9, r9
je 0x140014aa7
movsxd rax, r14d
lea rcx, [rbp + 0x750]
sub r15d, r14d
lea r8, str.___s_
movsxd rdx, r15d
add rcx, rax
call fcn.140003900
cmp eax, r15d
jl 0x140014a34
lea rdx, str.Building_CacheClient_string_exceeded_buffer_length
mov ecx, 1
call fcn.140014f80
jmp 0x140014a39
add r14d, eax
jne 0x140014aa7
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 edi, 2
mov ecx, edi
movsxd r8, dword [rax]
sub ebx, dword [rax]
add r8, rax
neg ebx
sbb rax, rax
and r8, rax
call fcn.14003d840
mov r8d, dword [0x14009b81c]
inc r8d
mov dword [0x14009b81c], r8d
cmp r8d, 5
jbe 0x140014a93
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, edi
call fcn.14003d840
lea rcx, [rsp + 0x70]
call fcn.140001370
mov eax, 1
jmp 0x140014d04
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 0x140014d31
mov rax, qword [rsp + 0x48]
lea r8, [rbp + 0x750]
sub rax, qword [0x14009c1f8]
xor edx, edx
mov rdi, qword [rbp + 0x1b38]
mov ecx, 8
imul rax, rax, 0xf4240
div qword [0x14009c1f0]
lea rdx, [0x14008bd84]
add rax, qword [0x14009c200]
mov qword [rsp + 0x60], rax
mov rax, qword [rdi + 0x40]
mov qword [rsp + 0x68], rax
call fcn.140014f80
mov ecx, dword [rdi + 0x38]
lea rdx, [0x140014670]
dec ecx
lea rax, [0x1400146e0]
cmp dword [rbp + 0x1b40], ebx
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], rdi
call fcn.140026df0
mov r10d, dword [rbp + 0x1b40]
movups xmm1, xmmword [rax + 0x10]
movups xmm2, xmmword [rax]
movq rsi, xmm1
mov qword [rsp + 0x50], rsi
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 0x140014c6f
mov r9, qword [rbp + 0x1b30]
mov eax, ebx
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, ebx
sub eax, dword [r8]
neg eax
sbb rax, rax
and r14, rax
cmp r14, r12
je 0x140014c69
mov r15, qword [rbp + 0x1b28]
nop dword [rax]
movsxd rdi, dword [r14]
lea rcx, [r15 + 0x10]
mov esi, dword [r14 + 4]
mov eax, ebx
sub eax, dword [r14]
add rdi, r14
neg eax
sbb rax, rax
and rdi, rax
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov r8, rdi
lea rcx, [r13 + 0x18]
mov edx, esi
call fcn.140017350
cmp eax, 0xffffffff
je 0x140014c3d
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [r13 + 0x40]
lea rdx, [rax + rcx*8]
test rdx, rdx
je 0x140014c3d
mov dword [rdx], 0x40000000
lea rcx, [r15 + 0x10]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
add r14, 8
cmp r14, r12
jne 0x140014bf0
mov rsi, qword [rsp + 0x50]
mov edi, 3
mov r15, qword [rbp + 0x1b50]
mov eax, dword [rbp + 0x1b48]
jmp 0x140014c79
mov eax, dword [rbp + 0x1b48]
mov edi, 3
test r10d, r10d
jne 0x140014c82
cmp eax, 2
jne 0x140014c82
mov edi, eax
jmp 0x140014cdb
test eax, eax
je 0x140014cdb
movsxd r8, dword [r15 + 0xc]
lea rax, [r15 + 0xc]
sub ebx, dword [rax]
lea rdx, str.Failure_while_invoking_caching_client:__s_n_s_n
add r8, rax
mov edi, 2
neg ebx
mov r9, rsi
mov ecx, edi
sbb rax, rax
and r8, rax
call fcn.14003d840
mov r8d, dword [0x14009b81c]
inc r8d
mov dword [0x14009b81c], r8d
cmp r8d, 5
jbe 0x140014cd6
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, edi
call fcn.14003d840
mov edi, 1
test rsi, rsi
je 0x140014cf8
mov r8, qword [rsi - 8]
lea rcx, [rsi - 8]
mov rdx, qword [rbp - 0x38]
neg r8
lock add qword [rdx], r8
call fcn.14005a480
lea rcx, [rsp + 0x70]
call fcn.140001370
mov eax, edi
mov r14, qword [rsp + 0x1be8]
mov r12, qword [rsp + 0x1bf0]
mov r15, qword [rsp + 0x1be0]
mov rbx, qword [rsp + 0x1c20]
add rsp, 0x1bf8
pop r13
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.QueryPerformanceCounter_failed
call fcn.140014f00
int3
lea rcx, str.QueryPerformanceCounter_failed
call fcn.140014f00
int3
lea rdx, str.REAPI_CACHE_CLIENT
lea rcx, str._s_not_setup
call fcn.140014e80
int3