Function at 0x140053618
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 [0x1400ab520]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov rcx, rsi
mov edx, 0xd
call fcn.1400034cd
cmp eax, 5
jne 0x140053879
mov r14, qword [rsp + 0x188]
mov rcx, rbx
mov edx, edi
mov r8, rsi
call fcn.1400106bf
mov rdi, rax
mov rcx, rbx
call fcn.140050fda
lea rcx, str.Starting_local_proxy_command:__s
mov rdx, rdi
call fcn.14004b6ab
mov rsi, rax
mov rax, qword [r14]
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x28], 0
mov rcx, r14
mov edx, 3
xor r8d, r8d
xor r9d, r9d
call qword [rax]
mov rcx, rsi
call fcn.140008872
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 0x140053880
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 0x14005388a
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 0x1400538ad
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 0x14005378c
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
mov rdx, rdi
xor r8d, r8d
xor r9d, r9d
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.140008872
mov rcx, qword [rsp + 0x110]
call rbx
mov rcx, qword [rsp + 0x100]
call rbx
mov rcx, qword [rsp + 0xf0]
test rcx, rcx
je 0x14005384f
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.14004f1fc
jmp 0x140053903
xor esi, esi
jmp 0x140053906
mov rcx, rdi
call fcn.140008872
jmp 0x1400538e4
mov rcx, rdi
call fcn.140008872
mov rcx, qword [rsp + 0x108]
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rsi
mov rcx, qword [rsp + 0x100]
jmp 0x1400538e2
mov rcx, rdi
call fcn.140008872
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.14004fa76
lea rdx, str.Unable_to_create_pipes_for_proxy_command:__s
mov rcx, r14
mov r8, rax
call fcn.140006556
mov rsi, rax
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.1400575f0
mov rax, rsi
add rsp, 0x128
pop rbx
pop rdi
pop rsi
pop r14
ret