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

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 + 0x3f8], rax
xor edi, edi
mov r12d, edi
jmp 0x1800012f2
xor edi, edi
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18000134d
mov dword [rsp + 0x70], 0x238
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x18000134d
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 0x180001349
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x180001320
jmp 0x18000134d
mov edi, dword [rsp + 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x180001372
test r12, r12
mov edi, 0
je 0x1800012f2
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r12d, edi
jmp 0x1800012f2
test r12, r12
jne 0x180001393
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r12, rax
test rax, rax
je 0x1800012f0
xor r14d, r14d
mov edx, edi
lea ecx, [r14 + 0x18]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800013f2
mov dword [rsp + 0x70], 0x438
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x1800013f2
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 0x1800013ee
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x1800013c5
jmp 0x1800013f2
mov r14, 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 rsi, rax
lea r13, [r14 + 0x212b208]
xorps xmm0, xmm0
mov dword [rsp + 0x30], 0x60
mov dword [rsp + 0x34], 0x20
mov dword [rsp + 0x38], 0x20
mov dword [rsp + 0x3c], 8
mov qword [rsp + 0x40], 8
xor edi, edi
movdqu xmmword [rbp + 0x3d0], xmm0
mov qword [rbp + 0x3e0], rdi
lea ecx, [rdi + 0x18]
call fcn.180001a54
mov qword [rbp + 0x3d0], rax
mov qword [rbp + 0x3d8], rax
lea rbx, [rax + 0x18]
mov qword [rbp + 0x3e0], rbx
lea r8d, [rdi + 0x18]
lea rdx, [rsp + 0x30]
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0x3d8], rbx
xorps xmm0, xmm0
mov dword [rsp + 0x48], 0x40
mov dword [rsp + 0x4c], 0x28c
movdqu xmmword [rbp + 0x3b8], xmm0
mov qword [rbp + 0x3c8], rdi
lea ecx, [rdi + 8]
call fcn.180001a54
mov qword [rbp + 0x3b8], rax
lea rdx, [rax + 8]
mov qword [rbp + 0x3c8], rdx
mov rcx, qword [rsp + 0x48]
mov qword [rax], rcx
mov qword [rbp + 0x3c0], rdx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rdi
mov rbx, qword [rbp + 0x3d8]
mov rdx, qword [rbp + 0x3d0]
sub rbx, rdx
sar rbx, 2
test rbx, rbx
je 0x18000159d
movabs rax, 0x3fffffffffffffff
cmp rbx, rax
ja 0x1800018d2
lea rbx, [rbx*4]
cmp rbx, 0x1000
jb 0x18000154f
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x1800018cc
call fcn.180001a54
test rax, rax
je 0x1800018c5
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x18000155f
test rbx, rbx
je 0x180001566
mov rcx, rbx
call fcn.180001a54
mov rdi, rax
mov rdx, qword [rbp + 0x3d0]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rdi
lea rax, [rdi + rbx]
mov qword [rsp + 0x60], rax
mov rbx, qword [rbp + 0x3d8]
sub rbx, rdx
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
sar rbx, 2
lea rax, [rdi + rbx*4]
mov qword [rsp + 0x58], rax
xor edi, edi
lea r8, [rsp + 0x50]
lea rdx, [r14 + 0x2086a20]
mov rcx, rsi
call fcn.1800011a0
mov r14, rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rdi
mov rcx, qword [rbp + 0x3c0]
mov rdx, qword [rbp + 0x3b8]
sub rcx, rdx
sar rcx, 2
test rcx, rcx
je 0x18000167b
movabs rax, 0x3fffffffffffffff
cmp rcx, rax
ja 0x1800018e5
lea rbx, [rcx*4]
cmp rbx, 0x1000
jb 0x18000162d
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x1800018df
call fcn.180001a54
test rax, rax
je 0x1800018d8
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x18000163d
test rbx, rbx
je 0x180001644
mov rcx, rbx
call fcn.180001a54
mov rdi, rax
mov rdx, qword [rbp + 0x3b8]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
lea rax, [rdi + rbx]
mov qword [rsp + 0x40], rax
mov rbx, qword [rbp + 0x3c0]
sub rbx, rdx
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
sar rbx, 2
lea rax, [rdi + rbx*4]
mov qword [rsp + 0x38], rax
xor edi, edi
lea r8, [rsp + 0x30]
mov rdx, r13
mov rcx, rsi
call fcn.1800011a0
mov rbx, rax
mov dword [rbp + 0x3e8], 0
mov dword [rbp + 0x3ec], 0
mov qword [rsp + 0x20], rdi
mov r9d, 4
lea r8, [rbp + 0x3e8]
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov qword [rsp + 0x20], rdi
mov r9d, 4
lea r8, [rbp + 0x3ec]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x50
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x18000172c
mov dword [rbp + 0x3b0], 0x3f800000
mov qword [rsp + 0x20], rdi
mov r9d, 4
lea r8, [rbp + 0x3b0]
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, 0x96
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x47
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x18000176f
mov dword [rbp + 0x3b0], 0x3f000000
mov qword [rsp + 0x20], rdi
mov r9d, 4
lea r8, [rbp + 0x3b0]
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, 0x96
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x51
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1800017b2
mov dword [rbp + 0x3b0], 0x41880000
mov qword [rsp + 0x20], rdi
mov r9d, 4
lea r8, [rbp + 0x3b0]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, 0x96
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x7a
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x18000181e
mov dword [rbp + 0x3b0], 0x3deb851f
mov dword [rbp + 0x3f0], 0x41480000
mov qword [rsp + 0x20], rdi
mov r9d, 4
lea r8, [rbp + 0x3b0]
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], rdi
mov r9d, 4
lea r8, [rbp + 0x3f0]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, 0x96
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov rcx, qword [rbp + 0x3b8]
test rcx, rcx
je 0x18000187c
mov rax, qword [rbp + 0x3c8]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001865
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800018eb
call fcn.180001a20
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x3b8], xmm0
mov qword [rbp + 0x3c8], rdi
mov rcx, qword [rbp + 0x3d0]
test rcx, rcx
je 0x1800012f2
mov rdx, qword [rbp + 0x3e0]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800018bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800018f2
call fcn.180001a20
jmp 0x1800012f2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180001100
int3
call fcn.1800019d0
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180001100
int3
call fcn.1800019d0
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3