Function at 0x140004ff0
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 [0x14007f180]
xor rax, rsp
mov qword [rbp + 8], rax
xor r14d, r14d
mov rdi, qword [0x140086840]
lea rbx, [0x140086830]
cmp qword [0x140086848], 0xf
cmova rbx, qword [0x140086830]
call fcn.14005bcfc
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rdi
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.140002060
nop
call fcn.14005bcfc
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.140002060
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x38]
call fcn.140002300
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x1400050de
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400050d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400050d9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005cac4
call fcn.14005bcfc
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.140002060
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x38]
call fcn.140002300
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x14000515d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005158
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005158
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005cac4
call fcn.14005bcfc
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.140002060
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x38]
call fcn.140002300
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x1400051dc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400051d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400051d7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005cac4
call fcn.14005bcfc
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.140002060
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x38]
call fcn.140002300
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x14000525b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005256
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005256
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005cac4
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x18]
call fcn.140002670
nop
call fcn.14005bcfc
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.140002060
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x18]
call fcn.140002300
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x1400052e8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400052e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400052e3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005cac4
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 0x140005300
call fcn.14005bcfc
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rbx
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rbp - 0x58]
call fcn.140002060
nop
call fcn.14005bcfc
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x28], 7
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.140002060
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x58]
call fcn.140002300
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x1400053a1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000539c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000539c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005cac4
call fcn.14005bcfc
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], 5
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.140002060
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x58]
call fcn.140002300
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140005419
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005414
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005414
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005cac4
call fcn.14005bcfc
lea rcx, str.DigitalEntitlements
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], reloc.WS2_32.dll_send
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.140002060
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x58]
call fcn.140002300
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140005498
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005493
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005493
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005cac4
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.140002670
nop
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x50]
call fcn.140002670
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r14
mov ecx, 0x40
call fcn.14005c770
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.140002670
add rbx, 0x20
mov qword [rsp + 0x78], rbx
add rdi, 0x20
lea rax, [rsp + 0x70]
cmp rdi, rax
jne 0x140005514
mov rdx, rbx
mov rcx, rbx
call fcn.14000dc20
mov qword [rbp - 0x68], rbx
lea r9, [fcn.140002600]
mov edx, 0x20
lea r8d, [rdx - 0x1e]
lea rcx, [rsp + 0x30]
call fcn.14005c7ac
mov rdi, qword [rbp - 0x68]
mov rbx, qword [rbp - 0x70]
cmp rbx, rdi
je 0x140005595
nop dword [rax]
mov rcx, rbx
call fcn.140003590
test al, al
je 0x140005584
mov rcx, rbx
call fcn.140003a70
add rbx, 0x20
cmp rbx, rdi
jne 0x140005570
mov rdi, qword [rbp - 0x68]
mov rbx, qword [rbp - 0x70]
test rbx, rbx
je 0x1400055ed
mov rdx, rdi
mov rcx, rbx
call fcn.14000dc20
mov rdx, qword [rbp - 0x60]
mov rcx, qword [rbp - 0x70]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400055dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400055dc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005cac4
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r14
mov rdx, qword [rbp - 0x40]
cmp rdx, 7
jbe 0x140005630
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000562b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000562b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005cac4
movdqa xmm0, xmmword [0x14006ad80]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], r14w
mov rdx, qword [rbp]
cmp rdx, 7
jbe 0x140005685
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005680
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005680
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005cac4
movdqa xmm0, xmmword [0x14006ad80]
movdqu xmmword [rbp - 8], xmm0
mov word [rbp - 0x18], r14w
mov rdx, qword [rbp - 0x20]
cmp rdx, 7
jbe 0x1400056da
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400056d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400056d5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005cac4
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.14005c750
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