Function at 0x140002ab0
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.14000c240
sub rsp, rax
mov rax, qword [0x14004d040]
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 [0x140046f28]
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 0x140002b6d
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 0x140002b32
lea rcx, [0x140046bc4]
call fcn.14001a888
test rbx, rbx
je 0x140002cf1
call fcn.140001fe0
lea rcx, str.Connected_to_the_process..._n
call fcn.1400011a0
mov eax, dword [str.begin]
mov dword [rsp + 0x44], eax
movzx eax, word [0x140046bec]
mov word [rsp + 0x48], ax
cmp rbx, 0xffffffffffffffff
je 0x140002ce2
mov dword [rsp + 0x40], esi
lea rax, [rsp + 0x44]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], sil
jne 0x140002bc3
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 0x140002ce2
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.14000e030
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 0x140002caf
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
jne 0x140002c20
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, [0x140046af8]
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.14001bbe4
jmp 0x140002d05
cmp dword [rsp + 0x40], esi
jbe 0x140002c20
test edi, edi
je 0x140002ccc
lea rcx, [rsp + 0x70]
call fcn.1400026d0
jmp 0x140002c20
lea rdx, [rsp + 0x70]
lea rcx, str._s_n_n
call fcn.140001200
jmp 0x140002c20
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Error_writing_to_pipe__error_code:__i
jmp 0x140002cfe
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.14000ba30
lea r11, [rsp + 0x1080]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret