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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x1401fa010]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
xor esi, esi
nop dword [rax]
mov ecx, dword [rbx + 0x10]
test ecx, ecx
je 0x14000e343
sub ecx, 1
je 0x14000e33a
cmp ecx, 1
jne 0x14000e359
lea r8, str.ServeConnection:Waiting_for_next_connection__PipeState::kConnecting__n
jmp 0x14000e34a
lea r8, str.ServeConnection:Waiting_for_next_connection__PipeState::kWriting__n
jmp 0x14000e34a
lea r8, str.ServeConnection:Waiting_for_next_connection__PipeState::kReading__n
mov edx, 0x200
lea rcx, [rsp + 0x40]
call fcn.140008bb0
mov rcx, qword [rbx + 0x50]
mov edx, 0xffffffff
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
cmp dword [rbx + 0xc], esi
je 0x14000e37d
mov edx, eax
mov rcx, rbx
call fcn.14000d0b0
mov ecx, dword [rbx + 0x10]
test ecx, ecx
je 0x14000e3bd
cmp ecx, 1
jne 0x14000e320
mov rcx, rbx
call fcn.14000de30
test al, al
je 0x14000e3a0
cmp dword [rbx + 0x60], esi
je 0x14000e320
mov qword [rbx + 0xc], rsi
jmp 0x14000e320
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x14000e320
mov dword [rbx + 0xc], 1
jmp 0x14000e320
mov rdx, qword [rbx + 0x28]
lea rax, [rbx + 0x38]
mov rcx, qword [rbx + 0x58]
lea r9, [rbx + 8]
mov r8d, 0x100000
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000e3fa
cmp dword [rbx + 8], esi
jbe 0x14000e320
mov dword [rbx + 0xc], esi
mov dword [rbx + 0x10], 1
jmp 0x14000e320
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x14000e413
mov dword [rbx + 0xc], 1
jmp 0x14000e320
cmp eax, 0x6d
jne 0x14000e51a
mov rcx, qword [rbx + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r8, str.ServeConnection:Pipe_is_broken._Will_atempt_to_create_a_new_one._n
mov qword [rbx + 0x58], 0xffffffffffffffff
mov edx, 0x200
lea rcx, [rsp + 0x40]
call fcn.140008bb0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [rsp + 0x34], esi
cmp rax, 0xffffffffffffffff
je 0x14000e49b
lea rcx, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rcx + r8], sil
jne 0x14000e470
lea r9, [rsp + 0x34]
mov qword [rsp + 0x20], rsi
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000e49b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rax, qword [rbx]
mov dl, 1
mov rcx, rbx
call qword [rax + 8]
test al, al
jne 0x14000e320
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [rsp + 0x30], esi
cmp rax, 0xffffffffffffffff
je 0x14000e4f5
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rsi
mov r8d, 0x25
lea rdx, str.Could_not_resuscitate_pipe._Bailing._n
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000e4f5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140183d70
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov r9d, eax
lea r8, str.ServeConnection:Error__d_on_read_attempt_n
mov edx, 0x200
lea rcx, [rsp + 0x40]
call fcn.140008bb0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [rsp + 0x30], esi
cmp rax, 0xffffffffffffffff
je 0x14000e320
lea rcx, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rcx + r8], sil
jne 0x14000e560
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rsi
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000e320
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000e320