Function at 0x140017890
Capabilities:
Print debug messages

Disassembly:
push r15
push r14
lea r14, [0x1400295d0]
push r13
lea r13, str._DEBUG::_s::_d__PeekNamedPipe:_Available_anon_size__d_n
push r12
push rbp
lea rbp, str.JobCheckList
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rsi, qword [0x14002d650]
mov rax, qword [rsi]
mov rbx, qword [rax + 0x90a]
test rbx, rbx
je 0x140017b38
mov eax, dword [rbx + 8]
cmp ax, 2
je 0x1400178e9
cmp ax, 3
je 0x14001794e
dec ax
jne 0x140017b2f
jmp 0x140017910
cmp word [rbx + 0xa], 1
jne 0x140017b2f
mov rax, qword [rsi]
mov rcx, qword [rbx + 0x10]
lea rdx, [rsp + 0x4c]
mov dword [rsp + 0x4c], 0
call qword [rax + 0x3c8]
jmp 0x140017935
cmp word [rbx + 0xa], 1
jne 0x140017b2f
mov rax, qword [rsi]
mov rcx, qword [rbx + 0x10]
lea rdx, [rsp + 0x4c]
mov dword [rsp + 0x4c], 0
call qword [rax + 0x3d0]
cmp dword [rsp + 0x4c], 0x103
je 0x140017b2f
mov word [rbx + 0xa], 3
jmp 0x140017b2f
cmp word [rbx + 0xa], 1
jne 0x140017b2f
mov rax, qword [rsi]
mov rcx, qword [rbx + 0x10]
lea rdx, [rsp + 0x48]
mov dword [rsp + 0x48], 0
call qword [rax + 0x3c8]
cmp dword [rsp + 0x48], 0x103
je 0x140017a4d
lea r9, str.Tracking_process_is_dead.
mov r8d, 0x70
mov rdx, rbp
mov rcx, r14
call sym.printf.constprop.0_16
mov word [rbx + 0xa], 3
mov rcx, qword [rbx + 0x18]
mov edx, dword [rbx]
call sym.AnonPipesRead
mov edx, dword [rbx]
mov ecx, 0x15
call sym.PackageCreateWithRequestID
mov edx, 5
mov r12, rax
mov rcx, rax
call sym.PackageAddInt32
mov rcx, r12
call sym.PackageTransmit
mov rcx, qword [rbx + 0x10]
call sym.SysNtClose
mov rax, qword [rbx + 0x18]
mov qword [rbx + 0x10], 0
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400179fd
call sym.SysNtClose
mov rax, qword [rbx + 0x18]
mov qword [rax + 8], 0
mov rax, qword [rbx + 0x18]
mov rcx, qword [rax]
test rcx, rcx
je 0x140017a19
call sym.SysNtClose
mov rax, qword [rbx + 0x18]
mov qword [rax], 0
mov rdi, qword [rbx + 0x18]
test rdi, rdi
je 0x140017a38
mov ecx, 0x10
xor eax, eax
rep stosb byte [rdi], al
mov rax, qword [rsi]
mov rcx, qword [rbx + 0x18]
call qword [rax + 0x3b0]
mov qword [rbx + 0x18], 0
mov ecx, dword [rbx + 4]
call sym.JobRemove
jmp 0x140017b2f
mov rcx, qword [rbx + 0x18]
mov rax, qword [rsi]
lea rdi, [rsp + 0x4c]
xor r9d, r9d
mov qword [rsp + 0x28], 0
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rdi
mov rcx, qword [rcx]
mov dword [rsp + 0x4c], 0
call qword [rax + 0x360]
test eax, eax
je 0x140017b2f
mov r9d, dword [rsp + 0x4c]
mov rcx, r13
mov r8d, 0x96
mov rdx, rbp
call sym.DbgPrint
mov ecx, dword [rsp + 0x4c]
test ecx, ecx
je 0x140017b2f
mov rax, qword [rsi]
mov r15d, ecx
mov ecx, 0x40
mov rdx, r15
call qword [rax + 0x3a8]
mov rcx, qword [rbx + 0x18]
mov r8d, dword [rsp + 0x4c]
mov r9, rdi
mov r12, rax
mov rax, qword [rsi]
mov qword [rsp + 0x20], 0
mov rdx, r12
mov rcx, qword [rcx]
call qword [rax + 0x398]
test eax, eax
je 0x140017b14
mov edx, dword [rbx]
mov ecx, 0x5a
call sym.PackageCreateWithRequestID
mov r8d, dword [rsp + 0x4c]
mov rdx, r12
mov rcx, rax
mov qword [rsp + 0x38], rax
call sym.PackageAddBytes
mov rcx, qword [rsp + 0x38]
call sym.PackageTransmit
test r12, r12
je 0x140017b2f
mov rdi, r12
mov rcx, r15
xor eax, eax
rep stosb byte [rdi], al
mov rax, qword [rsi]
mov rcx, r12
call qword [rax + 0x3b0]
mov rbx, qword [rbx + 0x20]
jmp 0x1400178c6
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret