Function at 0x140036670
Capabilities:
Create thread
Enumerate processes
Execute command
Log keystrokes via polling

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rdi
push rbp
lea rbp, [r11 - 0x138]
sub rsp, 0x230
mov rax, qword [0x140045040]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov qword [r11 + 8], rsi
xor edi, edi
lea rsi, str.cs2.exe
nop dword [rax + rax]
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400366dd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_create_process_snapshot._Error:__lu_n
call fcn.140001010
jmp 0x140036c22
lea rdx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x130
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140036c0a
nop dword [rax]
mov rcx, rdi
lea rdx, [rbp + 0xc]
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [rsi + rcx - 1]
jne 0x140036bf5
cmp rcx, 8
jne 0x140036710
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp - 0x18]
mov dword [0x140045798], eax
test eax, eax
je 0x140036c28
lea rcx, str.Found_game_client._n
call fcn.140001010
lea rcx, str.client.dll
call fcn.140036570
lea rcx, str.engine2.dll
mov qword [0x1400456c0], rax
call fcn.140036570
cmp qword [0x1400456c0], rdi
mov rsi, qword [rsp + 0x240]
mov qword [0x1400457a8], rax
je 0x140036c9e
test rax, rax
je 0x140036c9e
lea rcx, str.Found_client_module._n
call fcn.140001010
mov ebx, dword [0x140045798]
lea rcx, str.._spectralcs2
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [0x1400456b0], rax
cmp rax, 0xffffffffffffffff
je 0x140036824
xor ecx, ecx
mov qword [rsp + 0x38], rdi
mov qword [rbp - 0x28], rcx
lea r8, [rbp - 0x48]
xorps xmm0, xmm0
mov qword [rsp + 0x30], rdi
lea rcx, [rbp - 0x48]
mov dword [rsp + 0x28], 0x28
mov qword [rsp + 0x20], rcx
mov r9d, 0x28
movups xmmword [rbp - 0x48], xmm0
mov rcx, rax
mov dword [rbp - 0x48], ebx
mov edx, 0x221504
movups xmmword [rbp - 0x38], xmm0
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea rcx, str.Initializing_driver_communication._n
call fcn.140001010
xor r9d, r9d
mov qword [rsp + 0x28], rdi
lea r8, [0x1400014a0]
mov dword [rsp + 0x20], edi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x140036c9a
movaps xmmword [rsp + 0x220], xmm6
xorps xmm6, xmm6
nop dword [rax]
mov rax, qword [0x1400456c0]
lea r8, [rsp + 0x50]
mov rcx, qword [0x1400456b0]
add rax, 0x17d37f0
mov qword [rsp + 0x58], rax
mov r9d, 0x28
mov qword [rsp + 0x38], rdi
lea rax, [rbp - 0x58]
mov qword [rsp + 0x60], rax
mov edx, 0x2214e4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x28
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x70], rdi
mov qword [rbp - 0x58], rdi
mov qword [rsp + 0x68], 8
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rax, qword [rbp - 0x58]
lea r8, [rsp + 0x78]
mov rcx, qword [0x1400456b0]
mov r9d, 0x28
mov qword [0x1400456d0], rax
mov edx, 0x2214e4
add rax, 0x1348
mov qword [rsp + 0x38], rdi
mov qword [rbp - 0x80], rax
lea rax, [rbp - 0x60]
mov qword [rbp - 0x78], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x28
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x68], rdi
mov dword [rbp - 0x60], edi
mov qword [rbp - 0x70], 4
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
movss xmm0, dword [rbp - 0x60]
comiss xmm0, xmm6
jbe 0x1400369b2
mov rax, qword [0x1400456d0]
lea r8, [rbp - 0x48]
mov rcx, qword [0x1400456b0]
add rax, 0x1348
mov qword [rbp - 0x40], rax
mov r9d, 0x28
mov qword [rsp + 0x38], rdi
lea rax, [rbp - 0x50]
mov qword [rbp - 0x38], rax
mov edx, 0x221500
lea rax, [rbp - 0x48]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x28
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x50], edi
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x30], 4
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rax, qword [0x1400456d0]
lea r8, [rsp + 0x50]
mov rcx, qword [0x1400456b0]
add rax, 0x308
mov qword [rsp + 0x58], rax
mov r9d, 0x28
mov qword [rsp + 0x38], rdi
lea rax, [rbp - 0x58]
mov qword [rsp + 0x60], rax
mov edx, 0x2214e4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x28
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x70], rdi
mov qword [rbp - 0x58], rdi
mov qword [rsp + 0x68], 8
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, qword [0x1400456b0]
lea r8, [rsp + 0x78]
xor eax, eax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rax
mov r9d, 0x28
mov dword [rsp + 0x48], eax
mov edx, 0x2214e4
mov rax, qword [rbp - 0x58]
add rax, 0x88
mov qword [rsp + 0x30], rdi
mov qword [rbp - 0x80], rax
lea rax, [rsp + 0x40]
mov qword [rbp - 0x78], rax
lea rax, [rsp + 0x78]
mov dword [rsp + 0x28], 0x28
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x70], 0xc
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rax, qword [0x1400456d0]
lea r8, [rsp + 0x50]
mov rcx, qword [0x1400456b0]
add rax, 0x324
mov qword [rsp + 0x58], rax
mov r9d, 0x28
mov qword [rsp + 0x38], rdi
lea rax, [rbp - 0x60]
mov qword [rsp + 0x60], rax
mov edx, 0x2214e4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x28
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x70], rdi
mov dword [rbp - 0x60], edi
mov qword [rsp + 0x68], 4
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
call fcn.140001070
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140036c7e
mov rax, qword [0x1400456d0]
lea r8, [rsp + 0x78]
mov rcx, qword [0x1400456b0]
add rax, 0x3cc
mov qword [rbp - 0x80], rax
mov r9d, 0x28
mov qword [rsp + 0x38], rdi
lea rax, [rbp - 0x60]
mov qword [rbp - 0x78], rax
mov edx, 0x2214e4
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x28
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x68], rdi
mov dword [rbp - 0x60], edi
mov qword [rbp - 0x70], 4
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov eax, dword [rbp - 0x60]
lea r8, [rsp + 0x50]
mov rcx, qword [0x1400456b0]
add eax, 0xfffeff7f
mov qword [rsp + 0x38], rdi
mov r9d, 0x28
test eax, 0xfffffffd
mov qword [rsp + 0x30], rdi
mov rax, qword [0x1400456c0]
mov edx, 0x221500
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x68], 4
mov dword [rsp + 0x28], r9d
je 0x140036c53
add rax, 0x17cc530
mov dword [rbp - 0x58], 0x100
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
jmp 0x140036c7e
lea rdx, [rbp - 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140036700
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, rsi
lea rcx, str.Process_not_found:__s_n
call fcn.140001010
mov dword [0x140045798], edi
lea rcx, str.Please_start_CS2_n
call fcn.140001010
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [0x14003f524]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x1400366b0
add rax, 0x17cc530
mov dword [rbp - 0x58], 0x10001
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140036870
movaps xmm6, xmmword [rsp + 0x220]
xor eax, eax
jmp 0x140036caf
lea rcx, str.Unable_to_find_a_module._n
call fcn.140001010
mov eax, 1
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.140036cf0
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret