Function at 0x1400463d0
Capabilities:
Read file on windows
Read pipe

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x2e0]
sub rsp, 0x3e0
mov rax, qword [0x1400e5010]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
mov esi, r9d
mov r15, r8
mov r14, rdx
mov qword [rbp + 0x90], rdx
xorps xmm0, xmm0
movups xmmword [rbp + 0x98], xmm0
call fcn.140077020
lea r8, str.Windows::ProcessHelper::GetProcessOutput
mov rdx, qword [rax]
lea rcx, [rbp + 0x98]
call fcn.140026d50
nop
xor r12d, r12d
mov dword [rbp + 0x38], r12d
mov qword [rsp + 0x28], r12
lea rax, [rbp + 0x90]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x14004688d
mov eax, dword [rbp + 0x90]
test eax, eax
jne 0x14004651a
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0xb0]
call fcn.14007f9f0
call fcn.140077020
mov rcx, qword [rax]
mov qword [rbp + 0xb0], rcx
mov dword [rbp + 0xb8], r12d
lea rcx, [rbp + 0xc0]
call fcn.140018e90
nop
mov rcx, qword [rbp + 0xb0]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001dc6b.0]
cmp dword [rbp + 0xb8], eax
setl byte [rbp + 0x1b8]
jl 0x1400464e4
lea rdx, str.No_output_available_from_process
lea rcx, [rbp + 0xb0]
call fcn.140034660
mov byte [rbp + 0x1b8], 1
lea rcx, [rbp + 0xb0]
call fcn.140026c90
mov qword [r14], r12
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], 7
mov word [r14], r12w
xor r8d, r8d
lea rdx, [0x1400c7f94]
mov rcx, r14
call fcn.14000a230
jmp 0x140046857
cmp eax, esi
cmovb esi, eax
xorps xmm0, xmm0
mov ebx, esi
movdqu xmmword [rbp + 0x78], xmm0
mov qword [rbp + 0x88], r12
test esi, esi
je 0x140046561
lfence
mov ecx, ebx
call fcn.140010dd0
mov qword [rbp + 0x78], rax
lea rdi, [rax + rsi]
mov qword [rbp + 0x88], rdi
mov r8d, ebx
xor edx, edx
mov rcx, rax
call fcn.14007f9f0
mov qword [rbp + 0x80], rdi
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x38]
mov r8d, esi
mov rdx, qword [rbp + 0x78]
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400468d3
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x1c0]
call fcn.14007f9f0
call fcn.140077020
mov rcx, qword [rax]
mov qword [rbp + 0x1c0], rcx
mov dword [rbp + 0x1c8], r12d
lea rcx, [rbp + 0x1d0]
call fcn.140018e90
nop
mov rcx, qword [rbp + 0x1c0]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001dc6b.0]
cmp dword [rbp + 0x1c8], eax
setl byte [rbp + 0x2c8]
jl 0x14004660a
lea rdx, str.Read
lea rcx, [rbp + 0x1c0]
call fcn.140036fe0
lea rdx, [rbp + 0x38]
mov rcx, rax
call fcn.14002a2e0
mov rcx, rax
call fcn.140047080
mov byte [rbp + 0x2c8], 1
lea rcx, [rbp + 0x1c0]
call fcn.140026c90
xorps xmm0, xmm0
mov edi, dword [rbp + 0x38]
movdqu xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], r12
test rdi, rdi
je 0x140046699
add rdi, rdi
cmp rdi, 0x1000
jb 0x140046665
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x140046918
lfence
call fcn.140079488
mov rcx, rax
test rax, rax
je 0x140046963
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14004667a
test rdi, rdi
je 0x140046677
lfence
mov rcx, rdi
call fcn.140079488
jmp 0x14004667a
mov rax, r12
mov qword [rbp + 0x60], rax
lea r15, [rdi + rax]
mov qword [rbp + 0x70], r15
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.14007f9f0
mov qword [rbp + 0x68], r15
jmp 0x14004669d
mov r15, qword [rbp + 0x68]
mov rsi, qword [rbp + 0x60]
sub r15, rsi
sar r15, 1
mov rbx, qword [rbp + 0x80]
mov rdi, qword [rbp + 0x78]
sub rbx, rdi
call qword [sym.imp.KERNEL32.dll_GetACP]
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rsi
mov r9d, ebx
mov r8, rdi
mov edx, 1
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rsi, eax
test eax, eax
je 0x14004691e
mov qword [rbp + 0x40], r12
mov qword [rbp + 0x50], r12
mov qword [rbp + 0x58], 7
mov word [rbp + 0x40], r12w
mov rdi, qword [rbp + 0x68]
mov rbx, qword [rbp + 0x60]
mov rdx, rdi
sub rdx, rbx
sar rdx, 1
lea rcx, [rbp + 0x40]
call fcn.140046e60
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp + 0x40]
call fcn.140047260
nop
mov rcx, rsi
mov r8, qword [rbp + 0x50]
cmp rsi, r8
ja 0x140046747
lea rax, [rbp + 0x40]
cmp qword [rbp + 0x58], 8
cmovae rax, qword [rbp + 0x40]
mov qword [rbp + 0x50], rcx
mov word [rax + rsi*2], r12w
jmp 0x1400467a0
mov rdx, rcx
sub rdx, r8
mov rdi, qword [rbp + 0x58]
mov rax, rdi
sub rax, r8
cmp rdx, rax
ja 0x14004678b
mov qword [rbp + 0x50], rcx
lea r9, [rbp + 0x40]
cmp rdi, 8
cmovae r9, qword [rbp + 0x40]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x140046780
movzx eax, r12w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [rdx + r8]
mov word [r9 + rax*2], r12w
jmp 0x1400467a0
lfence
mov word [rsp + 0x20], r12w
mov r9, rdx
lea rcx, [rbp + 0x40]
call fcn.140043a40
movups xmm0, xmmword [rbp + 0x40]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rbp + 0x50]
movups xmmword [r14 + 0x10], xmm1
mov qword [rbp + 0x50], r12
mov qword [rbp + 0x58], 7
mov word [rbp + 0x40], r12w
mov rcx, qword [rbp + 0x60]
test rcx, rcx
je 0x14004680f
mov rax, qword [rbp + 0x70]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400467fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140046963
call fcn.140079480
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], r12
mov rcx, qword [rbp + 0x78]
test rcx, rcx
je 0x140046857
mov rdx, qword [rbp + 0x88]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046843
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140046887
call fcn.140079480
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x78], xmm0
mov qword [rbp + 0x88], r12
lea rcx, [rbp + 0x98]
call fcn.140026f60
mov rax, r14
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.140079460
add rsp, 0x3e0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140086b94
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x78]
call fcn.14002e230
nop
mov r8, rax
lea rdx, str.Failed_to_peek_named_pipe._Error:
lea rcx, [rbp - 0x68]
call fcn.14000f9b0
nop
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400055d0
lea rdx, [0x1400e26d0]
lea rcx, [rsp + 0x30]
call fcn.14007f918
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x48]
call fcn.14002e230
nop
mov r8, rax
lea rdx, str.Failed_to_read_file._Error:
lea rcx, [rbp - 0x28]
call fcn.14000f9b0
nop
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400055d0
lea rdx, [0x1400e26d0]
lea rcx, [rsp + 0x48]
call fcn.14007f918
nop
call fcn.140005510
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 8]
call fcn.14002e230
nop
mov r8, rax
lea rdx, str.Failed_to_convert_to_wide_char._Error:
lea rcx, [rbp + 0x18]
call fcn.14000f9b0
nop
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400055d0
lea rdx, [0x1400e26d0]
lea rcx, [rsp + 0x60]
call fcn.14007f918
nop
call fcn.140086b94
int3