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

Disassembly:
push rbp
push rbx
push rdi
push r12
push r14
lea rbp, [rsp - 0x5b0]
sub rsp, 0x6b0
mov rax, qword [0x140016020]
xor rax, rsp
mov qword [rbp + 0x5a0], rax
lea rcx, str.F1_to_toggle_glowing
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
xor edx, edx
lea ecx, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
test rax, rax
je 0x140002f63
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, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140002f5a
nop dword [rax + rax]
lea rax, [rbp + 0x390]
mov dword [rsp + 0x28], 0x104
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rax
lea r8, str.cs2.exe
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rax, [rsp + 0x5c]
lea r8, [rbp + 0x390]
sub r8, rax
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140002f44
add rax, 2
test ecx, ecx
jne 0x140002f30
mov rcx, rbx
test edx, edx
je 0x140002f8e
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140002ef0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r9, str.e_0m
lea r8, str.cs2.exe
lea rdx, str.e_31m
lea rcx, str._s_s_not_found__s_n
call fcn.140001020
mov eax, 1
jmp 0x140003018
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [rsp + 0x38]
test edi, edi
je 0x140002f63
mov qword [rsp + 0x6e0], rsi
lea r12, str.e_0m
lea rsi, str.e_32m
mov qword [rsp + 0x28], r12
mov rdx, rsi
mov dword [rsp + 0x20], edi
lea r9, str.e_33m
lea r8, str.cs2.exe
lea rcx, str._s_s_has_pid:__s_lu_s_n
call fcn.140001020
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
lea r8, str.cs2.exe
mov rbx, rax
test rax, rax
jne 0x140003036
mov r9, r12
lea rdx, str.e_31m
lea rcx, str._sFailed_to_open__s_process__s_n
call fcn.140001020
lea eax, [rbx + 1]
mov rsi, qword [rsp + 0x6e0]
mov rcx, qword [rbp + 0x5a0]
xor rcx, rsp
call fcn.14000e690
add rsp, 0x6b0
pop r14
pop r12
pop rdi
pop rbx
pop rbp
ret
mov qword [rsp + 0x6e8], r13
lea r9, str.e_33m
mov qword [rsp + 0x28], r12
lea rcx, str._s_s_process_handle:__s0x_p_s_n
mov rdx, rsi
mov qword [rsp + 0x6f0], r15
mov qword [rsp + 0x20], rbx
call fcn.140001020
xor r13d, r13d
lea r8, str.client.dll
mov dword [rsp + 0x28], r13d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], r13
lea r9d, [r13 - 1]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [rsp + 0x28], eax
lea r9d, [r13 - 1]
lea rax, [rbp + 0x390]
xor edx, edx
lea r8, str.client.dll
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edx, edi
lea ecx, [r13 + 8]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140003133
xor edx, edx
lea rcx, [rsp + 0x34]
mov r8d, 0x434
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x438
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x14000312a
nop
lea rax, [rsp + 0x60]
lea r8, [rbp + 0x390]
sub r8, rax
nop
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140003114
add rax, 2
test ecx, ecx
jne 0x140003100
mov rcx, rdi
test edx, edx
je 0x14000317c
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x1400030f0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r9, str.cs2.exe
mov qword [rsp + 0x20], r12
lea r8, str.client.dll
lea rdx, str.e_31m
lea rcx, str._s_s_not_found_in__s__s_n
call fcn.140001020
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r15, qword [rsp + 0x6f0]
mov eax, 1
mov r13, qword [rsp + 0x6e8]
jmp 0x140003010
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r15, qword [rsp + 0x48]
test r15, r15
je 0x140003133
mov qword [rsp + 0x28], r12
lea r9, str.e_33m
lea r8, str.client.dll
mov dword [rsp + 0x20], r15d
mov rdx, rsi
lea rcx, str.Base_address:__s0x_lx_s_n
call fcn.140001020
mov r8, r12
lea rcx, str.Fetching_offsets..._s_n
mov rdx, rsi
call fcn.140001020
call fcn.1400026b0
mov r8, r12
lea rdx, str.e_34m
lea rcx, str.CS2_Glow_Made_by:_github_9xN_n
call fcn.140001020
mov ecx, 0x70
lea rdi, str.true
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14000324a
cmp byte [0x140016c48], r13b
lea rcx, [rbp + 0x378]
mov qword [rbp + 0x378], 0x96
sete byte [0x140016c48]
call fcn.140004680
movzx eax, byte [0x140016c48]
lea r8, str.false
test al, al
lea rdx, str.e_31m
mov r9, r12
lea rcx, str.status_enabled:__s_s_s_n
cmovne r8, rdi
cmovne rdx, rsi
call fcn.140001020
mov edi, 1
nop
mov rdx, qword [0x140016c28]
lea r8, [rbp + 0x380]
add rdx, r15
mov qword [rbp + 0x380], r13
mov r9d, 8
mov qword [rsp + 0x20], r13
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov r14, qword [rbp + 0x380]
test r14, r14
je 0x1400033fd
mov edx, edi
mov qword [rbp + 0x370], r13
and edx, 0x7fff
mov qword [rsp + 0x20], r13
shl edx, 3
lea r8, [rbp + 0x370]
sar edx, 9
mov r9d, 8
add rdx, 0x10
mov rcx, rbx
add rdx, r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [rbp + 0x370]
test rcx, rcx
je 0x1400033fd
mov eax, edi
mov qword [rbp + 0x378], r13
and eax, 0x1ff
mov qword [rsp + 0x20], r13
imul edx, eax, 0x78
lea r8, [rbp + 0x378]
mov r9d, 8
add rdx, rcx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [rbp + 0x378]
test rcx, rcx
je 0x1400033fd
mov rdx, qword [0x140016c30]
lea r8, [rbp + 0x370]
add rdx, rcx
mov dword [rbp + 0x370], r13d
mov rcx, rbx
mov qword [rsp + 0x20], r13
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov esi, dword [rbp + 0x370]
lea r8, [rbp + 0x378]
mov edx, esi
mov qword [rbp + 0x378], r13
shr edx, 9
mov r9d, 8
and edx, 0x3f
mov qword [rsp + 0x20], r13
shl edx, 3
mov rcx, rbx
add rdx, 0x10
add rdx, r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [rbp + 0x378]
test rcx, rcx
je 0x1400033fd
and esi, 0x1ff
mov qword [rbp + 0x380], r13
imul edx, esi, 0x78
lea r8, [rbp + 0x380]
mov r9d, 8
mov qword [rsp + 0x20], r13
add rdx, rcx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [rbp + 0x380]
test rcx, rcx
je 0x1400033fd
mov rdx, qword [0x140016c20]
lea r8, [rbp + 0x370]
add rdx, rcx
mov qword [rsp + 0x20], r13
cmp byte [0x140016c48], r13b
mov r9d, 4
mov rcx, rbx
mov dword [rbp + 0x370], r13d
je 0x1400033f7
mov dword [rbp + 0x370], 0x47c35000
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
inc edi
cmp edi, 0x40
jl 0x140003250
lea rcx, [rbp + 0x378]
mov qword [rbp + 0x378], 0x32
call fcn.140004680
lea rsi, str.e_32m
jmp 0x1400031e0