Function at 0x1400a2156
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows

Disassembly:
jmp 0x1400b2860
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x1788
call fcn.1400a2a2a
sub rsp, rax
lea rbp, [rsp + 0x50]
mov rdi, rsp
mov ecx, 0x5e2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x17a8]
mov rax, qword [0x14023e230]
xor rax, rbp
mov qword [rbp + 0x1728], rax
mov qword [rbp + 0x1638], 0
mov dword [rbp + 8], 0x18
mov qword [rbp + 0x10], 0
mov dword [rbp + 0x18], 1
xor r9d, r9d
lea r8, [rbp + 8]
lea rdx, [rbp + 0x58]
lea rcx, [rbp + 0x38]
call qword [sym.imp.KERNEL32.DLL_CreatePipe]
test eax, eax
jne 0x1400b28e2
xor eax, eax
jmp 0x1400b2b5c
lea rdx, str.Cmd.exe__c
lea rcx, [rbp + 0x80]
call fcn.1400a2bec
mov rdx, qword [rbp + 0x1750]
lea rcx, [rbp + 0x80]
call fcn.1400a0dbf
mov dword [rbp + 0x4a0], 0x68
lea rcx, [rbp + 0x4a0]
call qword [sym.imp.KERNEL32.DLL_GetStartupInfoW]
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x500], rax
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x4f8], rax
xor eax, eax
mov word [rbp + 0x4e0], ax
mov dword [rbp + 0x4dc], 0x101
mov dword [rbp + 0x554], 0
call fcn.1400a3bb9
mov dword [rbp + 0x574], eax
mov qword [rbp + 0x598], 0
mov qword [rbp + 0x5b8], 0
lea rax, [rbp + 0x80]
mov qword [rbp + 0x5b8], rax
cmp qword [rbp + 0x5b8], 0
jne 0x1400b299b
mov qword [rbp + 0x1708], 0
jmp 0x1400b2a6e
mov rcx, qword [rbp + 0x5b8]
call fcn.1400a19c7
inc eax
mov dword [rbp + 0x554], eax
cmp dword [rbp + 0x554], 0x3fffffff
jle 0x1400b29cb
mov qword [rbp + 0x1710], 0
jmp 0x1400b2a60
movsxd rax, dword [rbp + 0x554]
shl rax, 1
add rax, 0x24
mov qword [rbp + 0x1718], rax
mov rax, qword [rbp + 0x1718]
add rax, 0xf
cmp rax, qword [rbp + 0x1718]
ja 0x1400b29fe
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1400a2a2a
sub rsp, rax
lea rax, [rsp + 0x50]
mov qword [rbp + 0x1720], rax
lea r8, [rbp + 0x1638]
mov rdx, qword [rbp + 0x1718]
mov rcx, qword [rbp + 0x1720]
call fcn.14009fbcc
add qword [rbp + 0x1720], 0x20
mov r9d, dword [rbp + 0x574]
mov r8d, dword [rbp + 0x554]
mov rdx, qword [rbp + 0x5b8]
mov rcx, qword [rbp + 0x1720]
call fcn.14009f8c5
mov qword [rbp + 0x1710], rax
mov rax, qword [rbp + 0x1710]
mov qword [rbp + 0x1708], rax
mov rax, qword [rbp + 0x1708]
mov qword [rbp + 0x5d8], rax
lea rax, [rbp + 0x528]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x4a0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x5d8]
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
jne 0x1400b2ae7
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
jmp 0x1400b2b5c
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov byte [rbp + 0x600], 0
lea rax, [rbp + 0x601]
mov rdi, rax
xor eax, eax
mov ecx, 0xfff
rep stosb byte [rdi], al
xor eax, eax
cmp eax, 1
je 0x1400b2b4d
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x1614]
mov r8d, 0xfff
lea rdx, [rbp + 0x600]
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x1400b2b3f
jmp 0x1400b2b4d
lea rcx, [rbp + 0x600]
call fcn.1400a2052
jmp 0x1400b2b0b
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x1401ef9a0]
mov r8, qword [rbp + 0x1638]
call fcn.1400a36f5
mov rax, rdi
mov rcx, qword [rbp + 0x1728]
xor rcx, rbp
call fcn.1400a38b7
lea rsp, [rbp + 0x1738]
pop rdi
pop rbp
ret