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 - 0x3e0]
sub rsp, 0x4e0
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x3d0], 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 0x140001215
mov dword [rsp + 0x70], 0x238
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140001215
lea rdx, str.FiveM_GTAProcess.exe
lea rcx, [rbp - 0x64]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140001211
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x1400011e8
mov edi, dword [rsp + 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, r12
mov edx, edi
mov ecx, 0x18
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000127a
mov dword [rsp + 0x70], 0x438
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x14000127a
lea rdx, str.FiveM_GTAProcess.exe
lea rcx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140001276
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32NextW]
jmp 0x14000124d
mov rsi, qword [rbp - 0x78]
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 r13, rax
lea rbx, [rsi + 0x1cfff08]
xorps xmm0, xmm0
movups xmmword [rbp + 0x3b8], xmm0
mov dword [rsp + 0x38], 0x80
mov dword [rsp + 0x3c], 0x150
mov dword [rsp + 0x40], 8
mov qword [rsp + 0x44], 8
mov ecx, 0x14
call fcn.140001520
mov r15, rax
mov qword [rbp + 0x3b8], rax
lea rdi, [rax + 0x14]
mov qword [rbp + 0x3c8], rdi
mov r8d, 0x14
lea rdx, [rsp + 0x38]
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0x3c0], rdi
mov ecx, 0x14
call fcn.140001520
mov r14, rax
lea rsi, [rax + 0x14]
mov r8d, 0x14
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x68], rbx
mov rax, rsi
sub rax, r14
sar rax, 2
test rax, rax
je 0x140001384
xor esi, esi
mov rdi, rax
nop dword [rax]
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rsp + 0x68]
mov rdx, rbx
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ebx, dword [r14 + rsi*4]
add rbx, qword [rsp + 0x68]
mov qword [rsp + 0x68], rbx
inc r12d
mov esi, r12d
cmp rsi, rdi
jb 0x140001340
mov rdi, qword [rbp + 0x3c8]
lea rsi, [r14 + 0x14]
test r14, r14
je 0x1400013c8
sub rsi, r14
sar rsi, 2
lea rdx, [rsi*4]
mov rax, r14
cmp rdx, 0x1000
jb 0x1400013c0
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400013c0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.14000155c
mov dword [rbp + 0x3b0], 0
xor esi, esi
mov qword [rsp + 0x20], rsi
lea r9d, [rsi + 4]
lea r8, [rbp + 0x3b0]
mov rdx, rbx
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [rbp + 0x3b4], 0x3f800000
mov qword [rsp + 0x20], rsi
lea r9d, [rsi + 4]
lea r8, [rbp + 0x3b4]
mov rdx, rbx
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test r15, r15
je 0x14000144f
sub rdi, r15
and rdi, 0xfffffffffffffffc
cmp rdi, 0x1000
jb 0x140001444
add rdi, 0x27
mov rcx, qword [r15 - 8]
sub r15, rcx
lea rax, [r15 - 8]
cmp rax, 0x1f
ja 0x140001481
mov r15, rcx
mov rdx, rdi
mov rcx, r15
call fcn.14000155c
xor eax, eax
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.140001500
lea r11, [rsp + 0x4e0]
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