Function at 0x18002d340
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x18019d440]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov qword [rbp + 0x27], 0xffffffff80000002
lea rdx, str.SOFTWAREWow6432NodeRockstar_GamesGTAV
mov qword [rbp + 0x2f], rdx
lea rax, [rbp + 0x3f]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
sete byte [0x1801de6d7]
mov qword [rbp + 0x27], 0xffffffff80000002
lea rdx, str.SOFTWAREWow6432NodeRockstar_GamesGrand_Theft_Auto_V
mov qword [rbp + 0x2f], rdx
lea rax, [rbp + 0x3f]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
sete byte [0x1801de6d5]
mov qword [rbp + 0x27], 0xffffffff80000002
lea rdx, str.SOFTWAREWow6432NodeRockstar_GamesGTA5
mov qword [rbp + 0x2f], rdx
lea rax, [rbp + 0x3f]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
sete byte [0x1801de6d6]
cmp byte [0x1801de6d5], 0
je 0x18000dd89
lea rax, [rbp - 0x29]
mov qword [rbp + 0x17], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xor ebx, ebx
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], rbx
lea r8d, [rbx + 0x13]
lea rdx, str.Version____Rockstar
lea rcx, [rbp - 0x29]
call fcn.180008710
nop
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], rbx
mov qword [rbp + 0xf], rbx
lea r8d, [rbx + 7]
lea rdx, str.Version
lea rcx, [rbp - 9]
call fcn.180008710
nop
lea r8, [rbp - 0x29]
lea rdx, [rbp - 9]
jmp 0x18000de22
cmp byte [0x1801de6d7], 0
je 0x18000ddc2
lea rax, [rbp - 9]
mov qword [rbp + 0x1f], rax
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
xor ebx, ebx
mov qword [rbp + 7], rbx
mov qword [rbp + 0xf], rbx
lea r8d, [rbx + 0x10]
lea rdx, str.Version____Steam
lea rcx, [rbp - 9]
call fcn.180008710
nop
jmp 0x18000ddf4
test eax, eax
jne 0x18000de2e
lea rax, [rbp - 9]
mov qword [rbp + 0x1f], rax
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
xor ebx, ebx
mov qword [rbp + 7], rbx
mov qword [rbp + 0xf], rbx
lea r8d, [rbx + 0x14]
lea rdx, str.Version____Epic_Game
lea rcx, [rbp - 9]
call fcn.180008710
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], rbx
mov r8d, 7
lea rdx, str.Version
lea rcx, [rbp - 0x29]
call fcn.180008710
nop
lea rdx, [rbp - 0x29]
lea r8, [rbp - 9]
lea rcx, [0x1801a76b0]
call fcn.180014c00
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1800d0330
mov rbx, qword [rsp + 0xc0]
add rsp, 0xb0
pop rbp
ret
push rbx
sub rsp, 0x90
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_AttachConsole]
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov rcx, qword [0x18019e958]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rbx, rax
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rbx
lea r8, [0x180120ab0]
lea rdx, str.CONOUT_
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_SetConsoleCP]
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov qword [rsp + 0x40], Ordinal_46
lea rcx, [rsp + 0x40]
call fcn.180015490
mov rdx, qword [0x18019e958]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x1801a78e0], rax
mov dword [rsp + 0x30], 0x10000020
mov dword [rsp + 0x28], 0x1e0
mov dword [rsp + 0x20], 0x258
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowPos]
call fcn.18002d530
lea rax, [rsp + 0x48]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xor ebx, ebx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbx
lea r8d, [rbx + 0x11]
lea rdx, str.Console_Allocated
lea rcx, [rsp + 0x48]
call fcn.180008710
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rbx
lea r8d, [rbx + 7]
lea rdx, str.Service
lea rcx, [rsp + 0x68]
call fcn.180008710
nop
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x68]
lea rcx, [0x1801a76b0]
call fcn.180014c00
add rsp, 0x90
pop rbx
jmp 0x18000dc50