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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rbx, qword [rbp + 0x70]
mov rdi, rcx
mov rcx, rbx
mov edx, 0xd
mov esi, r8d
call fcn.1400034c0
cmp eax, 5
je 0x1400872af
xor eax, eax
jmp 0x14008750b
mov r8, rbx
mov qword [rsp + 0x130], r14
mov edx, esi
mov rcx, rdi
call fcn.14001a190
mov rcx, rdi
mov rsi, rax
call fcn.140083dd0
mov rdx, rsi
lea rcx, str.Starting_local_proxy_command:__s
call fcn.14006c6b0
mov rdi, qword [rbp + 0x68]
xor r14d, r14d
mov dword [rsp + 0x28], r14d
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov rbx, rax
mov r10, qword [rdi]
lea edx, [r14 + 3]
call qword [r10]
mov rcx, rbx
call fcn.140011ff0
xor r9d, r9d
mov dword [rbp - 0x80], 0x18
lea r8, [rbp - 0x80]
mov qword [rbp - 0x78], r14
lea rdx, [rsp + 0x50]
mov dword [rbp - 0x70], 1
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x140087347
mov rcx, rsi
call fcn.140011ff0
jmp 0x1400873cb
xor r9d, r9d
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x14008737c
mov rcx, rsi
call fcn.140011ff0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
jmp 0x1400873c5
xor r9d, r9d
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x1400873ef
mov rcx, rsi
call fcn.140011ff0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140083130
mov r8, rax
lea rdx, str.Unable_to_create_pipes_for_proxy_command:__s
mov rcx, rdi
call fcn.14000f170
jmp 0x140087503
mov rcx, qword [rsp + 0x68]
xor r8d, r8d
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov rcx, qword [rsp + 0x58]
xor r8d, r8d
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14008742a
xor r8d, r8d
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov rax, qword [rsp + 0x60]
xorps xmm0, xmm0
mov qword [rbp], rax
xor r9d, r9d
mov rax, qword [rsp + 0x50]
xor r8d, r8d
mov qword [rbp + 8], rax
mov rdx, rsi
mov rax, qword [rsp + 0x70]
xor ecx, ecx
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], 0x8000020
mov dword [rsp + 0x20], 1
mov dword [rbp - 0x50], 0x68
mov qword [rbp - 0x48], r14
movdqa xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x14], 0x100
mov word [rbp - 0xe], r14w
mov qword [rbp - 8], r14
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
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, rsi
call fcn.140011ff0
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400874e7
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8, qword [rsp + 0x78]
mov r9, rdi
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
mov byte [rsp + 0x20], r14b
call fcn.140081e70
mov r14, qword [rsp + 0x130]
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret