Function at 0x1800595c0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x1801da600]
xor rax, rsp
mov qword [rbp + 0x20], rax
xor r14d, r14d
lea rcx, str.appdata
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], r14
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], r14b
jne 0x180059620
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.180007550
nop
mov r8d, 0x15
lea rdx, str.GalaxyXML_Vehicles_
lea rcx, [rbp - 0x60]
call fcn.180017d10
mov rdi, qword [rbp - 0x50]
lea rbx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rbx, qword [rbp - 0x60]
call fcn.18014dcf8
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rdi
lea r8, [rsp + 0x50]
mov edx, eax
lea rcx, [rbp - 0x40]
call fcn.180041420
nop
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x20]
call fcn.18005eaf0
test eax, eax
jne 0x1800599d1
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x1800596e0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800596db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800596db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18014e8b0
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x1800596f3
lock inc dword [rbx + 8]
mov rbx, qword [rsp + 0x28]
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x40], xmm0
test rbx, rbx
je 0x18005970c
lock inc dword [rbx + 8]
mov rbx, qword [rsp + 0x28]
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
test rbx, rbx
je 0x180059754
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18005974f
mov rbx, qword [rsp + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18005974f
mov rbx, qword [rsp + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
jmp 0x180059754
mov rbx, qword [rsp + 0x28]
cmp qword [rsp + 0x20], 0
je 0x1800598e9
mov rax, qword [rsp + 0x40]
lea rcx, [rax + 0x20]
cmp qword [rax + 0x38], 7
jbe 0x180059774
mov rcx, qword [rax + 0x20]
mov rax, qword [rax + 0x30]
lea r11, [rcx + rax*2]
mov r10, r11
mov rdx, r11
call fcn.18004e710
cmp rax, r11
je 0x1800597cb
nop dword [rax]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x18005979f
cmp cx, 0x2f
jne 0x1800597a8
add rax, 2
cmp rax, r11
jne 0x180059790
cmp rax, r11
je 0x1800597cb
nop dword [rax]
lea rdx, [r10 - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x1800597cb
cmp cx, 0x2f
je 0x1800597cb
mov r10, rdx
cmp rax, rdx
jne 0x1800597b0
mov qword [rsp + 0x60], r10
sub r11, r10
sar r11, 1
mov qword [rsp + 0x68], r11
lea rdx, [rsp + 0x60]
lea rcx, [rbp]
call fcn.18005e810
nop
lea rdx, [rbp - 0x20]
lea rcx, [rbp]
call fcn.180056b20
nop
mov rdx, qword [0x1801f4088]
cmp rdx, qword [0x1801f4090]
je 0x18005983d
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], r14
mov qword [rdx + 0x18], r14
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
add qword [0x1801f4088], 0x20
jmp 0x180059846
mov r8, rax
call fcn.18005cf80
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x180059881
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005987c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180059995
call fcn.18014e8b0
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 7
jbe 0x1800598d1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800598cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005999c
call fcn.18014e8b0
lea rcx, [rsp + 0x40]
call fcn.18005e3a0
mov rax, qword [rsp + 0x40]
test rax, rax
jne 0x180059765
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x180059928
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180059923
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180059923
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x18005995c
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18005995c
mov rbx, qword [rsp + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x18005995c
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x1800599a8
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800599a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800599a3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.18014e8b0
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.18014e890
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea r8, [rbp - 0x40]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.180046b50
int3