Function at 0x140002a30
Capabilities:
Enumerate process modules
Enumerate processes
Log keystrokes via polling
Terminate process

Disassembly:
push rbp
lea rbp, [rsp - 0x3f0]
sub rsp, 0x4f0
mov rax, qword [0x140079180]
xor rax, rsp
mov qword [rbp + 0x3e0], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov r9d, 1
lea r8, str.blue
lea rdx, [0x140065890]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
jne 0x140002eed
mov qword [rsp + 0x500], rbx
mov edx, 0x2bc
mov qword [rsp + 0x508], rsi
mov ecx, edx
mov qword [rsp + 0x510], rdi
mov qword [rsp + 0x518], r14
call qword [sym.imp.KERNEL32.dll_Beep]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Process_ID_:
call fcn.140008700
mov rcx, rax
xor edx, edx
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_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [0x140008aa0]
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 rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Base_Address_:
call fcn.140008700
mov rcx, rax
lea rdx, [0x1400020e0]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
xor edx, edx
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_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [0x140008aa0]
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 rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Dynamic_Address_:
call fcn.140008700
mov rcx, rax
lea rdx, [0x1400020e0]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
xor edx, edx
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_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [0x140008aa0]
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]
xor r14d, r14d
xor edx, edx
mov rdi, r14
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140002bbc
lea rdx, [rbp - 0x70]
mov dword [rbp - 0x70], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140002bbc
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 0x140002bb9
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140002b91
jmp 0x140002bbc
mov edi, dword [rbp - 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
je 0x140002ea2
mov edx, edi
mov ecx, 0x18
mov rsi, r14
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140002c2c
lea rdx, [rbp - 0x70]
mov dword [rbp - 0x70], 0x438
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x140002c2c
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 0x140002c28
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x140002c00
jmp 0x140002c2c
mov rsi, qword [rbp - 0x58]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
add rsi, 0x212b208
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140002eb5
mov ecx, 0x46
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140002d6b
mov ecx, recv
mov dword [rbp + 0x3d0], 0x3f800000
mov dword [rsp + 0x50], 0x60
mov dword [rsp + 0x54], 0x20
mov dword [rsp + 0x58], WSACleanup
call fcn.140057f48
mov r8d, recv
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x50]
mov rcx, rax
lea rbx, [rax + 0xc]
mov qword [rsp + 0x40], rbx
call sub.VCRUNTIME140.dll_memmove
lea r8, [rsp + 0x30]
mov qword [rsp + 0x38], rbx
mov rdx, rsi
mov rcx, rdi
call fcn.1400095e0
mov r9d, 4
mov qword [rsp + 0x20], r14
lea r8, [rbp + 0x3d0]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, recv
mov dword [rbp + 0x3d4], 0x41b80000
mov dword [rsp + 0x60], reloc.WS2_32.dll_recv
mov dword [rsp + 0x64], reloc.WS2_32.dll_recv
mov dword [rsp + 0x68], 0x18c
call fcn.140057f48
mov r8d, recv
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x60]
mov rcx, rax
lea rbx, [rax + 0xc]
mov qword [rsp + 0x40], rbx
call sub.VCRUNTIME140.dll_memmove
lea r8, [rsp + 0x30]
mov qword [rsp + 0x38], rbx
mov rdx, rsi
mov rcx, rdi
call fcn.1400095e0
mov r9d, 4
mov qword [rsp + 0x20], r14
lea r8, [rbp + 0x3d4]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, 0x51
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140002e7a
mov ecx, recv
mov dword [rbp + 0x3d0], 0x3deb851f
mov dword [rsp + 0x70], 0x60
mov dword [rsp + 0x74], 0x20
mov dword [rsp + 0x78], WSACleanup
call fcn.140057f48
mov r8d, recv
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x70]
mov rcx, rax
lea rbx, [rax + 0xc]
mov qword [rsp + 0x40], rbx
call sub.VCRUNTIME140.dll_memmove
lea r8, [rsp + 0x30]
mov qword [rsp + 0x38], rbx
mov rdx, rsi
mov rcx, rdi
call fcn.1400095e0
mov r9d, 4
mov qword [rsp + 0x20], r14
lea r8, [rbp + 0x3d0]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, recv
mov dword [rbp + 0x3d8], 0x41480000
mov dword [rbp - 0x80], reloc.WS2_32.dll_recv
mov dword [rbp - 0x7c], reloc.WS2_32.dll_recv
mov dword [rbp - 0x78], 0x18c
call fcn.140057f48
mov r8d, recv
mov qword [rsp + 0x30], rax
lea rdx, [rbp - 0x80]
mov rcx, rax
lea rbx, [rax + 0xc]
mov qword [rsp + 0x40], rbx
call sub.VCRUNTIME140.dll_memmove
lea r8, [rsp + 0x30]
mov qword [rsp + 0x38], rbx
mov rdx, rsi
mov rcx, rdi
call fcn.1400095e0
mov r9d, 4
mov qword [rsp + 0x20], r14
lea r8, [rbp + 0x3d8]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x140002ec5
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140002b62
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Process_not_found_n
call fcn.140008700
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140002b62
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov r14, qword [rsp + 0x518]
mov rdi, qword [rsp + 0x510]
mov rsi, qword [rsp + 0x508]
mov rbx, qword [rsp + 0x500]
mov rcx, qword [rbp + 0x3e0]
xor rcx, rsp
call fcn.140057ec0
add rsp, 0x4f0
pop rbp
ret