Function at 0x140002750
Capabilities:
Read pipe
Write pipe

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rbx, rdx
mov rdi, rcx
xor ebp, ebp
mov dword [rsp + 0x80], ebp
mov rcx, rdx
call fcn.1400138b0
mov edx, eax
test eax, eax
je 0x1400028cc
sub edx, 1
je 0x1400027c2
cmp edx, 1
je 0x1400027ab
mov edx, eax
lea rcx, str.Unrecognized_message__id:_d
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
jmp fcn.1400146a0
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
jmp 0x1400033e0
mov rcx, rbx
call fcn.1400138b0
mov esi, eax
mov rcx, rbx
call fcn.1400138b0
mov rcx, qword [rbx + 8]
sub rcx, qword [rbx]
cmp qword [rbx + 0x18], rcx
jne 0x1400028fd
mov r8d, eax
mov edx, esi
mov rcx, rdi
call fcn.140003c50
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rbp
mov dword [rsp + 0x80], 1
mov qword [rsp + 0x88], rbp
xor edx, edx
lea r9, [rsp + 0x90]
lea r8, [rsp + 0x88]
lea rcx, [rsp + 0x38]
call fcn.140013ec0
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
sub rsi, rbx
mov qword [rsp + 0x88], rsi
cmp rsi, 8
jb 0x1400028e4
mov r8d, 8
lea rdx, [rsp + 0x88]
mov rcx, rbx
call fcn.14001b450
mov rcx, qword [rdi + 0x80]
test byte [rcx + 0x48], 2
je 0x14000293a
add rcx, 0x78
mov r8, rsi
mov rdx, rbx
call fcn.140004db0
nop
test rbx, rbx
je 0x1400028d7
mov rdx, qword [rsp + 0x48]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400028b8
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002953
mov rcx, rbx
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
jmp fcn.140017530
mov rdx, rbx
mov rcx, rdi
call fcn.140002960
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
lea r8, str.pos___m_buf.size____len___m_buf.size_____pos
mov edx, 0x2e
lea rcx, str.d:mouxxuk8reloaded_release_app_node_modules_node_ptydepswinpty_src_shared_buffer.cc
call fcn.140017100
nop
lea rdx, str.m_off__m_buf.size__
lea rcx, str.decode_error:__s
call fcn.1400146a0
mov qword [rsp + 0x80], rbp
lea rcx, [rsp + 0x80]
call fcn.140013890
lea rdx, [0x140040320]
lea rcx, [rsp + 0x80]
call fcn.1400194b0
nop
lea r8, str.m_openMode__OpenMode::Writing
mov edx, 0x129
lea rcx, str.d:mouxxuk8reloaded_release_app_node_modules_node_ptydepswinpty_src_agent_namedpipe.cc
call fcn.140017100
nop
call fcn.14001bb5c
int3
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x90], rbx
mov r14, rcx
mov rax, qword [rdx + 8]
sub rax, qword [rdx]
cmp qword [rdx + 0x18], rax
jne 0x140003634
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], 0
mov ecx, 0x100
call fcn.1400174f4
mov qword [rbp - 0x20], rax
lea rbx, [rax + 0x100]
mov qword [rbp - 0x10], rbx
xor edx, edx
mov r8d, 0x100
mov rcx, rax
call fcn.140019600
mov qword [rbp - 0x18], rbx
mov rcx, qword [rbp - 0x20]
sub rbx, rcx
sar rbx, 2
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_GetConsoleProcessList]
mov edi, eax
mov rcx, qword [rbp - 0x18]
sub rcx, qword [rbp - 0x20]
sar rcx, 2
mov edx, eax
cmp rcx, rdi
jae 0x140003495
lea rcx, [rbp - 0x20]
call fcn.140005120
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
sub rdx, rcx
sar rdx, 2
call qword [sym.imp.KERNEL32.dll_GetConsoleProcessList]
mov edi, eax
test edi, edi
jne 0x1400034a5
lea rcx, str.GetConsoleProcessList_failed
call fcn.1400146a0
lea rcx, [rbp - 0x38]
call fcn.140001500
nop
mov dword [rbp + 0x30], edi
mov byte [rbp + 0x28], 0
lea r9, [rbp + 0x29]
lea r8, [rbp + 0x28]
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x38]
call fcn.140013ec0
lea r9, [rbp + 0x34]
lea r8, [rbp + 0x30]
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x38]
call fcn.140013ec0
test edi, edi
je 0x140003532
xor ebx, ebx
nop word [rax + rax]
mov rax, qword [rbp - 0x20]
mov ecx, dword [rbx + rax]
mov dword [rbp + 0x30], ecx
mov byte [rbp + 0x28], 0
lea r9, [rbp + 0x29]
lea r8, [rbp + 0x28]
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x38]
call fcn.140013ec0
lea r9, [rbp + 0x34]
lea r8, [rbp + 0x30]
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x38]
call fcn.140013ec0
lea rbx, [rbx + 4]
sub rdi, 1
jne 0x1400034f0
mov rax, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x38]
sub rax, rcx
mov qword [rbp + 0x28], rax
cmp rax, 8
jb 0x14000361b
mov r8d, 8
lea rdx, [rbp + 0x28]
call fcn.14001b450
mov rcx, qword [r14 + 0x80]
mov r8, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x38]
sub r8, rdx
test byte [rcx + 0x48], 2
je 0x140003669
add rcx, 0x78
call fcn.140004db0
nop
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1400035ca
mov rdx, qword [rbp - 0x28]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400035b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003682
call fcn.140017530
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], 0
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140003604
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400035ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003615
call fcn.140017530
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop r14
pop rdi
pop rbp
ret
call fcn.14001bb5c
nop
lea r8, str.pos___m_buf.size____len___m_buf.size_____pos
mov edx, 0x2e
lea rcx, str.d:mouxxuk8reloaded_release_app_node_modules_node_ptydepswinpty_src_shared_buffer.cc
call fcn.140017100
nop
lea rdx, str.m_off__m_buf.size__
lea rcx, str.decode_error:__s
call fcn.1400146a0
mov qword [rbp + 0x28], 0
lea rcx, [rbp + 0x28]
call fcn.140013890
lea rdx, [0x140040320]
lea rcx, [rbp + 0x28]
call fcn.1400194b0
nop
lea r8, str.m_openMode__OpenMode::Writing
mov edx, 0x129
lea rcx, str.d:mouxxuk8reloaded_release_app_node_modules_node_ptydepswinpty_src_agent_namedpipe.cc
call fcn.140017100
nop
call fcn.14001bb5c
int3