Function at 0x140002a30
Capabilities:
Enumerate process modules
Enumerate processes

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 - 0x3d0]
sub rsp, 0x4d0
mov rax, qword [0x140088040]
xor rax, rsp
mov qword [rbp + 0x3c8], rax
xor r12d, r12d
mov esi, r12d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140002b20
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x74]
call fcn.1400675a0
mov dword [rsp + 0x70], 0x238
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x140002b6a
lea rdx, [rbp - 0x64]
lea rcx, str.cs2.exe
call fcn.14001a5f0
test eax, eax
je 0x140002b66
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x140002b6a
nop word [rax + rax]
lea rdx, [rbp - 0x64]
lea rcx, str.cs2.exe
call fcn.14001a5f0
test eax, eax
je 0x140002b66
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x140002af0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.CS2_is_not_open._n
call fcn.140005830
call fcn.1400030d0
mov eax, 1
mov rcx, qword [rbp + 0x3c8]
xor rcx, rsp
call fcn.14000cf70
lea r11, [rsp + 0x4d0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov esi, dword [rsp + 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x140002b20
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
lea rcx, str..IO
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140002bb9
lea rdx, str.Driver_not_found._n
jmp 0x140002b27
mov eax, esi
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x28
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x28
lea r8, [rsp + 0x40]
mov edx, 0x221a58
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140002ccf
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, str.Found_the_driver._n
call fcn.140005830
mov r14, r12
mov edx, esi
mov ecx, 0x18
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140002cc1
xor edx, edx
mov r8d, 0x434
lea rcx, [rsp + 0x74]
call fcn.1400675a0
mov dword [rsp + 0x70], 0x438
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
cmp eax, 1
jne 0x140002cda
lea rdx, [rbp - 0x60]
lea rcx, str.client.dll
call fcn.140010360
test rax, rax
jne 0x140002cd6
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32NextW]
cmp eax, 1
jne 0x140002cda
nop word [rax + rax]
lea rdx, [rbp - 0x60]
lea rcx, str.client.dll
call fcn.140010360
test rax, rax
jne 0x140002cd6
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32NextW]
cmp eax, 1
je 0x140002c90
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.1400030d0
xor eax, eax
jmp 0x140002b36
mov r14, qword [rbp - 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14, r14
je 0x140002cc1
lea rcx, [0x140082540]
call fcn.14002a810
lea rdx, str.client.dll___
call fcn.140005830
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov ecx, dword [rdx + rax + 0x18]
and ecx, 0xfffff9ff
bts ecx, 0xb
mov dword [rdx + rax + 0x18], ecx
mov rdx, r14
mov rcx, rax
call fcn.1400032a0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
mov rcx, qword [rcx + rax + 0x40]
mov rcx, qword [rcx + 8]
mov qword [rbp + 0x3c0], rcx
mov rdx, qword [rcx]
call qword [rdx + 8]
nop
lea rcx, [rbp + 0x3b8]
call fcn.1400056f0
mov rcx, qword [rax]
mov r8, qword [rcx + 0x40]
mov dl, 0xa
mov rcx, rax
call r8
movzx esi, al
mov rcx, qword [rbp + 0x3c0]
test rcx, rcx
je 0x140002d88
mov rdx, qword [rcx]
call qword [rdx + 0x10]
test rax, rax
je 0x140002d88
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
movzx edx, sil
mov rcx, rbx
call fcn.1400070e0
mov rcx, rbx
call fcn.140005210
lea r15, [r14 + 0x18c1db8]
mov ebx, 1
nop dword [rax + rax]
mov qword [rbp + 0x3b0], r12
mov qword [rsp + 0x48], r15
lea rax, [rbp + 0x3b0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 8
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x28
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x28
lea r8, [rsp + 0x40]
mov edx, 0x221a5c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rsi, qword [rbp + 0x3b0]
test rsi, rsi
je 0x1400030aa
mov qword [rbp + 0x3b0], r12
mov ecx, ebx
and ecx, 0x7fff
shl ecx, 3
sar ecx, 9
add rcx, 0x10
add rcx, rsi
mov qword [rsp + 0x48], rcx
lea rax, [rbp + 0x3b0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 8
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x28
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x28
lea r8, [rsp + 0x40]
mov edx, 0x221a5c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rdx, qword [rbp + 0x3b0]
test rdx, rdx
je 0x1400030aa
mov qword [rbp + 0x3b0], r12
mov eax, ebx
and eax, 0x1ff
imul ecx, eax, 0x78
add rcx, rdx
mov qword [rsp + 0x48], rcx
lea rax, [rbp + 0x3b0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 8
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x28
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x28
lea r8, [rsp + 0x40]
mov edx, 0x221a5c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rax, qword [rbp + 0x3b0]
test rax, rax
je 0x1400030aa
mov dword [rbp + 0x3b0], r12d
add rax, 0x7e4
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x3b0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 4
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x28
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x28
lea r8, [rsp + 0x40]
mov edx, 0x221a5c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov qword [rbp + 0x3b8], r12
mov r14d, dword [rbp + 0x3b0]
mov ecx, r14d
shr ecx, 9
and ecx, 0x3f
shl ecx, 3
add rcx, 0x10
add rcx, rsi
mov qword [rsp + 0x48], rcx
lea rax, [rbp + 0x3b8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 8
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x28
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x28
lea r8, [rsp + 0x40]
mov edx, 0x221a5c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rdx, qword [rbp + 0x3b8]
test rdx, rdx
je 0x1400030aa
mov qword [rbp + 0x3b8], r12
and r14d, 0x1ff
imul ecx, r14d, 0x78
add rcx, rdx
mov qword [rsp + 0x48], rcx
lea rax, [rbp + 0x3b8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 8
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x28
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x28
lea r8, [rsp + 0x40]
mov edx, 0x221a5c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [rbp + 0x3b0], 0x47c35000
mov rax, qword [rbp + 0x3b8]
add rax, 0x1440
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x3b0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 4
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x28
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x28
lea r8, [rsp + 0x40]
mov edx, 0x221a60
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
inc ebx
cmp ebx, 0x40
jl 0x140002db0
jmp 0x140002da3