Function at 0x140001940
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x280
mov rax, qword [0x140088040]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x1400019ba
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x34]
call fcn.140066730
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x1400019c1
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x140001c31
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov eax, dword [rcx + rax]
cmp dword [0x14008b6d8], eax
jle 0x140001a6a
lea rcx, [0x14008b6d8]
call fcn.140043628
cmp dword [0x14008b6d8], 0xffffffff
jne 0x140001a6a
xorps xmm0, xmm0
movups xmmword [0x14008b6f0], xmm0
xor eax, eax
mov qword [0x14008b700], rax
mov qword [0x14008b708], rax
mov ecx, pe_nt_image_headers64
call fcn.1400436a0
mov rbx, rax
mov qword [0x14008b6f0], rax
mov qword [0x14008b700], 0x104
mov qword [0x14008b708], 0x10f
xor edx, edx
mov r8d, 0x104
mov rcx, rax
call fcn.140066730
mov byte [rbx + 0x104], 0
lea rcx, [0x1400699e0]
call fcn.140043904
nop
lea rcx, [0x14008b6d8]
call fcn.1400435bc
lea rbx, [0x14008b6f0]
mov r8d, dword [rsp + 0x38]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r13, rax
mov rcx, rbx
cmp qword [0x14008b708], 0xf
cmova rcx, qword [0x14008b6f0]
xor edx, edx
mov r8d, 0x104
call fcn.140066730
lea r9, [0x14008b6e8]
mov r8d, 8
lea rdx, [0x14008b6e0]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
mov r8, rbx
cmp qword [0x14008b708], 0xf
cmova r8, qword [0x14008b6f0]
mov r9d, 0x104
mov rdx, qword [0x14008b6e0]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
mov rdi, rbx
mov r14, qword [0x14008b6f0]
mov r15, qword [0x14008b708]
cmp r15, 0xf
cmova rdi, r14
mov rbp, rbx
cmova rbp, r14
mov rsi, qword [0x14008b700]
add rbp, rsi
cmp r15, 0xf
cmova rbx, r14
cmp rbx, rbp
je 0x140001b4e
sub rdi, rbx
movzx ecx, byte [rbx]
call fcn.14004a2a0
mov byte [rdi + rbx], al
inc rbx
cmp rbx, rbp
jne 0x140001b26
mov r15, qword [0x14008b708]
mov rsi, qword [0x14008b700]
mov r14, qword [0x14008b6f0]
lea rbx, [0x14008b6f0]
test rsi, rsi
je 0x140001bf6
lea r9, [0x140088c90]
cmp qword [0x140088ca8], 0xf
cmova r9, qword [0x140088c90]
mov rcx, rbx
cmp r15, 0xf
cmova rcx, r14
mov rax, qword [0x140088ca0]
mov qword [rsp + 0x20], rax
mov rdx, rsi
call fcn.140002b30
cmp rax, 0xffffffffffffffff
je 0x140001bf6
mov rcx, rbx
cmp r15, 0xf
cmova rcx, r14
mov qword [rsp + 0x20], 9
lea r9, str._samp.exe
mov rdx, rsi
call fcn.140002b30
cmp rax, 0xffffffffffffffff
jne 0x140001bf6
mov rcx, rbx
cmp r15, 0xf
cmova rcx, r14
mov qword [rsp + 0x20], 0xb
lea r9, str.gta_sa.exe
mov rdx, rsi
call fcn.140002b30
cmp rax, 0xffffffffffffffff
jne 0x140001bf6
mov eax, dword [rsp + 0x38]
mov dword [0x14008b488], eax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x14008b488], 0
jne 0x140001c1e
lea rdx, [rsp + 0x30]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001a71
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x14008b488], 0
setne al
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140043560
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret