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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1080]
mov eax, 0x1180
call fcn.140003ca0
sub rsp, rax
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rbp + 0x1070], rax
mov rbx, rcx
xor r14d, r14d
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r14
mov esi, recv
mov qword [rsp + 0x68], rsi
lea ecx, [rsi + 0x11]
call fcn.140002e48
mov r8, rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], 0x1f
mov qword [rsp + 0x68], 0x1f
movups xmm0, xmmword [str.C:WindowsSystem32cmd.exe__c]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1400044e0]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x1400044e8]
mov dword [rax + 0x18], ecx
movzx eax, word [0x1400044ec]
mov word [r8 + 0x1c], ax
movzx eax, byte [0x1400044ee]
mov byte [r8 + 0x1e], al
mov byte [r8 + 0x1f], r14b
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140001ca0
xorps xmm0, xmm0
movups xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x58], r14
mov qword [rbp + 0x60], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x58], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], rsi
mov byte [rax], r14b
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140002b74
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002b6f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002b6f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002e40
lea rbx, [rbp + 0x48]
cmp qword [rbp + 0x60], 0x10
cmovae rbx, qword [rbp + 0x48]
mov dword [rbp - 0x80], 0x18
mov qword [rbp - 0x78], r14
mov dword [rbp - 0x70], 1
xor r9d, r9d
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x140002da8
mov dword [rbp - 0x50], 0x68
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
movups xmmword [rbp + 8], xmm0
mov dword [rbp - 0x14], pe_nt_image_headers64
mov rax, qword [rsp + 0x78]
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140002c45
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140002da8
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rbp + 0x28], xmm0
mov rbx, r14
mov qword [rbp + 0x38], rbx
mov qword [rbp + 0x40], rsi
mov byte [rbp + 0x28], bl
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x20]
mov r8d, 0x1000
lea rdx, [rbp + 0x70]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140002d10
nop dword [rax + rax]
mov eax, dword [rbp + 0x20]
test eax, eax
je 0x140002d10
mov edi, eax
mov rax, rsi
sub rax, rbx
cmp rdi, rax
ja 0x140002cd1
lea rax, [rdi + rbx]
mov qword [rbp + 0x38], rax
lea rax, [rbp + 0x28]
cmp rsi, 0x10
cmovae rax, qword [rbp + 0x28]
add rbx, rax
mov r8d, edi
lea rdx, [rbp + 0x70]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x140002ce6
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x70]
mov rdx, rdi
lea rcx, [rbp + 0x28]
call fcn.1400021b0
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x20]
mov r8d, 0x1000
lea rdx, [rbp + 0x70]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rsi, qword [rbp + 0x40]
mov rbx, qword [rbp + 0x38]
test eax, eax
jne 0x140002c90
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbx + 1]
call fcn.140002eb8
mov r14, rax
lea rcx, [rbp + 0x28]
cmp rsi, 0x10
setae r9b
mov r8, qword [rbp + 0x28]
cmovae rcx, r8
mov rdx, rax
sub rdx, rcx
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rdx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140002d60
test r9b, r9b
je 0x140002da8
lea rdx, [rsi + 1]
mov rax, r8
cmp rdx, 0x1000
jb 0x140002d9f
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002d9f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.140002e40
nop
mov rdx, qword [rbp + 0x60]
cmp rdx, 0x10
jb 0x140002de6
inc rdx
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002de1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002de1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002e40
mov rax, r14
mov rcx, qword [rbp + 0x1070]
xor rcx, rsp
call fcn.140002e20
lea r11, [rsp + 0x1180]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret