Function at 0x14000a6d8
Capabilities:
Create pipe
Create two anonymous pipes
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x820]
sub rsp, 0x920
mov rax, qword [0x140040b80]
xor rax, rsp
mov qword [rbp + 0x810], rax
mov rsi, qword [rbp + 0x880]
xor eax, eax
mov r12, r8
mov r14d, dword [rsi]
movsxd rbx, edx
mov r13, r9
xor r15d, r15d
mov edi, 0x200
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
mov r9d, edi
mov dword [rsi], r15d
mov dword [rsp + 0x70], 0x18
mov qword [rsp + 0x78], r15
mov dword [rbp - 0x80], 1
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x14000a961
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x58]
mov r9d, edi
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x14000a961
lea edi, [r15 + 0x68]
lea rcx, [rbp - 0x60]
xor edx, edx
mov r8d, edi
call fcn.1400139f0
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
mov qword [rbp - 0x10], rax
mov rax, qword [rsp + 0x68]
lea edx, [rdi - 0x67]
xor r8d, r8d
mov dword [rbp - 0x60], edi
mov dword [rbp - 0x24], 0x100
mov qword [rbp - 8], rax
mov qword [rbp], rax
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov rcx, qword [rsp + 0x58]
lea edx, [rdi - 0x67]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov edx, r15d
lea rax, [0x14003bc54]
movzx eax, word [rdx + rax]
add rdx, 2
mov word [rbp + rdx + 0xe], ax
test ax, ax
jne 0x14000a7e7
mov r10, qword [r12]
or r11, 0xffffffffffffffff
xor eax, eax
lea rdi, [rbp + 0x10]
mov rcx, r11
repne scasw ax, word [rdi]
xor ecx, ecx
movzx eax, word [r10 + rcx]
add rcx, 2
mov word [rdi + rcx - 4], ax
test ax, ax
jne 0x14000a816
xor eax, eax
lea rdi, [rbp + 0x10]
mov rcx, r11
repne scasw ax, word [rdi]
xor ecx, ecx
lea rdx, [0x14003bc64]
movzx eax, word [rdx + rcx]
add rcx, 2
mov word [rdi + rcx - 4], ax
test ax, ax
jne 0x14000a83e
mov edx, 1
jmp 0x14000a8a7
xor eax, eax
lea rdi, [rbp + 0x10]
mov rcx, r11
repne scasw ax, word [rdi]
xor ecx, ecx
lea r9, [0x14003bc74]
movzx eax, word [r9 + rcx]
add rcx, 2
mov word [rdi + rcx - 4], ax
test ax, ax
jne 0x14000a86c
mov r9, qword [r12 + rdx*8]
xor eax, eax
lea rdi, [rbp + 0x10]
mov rcx, r11
repne scasw ax, word [rdi]
xor ecx, ecx
movzx eax, word [r9 + rcx]
add rcx, 2
mov word [rdi + rcx - 4], ax
test ax, ax
jne 0x14000a891
inc rdx
cmp rdx, rbx
jl 0x14000a857
lea rax, [rbp - 0x78]
lea rdx, [rbp + 0x10]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov rcx, r10
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 1
call fcn.14000e0b8
mov edi, eax
test eax, eax
je 0x14000a8ff
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14000a8ff
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x14000a92b
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
jmp 0x14000a987
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
mov r9, rsi
mov r8d, r14d
mov rdx, r13
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
movsxd rdx, dword [rsi]
mov byte [rdx + r13], r15b
jmp 0x14000a919
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x810]
xor rcx, rsp
call fcn.1400130b0
mov rbx, qword [rsp + 0x960]
add rsp, 0x920
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret