Function at 0x1400027b0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov eax, 0x1080
call fcn.14000b250
sub rsp, rax
mov rax, qword [0x140046040]
xor rax, rsp
mov qword [rsp + 0x1070], rax
mov edi, ecx
lea rcx, str.Waiting_for_the_pipe..._n
call fcn.1400011a0
movups xmm0, xmmword [str..pipe_behaveye]
movzx eax, word [0x1400409c8]
lea rcx, [rsp + 0x50]
xor esi, esi
mov word [rsp + 0x60], ax
mov qword [rsp + 0x30], rsi
xor r9d, r9d
mov dword [rsp + 0x28], esi
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000286d
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x28], esi
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140002832
lea rcx, [0x140040674]
call fcn.140019e2c
test rbx, rbx
je 0x1400029f1
call fcn.140001ff0
lea rcx, str.Connected_to_the_process..._n
call fcn.1400011a0
mov eax, dword [str.begin]
mov dword [rsp + 0x44], eax
movzx eax, word [0x14004069c]
mov word [rsp + 0x48], ax
cmp rbx, 0xffffffffffffffff
je 0x1400029e2
mov dword [rsp + 0x40], esi
lea rax, [rsp + 0x44]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], sil
jne 0x1400028c3
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rsi
lea rdx, [rsp + 0x44]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400029e2
lea rax, str.Began_monitoring__now_waiting_for_anything..._n_n
test edi, edi
lea rcx, str.Began_Monitoring__now_all_the_output_will_be_written_to_the_current_program_directory._n
cmove rcx, rax
call fcn.1400011a0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 0xa
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
nop
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x1000
call fcn.140032ee0
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], esi
mov r8d, 0xfff
mov qword [rsp + 0x20], rsi
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400029af
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
jne 0x140002920
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 4
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.Lost_Connection_with_the_process...
lea rcx, [0x1400405c8]
call fcn.1400011a0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 7
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
call fcn.14001b0bc
jmp 0x140002a05
cmp dword [rsp + 0x40], esi
jbe 0x140002920
test edi, edi
je 0x1400029cc
lea rcx, [rsp + 0x70]
call fcn.1400023d0
jmp 0x140002920
lea rdx, [rsp + 0x70]
lea rcx, str._s_n_n
call fcn.140001200
jmp 0x140002920
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Error_writing_to_pipe__error_code:__i
jmp 0x1400029fe
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Error_getting_pipe_handle__error_code:__i
mov edx, eax
call fcn.1400011a0
mov rcx, qword [rsp + 0x1070]
xor rcx, rsp
call fcn.14000aa50
lea r11, [rsp + 0x1080]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret