Function at 0x1400215b0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3ec8]
mov eax, 0x3fc8
call fcn.1400488d0
sub rsp, rax
mov r10, qword [rcx + 0xb8]
lea rax, [rcx + 0xd8]
movsxd rdx, dword [r10 + 0x60]
xor edi, edi
mov qword [rsp + 0x70], rax
mov rbx, rcx
lea rax, [rcx + 8]
mov qword [rbp - 0x80], rcx
movsxd rcx, dword [r10 + 0x10]
mov r12, r8
mov qword [rbp - 0x78], rax
lea r8, [r10 + 0x10]
add rcx, r8
mov dword [rsp + 0x78], edi
mov eax, edi
mov qword [rbp - 0x70], r10
sub eax, dword [r8]
mov r13, r9
neg eax
mov qword [rbp + 0x20], rdi
mov qword [rbp + 0x28], rdi
sbb rax, rax
mov qword [rbp + 0x30], rdi
and rcx, rax
mov word [rbp + 0x7c], di
mov rax, qword [rbx + 0xc0]
mov qword [rbp - 0x60], rax
lea rax, [rbx + 0x178]
mov qword [rbp + 0x38], rax
lea rax, [rbx + 0x1e8]
mov qword [rbp + 0x40], rax
lea rax, [rbx + 0x230]
mov qword [rbp + 0x48], rax
mov eax, dword [r10 + 0x5c]
mov dword [rbp + 0x50], eax
mov eax, edi
sub eax, dword [r10 + 0x60]
mov qword [rbp - 0x68], rcx
lea rcx, [r10 + 0x60]
add rdx, rcx
lea rcx, [r10 + 0x28]
neg eax
sbb rax, rax
and rdx, rax
mov eax, edi
sub eax, dword [rcx]
mov qword [rbp + 0x58], rdx
movsxd rdx, dword [rcx]
add rdx, rcx
lea rcx, str.CACHE_SERVER_ADDRESS
neg eax
sbb rax, rax
xor r15b, r15b
and rdx, rax
xor r14b, r14b
mov eax, dword [r10 + 0x24]
mov qword [rbp + 0x70], rdx
mov dword [rbp + 0x78], eax
call fcn.140052680
mov qword [rbp + 0x3f10], rax
test rax, rax
je 0x14002184c
lea rsi, str.REAPI_CACHE_CLIENT
mov rcx, rsi
call fcn.140052680
mov r13, rax
test rax, rax
je 0x140021bd3
lea rcx, str.BEE_CACHE_BEHAVIOUR
call fcn.140052680
mov rsi, rax
test rax, rax
je 0x140021bea
lea r12, str.readwrite
mov rdx, rax
mov rcx, r12
call fcn.140052be0
test eax, eax
jne 0x140021725
mov word [rbp + 0x7c], 0x101
jmp 0x140021809
mov rcx, rdi
lea rax, str.read
nop
movzx eax, byte [rax + rcx]
inc rcx
cmp al, byte [rsi + rcx - 1]
jne 0x14002175a
lea rax, str.read
cmp rcx, 5
jne 0x140021730
mov byte [rbp + 0x7c], 1
lea r12, str.read
jmp 0x140021809
mov rcx, rdi
lea rax, str.write
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rax + rcx]
inc rcx
cmp al, byte [rsi + rcx - 1]
jne 0x140021797
lea rax, str.write
cmp rcx, 6
jne 0x140021770
mov byte [rbp + 0x7d], 1
lea r12, str.write
jmp 0x140021809
mov rdx, rsi
lea rcx, str.disabled
call fcn.140052be0
test eax, eax
je 0x140021802
movzx eax, byte [rsi]
mov rcx, rsi
test al, al
je 0x140021802
cmp al, 0x52
jne 0x1400217c1
mov r15b, 1
mov byte [rbp + 0x7c], r15b
jmp 0x1400217d6
cmp al, 0x57
jne 0x1400217ce
mov r14b, 1
mov byte [rbp + 0x7d], r14b
jmp 0x1400217d6
cmp al, 0x5f
jne 0x140021c05
movzx eax, byte [rcx + 1]
inc rcx
test al, al
jne 0x1400217b4
test r15b, r15b
je 0x1400217f4
test r14b, r14b
jne 0x140021809
lea r12, str.read
jmp 0x140021809
test r14b, r14b
je 0x140021802
lea r12, str.write
jmp 0x140021809
lea r12, str.disabled
mov r9, qword [rbp + 0x3f10]
lea rax, str.REAPI_CACHE_CLIENT
mov qword [rsp + 0x30], r12
lea r8, str.CACHE_SERVER_ADDRESS
mov qword [rsp + 0x28], r13
lea rdx, str.Caching_enabled_with__s_s__s_s_and_mode:__s_s_s_n
mov ecx, 8
mov qword [rsp + 0x20], rax
call fcn.140013a20
mov r12, qword [rbp + 0x3f20]
mov r13, qword [rbp + 0x3f28]
mov rdx, qword [rbx + 0xb8]
lea rcx, [rbp - 0x58]
mov r8, rbx
call fcn.1400154e0
cmp byte [rbx + 0xdb], dil
je 0x14002186d
or dword [rsp + 0x78], 1
cmp byte [rbx + 0xe0], dil
je 0x1400218aa
lea rcx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rax, [rbp + 0x80]
lea rdx, [0x14007ef20]
mov qword [rbp + 0x68], rax
lea rcx, str.signing_debug.txt
call fcn.1400147a0
mov rsi, rax
mov qword [rbp + 0x60], rax
jmp 0x1400218b5
mov qword [rbp + 0x68], rdi
mov rsi, rdi
mov qword [rbp + 0x60], rdi
mov rcx, rbx
mov r14d, edi
call fcn.140020900
test al, al
jne 0x1400218e0
lea rdx, str.couldnt_set_up_list_of_targets_to_build
mov ecx, 1
call fcn.140013a20
mov r14d, 3
jmp 0x140021b9e
mov r9d, dword [rbp + 0x3f30]
lea rdx, [rsp + 0x70]
mov r8, r13
lea rcx, [rbp + 0xb0]
call fcn.140010ee0
mov rax, qword [rbx + 0x130]
mov qword [rbp + 0x210], rax
mov eax, dword [rbx + 0x138]
mov dword [rbp + 0x218], eax
cmp qword [rbx + 0x120], rdi
je 0x140021a79
lea rcx, [rbp + 0xb0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [rbp + 0x220]
mov r15, qword [rbx + 0x120]
movsxd rcx, dword [rax]
imul rsi, rcx, 0x94
add rsi, qword [rbp + 0x198]
test dword [rsi + 0x88], 0x2000
je 0x140021c15
mov rbx, qword [rbp + 0x180]
lea rax, str.PrintLeafInputSignature
xorps xmm0, xmm0
mov qword [rsp + 0x58], rbx
mov ecx, 0x100078
mov qword [rsp + 0x60], rax
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x68], rdi
call fcn.140053cb4
mov qword [rax], 0x100070
lock add qword [rbx], 0x100070
lea rcx, [rax + 8]
mov rax, qword [rsp + 0x48]
mov qword [rcx], rax
lea rax, [rcx + 0x6f]
and rax, 0xffffffffffffffc0
mov qword [rcx + 8], rdi
mov qword [rcx + 0x28], rax
mov qword [rcx + 0x10], 0x100000
mov qword [rcx + 0x18], rdi
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x1400219eb
mov rax, qword [rdx + 0x20]
add rax, qword [rdx + 0x10]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x48]
mov qword [rax + 8], rcx
jmp 0x1400219f4
mov qword [rcx + 0x20], rdi
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rcx
lea rdx, [0x14007ef20]
mov rcx, r15
call fcn.1400147a0
mov rbx, rax
test rax, rax
je 0x140021c2e
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
mov dword [rsp + 0x20], edi
mov rdx, rsi
lea rcx, [rbp + 0xb0]
call fcn.1400344f0
mov rcx, rbx
call fcn.140052714
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140021b9e
nop word [rax + rax]
mov rbx, qword [rcx + 8]
add rcx, 0xfffffffffffffff8
mov rax, qword [rsp + 0x58]
mov rdx, qword [rcx]
neg rdx
lock add qword [rax], rdx
call fcn.140053948
mov rcx, rbx
test rbx, rbx
jne 0x140021a50
jmp 0x140021b9e
cmp byte [rbx + 0xe3], dil
je 0x140021a91
cmp byte [rbx + 0xe2], dil
je 0x140021c3e
jmp 0x140021a9a
cmp byte [rbx + 0xe2], dil
je 0x140021ad2
mov qword [rsp + 0x28], rdi
lea r9, [rbp + 0xb0]
lea r8, [0x140045960]
mov dword [rsp + 0x20], edi
xor edx, edx
xor ecx, ecx
call fcn.1400594a4
test rax, rax
je 0x140021c4b
lea rdx, str.Canary__stdin_
mov rcx, rax
call fcn.140045e50
lea rdx, [rbx + 8]
lea rcx, [rbp + 0xb0]
call fcn.140011f90
mov r14d, eax
cmp byte [rbx + 0xe0], dil
je 0x140021b03
mov rcx, rsi
call fcn.140052714
lea rcx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
cmp r14d, 4
jne 0x140021b8f
cmp dword [rbp + 0x280], r14d
jne 0x140021b8f
mov rax, qword [rbp + 0x170]
movsxd rdx, dword [rax + 0x1c]
test rdx, rdx
jle 0x140021b8f
mov rcx, rdi
mov rax, rdi
nop dword [rax]
cmp qword [rbp + rax + 0x6f0], rdi
jne 0x140021b63
cmp qword [rbp + rax + 0x6f8], rdi
jne 0x140021b52
inc rcx
add rax, 0x70
cmp rcx, rdx
jl 0x140021b30
jmp 0x140021b8f
mov rax, qword [rbp + rax + 0x6f8]
lea r8, str.timestamp_change_of__s
jmp 0x140021b72
mov rax, qword [rbp + rax + 0x6f0]
lea r8, str.contents_change_of__s
movsxd r9, dword [rax]
mov edx, 0x280
sub edi, dword [rax]
add r9, rax
neg edi
mov rcx, r12
sbb rax, rax
and r9, rax
call fcn.1400031a0
mov rcx, qword [rbp + 0x3f18]
mov eax, dword [rbp + 0x284]
mov dword [rcx], eax
lea rcx, [rbp + 0xb0]
call fcn.1400114d0
lea rcx, [rbp - 0x58]
call fcn.140015ec0
lea rcx, [rbp - 0x28]
call fcn.140015ec0
mov eax, r14d
add rsp, 0x3fc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r8, rsi
lea rdx, str.CACHE_SERVER_ADDRESS
lea rcx, str._s_is_set__but__s_is_not.
call fcn.140013920
int3
lea r8, str.BEE_CACHE_BEHAVIOUR
lea rdx, str.CACHE_SERVER_ADDRESS
lea rcx, str._s_is_set__but__s_is_not.
call fcn.140013920
int3
mov rdx, rsi
lea rcx, str.The_cache_behaviour_string_provided:__s_is_not_valid._A_character_or_string_that_is_not_read__write__readwrite_or_disabled.
call fcn.140013920
int3
lea rcx, [rsi + 4]
call fcn.1400030d0
mov rdx, rax
lea rcx, str.Requested_node__s_is_not_cacheable_by_leaf_inputs_n
call fcn.140013920
int3
mov rdx, r15
lea rcx, str.Unable_to_open__s_for_writing_of_signature_file_n
call fcn.140013920
int3
lea rcx, str.Using_deferred_dag_verification_requires_standard_input_canary_to_be_set_as_well
call fcn.140013920
int3
lea rcx, str._beginthreadex___failed
call fcn.1400139a0
int3