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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r14
lea rbp, [rsp - 0x2c0]
sub rsp, 0x3c0
mov rax, qword [0x140176f80]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
xor edx, edx
lea rcx, str.grcWindow
call qword [sym.imp.USER32.dll_FindWindowA]
xorps xmm0, xmm0
lea rdx, str.FiveM_GTAProcess.exe
lea rcx, [rsp + 0x30]
mov qword [0x1401ccf40], rax
xor r12d, r12d
mov r8d, reloc.WS2_32.dll_sendto
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
call fcn.140002540
lea rcx, [rsp + 0x30]
call fcn.140038bf0
lea rbx, [0x1401ccfe0]
test al, al
je 0x140053e15
mov r8d, reloc.WS2_32.dll_sendto
lea rdx, str.FiveM_GTAProcess.exe
mov rcx, rbx
mov edi, 0x247f840
mov esi, 0x1efd4c8
mov r14d, 0x2087780
call fcn.140059ce0
jmp 0x140054044
xorps xmm0, xmm0
mov qword [rsp + 0x40], r12
mov r8d, reloc.WLDAP32.dll_Ordinal_26
mov qword [rsp + 0x48], r12
lea rdx, str.FiveM_b2060_GTAProcess.exe
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
call fcn.140002540
lea rcx, [rsp + 0x30]
call fcn.140038bf0
mov r8d, reloc.WLDAP32.dll_Ordinal_26
test al, al
je 0x140053e76
lea rdx, str.FiveM_b2060_GTAProcess.exe
mov rcx, rbx
mov edi, 0x24c8858
mov esi, 0x1ec3828
mov r14d, 0x1f6a7e0
call fcn.140059ce0
jmp 0x140054044
xorps xmm0, xmm0
mov qword [rsp + 0x40], r12
lea rdx, str.FiveM_b2189_GTAProcess.exe
mov qword [rsp + 0x48], r12
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
call fcn.140002540
lea rcx, [rsp + 0x30]
call fcn.140038bf0
mov r8d, reloc.WLDAP32.dll_Ordinal_26
test al, al
je 0x140053ed1
lea rdx, str.FiveM_b2189_GTAProcess.exe
mov rcx, rbx
mov edi, 0x24e6d90
mov esi, 0x1ee18a8
mov r14d, 0x1f888c0
call fcn.140059ce0
jmp 0x140054044
xorps xmm0, xmm0
mov qword [rsp + 0x40], r12
lea rdx, str.FiveM_b2372_GTAProcess.exe
mov qword [rsp + 0x48], r12
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
call fcn.140002540
lea rcx, [rsp + 0x30]
call fcn.140038bf0
mov r8d, reloc.WLDAP32.dll_Ordinal_26
test al, al
je 0x140053f2c
lea rdx, str.FiveM_b2372_GTAProcess.exe
mov rcx, rbx
mov edi, 0x252dcd8
mov esi, 0x1f05208
mov r14d, 0x1f9e9f0
call fcn.140059ce0
jmp 0x140054044
xorps xmm0, xmm0
mov qword [rsp + 0x40], r12
lea rdx, str.FiveM_b2545_GTAProcess.exe
mov qword [rsp + 0x48], r12
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
call fcn.140002540
lea rcx, [rsp + 0x30]
call fcn.140038bf0
mov r8d, reloc.WLDAP32.dll_Ordinal_26
test al, al
je 0x140053f87
lea rdx, str.FiveM_b2545_GTAProcess.exe
mov rcx, rbx
mov edi, 0x25667e8
mov esi, 0x1f2e7a8
mov r14d, 0x1fd6f70
call fcn.140059ce0
jmp 0x140054044
xorps xmm0, xmm0
mov qword [rsp + 0x40], r12
lea rdx, str.FiveM_b2612_GTAProcess.exe
mov qword [rsp + 0x48], r12
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
call fcn.140002540
lea rcx, [rsp + 0x30]
call fcn.140038bf0
mov r8d, reloc.WLDAP32.dll_Ordinal_26
test al, al
je 0x140053fdf
lea rdx, str.FiveM_b2612_GTAProcess.exe
mov rcx, rbx
mov edi, 0x2567db0
mov esi, 0x1f77ef0
mov r14d, 0x1fd8570
call fcn.140059ce0
jmp 0x140054044
xorps xmm0, xmm0
mov qword [rsp + 0x40], r12
lea rdx, str.FiveM_b2699_GTAProcess.exe
mov qword [rsp + 0x48], r12
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
call fcn.140002540
lea rcx, [rsp + 0x30]
call fcn.140038bf0
test al, al
je 0x140054037
mov r8d, reloc.WLDAP32.dll_Ordinal_26
lea rdx, str.FiveM_b2699_GTAProcess.exe
mov rcx, rbx
mov edi, 0x26684d8
mov esi, 0x20304c8
mov r14d, 0x20d8c90
call fcn.140059ce0
jmp 0x140054044
mov edi, dword [rsp + 0x50]
mov esi, dword [rsp + 0x50]
mov r14d, dword [rsp + 0x50]
mov rcx, qword [0x1401ccf40]
test rcx, rcx
jne 0x140054073
mov r9d, reloc.WS2_32.dll_recv
lea r8, str.TD_Cheats
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 + 0x3e0], r15
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 [0x1401ccff8], 0xf
mov ecx, Ordinal_26
mov edx, dword [rsp + 0x50]
cmova rbx, qword [0x1401ccfe0]
mov qword [0x1401ccf70], rax
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r12
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x14005411e
mov r8, rbx
lea rdx, str.Failed_to_get__s__invalid_handle_value
lea rcx, [rbp + 0x1b0]
call fcn.14005a140
xor r9d, r9d
lea r8, str.ERROR
lea rdx, [rbp + 0x1b0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rax, r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rsp + 0x30]
mov qword [rsp + 0x40], r12
jmp 0x140054193
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x238
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x140054180
nop dword [rax + rax]
mov rdx, rbx
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
test eax, eax
je 0x140054165
lea rdx, [rsp + 0x60]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x140054140
jmp 0x140054180
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x38], rax
mov eax, dword [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [rsp + 0x30]
movq rax, xmm0
movsd xmm1, qword [rsp + 0x40]
lea r8, [rbp + 0x1a8]
mov rcx, qword [0x1401ccf70]
mov r9d, 8
mov edx, esi
add rdx, rax
movsd qword [0x1401ccf20], xmm1
movups xmmword [0x1401ccf10], xmm0
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rbp + 0x1a8]
lea r8, [rbp + 0x1a0]
mov rcx, qword [0x1401ccf70]
mov r9d, 8
mov edx, edi
add rdx, qword [0x1401ccf10]
mov qword [0x1401ccf60], rax
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rbp + 0x1a0]
lea r8, [rbp + 0x1a8]
mov rcx, qword [0x1401ccf70]
mov r9d, 8
mov edx, r14d
add rdx, qword [0x1401ccf10]
mov qword [0x1401ccf30], rax
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [0x1401ccf30]
lea r8, [rbp + 0x1a0]
mov rax, qword [rbp + 0x1a8]
add rdx, 8
mov rcx, qword [0x1401ccf70]
mov r9d, 8
mov qword [0x1401cbea0], rax
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rbp + 0x1a0]
mov qword [0x1401cbec8], rax
call fcn.1400499f0
cmp qword [0x1401cb690], r12
mov r15, qword [rsp + 0x3e0]
jne 0x14005429f
mov eax, 1
jmp 0x140054355
mov qword [rsp + 0x28], r12
lea r8, [0x140053d00]
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.1400495c0
mov rcx, qword [0x1401cb690]
call fcn.140087200
test eax, eax
jne 0x140054350
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x1401ccf40]
mov rcx, qword [0x1401cbee8]
je 0x1400542f7
cmp rax, rcx
je 0x1400542f7
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x14005433b
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x1401ccf28]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14005433b
cmp byte [reloc.WS2_32.dll_accept], r12b
mov edx, 0x2000d
mov rcx, qword [0x1401cb690]
sete al
movzx r8d, al
xor r8d, 1
mov byte [reloc.WS2_32.dll_accept], al
call fcn.140088580
call fcn.140051670
mov rcx, qword [0x1401cb690]
call fcn.140087200
test eax, eax
je 0x1400542d2
call fcn.140049c20
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.1400fda00
lea r11, [rsp + 0x3c0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rbp
ret