Function at 0x140002a60
Capabilities:
Create thread
Inject dll
Inject thread
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov rax, qword [0x140101078]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, rdx
mov rdi, rcx
lea rdx, str.Grand_Theft_Auto_V
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
jne 0x140002ab2
xor r9d, r9d
lea r8, str.Inject
lea rdx, str.GTA5.exe_wasnt_running_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
cmp qword [rsi + 0x18], 0x10
mov rcx, rsi
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r15
jb 0x140002ad6
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
lea rdx, str.Grand_Theft_Auto_V
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x40]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
cmp qword [rdi + 0x18], 0x10
mov rcx, rdi
mov rbp, rax
jb 0x140002b1b
mov rcx, qword [rdi]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rcx + r8], 0
jne 0x140002b25
inc r8
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x1000
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
cmp qword [rdi + 0x18], 0x10
mov r9, rbx
mov r14, rax
jb 0x140002b70
mov rcx, qword [rdi]
nop dword [rax + rax]
inc r9
cmp byte [rcx + r9], 0
jne 0x140002b60
mov r8, rcx
jmp 0x140002b7d
inc r9
cmp byte [rdi + r9], 0
jne 0x140002b70
mov r8, rdi
xor r15d, r15d
inc r9
mov rdx, r14
mov qword [rsp + 0x20], r15
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [0x1400e3d68]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x30], r15
xor r8d, r8d
mov r9, rax
mov dword [rsp + 0x28], r15d
xor edx, edx
mov qword [rsp + 0x20], r14
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rcx, rax
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp qword [rdi + 0x18], 0x10
mov rax, rdi
jb 0x140002bf0
mov rax, qword [rdi]
nop dword [rax]
cmp byte [rax + rbx + 1], r15b
lea rbx, [rbx + 1]
jne 0x140002bf0
lea r8, [rbx + 1]
mov r9d, 0x8000
mov rdx, r14
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rdx, qword [rdi + 0x18]
mov r14, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x90]
cmp rdx, 0x10
jb 0x140002c59
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140002c54
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002cc6
mov rcx, r8
call fcn.1400b58d4
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], r15b
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140002c9e
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x140002c99
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002cc6
mov rcx, r8
call fcn.1400b58d4
mov qword [rsi + 0x10], r15
mov byte [rsi], r15b
mov r15, qword [rsp + 0x50]
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400b5620
add rsp, 0x68
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3