Function at 0x14004be40
Capabilities:
Create pipe
Create process on windows
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x1400b9060]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x70], rcx
xor ebx, ebx
mov dword [rsp + 0x50], ebx
mov qword [rcx], rbx
mov qword [rcx + 0x10], rbx
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], bl
mov dword [rsp + 0x50], 1
mov dword [rbp - 0x78], Ordinal_30
mov dword [rbp - 0x68], 1
mov qword [rbp - 0x70], rbx
xor r9d, r9d
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x14004bf66
call fcn.14004c1f0
mov r9, rax
cmp byte [rax + 9], bl
jne 0x14004c1a2
nop dword [rax]
mov edx, dword [r9 + 4]
mov r8d, dword [r9]
lea ecx, [rdx + 1]
cmp r8d, ecx
jne 0x14004befe
inc dl
movsxd rax, ebx
xor byte [rax + r9 + 0xa], dl
inc dword [r9]
jmp 0x14004bee0
lea eax, [rdx + 2]
cmp r8d, eax
jne 0x14004bf16
add dl, 2
movsxd rax, ebx
xor byte [rax + r9 + 0xa], dl
inc dword [r9]
jmp 0x14004bee0
cmp r8d, edx
je 0x14004bf4b
lea eax, [rdx + 4]
cmp r8d, eax
jne 0x14004bf33
add dl, 3
movsxd rax, ebx
xor byte [rax + r9 + 0xa], dl
inc dword [r9]
jmp 0x14004bee0
lea eax, [rdx + 5]
cmp r8d, eax
jne 0x14004bf56
add dl, 4
movsxd rax, ebx
xor byte [rax + r9 + 0xa], dl
inc dword [r9]
jmp 0x14004bee0
movsxd rcx, ebx
lea eax, [rbx - 0x80]
xor byte [rcx + r9 + 0xa], al
inc ebx
cmp ebx, 0x15
jae 0x14004c1a2
jmp 0x14004bee0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rbp - 0xc], xmm0
movups xmmword [rbp + 4], xmm0
mov dword [rbp + 0x14], eax
mov dword [rbp - 0x40], 0x68
mov rax, qword [rbp - 0x80]
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x18], rax
psrldq xmm0, 8
movd eax, xmm0
bts eax, 8
mov dword [rbp - 4], eax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x14004c097
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.14004c4f0
mov r9, rax
cmp byte [rax + 9], 0
jne 0x14004c1c7
mov edx, dword [r9 + 4]
mov r8d, dword [r9]
lea ecx, [rdx + 1]
cmp r8d, ecx
jne 0x14004c02f
inc dl
movsxd rax, ebx
xor byte [rax + r9 + 0xa], dl
inc dword [r9]
jmp 0x14004c011
lea eax, [rdx + 2]
cmp r8d, eax
jne 0x14004c047
add dl, 2
movsxd rax, ebx
xor byte [rax + r9 + 0xa], dl
inc dword [r9]
jmp 0x14004c011
cmp r8d, edx
je 0x14004c07c
lea eax, [rdx + 4]
cmp r8d, eax
jne 0x14004c064
add dl, 3
movsxd rax, ebx
xor byte [rax + r9 + 0xa], dl
inc dword [r9]
jmp 0x14004c011
lea eax, [rdx + 5]
cmp r8d, eax
jne 0x14004c087
add dl, 4
movsxd rax, ebx
xor byte [rax + r9 + 0xa], dl
inc dword [r9]
jmp 0x14004c011
movsxd rcx, ebx
lea eax, [rbx - 0x80]
xor byte [rcx + r9 + 0xa], al
inc ebx
cmp ebx, 0x18
jae 0x14004c1c7
jmp 0x14004c011
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x20], rbx
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 0x14004c159
nop word [rax + rax]
mov eax, dword [rbp + 0x30]
test eax, eax
je 0x14004c159
mov r14d, eax
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
mov rax, rdx
sub rax, rcx
cmp r14, rax
ja 0x14004c11f
lea rax, [rcx + r14]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0x10
jb 0x14004c105
mov rax, qword [rsi]
lea rdi, [rax + rcx]
mov r8, r14
lea rdx, [rbp + 0x40]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + r14], 0
jmp 0x14004c133
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x40]
mov rdx, r14
mov rcx, rsi
call fcn.140049810
mov qword [rsp + 0x20], rbx
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 0x14004c0d0
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rsi
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.1400956c0
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov byte [r9 + 9], 1
lea rdx, [r9 + 0xa]
lea rcx, [rsp + 0x58]
call fcn.14004a4e0
lea rdx, [0x1400b4eb0]
lea rcx, [rsp + 0x58]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov byte [r9 + 9], 1
lea rdx, [r9 + 0xa]
lea rcx, [rsp + 0x58]
call fcn.14004a4e0
lea rdx, [0x1400b4eb0]
lea rcx, [rsp + 0x58]
call sub.VCRUNTIME140.dll__CxxThrowException
int3