Function at 0x140001000
Capabilities:
Enumerate process modules
Enumerate processes

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 - 0x2f0]
sub rsp, 0x3f0
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
xor edx, edx
lea ecx, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rbp + 0x1b0]
mov dword [rbp + 0x1b0], 0x130
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
xor r14d, r14d
test eax, eax
je 0x1400010af
lea rdi, str.cs2.exe
nop
mov rax, r14
lea rdx, [rbp + 0x1dc]
nop word [rax + rax]
movzx ecx, byte [rdx + rax]
inc rax
cmp cl, byte [rdi + rax - 1]
jne 0x14000109b
cmp rax, 8
jne 0x140001080
mov edi, dword [rbp + 0x1b8]
jmp 0x1400010bb
lea rdx, [rbp + 0x1b0]
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, r14d
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, r14
lea r15, [rax + 0x17de508]
lea r12, [rax + 0x187cfc8]
lea r13, [rax + 0x178fc88]
nop word [rax + rax]
mov esi, 1
nop word [rax + rax]
mov r9d, 8
mov qword [rbp + 0x1a0], r14
lea r8, [rbp + 0x1a0]
mov qword [rsp + 0x20], r14
mov rdx, r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov r9d, 8
mov qword [rbp + 0x198], r14
lea r8, [rbp + 0x198]
mov qword [rsp + 0x20], r14
mov rdx, r12
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov r9d, 8
mov qword [rbp + 0x180], r14
lea r8, [rbp + 0x180]
mov qword [rsp + 0x20], r14
mov rdx, r13
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov r14, qword [rbp + 0x180]
test r14, r14
je 0x14000146f
xor edi, edi
lea r8, [rbp + 0x178]
mov edx, esi
mov qword [rbp + 0x178], rdi
and edx, 0x7fff
mov qword [rsp + 0x20], rdi
shl edx, 3
mov rcx, rbx
sar edx, 9
lea r9d, [rdi + 8]
add rdx, 0x10
add rdx, r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [rbp + 0x178]
test rcx, rcx
je 0x14000146f
mov eax, esi
mov qword [rbp + 0x188], rdi
and eax, 0x1ff
mov qword [rsp + 0x20], rdi
imul edx, eax, 0x78
lea r9d, [rdi + 8]
lea r8, [rbp + 0x188]
add rdx, rcx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp + 0x188]
test rdx, rdx
je 0x14000146f
add rdx, 0x7bc
mov dword [rbp + 0x178], edi
lea r9d, [rdi + 4]
mov qword [rsp + 0x20], rdi
lea r8, [rbp + 0x178]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov edi, dword [rbp + 0x178]
lea r8, [rbp + 0x188]
mov edx, edi
mov qword [rbp + 0x188], 0
shr edx, 9
add r14, 0x10
and edx, 0x3f
mov rcx, rbx
shl edx, 3
add rdx, r14
xor r14d, r14d
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [rbp + 0x188]
test rcx, rcx
je 0x140001472
and edi, 0x1ff
mov qword [rbp + 0x190], r14
imul edx, edi, 0x78
lea r9d, [r14 + 8]
lea r8, [rbp + 0x190]
mov qword [rsp + 0x20], r14
add rdx, rcx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdi, qword [rbp + 0x190]
test rdi, rdi
je 0x140001472
lea rdx, [rdi + 0x32c]
mov dword [rbp + 0x178], r14d
lea r9d, [r14 + 4]
mov qword [rsp + 0x20], r14
lea r8, [rbp + 0x178]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [rbp + 0x178]
dec eax
cmp eax, 0x63
ja 0x140001472
mov rdx, qword [rbp + 0x198]
cmp rdx, rdi
je 0x140001472
cmp qword [rbp + 0x1a0], r14
je 0x140001472
test rdx, rdx
je 0x140001472
add rdx, 0x3bf
mov dword [rbp + 0x180], r14d
lea r9d, [r14 + 4]
mov qword [rsp + 0x20], r14
lea r8, [rbp + 0x180]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea rdx, [rdi + 0x3bf]
mov dword [rbp + 0x178], r14d
lea r9d, [r14 + 4]
mov qword [rsp + 0x20], r14
lea r8, [rbp + 0x178]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [rbp + 0x178]
cmp dword [rbp + 0x180], eax
je 0x140001472
lea rdx, [rdi + 0xbc8]
mov dword [rbp + 0x180], 3
lea r9d, [r14 + 4]
mov qword [rsp + 0x20], r14
lea r8, [rbp + 0x180]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rdx, [rdi + 0xbd8]
mov dword [rbp + 0x180], 0xff000000
lea r9d, [r14 + 4]
mov qword [rsp + 0x20], r14
lea r8, [rbp + 0x180]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rdx, [rdi + 0xbe9]
mov byte [rbp + 0x170], 1
lea r9d, [r14 + 1]
mov qword [rsp + 0x20], r14
lea r8, [rbp + 0x170]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
jmp 0x140001472
xor r14d, r14d
inc esi
cmp esi, 0x40
jl 0x140001180
jmp 0x140001170