Function at 0x140001000
Capabilities:
Enumerate process modules
Enumerate processes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x2d0]
sub rsp, 0x3d0
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
xor edx, edx
lea ecx, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rbp + 0x190]
mov dword [rbp + 0x190], 0x130
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
xor r12d, r12d
test eax, eax
je 0x1400010af
lea rdi, str.cs2.exe
nop
mov rcx, r12
lea rdx, [rbp + 0x1bc]
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [rdi + rcx - 1]
jne 0x14000109b
cmp rcx, 8
jne 0x140001080
mov edi, dword [rbp + 0x198]
jmp 0x1400010bb
lea rdx, [rbp + 0x190]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140001070
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, r12d
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov edx, edi
mov ecx, 8
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140001145
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 0x14000113c
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 0x140001135
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Module32Next]
jmp 0x14000110c
mov rax, qword [rsp + 0x48]
jmp 0x140001151
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, r12
lea r15, [rax + 0x178d8d8]
nop dword [rax + rax]
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140001195
cmp byte [0x140005628], r12b
lea rcx, [rbp + 0x178]
mov qword [rbp + 0x178], 0x32
sete byte [0x140005628]
call fcn.140001370
mov edi, 1
nop word [rax + 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 rsi, qword [rbp + 0x180]
test rsi, rsi
je 0x140001344
mov edx, edi
mov qword [rbp + 0x170], r12
and edx, 0x7fff
mov qword [rsp + 0x20], r12
shl edx, 3
lea r8, [rbp + 0x170]
sar edx, 9
mov r9d, 8
add rdx, 0x10
mov rcx, rbx
add rdx, rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [rbp + 0x170]
test rcx, rcx
je 0x140001344
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 0x140001344
add rdx, 0x7fc
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 r14d, dword [rbp + 0x170]
lea r8, [rbp + 0x178]
mov edx, r14d
mov qword [rbp + 0x178], r12
shr edx, 9
mov r9d, 8
and edx, 0x3f
mov qword [rsp + 0x20], r12
shl edx, 3
mov rcx, rbx
add rdx, 0x10
add rdx, rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [rbp + 0x178]
test rcx, rcx
je 0x140001344
and r14d, 0x1ff
mov qword [rbp + 0x180], r12
imul edx, r14d, 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 0x140001344
add rdx, 0x13c8
mov qword [rsp + 0x20], r12
cmp byte [0x140005628], r12b
lea r8, [rbp + 0x170]
mov r9d, 4
mov dword [rbp + 0x170], r12d
mov rcx, rbx
je 0x14000133e
mov dword [rbp + 0x170], 0x47a8c000
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
inc edi
cmp edi, 0x40
jl 0x1400011a0
lea rcx, [rbp + 0x178]
mov qword [rbp + 0x178], 0x32
call fcn.140001370
jmp 0x140001160