Function at 0x14001a6b0
Capabilities:
Print debug messages

Disassembly:
push rbp
mov rbp, rsp
push r15
mov r15, rdx
push r14
lea r14, str.PivotAdd
push r13
mov rdx, r14
push r12
push rdi
push rsi
push rbx
mov rbx, r8
mov r8d, 0x1d
and rsp, 0xfffffffffffffff0
sub rsp, 0x50
mov rsi, qword [rcx]
mov rax, qword [rcx + 8]
lea rcx, str._DEBUG::_s::_d__Connecting_to_named_pipe:__ls_n
mov r9, rsi
mov qword [rsp + 0x48], rax
call sym.DbgPrint
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov r12, qword [0x14002d650]
mov rcx, rsi
mov rax, qword [r12]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 3
call qword [rax + 0x330]
mov r13, rax
inc rax
mov rax, qword [r12]
jne 0x14001a763
mov rax, qword [rax + 0x8c2]
mov r8d, 0x23
mov rdx, r14
xor edi, edi
lea rcx, str._DEBUG::_s::_d__CreateFileW:_Failed__d__n
mov r9d, dword [rax + 0x68]
call sym.DbgPrint
jmp 0x14001a929
mov rdx, qword [rax + 0x8c2]
cmp dword [rdx + 0x68], 0xe7
jne 0x14001a78b
mov edx, 0x1388
mov rcx, rsi
call qword [rax + 0x358]
mov edi, eax
test eax, eax
je 0x14001a929
mov rax, qword [r12]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
xor r8d, r8d
mov qword [rsp + 0x28], 0
xor edx, edx
mov rcx, r13
call qword [rax + 0x360]
mov edi, eax
test eax, eax
je 0x14001a8e6
mov r9d, dword [rbx]
test r9d, r9d
je 0x14001a78b
mov r8d, 0x36
mov rdx, r14
lea rcx, str._DEBUG::_s::_d__BytesSize____d_n
call sym.DbgPrint
mov rax, qword [r12]
mov edx, dword [rbx]
mov ecx, 0x40
call qword [rax + 0x3a8]
mov ecx, dword [rbx]
mov qword [r15], rax
mov rdi, rax
xor eax, eax
rep stosb byte [rdi], al
mov rax, qword [r12]
mov rdx, qword [r15]
mov r9, rbx
mov rcx, r13
mov qword [rsp + 0x20], 0
mov r8d, dword [rbx]
call qword [rax + 0x398]
mov edi, eax
test eax, eax
je 0x14001a8c5
mov r9d, dword [rbx]
mov rdx, r14
mov r8d, 0x3d
lea rcx, str._DEBUG::_s::_d__BytesSize_Read____d_n
call sym.DbgPrint
mov eax, dword [rbx]
mov r9, qword [r15]
mov r8d, 0x52
mov rdx, r14
lea rcx, str._DEBUG::_s::_d__Pivot_::_Output__p__Size__d__n
mov dword [rsp + 0x20], eax
call sym.DbgPrint
mov rax, qword [r12]
mov edx, 0x28
mov ecx, 0x40
call qword [rax + 0x3a8]
mov edx, dword [rbx]
mov qword [rax + 0x18], r13
mov r14, rax
mov qword [rax + 0x20], 0
mov rcx, qword [r15]
call sym.PivotParseDemonID
mov r13d, dword [rsp + 0x48]
mov ecx, 0x40
mov dword [r14], eax
mov rax, qword [r12]
mov rdx, r13
call qword [rax + 0x3a8]
mov ebx, dword [rsp + 0x48]
mov rcx, r13
mov qword [r14 + 8], rax
mov rdi, rax
mov dword [r14 + 0x10], ebx
rep movsb byte [rdi], byte [rsi]
mov rdx, qword [r12]
mov rax, qword [rdx + 0x902]
test rax, rax
jne 0x14001a914
mov qword [rdx + 0x902], r14
jmp 0x14001a924
mov rax, qword [r12]
mov r8d, 0x42
mov rdx, r14
lea rcx, str._DEBUG::_s::_d__ReadFile:_Failed__d__n
mov rax, qword [rax + 0x8c2]
mov r9d, dword [rax + 0x68]
jmp 0x14001a905
mov rax, qword [r12]
mov r8d, 0x4a
mov rdx, r14
lea rcx, str._DEBUG::_s::_d__PeekNamedPipe:_Failed__d__n
mov rax, qword [rax + 0x8c2]
mov r9d, dword [rax + 0x68]
call sym.DbgPrint
mov rcx, r13
call sym.SysNtClose
jmp 0x14001a929
mov rdx, rax
mov rax, qword [rax + 0x20]
test rax, rax
jne 0x14001a914
mov qword [rdx + 0x20], r14
mov edi, 1
lea rsp, [rbp - 0x38]
mov eax, edi
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret