Function at 0x140054890
Capabilities:
Create thread
Enumerate process modules
Log keystrokes via polling
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x2c0]
sub rsp, 0x3c0
mov rax, qword [0x1401aef80]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
xor edx, edx
lea rcx, str.grcWindow
call qword [sym.imp.USER32.dll_FindWindowA]
xor r13d, r13d
lea rdx, str.FiveM_GTAProcess.exe
lea rcx, [rsp + 0x30]
mov qword [0x140204ef8], rax
xorps xmm0, xmm0
mov qword [rsp + 0x40], r13
movups xmmword [rsp + 0x30], xmm0
lea r8d, [r13 + 0x14]
mov qword [rsp + 0x48], r13
call fcn.14005dee0
lea rcx, [rsp + 0x30]
call fcn.1400384f0
lea rdi, [0x140204fe8]
test al, al
je 0x140054992
mov rax, qword [0x140205000]
mov esi, 0x247f840
mov r14d, 0x1efd4c8
mov r15d, 0x2087780
cmp rax, 0x14
jb 0x140054972
cmp rax, 0x10
mov qword [0x140204ff8], 0x14
mov rbx, rdi
lea r8d, [r13 + 0x14]
cmovae rbx, qword [0x140204fe8]
lea rdx, str.FiveM_GTAProcess.exe
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x14], r13b
mov byte [0x140203e5c], r13b
jmp 0x1400550cd
lea r9, str.FiveM_GTAProcess.exe
mov edx, reloc.WS2_32.dll_sendto
mov rcx, rdi
call fcn.14005f220
mov byte [0x140203e5c], r13b
jmp 0x1400550cd
xorps xmm0, xmm0
mov qword [rsp + 0x40], r13
mov r8d, reloc.WLDAP32.dll_Ordinal_26
mov qword [rsp + 0x48], r13
lea rdx, str.FiveM_b2060_GTAProcess.exe
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
call fcn.14005dee0
lea rcx, [rsp + 0x30]
call fcn.1400384f0
test al, al
je 0x140054a32
mov rax, qword [0x140205000]
mov esi, 0x24c8858
mov r14d, 0x1ec3828
mov r15d, 0x1f6a7e0
cmp rax, 0x1a
jb 0x140054a26
cmp rax, 0x10
mov qword [0x140204ff8], 0x1a
mov rbx, rdi
lea rdx, str.FiveM_b2060_GTAProcess.exe
cmovae rbx, qword [0x140204fe8]
mov r8d, reloc.WLDAP32.dll_Ordinal_26
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x1a], r13b
mov byte [0x140203e5c], r13b
jmp 0x1400550cd
lea r9, str.FiveM_b2060_GTAProcess.exe
jmp 0x140054d4d
xorps xmm0, xmm0
mov qword [rsp + 0x40], r13
mov r8d, reloc.WLDAP32.dll_Ordinal_26
mov qword [rsp + 0x48], r13
lea rdx, str.FiveM_b2189_GTAProcess.exe
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
call fcn.14005dee0
lea rcx, [rsp + 0x30]
call fcn.1400384f0
test al, al
je 0x140054ad2
mov rax, qword [0x140205000]
mov esi, 0x24e6d90
mov r14d, 0x1ee18a8
mov r15d, 0x1f888c0
cmp rax, 0x1a
jb 0x140054ac6
cmp rax, 0x10
mov qword [0x140204ff8], 0x1a
mov rbx, rdi
lea rdx, str.FiveM_b2189_GTAProcess.exe
cmovae rbx, qword [0x140204fe8]
mov r8d, reloc.WLDAP32.dll_Ordinal_26
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x1a], r13b
mov byte [0x140203e5c], r13b
jmp 0x1400550cd
lea r9, str.FiveM_b2189_GTAProcess.exe
jmp 0x140054d4d
xorps xmm0, xmm0
mov qword [rsp + 0x40], r13
mov r8d, reloc.WLDAP32.dll_Ordinal_26
mov qword [rsp + 0x48], r13
lea rdx, str.FiveM_b2372_GTAProcess.exe
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
call fcn.14005dee0
lea rcx, [rsp + 0x30]
call fcn.1400384f0
test al, al
je 0x140054b72
mov rax, qword [0x140205000]
mov esi, 0x252dcd8
mov r14d, 0x1f05208
mov r15d, 0x1f9e9f0
cmp rax, 0x1a
jb 0x140054b66
cmp rax, 0x10
mov qword [0x140204ff8], 0x1a
mov rbx, rdi
lea rdx, str.FiveM_b2372_GTAProcess.exe
cmovae rbx, qword [0x140204fe8]
mov r8d, reloc.WLDAP32.dll_Ordinal_26
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x1a], r13b
mov byte [0x140203e5c], r13b
jmp 0x1400550cd
lea r9, str.FiveM_b2372_GTAProcess.exe
jmp 0x140054d4d
xorps xmm0, xmm0
mov qword [rsp + 0x40], r13
mov r8d, reloc.WLDAP32.dll_Ordinal_26
mov qword [rsp + 0x48], r13
lea rdx, str.FiveM_b2545_GTAProcess.exe
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
call fcn.14005dee0
lea rcx, [rsp + 0x30]
call fcn.1400384f0
test al, al
je 0x140054c12
mov rax, qword [0x140205000]
mov esi, 0x25667e8
mov r14d, 0x1f2e7a8
mov r15d, 0x1fd6f70
cmp rax, 0x1a
jb 0x140054c06
cmp rax, 0x10
mov qword [0x140204ff8], 0x1a
mov rbx, rdi
lea rdx, str.FiveM_b2545_GTAProcess.exe
cmovae rbx, qword [0x140204fe8]
mov r8d, reloc.WLDAP32.dll_Ordinal_26
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x1a], r13b
mov byte [0x140203e5c], r13b
jmp 0x1400550cd
lea r9, str.FiveM_b2545_GTAProcess.exe
jmp 0x140054d4d
xorps xmm0, xmm0
mov qword [rsp + 0x40], r13
mov r8d, reloc.WLDAP32.dll_Ordinal_26
mov qword [rsp + 0x48], r13
lea rdx, str.FiveM_b2612_GTAProcess.exe
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
call fcn.14005dee0
lea rcx, [rsp + 0x30]
call fcn.1400384f0
test al, al
je 0x140054cb2
mov rax, qword [0x140205000]
mov esi, 0x2567db0
mov r14d, 0x1f77ef0
mov r15d, 0x1fd8570
cmp rax, 0x1a
jb 0x140054ca6
cmp rax, 0x10
mov qword [0x140204ff8], 0x1a
mov rbx, rdi
lea rdx, str.FiveM_b2612_GTAProcess.exe
cmovae rbx, qword [0x140204fe8]
mov r8d, reloc.WLDAP32.dll_Ordinal_26
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x1a], r13b
mov byte [0x140203e5c], r13b
jmp 0x1400550cd
lea r9, str.FiveM_b2612_GTAProcess.exe
jmp 0x140054d4d
xorps xmm0, xmm0
mov qword [rsp + 0x40], r13
mov r8d, reloc.WLDAP32.dll_Ordinal_26
mov qword [rsp + 0x48], r13
lea rdx, str.FiveM_b2699_GTAProcess.exe
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
call fcn.14005dee0
lea rcx, [rsp + 0x30]
call fcn.1400384f0
test al, al
je 0x140054d66
mov rax, qword [0x140205000]
mov esi, 0x26684d8
mov r14d, 0x20304c8
mov r15d, 0x20d8c90
cmp rax, 0x1a
jb 0x140054d46
cmp rax, 0x10
mov qword [0x140204ff8], 0x1a
mov rbx, rdi
lea rdx, str.FiveM_b2699_GTAProcess.exe
cmovae rbx, qword [0x140204fe8]
mov r8d, reloc.WLDAP32.dll_Ordinal_26
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x1a], r13b
mov byte [0x140203e5c], r13b
jmp 0x1400550cd
lea r9, str.FiveM_b2699_GTAProcess.exe
mov edx, reloc.WLDAP32.dll_Ordinal_26
mov rcx, rdi
call fcn.14005f220
mov byte [0x140203e5c], r13b
jmp 0x1400550cd
xorps xmm0, xmm0
mov qword [rsp + 0x40], r13
mov r8d, reloc.WLDAP32.dll_Ordinal_27
mov qword [rsp + 0x48], r13
lea rdx, str.FiveM_b2699_GameProcess.exe
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
call fcn.14005dee0
lea rcx, [rsp + 0x30]
call fcn.1400384f0
test al, al
je 0x140054e1a
mov rax, qword [0x140205000]
mov esi, 0x26684d8
mov r14d, 0x20304c8
mov r15d, 0x20d8c90
cmp rax, 0x1b
jb 0x140054dfa
cmp rax, 0x10
mov qword [0x140204ff8], 0x1b
mov rbx, rdi
lea rdx, str.FiveM_b2699_GameProcess.exe
cmovae rbx, qword [0x140204fe8]
mov r8d, reloc.WLDAP32.dll_Ordinal_27
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x1b], r13b
mov byte [0x140203e5c], r13b
jmp 0x1400550cd
lea r9, str.FiveM_b2699_GameProcess.exe
mov edx, reloc.WLDAP32.dll_Ordinal_27
mov rcx, rdi
call fcn.14005f220
mov byte [0x140203e5c], r13b
jmp 0x1400550cd
xorps xmm0, xmm0
mov qword [rsp + 0x40], r13
mov r8d, reloc.WLDAP32.dll_Ordinal_26
mov qword [rsp + 0x48], r13
lea rdx, str.FiveM_b2802_GTAProcess.exe
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
call fcn.14005dee0
lea rcx, [rsp + 0x30]
call fcn.1400384f0
test al, al
je 0x140054eba
mov rax, qword [0x140205000]
mov esi, 0x254d448
mov r14d, 0x1f5b820
mov r15d, 0x1fbc100
cmp rax, 0x1a
jb 0x140054eae
cmp rax, 0x10
mov qword [0x140204ff8], 0x1a
mov rbx, rdi
lea rdx, str.FiveM_b2802_GTAProcess.exe
cmovae rbx, qword [0x140204fe8]
mov r8d, reloc.WLDAP32.dll_Ordinal_26
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x1a], r13b
mov byte [0x140203e5c], 1
jmp 0x1400550cd
lea r9, str.FiveM_b2802_GTAProcess.exe
jmp 0x140054f55
xorps xmm0, xmm0
mov qword [rsp + 0x40], r13
mov r8d, reloc.WLDAP32.dll_Ordinal_26
mov qword [rsp + 0x48], r13
lea rdx, str.FiveM_b2944_GTAProcess.exe
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
call fcn.14005dee0
lea rcx, [rsp + 0x30]
call fcn.1400384f0
test al, al
je 0x140054f6e
mov rax, qword [0x140205000]
mov esi, 0x257bea0
mov r14d, 0x1f42068
mov r15d, 0x1feaac0
cmp rax, 0x1a
jb 0x140054f4e
cmp rax, 0x10
mov qword [0x140204ff8], 0x1a
mov rbx, rdi
lea rdx, str.FiveM_b2944_GTAProcess.exe
cmovae rbx, qword [0x140204fe8]
mov r8d, reloc.WLDAP32.dll_Ordinal_26
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x1a], r13b
mov byte [0x140203e5c], 1
jmp 0x1400550cd
lea r9, str.FiveM_b2944_GTAProcess.exe
mov edx, reloc.WLDAP32.dll_Ordinal_26
mov rcx, rdi
call fcn.14005f220
mov byte [0x140203e5c], 1
jmp 0x1400550cd
xorps xmm0, xmm0
mov qword [rsp + 0x40], r13
mov r8d, reloc.WLDAP32.dll_Ordinal_27
mov qword [rsp + 0x48], r13
lea rdx, str.FiveM_b2802_GameProcess.exe
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
call fcn.14005dee0
lea rcx, [rsp + 0x30]
call fcn.1400384f0
test al, al
je 0x140055022
mov rax, qword [0x140205000]
mov esi, 0x254d448
mov r14d, 0x1f5b820
mov r15d, 0x1fbc100
cmp rax, 0x1b
jb 0x140055002
cmp rax, 0x10
mov qword [0x140204ff8], 0x1b
mov rbx, rdi
lea rdx, str.FiveM_b2802_GameProcess.exe
cmovae rbx, qword [0x140204fe8]
mov r8d, reloc.WLDAP32.dll_Ordinal_27
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x1b], r13b
mov byte [0x140203e5c], 1
jmp 0x1400550cd
lea r9, str.FiveM_b2802_GameProcess.exe
mov edx, reloc.WLDAP32.dll_Ordinal_27
mov rcx, rdi
call fcn.14005f220
mov byte [0x140203e5c], 1
jmp 0x1400550cd
xorps xmm0, xmm0
mov qword [rsp + 0x40], r13
mov r8d, reloc.WLDAP32.dll_Ordinal_27
mov qword [rsp + 0x48], r13
lea rdx, str.FiveM_b2944_GameProcess.exe
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
call fcn.14005dee0
lea rcx, [rsp + 0x30]
call fcn.1400384f0
test al, al
je 0x1400550bf
mov rax, qword [0x140205000]
mov esi, 0x257bea0
mov r14d, 0x1f42068
mov r15d, 0x1feaac0
cmp rax, 0x1b
jb 0x1400550b3
cmp rax, 0x10
mov qword [0x140204ff8], 0x1b
mov rbx, rdi
lea rdx, str.FiveM_b2944_GameProcess.exe
cmovae rbx, qword [0x140204fe8]
mov r8d, reloc.WLDAP32.dll_Ordinal_27
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x1b], r13b
mov byte [0x140203e5c], 1
jmp 0x1400550cd
lea r9, str.FiveM_b2944_GameProcess.exe
jmp 0x140055009
mov esi, dword [rsp + 0x50]
mov r14d, dword [rsp + 0x50]
mov r15d, dword [rsp + 0x50]
mov rcx, qword [0x140204ef8]
test rcx, rcx
jne 0x1400550fa
lea r9d, [rcx + 0x10]
lea r8, str.Error
lea rdx, str.Could_not_find_FiveM_process.
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x3f0], r12
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x50]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
cmp qword [0x140205000], 0x10
mov ecx, Ordinal_26
mov edx, dword [rsp + 0x50]
mov r12, r13
cmovae rdi, qword [0x140204fe8]
mov qword [0x140204f30], rax
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], r13
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140055191
mov r8, rdi
lea rdx, str.Failed_to_get__s__invalid_handle_value
lea rcx, [rbp + 0x1b0]
call fcn.14005cfd0
xor r9d, r9d
lea r8, str.ERROR
lea rdx, [rbp + 0x1b0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1400551f9
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x238
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x1400551f0
nop dword [rax + rax]
mov rdx, rdi
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
test eax, eax
je 0x1400551d5
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x1400551b0
jmp 0x1400551f0
mov rax, qword [rbp - 0x78]
mov r12, qword [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov eax, dword [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], r12
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [rsp + 0x30]
lea r8, [rbp + 0x1a8]
mov rcx, qword [0x140204f30]
movsd xmm1, qword [rsp + 0x40]
mov r9d, 8
mov edx, r14d
add rdx, r12
movsd qword [0x140204ee8], xmm1
movups xmmword [0x140204ed8], xmm0
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rbp + 0x1a8]
lea r8, [rbp + 0x1a0]
mov rcx, qword [0x140204f30]
mov r9d, 8
mov edx, esi
add rdx, qword [0x140204ed8]
mov qword [0x140204f20], rax
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rbp + 0x1a0]
lea r8, [rbp + 0x1a8]
mov rcx, qword [0x140204f30]
mov r9d, 8
mov edx, r15d
add rdx, qword [0x140204ed8]
mov qword [0x140204ef0], rax
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [0x140204ef0]
lea r8, [rbp + 0x1a0]
mov rax, qword [rbp + 0x1a8]
add rdx, 8
mov rcx, qword [0x140204f30]
mov r9d, 8
mov qword [0x140203e50], rax
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rbp + 0x1a0]
mov qword [0x140203e80], rax
call fcn.140049990
cmp qword [0x140203638], r13
mov r12, qword [rsp + 0x3f0]
jne 0x14005530b
mov eax, 1
jmp 0x1400553c4
mov qword [rsp + 0x28], r13
lea r8, [0x140054830]
xor r9d, r9d
mov dword [rsp + 0x20], r13d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.140048f90
mov rcx, qword [0x140203638]
call fcn.14008ab00
test eax, eax
jne 0x1400553bf
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x140204ef8]
mov rcx, qword [0x140203ea0]
je 0x140055367
cmp rax, rcx
je 0x140055367
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1400553aa
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov ecx, reloc.WS2_32.dll_WSAStartup
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1400553aa
cmp byte [reloc.WS2_32.dll_accept], r13b
mov edx, 0x2000d
mov rcx, qword [0x140203638]
sete al
movzx r8d, al
xor r8d, 1
mov byte [reloc.WS2_32.dll_accept], al
call fcn.14008be80
call fcn.140051770
mov rcx, qword [0x140203638]
call fcn.14008ab00
test eax, eax
je 0x140055342
call fcn.140049d50
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.140104550
lea r11, [rsp + 0x3c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret