Function at 0x14000ca00
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x14014f4f0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdx
lea rdx, str.Grand_Theft_Auto_V
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
jne 0x14000ca56
lea rdx, str.Injection_failed__Grand_theft_Auto_V_is_not_found
mov rcx, qword [0x14014f8d8]
call fcn.140061710
mov rcx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14000ca63
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]
lea rdx, [rsp + 0x40]
mov rcx, rax
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]
mov rbp, rax
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14000caa8
mov rcx, qword [rbx]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rcx + r8], 0
jne 0x14000cab2
inc r8
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x1000
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r14, rax
mov r9, rdi
cmp qword [rbx + 0x18], 0x10
jb 0x14000cb00
mov rcx, qword [rbx]
nop dword [rax + rax]
inc r9
cmp byte [rcx + r9], 0
jne 0x14000caf0
mov r8, rcx
jmp 0x14000cb0d
inc r9
cmp byte [rbx + r9], 0
jne 0x14000cb00
mov r8, rbx
inc r9
xor r15d, r15d
mov qword [rsp + 0x20], r15
mov rdx, r14
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, [0x1400d2cb0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9, rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r14
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14000cb80
mov rax, qword [rbx]
nop dword [rax]
lea rdi, [rdi + 1]
cmp byte [rax + rdi], r15b
jne 0x14000cb80
lea r8, [rdi + 1]
mov r9d, 0x8000
mov rdx, r14
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14000cbd7
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14000cbd2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000cc4c
mov rcx, r8
call fcn.1400bfaf4
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x14000cc1c
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14000cc17
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000cc53
mov rcx, r8
call fcn.1400bfaf4
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400bf840
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
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