Function at 0x1400782d8
Capabilities:
Create pipe
Create process on windows
Create reverse shell

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x128
mov edi, r8d
mov rbx, rcx
mov rsi, qword [rsp + 0x190]
mov rax, qword [0x1400cb0e0]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov edx, 0xd
mov rcx, rsi
call fcn.140003415
cmp eax, 5
jne 0x140078539
mov r14, qword [rsp + 0x188]
mov rcx, rbx
mov edx, edi
mov r8, rsi
call fcn.14001c0be
mov rdi, rax
mov rcx, rbx
call fcn.140075d1f
lea rcx, str.Starting_local_proxy_command:__s
mov rdx, rdi
call fcn.14005f835
mov rsi, rax
mov rax, qword [r14]
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x28], 0
mov edx, 2
xor r8d, r8d
xor r9d, r9d
mov rcx, r14
call qword [rax]
mov rcx, rsi
call fcn.140011913
lea r8, [rsp + 0xd8]
mov dword [r8], 0x18
mov qword [r8 + 8], 0
mov dword [r8 + 0x10], 1
lea rcx, [rsp + 0x108]
lea rdx, [rsp + 0x100]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x140078540
lea rcx, [rsp + 0x110]
lea rdx, [rsp + 0x118]
lea r8, [rsp + 0xd8]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x14007854a
lea rcx, [rsp + 0xf8]
lea rdx, [rsp + 0xf0]
lea r8, [rsp + 0xd8]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x14007856d
mov rcx, qword [rsp + 0x118]
mov rsi, qword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov edx, 1
xor r8d, r8d
call rsi
mov rcx, qword [rsp + 0x108]
mov edx, 1
xor r8d, r8d
call rsi
mov rcx, qword [rsp + 0xf8]
test rcx, rcx
je 0x14007844c
mov edx, 1
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
lea rax, [rsp + 0x70]
mov dword [rax], 0x68
xorps xmm0, xmm0
movups xmmword [rax + 8], xmm0
xor ecx, ecx
mov qword [rax + 0x18], rcx
mov dword [rax + 0x3c], 0x100
mov word [rax + 0x42], 0
mov qword [rax + 0x48], rcx
mov rcx, qword [rsp + 0x110]
mov qword [rax + 0x50], rcx
mov rcx, qword [rsp + 0x100]
mov qword [rax + 0x58], rcx
mov rcx, qword [rsp + 0xf0]
mov qword [rax + 0x60], rcx
lea rsi, [rsp + 0x58]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rax
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 0x8000020
mov dword [rsp + 0x20], 1
xor ecx, ecx
xor r8d, r8d
xor r9d, r9d
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rcx, qword [rsi]
mov rbx, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rbx
mov rcx, qword [rsi + 8]
call rbx
mov rcx, rdi
call fcn.140011913
mov rcx, qword [rsp + 0x110]
call rbx
mov rcx, qword [rsp + 0x100]
call rbx
mov rcx, qword [rsp + 0xf0]
test rcx, rcx
je 0x14007850f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x118]
mov byte [rsp + 0x20], 0
mov r9, r14
call fcn.14007335c
jmp 0x1400785c3
xor esi, esi
jmp 0x1400785c6
mov rcx, rdi
call fcn.140011913
jmp 0x1400785a4
mov rcx, rdi
call fcn.140011913
mov rcx, qword [rsp + 0x108]
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rsi
mov rcx, qword [rsp + 0x100]
jmp 0x1400785a2
mov rcx, rdi
call fcn.140011913
mov rcx, qword [rsp + 0x108]
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rsi
mov rcx, qword [rsp + 0x100]
call rsi
mov rcx, qword [rsp + 0x118]
call rsi
mov rcx, qword [rsp + 0x110]
call rsi
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14007453e
lea rdx, str.Unable_to_create_pipes_for_proxy_command:__s
mov rcx, r14
mov r8, rax
call fcn.14000ebc4
mov rsi, rax
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.14007de70
mov rax, rsi
add rsp, 0x128
pop rbx
pop rdi
pop rsi
pop r14
ret