Function at 0x140001180
Capabilities:
Enumerate process modules
Enumerate processes
Terminate process

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 edx, edx
lea rcx, str.grcWindow
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
jne 0x1400011f2
lea r9d, [rax + 0x10]
lea r8, str.An_error_occurred
lea rdx, str._Please_open_FiveM
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor r15d, r15d
mov edi, r15d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000124f
mov dword [rbp - 0x70], 0x238
lea rdx, [rbp - 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000124f
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 0x14000124c
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001224
jmp 0x14000124f
mov edi, dword [rbp - 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x1400012be
lea rdx, [0x1400034a4]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001690
lea rdx, str._e_31m____Process_Not_found__0x_lX__n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001690
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [0x1400034a4]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001690
lea rdx, str._e_31m____Pls_Open_FiveM_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001690
mov ecx, 0xdac
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001585
mov r14, r15
mov edx, edi
mov ecx, 0x18
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000131c
mov dword [rbp - 0x70], 0x438
lea rdx, [rbp - 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x14000131c
nop
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 0x140001318
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x1400012f0
jmp 0x14000131c
mov r14, qword [rbp - 0x58]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.ProcID_:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001690
mov rcx, rax
mov edx, edi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140001860]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
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]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
xorps xmm0, xmm0
movups xmmword [rbp + 0x3d8], xmm0
mov dword [rsp + 0x40], r15d
mov qword [rsp + 0x44], 0xf70
mov dword [rsp + 0x4c], r15d
mov qword [rsp + 0x50], 0x138
mov dword [rsp + 0x58], r15d
mov qword [rsp + 0x5c], 0xa0
mov dword [rsp + 0x64], r15d
mov dword [rsp + 0x68], 0x10
mov dword [rsp + 0x6c], 0x1ac
mov ecx, 0x30
call fcn.1400018d0
mov r13, 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.1400018d0
mov r15, rax
lea r12, [rax + 0x30]
mov r8d, 0x30
mov rdx, r13
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp - 0x78], rbx
xor r14d, r14d
mov rax, r12
sub rax, r15
sar rax, 2
test rax, rax
je 0x14000148a
xor esi, esi
mov rdi, qword [rsp + 0x30]
mov r13, 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 r14d
mov esi, r14d
cmp rsi, r13
jb 0x140001441
mov rdi, qword [rbp + 0x3e8]
mov r13, qword [rbp + 0x3d8]
mov rsi, qword [rsp + 0x30]
test r15, r15
je 0x1400014ce
sub r12, r15
sar r12, 2
lea rdx, [r12*4]
mov rax, r15
cmp rdx, 0x1000
jb 0x1400014c6
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400014c6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.14000190c
mov dword [rbp + 0x3d0], 0
xor r14d, r14d
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 4]
lea r8, [rbp + 0x3d0]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [rbp + 0x3d4], 0x41f40000
lea rdx, str.Value_:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001690
mov rcx, rax
movss xmm1, dword [0x14000350c]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___float____ptr64]
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 4]
lea r8, [rbp + 0x3d4]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
test r13, r13
je 0x140001585
sub rdi, r13
and rdi, 0xfffffffffffffffc
cmp rdi, 0x1000
jb 0x14000157a
add rdi, 0x27
mov rcx, qword [r13 - 8]
sub r13, rcx
lea rax, [r13 - 8]
cmp rax, 0x1f
ja 0x1400015b7
mov r13, rcx
mov rdx, rdi
mov rcx, r13
call fcn.14000190c
xor eax, eax
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.1400018b0
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