Function at 0x140001080
Capabilities:
Enumerate process modules
Enumerate processes
Log keystrokes via polling
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x140005010]
xor rax, rsp
mov qword [rbp + 0x188], rax
lea rcx, str.example
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
xor edx, edx
lea ecx, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x130
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
xor r12d, r12d
test eax, eax
je 0x14000114d
lea rdi, str.cs2.exe
nop word [rax + rax]
mov rcx, r12
lea rdx, [rsp + 0x5c]
nop dword [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [rdi + rcx - 1]
jne 0x14000113b
cmp rcx, 8
jne 0x140001110
mov edi, dword [rsp + 0x38]
lea rcx, str.cs2.exe_has_pid:__i_n
mov edx, edi
call fcn.140001020
test edi, edi
jne 0x140001173
jmp 0x140001167
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140001100
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
lea rcx, str.cs2.exe_has_pid:__i_n
mov edi, r12d
call fcn.140001020
lea rcx, str.cs2.exe_not_found__n
call fcn.140001020
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdx, rax
lea rcx, str.cs2.exe_process_handle:_0x_lx_n
mov rbx, rax
call fcn.140001020
test rbx, rbx
jne 0x1400011a6
lea rcx, str.cs2.exe_process_handle_is_null__n
call fcn.140001020
mov edx, edi
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140001231
xor edx, edx
lea rcx, [rsp + 0x34]
mov r8d, 0x234
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x140001228
lea rdx, str.client.dll
lea rcx, [rsp + 0x60]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x14000120d
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Module32Next]
jmp 0x1400011e4
mov rdi, qword [rsp + 0x48]
lea rcx, str.client.dll_base_address:_0x_llx_n
mov rdx, rdi
call fcn.140001020
test rdi, rdi
jne 0x140001257
jmp 0x14000124b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
lea rcx, str.client.dll_base_address:_0x_llx_n
mov rdi, r12
call fcn.140001020
lea rcx, str.client.dll_not_found_in_cs2.exe__n
call fcn.140001020
lea rcx, str.Press_f3_to_enable_disable_glow__n
call fcn.140001020
lea r15, [rdi + 0x18b3fa8]
lea r13, str.true
mov ecx, 0x72
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400012c4
cmp byte [0x140005698], r12b
lea rcx, [rbp + 0x178]
mov qword [rbp + 0x178], 0x96
sete byte [0x140005698]
call fcn.1400014a0
cmp byte [0x140005698], r12b
lea rdx, str.false
lea rcx, str.status_enabled:__s_n
cmovne rdx, r13
call fcn.140001020
mov edi, 1
nop dword [rax]
mov r9d, 8
mov qword [rbp + 0x180], r12
lea r8, [rbp + 0x180]
mov qword [rsp + 0x20], r12
mov rdx, r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov r14, qword [rbp + 0x180]
test r14, r14
je 0x14000146f
mov eax, edi
mov qword [rbp + 0x170], r12
and eax, 0x7fff
mov qword [rsp + 0x20], r12
shl eax, 3
lea rdx, [r14 + 0x10]
sar eax, 9
lea r8, [rbp + 0x170]
add rdx, rax
mov r9d, 8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [rbp + 0x170]
test rcx, rcx
je 0x14000146f
mov eax, edi
mov qword [rbp + 0x178], r12
and eax, 0x1ff
mov qword [rsp + 0x20], r12
imul edx, eax, 0x78
lea r8, [rbp + 0x178]
mov r9d, 8
add rdx, rcx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp + 0x178]
test rdx, rdx
je 0x14000146f
add rdx, 0x604
mov dword [rbp + 0x170], r12d
mov r9d, 4
mov qword [rsp + 0x20], r12
lea r8, [rbp + 0x170]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov esi, dword [rbp + 0x170]
lea rdx, [r14 + 0x10]
mov eax, esi
mov qword [rbp + 0x178], r12
shr eax, 9
lea r8, [rbp + 0x178]
and eax, 0x3f
mov qword [rsp + 0x20], r12
shl eax, 3
mov r9d, 8
add rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [rbp + 0x178]
test rcx, rcx
je 0x14000146f
and esi, 0x1ff
mov qword [rbp + 0x180], r12
imul edx, esi, 0x78
lea r8, [rbp + 0x180]
mov r9d, 8
mov qword [rsp + 0x20], r12
add rdx, rcx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp + 0x180]
test rdx, rdx
je 0x14000146f
add rdx, 0x1440
mov qword [rsp + 0x20], r12
cmp byte [0x140005698], r12b
lea r8, [rbp + 0x170]
mov r9d, 4
mov dword [rbp + 0x170], r12d
mov rcx, rbx
je 0x140001469
mov dword [rbp + 0x170], 0x47a8c000
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
inc edi
cmp edi, 0x40
jl 0x1400012d0
lea rcx, [rbp + 0x178]
mov qword [rbp + 0x178], 0x32
call fcn.1400014a0
jmp 0x140001271