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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x1401960c0]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x70], rcx
xor r15d, r15d
mov dword [rsp + 0x54], r15d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], r15b
mov dword [rsp + 0x54], 1
mov dword [rbp - 0x60], Ordinal_26
mov dword [rbp - 0x50], 1
mov qword [rbp - 0x58], r15
xor r9d, r9d
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x140038007
xor r8d, r8d
mov edx, 1
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
mov dword [rbp - 0x40], 0x68
mov rax, qword [rbp - 0x80]
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], rax
psrldq xmm0, 0xc
movd eax, xmm0
or eax, 0x101
mov dword [rbp - 4], eax
mov word [rbp], r15w
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rcx, qword [rbp - 0x80]
test eax, eax
je 0x140037fd3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x30]
mov r8d, 0x80
lea rdx, [rbp + 0x40]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140037f8b
movzx ebx, byte [rsp + 0x50]
nop word [rax + rax]
mov eax, dword [rbp + 0x30]
test eax, eax
je 0x140037f8b
mov edi, eax
mov rcx, qword [r14 + 0x10]
mov rdx, qword [r14 + 0x18]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x140037f4d
lea rax, [rcx + rdi]
mov qword [r14 + 0x10], rax
mov rax, r14
cmp rdx, 0xf
jbe 0x140037f34
mov rax, qword [r14]
lea rsi, [rax + rcx]
mov r8, rdi
lea rdx, [rbp + 0x40]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + rdi], 0
jmp 0x140037f65
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x40]
movzx r8d, bl
mov rdx, rdi
mov rcx, r14
call fcn.14003d590
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x30]
mov r8d, 0x80
lea rdx, [rbp + 0x40]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140037f00
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, r14
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.14010eea0
mov rbx, qword [rsp + 0x210]
add rsp, 0x1d0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.CreateProcess___failed_
lea rcx, [rsp + 0x58]
call fcn.140036a10
lea rdx, [0x140191ef0]
lea rcx, [rsp + 0x58]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.CreatePipe___failed_
lea rcx, [rsp + 0x58]
call fcn.140036a10
lea rdx, [0x140191ef0]
lea rcx, [rsp + 0x58]
call sub.VCRUNTIME140.dll__CxxThrowException
int3