Function at 0x140001020
Capabilities:
Create thread
Execute command
Inject thread
Set console window title

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x1c0
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
lea rcx, str.Ver:_BETA__PECA_Injector__Dev:_PECA3142__Discord:____
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rcx, str.START_https:__discord.gg_yj99ZvVBXg
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov eax, dword [0x140003358]
lea rdx, [rsp + 0x70]
movsd xmm0, qword [str.PECA_Engine.dll]
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x48], eax
xor esi, esi
movzx eax, word [0x14000335c]
mov word [rsp + 0x4c], ax
movzx eax, byte [0x14000335e]
mov byte [rsp + 0x4e], al
mov dword [rsp + 0x68], esi
mov qword [rsp + 0x50], 0xf
mov qword [rsp + 0x58], 0xf
movsd qword [rsp + 0x40], xmm0
mov byte [rsp + 0x4f], sil
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
mov rdx, qword [rsp + 0x58]
test eax, eax
sete bl
cmp rdx, 0x10
jb 0x1400010fa
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400010f5
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400010f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001300
test bl, bl
je 0x14000124a
xor r9d, r9d
lea r8, [rsp + 0xa0]
mov edx, 0x104
lea rcx, str.PECA_Engine.dll
call qword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
je 0x14000125e
lea rdx, str.Grand_Theft_Auto_V
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rcx, rax
lea rdx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x68]
test r8d, r8d
je 0x140001272
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140001286
xor edx, edx
mov qword [rsp + 0x1d0], rdi
mov r9d, 0x3000
mov dword [rsp + 0x20], 4
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
je 0x14000129a
mov r9d, 0x104
mov qword [rsp + 0x20], rsi
lea r8, [rsp + 0xa0]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1400012ae
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor r8d, r8d
mov qword [rsp + 0x30], rsi
xor edx, edx
mov dword [rsp + 0x28], esi
mov rcx, rbx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
je 0x140001236
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rdi, qword [rsp + 0x1d0]
xor eax, eax
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1400012e0
mov rbx, qword [rsp + 0x1d8]
add rsp, 0x1c0
pop rsi
ret
lea rdx, str.Failed_to_create_Remote_Thread
lea rcx, str.Remote_Thread
call fcn.140001000
int3
lea rdx, str.File_doesnt_exist
lea rcx, str.File_Error
call fcn.140001000
int3
lea rdx, str.Failed_to_get_full_Path
lea rcx, str.File_Error
call fcn.140001000
int3
lea rdx, str.Please_Start_GTA
lea rcx, str.Process_Error
call fcn.140001000
int3
lea rdx, str.Failed_to_open_a_handle_to_the_Process
lea rcx, str.Process_Error
call fcn.140001000
int3
lea rdx, str.Failed_to_allocate_Memory
lea rcx, str.Allocate_Memory
call fcn.140001000
int3
lea rdx, str.Writing_to_Process_failed
lea rcx, str.Writing
call fcn.140001000
int3