Function at 0x14000a510
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 [0x14003f930]
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 0x14000a799
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 0x14000a799
lea edi, [r15 + 0x68]
lea rcx, [rbp - 0x60]
xor edx, edx
mov r8d, edi
call fcn.140012f00
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, [0x14003ab04]
movzx eax, word [rdx + rax]
add rdx, 2
mov word [rbp + rdx + 0xe], ax
test ax, ax
jne 0x14000a61f
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 0x14000a64e
xor eax, eax
lea rdi, [rbp + 0x10]
mov rcx, r11
repne scasw ax, word [rdi]
xor ecx, ecx
lea rdx, [0x14003ab14]
movzx eax, word [rdx + rcx]
add rcx, 2
mov word [rdi + rcx - 4], ax
test ax, ax
jne 0x14000a676
mov edx, 1
jmp 0x14000a6df
xor eax, eax
lea rdi, [rbp + 0x10]
mov rcx, r11
repne scasw ax, word [rdi]
xor ecx, ecx
lea r9, [0x14003ab24]
movzx eax, word [r9 + rcx]
add rcx, 2
mov word [rdi + rcx - 4], ax
test ax, ax
jne 0x14000a6a4
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 0x14000a6c9
inc rdx
cmp rdx, rbx
jl 0x14000a68f
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.14000d780
mov edi, eax
test eax, eax
je 0x14000a737
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14000a737
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 0x14000a763
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
jmp 0x14000a7bf
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 0x14000a751
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.1400125c0
mov rbx, qword [rsp + 0x960]
add rsp, 0x920
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret