Function at 0x14004e990
Capabilities:
Query environment variable

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x270
mov r14, rdx
mov r15, rcx
xor r12d, r12d
mov byte [rcx + 1], r12b
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [r11 - 0x228], 0xc
mov qword [r11 - 0x220], 0xf
movsd xmm0, qword [str.LOCALAPPDATA]
movsd qword [rsp + 0x70], xmm0
mov eax, dword [0x14012dd88]
mov dword [rsp + 0x78], eax
mov byte [rsp + 0x7c], r12b
lea rax, [rsp + 0x70]
mov qword [r11 + 0x18], rax
mov r8d, 0x104
lea rdx, [r11 - 0x158]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
dec eax
xorps xmm0, xmm0
movups xmmword [rsp + 0xb0], xmm0
cmp eax, 0x102
ja 0x14004ea7c
xorps xmm1, xmm1
movdqu xmmword [rsp + 0xc0], xmm1
lea rax, [rsp + 0x150]
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14004ea50
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0xb0]
call fcn.14004e1e0
nop
lea rcx, [rsp + 0x70]
call fcn.140046b40
jmp 0x14004eaa6
movdqa xmm1, xmmword [0x140131460]
movdqu xmmword [rsp + 0xc0], xmm1
mov byte [rsp + 0xb0], 0
lea rcx, [rsp + 0x70]
call fcn.140046b40
mov rsi, 0xffffffffffffffff
mov r8d, reloc.WS2_32.dll_sendto
lea rdx, str.DigitalEntitlements
lea rcx, [rsp + 0xb0]
call fcn.140067620
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdi, qword [rsp + 0x40]
lea rbx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rbx, qword [rsp + 0x30]
call fcn.140094470
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rdi
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x128]
call fcn.14004a080
nop
lea rdx, [rsp + 0x128]
lea rcx, [rsp + 0x20]
call fcn.14004b300
movsd xmm0, qword [rax]
movsd qword [rsp + 0x118], xmm0
mov ecx, dword [rax + 8]
mov dword [rsp + 0x20], ecx
lea r13, [0x14099d148]
mov qword [rsp + 0x28], r13
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov eax, dword [rsp + 0x118]
test eax, eax
je 0x14004ebc2
cmp eax, 1
setne bl
lea rcx, [rsp + 0x128]
call fcn.1400673b0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14004ebd3
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ebce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004ebce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xor bl, bl
test ecx, ecx
jne 0x14004ef9e
jmp 0x14004eb79
call fcn.1400952ac
movdqa xmm0, xmmword [0x140131460]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
mov rdx, qword [rsp + 0xc8]
cmp rdx, 0xf
jbe 0x14004ec2c
inc rdx
mov rcx, qword [rsp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ec27
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004ec27
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400952ac
test bl, bl
je 0x14004ef28
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], ntohs
mov qword [rsp + 0xa8], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [str.LOCALAPPDATA]
movsd qword [rsp + 0x90], xmm0
mov eax, dword [0x14012dd88]
mov dword [rsp + 0x98], eax
mov byte [rsp + 0x9c], 0
lea rax, [rsp + 0x90]
mov qword [rsp + 0x2c0], rax
mov r8d, 0x104
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
dec eax
xorps xmm0, xmm0
movups xmmword [rsp + 0xd0], xmm0
cmp eax, 0x102
ja 0x14004ecf4
xorps xmm1, xmm1
movdqu xmmword [rsp + 0xe0], xmm1
lea rax, [rsp + 0x150]
inc rsi
cmp byte [rax + rsi], 0
jne 0x14004ecd1
mov r8, rsi
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0xd0]
call fcn.14004e1e0
jmp 0x14004ed0d
movdqa xmm1, xmmword [0x140131460]
movdqu xmmword [rsp + 0xe0], xmm1
mov byte [rsp + 0xd0], 0
lea rcx, [rsp + 0x90]
call fcn.140046b40
nop
mov r8d, reloc.WS2_32.dll_sendto
lea rdx, str.DigitalEntitlements
lea rcx, [rsp + 0xd0]
call fcn.140067620
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdi, qword [rsp + 0x60]
lea rbx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rbx, qword [rsp + 0x50]
call fcn.140094470
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rdi
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0xf8]
call fcn.14004a080
nop
lea rcx, [rsp + 0xf8]
cmp qword [rsp + 0x110], 7
cmova rcx, qword [rsp + 0xf8]
call fcn.1400949e0
mov rdx, rax
shr rdx, 0x20
movzx ecx, al
mov qword [rsp + 0x2c0], rcx
mov dword [rsp + 0x20], edx
mov qword [rsp + 0x28], r13
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
cmp edx, 0x91
jne 0x14004ee07
lea r8, [rsp + 0x2c0]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0xf8]
call fcn.14004b3f0
cmp dword [rsp + 0x20], 0
jne 0x14004efb8
lea rcx, [rsp + 0xf8]
call fcn.1400673b0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14004ee60
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ee5b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004ee5b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400952ac
movdqa xmm0, xmmword [0x140131460]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdx, qword [rsp + 0xe8]
cmp rdx, 0xf
jbe 0x14004eeb9
inc rdx
mov rcx, qword [rsp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004eeb4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004eeb4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400952ac
mov byte [r15], 1
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], r12
mov ecx, Ordinal_50
call fcn.140094f58
mov rdx, rax
mov qword [r14], rax
mov qword [r14 + 0x10], Ordinal_45
mov qword [r14 + 0x18], Ordinal_50
movups xmm0, xmmword [str.rockstar_account_unlinked_successfully]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x14012dda0]
movups xmmword [rax + 0x10], xmm1
mov ecx, dword [0x14012ddb0]
mov dword [rax + 0x20], ecx
movzx eax, word [0x14012ddb4]
mov word [rdx + 0x24], ax
mov byte [rdx + 0x26], 0
mov rax, r14
jmp 0x14004ef8b
mov word [r15], 0x100
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], r12
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.140094f58
mov qword [r14], rax
mov qword [r14 + 0x10], Ordinal_30
mov qword [r14 + 0x18], Ordinal_35
movups xmm0, xmmword [str.no_rockstar_account_was_found]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x14012ddf0]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x14012ddf8]
mov dword [rax + 0x18], ecx
movzx ecx, byte [0x14012ddfc]
mov byte [rax + 0x1c], cl
mov byte [rax + 0x1d], 0
mov rax, r14
add rsp, 0x270
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
lea r8, [rsp + 0x128]
lea rdx, [rsp + 0x20]
lea rcx, str.exists
call fcn.14004ad60
nop
lea r8, [rsp + 0xf8]
lea rdx, [rsp + 0x20]
lea rcx, str.remove_all
call fcn.14004ad60
int3