Function at 0x140004dd0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x140029140]
xor rax, rsp
mov qword [rbp + 8], rax
xor r14d, r14d
mov rdi, qword [0x14002b768]
lea rbx, [0x14002b758]
cmp qword [0x14002b770], 0xf
cmova rbx, qword [0x14002b758]
call fcn.14001c13c
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rdi
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.140001e90
nop
call fcn.14001c13c
lea r15, str.AppData
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x28], 7
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.140001e90
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x38]
call fcn.140002130
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140004ebe
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004eb9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004eb9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001ccb4
call fcn.14001c13c
lea rsi, str.Local
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], 5
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.140001e90
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x38]
call fcn.140002130
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140004f3d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004f38
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004f38
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001ccb4
call fcn.14001c13c
lea rcx, str.FiveM
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], 5
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.140001e90
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x38]
call fcn.140002130
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140004fbc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004fb7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004fb7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001ccb4
call fcn.14001c13c
lea rcx, str.FiveM.app
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], 9
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.140001e90
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x38]
call fcn.140002130
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x14000503b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005036
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005036
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001ccb4
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x18]
call fcn.1400024a0
nop
call fcn.14001c13c
lea rcx, str.data
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], 4
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.140001e90
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x18]
call fcn.140002130
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x1400050c8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400050c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400050c3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001ccb4
lea rcx, str.USERPROFILE
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rdi, rax
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400050e0
call fcn.14001c13c
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rbx
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rbp - 0x58]
call fcn.140001e90
nop
call fcn.14001c13c
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x28], 7
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.140001e90
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x58]
call fcn.140002130
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140005181
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000517c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000517c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001ccb4
call fcn.14001c13c
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], 5
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.140001e90
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x58]
call fcn.140002130
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x1400051f9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400051f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400051f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001ccb4
call fcn.14001c13c
lea rcx, str.DigitalEntitlements
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], 0x13
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.140001e90
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x58]
call fcn.140002130
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140005278
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005273
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005273
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001ccb4
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rax
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x30]
call fcn.1400024a0
nop
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x50]
call fcn.1400024a0
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r14
mov ecx, 0x40
call fcn.14001c960
mov rbx, rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
lea rcx, [rax + 0x40]
mov qword [rbp - 0x60], rcx
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea rdi, [rsp + 0x30]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
lea rax, [rbp - 0x70]
mov qword [rbp - 0x80], rax
mov rdx, rdi
mov rcx, rbx
call fcn.1400024a0
add rbx, 0x20
mov qword [rsp + 0x78], rbx
add rdi, 0x20
lea rax, [rsp + 0x70]
cmp rdi, rax
jne 0x1400052f4
mov rdx, rbx
mov rcx, rbx
call fcn.14000bd30
mov qword [rbp - 0x68], rbx
lea r9, [fcn.140002430]
mov edx, 0x20
lea r8d, [rdx - 0x1e]
lea rcx, [rsp + 0x30]
call fcn.14001c99c
mov rdi, qword [rbp - 0x68]
mov rbx, qword [rbp - 0x70]
cmp rbx, rdi
je 0x140005375
nop dword [rax]
mov rcx, rbx
call fcn.1400033c0
test al, al
je 0x140005364
mov rcx, rbx
call fcn.1400038a0
add rbx, 0x20
cmp rbx, rdi
jne 0x140005350
mov rdi, qword [rbp - 0x68]
mov rbx, qword [rbp - 0x70]
test rbx, rbx
je 0x1400053cd
mov rdx, rdi
mov rcx, rbx
call fcn.14000bd30
mov rdx, qword [rbp - 0x60]
mov rcx, qword [rbp - 0x70]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400053bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400053bc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001ccb4
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r14
mov rdx, qword [rbp - 0x40]
cmp rdx, 7
jbe 0x140005410
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000540b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000540b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001ccb4
movdqa xmm0, xmmword [0x140022810]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], r14w
mov rdx, qword [rbp]
cmp rdx, 7
jbe 0x140005465
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005460
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005460
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001ccb4
movdqa xmm0, xmmword [0x140022810]
movdqu xmmword [rbp - 8], xmm0
mov word [rbp - 0x18], r14w
mov rdx, qword [rbp - 0x20]
cmp rdx, 7
jbe 0x1400054ba
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400054b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400054b5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001ccb4
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.14001c940
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret