Function at 0x140001180
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 - 0x400]
sub rsp, 0x500
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
xor r12d, r12d
mov edi, r12d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000121b
mov dword [rbp - 0x70], 0x238
lea rdx, [rbp - 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000121b
nop word [rax + rax]
lea rdx, str.FiveM_GTAProcess.exe
lea rcx, [rbp - 0x44]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140001218
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400011f0
jmp 0x14000121b
mov edi, dword [rbp - 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14, r12
mov edx, edi
mov ecx, 0x18
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140001281
mov dword [rbp - 0x70], 0x438
lea rdx, [rbp - 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x140001281
lea rdx, str.FiveM_GTAProcess.exe
lea rcx, [rbp - 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14000127d
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x140001255
jmp 0x140001281
mov r14, qword [rbp - 0x58]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
mov qword [rsp + 0x30], rax
lea rbx, [r14 + 0x212b208]
xorps xmm0, xmm0
movups xmmword [rbp + 0x3d8], xmm0
mov dword [rsp + 0x40], r12d
mov qword [rsp + 0x44], 0xf70
mov dword [rsp + 0x4c], r12d
mov qword [rsp + 0x50], 0x138
mov dword [rsp + 0x58], r12d
mov qword [rsp + 0x5c], 0xa0
mov dword [rsp + 0x64], r12d
mov dword [rsp + 0x68], 0x10
mov dword [rsp + 0x6c], 0x1ac
mov ecx, 0x30
call fcn.140001530
mov r14, rax
mov qword [rbp + 0x3d8], rax
lea rdi, [rax + 0x30]
mov qword [rbp + 0x3e8], rdi
mov r8d, 0x30
lea rdx, [rsp + 0x40]
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0x3e0], rdi
mov ecx, 0x30
call fcn.140001530
mov r15, rax
lea r13, [rax + 0x30]
mov r8d, 0x30
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp - 0x78], rbx
mov rax, r13
sub rax, r15
sar rax, 2
test rax, rax
je 0x1400013b9
xor esi, esi
mov rdi, qword [rsp + 0x30]
mov r14, rax
nop word [rax + rax]
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rbp - 0x78]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ebx, dword [r15 + rsi*4]
add rbx, qword [rbp - 0x78]
mov qword [rbp - 0x78], rbx
inc r12d
mov esi, r12d
cmp rsi, r14
jb 0x140001370
mov rdi, qword [rbp + 0x3e8]
mov r14, qword [rbp + 0x3d8]
mov rsi, qword [rsp + 0x30]
test r15, r15
je 0x1400013fd
sub r13, r15
sar r13, 2
lea rdx, [r13*4]
mov rax, r15
cmp rdx, 0x1000
jb 0x1400013f5
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400013f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.14000156c
mov dword [rbp + 0x3d0], 0x41480000
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rbp + 0x3d0]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test r14, r14
je 0x140001462
sub rdi, r14
and rdi, 0xfffffffffffffffc
cmp rdi, 0x1000
jb 0x140001457
add rdi, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x140001494
mov r14, rcx
mov rdx, rdi
mov rcx, r14
call fcn.14000156c
xor eax, eax
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.140001510
lea r11, [rsp + 0x500]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3