Function at 0x140001060
Capabilities:
Allocate or change rwx memory
Enumerate process modules
Enumerate processes
Execute shellcode via indirect call
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x1b0], xmm0
mov qword [rbp + 0x1c0], 7
mov qword [rbp + 0x1c8], 0xf
mov rax, qword [str.cs2.exe]
mov dword [rbp + 0x1b0], eax
movzx eax, word [0x1400033a4]
mov word [rbp + 0x1b4], ax
movzx eax, byte [0x1400033a6]
mov byte [rbp + 0x1b6], al
mov byte [rbp + 0x1b7], 0
xor esi, esi
mov edi, esi
xor edx, edx
lea ecx, [rsi + 0xf]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov dword [rsp + 0x60], 0x130
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14000115e
nop dword [rax + rax]
lea rcx, [rbp - 0x74]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], sil
jne 0x140001120
cmp rax, 7
jne 0x140001146
mov r8, rax
lea rdx, [rbp - 0x74]
lea rcx, [rbp + 0x1b0]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14000115a
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140001110
jmp 0x14000115e
mov edi, dword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x140005668], edi
test edi, edi
jne 0x140001181
lea rdx, str.cs2_not_run
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
jmp 0x1400011f9
mov eax, edi
mov qword [0x140005678], rax
mov qword [0x140005680], rsi
mov dword [rsp + 0x30], 0x30
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x48], esi
mov qword [rsp + 0x40], rsi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtOpenProcess
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea r9, [0x140005678]
lea r8, [rsp + 0x30]
mov edx, 0x1fffff
lea rcx, [0x140005670]
call rax
test eax, eax
js 0x14000120f
lea rdx, str.cs2.exe_opened_successfully
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001430
lea rdx, [0x140001600]
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 rdi, rsi
mov edx, dword [0x140005668]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140001286
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x14000127d
nop word [rax + rax]
lea rdx, str.client.dll
lea rcx, [rbp - 0x70]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140001278
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x140001250
jmp 0x14000127d
mov rdi, qword [rsp + 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 0x84ed40
mov qword [rsp + 0x20], rsi
mov r9d, 4
lea r8, [rbp + 0x1a8]
mov rdx, rdi
mov rcx, qword [0x140005670]
call qword [0x140005688]
mov dword [rbp + 0x1a4], 0x8b489090
mov bl, 1
nop dword [rax + rax]
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140001339
test bl, bl
je 0x14000131e
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
lea r8d, [r9 - 0x3c]
mov rdx, rdi
mov rcx, qword [0x140005670]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov qword [rsp + 0x20], rsi
mov r9d, 4
lea r8, [rbp + 0x1a4]
mov rdx, rdi
mov rcx, qword [0x140005670]
call qword [0x140005690]
xor bl, bl
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1400012d0
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1400013bc
nop dword [rax]
test bl, bl
jne 0x1400013a1
mov qword [rsp + 0x20], rsi
mov r9d, 4
lea r8, [rbp + 0x1a8]
mov rdx, rdi
mov rcx, qword [0x140005670]
call qword [0x140005690]
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0x1a0]
mov r8d, 4
mov rdx, rdi
mov rcx, qword [0x140005670]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov bl, 1
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140001350
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400012c0