Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Create thread
Enumerate processes
Get common file path
Inject thread
Spawn thread to rwx shellcode

Disassembly:
mov r11, rsp
push rbp
sub rsp, 0x2b0
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov qword [r11 + 8], rbx
lea rdx, [r11 - 0x138]
mov qword [r11 - 0x10], r14
mov ecx, 0x104
mov qword [r11 - 0x18], r15
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea r8, str.CS2_Internal.dll
mov edx, 0x104
lea rcx, [rsp + 0x180]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
xor edx, edx
mov dword [rsp + 0x50], 0x130
mov r8d, 0x12c
lea rcx, [rsp + 0x54]
mov rbp, rax
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x50]
mov rcx, rbp
call sub.KERNEL32.dll_Process32First
mov qword [rsp + 0x2c8], rsi
lea r14, str.cs2.exe
xor r15d, r15d
mov qword [rsp + 0x2d0], rdi
nop dword [rax]
nop word [rax + rax]
mov rax, r15
lea rdx, [rsp + 0x7c]
nop dword [rax + rax]
movzx ecx, byte [rdx + rax]
inc rax
cmp cl, byte [r14 + rax - 1]
jne 0x1400012cf
cmp rax, 8
jne 0x1400010c0
lea rax, [rsp + 0x180]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], r15b
jne 0x1400010e7
mov r8d, dword [rsp + 0x58]
xor edx, edx
mov ecx, 0x1fffff
inc ebx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x1400012cf
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
test rax, rax
je 0x1400012c6
lea rax, [rsp + 0x48]
mov qword [rsp + 0x48], r15
mov r9d, ebx
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x180]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp qword [rsp + 0x48], rbx
jne 0x1400012b1
lea rcx, str.ntdll.dll
mov dword [rsp + 0x40], r15d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.LdrLoadDll
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9d, 0x40
mov rcx, rdi
mov rbx, rax
lea rax, [rsp + 0x40]
mov rdx, rbx
mov qword [rsp + 0x20], rax
lea r8d, [r9 - 0x3b]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea rax, [rsp + 0x48]
mov r9d, 5
mov r8, rbx
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r9d, dword [rsp + 0x40]
lea rax, [rsp + 0x40]
mov r8d, 5
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtOpenFile
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9d, 0x40
mov rcx, rdi
mov rbx, rax
lea rax, [rsp + 0x40]
mov rdx, rbx
mov qword [rsp + 0x20], rax
lea r8d, [r9 - 0x3b]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea rax, [rsp + 0x48]
mov r9d, 5
mov r8, rbx
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r9d, dword [rsp + 0x40]
lea rax, [rsp + 0x40]
mov r8d, 5
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor r8d, r8d
mov qword [rsp + 0x30], r15
xor edx, edx
mov dword [rsp + 0x28], r15d
mov rcx, rdi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbx, rax
test rax, rax
je 0x1400012b1
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x50]
mov rcx, rbp
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1400010b0
mov r15, qword [rsp + 0x2a0]
mov rcx, rbp
mov r14, qword [rsp + 0x2a8]
mov rdi, qword [rsp + 0x2d0]
mov rsi, qword [rsp + 0x2c8]
mov rbx, qword [rsp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1400013d0
add rsp, 0x2b0
pop rbp
ret