Function at 0x1400068d0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x14019d080]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor esi, esi
mov dword [rbp - 0x39], esi
lea rcx, str.USERPROFILE
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rdi, rax
call fcn.14011b474
lea rcx, str.AppDataLocalDigitalEntitlements
mov qword [rbp + 0x17], rcx
mov qword [rbp + 0x1f], reloc.WLDAP32.dll_Ordinal_33
lea r8, [rbp + 0x17]
mov edx, eax
lea rcx, [rbp - 0x11]
call fcn.1400029f0
nop
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140006940
call fcn.14011b474
mov qword [rbp + 0x17], rdi
mov qword [rbp + 0x1f], rbx
lea r8, [rbp + 0x17]
mov edx, eax
lea rcx, [rbp - 0x31]
call fcn.1400029f0
mov dword [rbp - 0x39], reloc.WS2_32.dll_ntohs
lea rdx, [rbp - 0x31]
lea rcx, [rbp + 0x2f]
call fcn.140002ff0
mov dword [rbp - 0x39], Ordinal_33
lea rdx, [rbp - 0x11]
lea rcx, [rbp + 0x2f]
call fcn.140002ca0
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 7
jbe 0x1400069d1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400069cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400069cc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011c2b8
movdqa xmm0, xmmword [0x140183d00]
movdqu xmmword [rbp - 0x21], xmm0
mov word [rbp - 0x31], si
mov rdx, qword [rbp + 7]
cmp rdx, 7
jbe 0x140006a25
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006a20
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006a20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011c2b8
movdqa xmm0, xmmword [0x140183d00]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], si
lea rcx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 7
cmova rcx, qword [rbp + 0x2f]
call fcn.14011b9e4
mov rdx, rax
shr rdx, 0x20
movzx ecx, al
mov qword [rbp + 0x27], rcx
mov dword [rbp + 0x17], edx
lea rax, [0x1401f57d0]
mov qword [rbp + 0x1f], rax
movaps xmm0, xmmword [rbp + 0x17]
movdqa xmmword [rbp + 0x17], xmm0
cmp edx, 0x91
jne 0x140006a87
lea r8, [rbp + 0x27]
lea rdx, [rbp + 0x17]
lea rcx, [rbp + 0x2f]
call fcn.140003e10
cmp dword [rbp + 0x17], 0
jne 0x140006b16
mov r9d, 0x40
lea r8, str.Success_
lea rdx, str.Unlinked_Rockstar_Account_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
mov rdx, qword [rbp + 0x47]
cmp rdx, 7
jbe 0x140006af1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006aec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006aec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011c2b8
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14011bd80
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
lea r8, [rbp + 0x2f]
lea rdx, [rbp + 0x17]
call fcn.140003890
int3