Function at 0x18005c6e0
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 - 0x110]
sub rsp, 0x210
mov rax, qword [0x1801da600]
xor rax, rsp
mov qword [rbp + 0x100], rax
xor r15d, r15d
call fcn.18000a910
mov ecx, eax
lea edx, [r15 + 1]
call fcn.18000a110
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x34]
mov ecx, eax
call fcn.180059120
nop
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.18002f660
nop
lea rax, [rbp + 0x60]
mov qword [rsp + 0x48], rax
mov byte [rbp + 0x60], r15b
xor eax, eax
mov qword [rbp + 0x68], rax
movsxd rbx, dword [rsp + 0x34]
xor edx, edx
lea rcx, [rbp + 0x68]
call fcn.18002f130
mov byte [rbp + 0x60], 5
mov qword [rbp + 0x68], rbx
lea rdx, str.PrimaryColor
lea rcx, [rsp + 0x38]
call fcn.180041800
nop
movzx edx, byte [rax]
movzx ecx, byte [rbp + 0x60]
mov byte [rax], cl
mov byte [rbp + 0x60], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rbp + 0x68]
mov qword [rax + 8], rdx
mov qword [rbp + 0x68], rcx
movzx edx, byte [rbp + 0x60]
lea rcx, [rbp + 0x68]
call fcn.18002f130
nop
lea rax, [rbp + 0x60]
mov qword [rsp + 0x48], rax
mov byte [rbp + 0x60], r15b
xor eax, eax
mov qword [rbp + 0x68], rax
movsxd rbx, dword [rsp + 0x30]
xor edx, edx
lea rcx, [rbp + 0x68]
call fcn.18002f130
mov byte [rbp + 0x60], 5
mov qword [rbp + 0x68], rbx
lea rdx, str.SecondaryColor
lea rcx, [rsp + 0x38]
call fcn.180041800
nop
movzx edx, byte [rax]
movzx ecx, byte [rbp + 0x60]
mov byte [rax], cl
mov byte [rbp + 0x60], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rbp + 0x68]
mov qword [rax + 8], rdx
mov qword [rbp + 0x68], rcx
movzx edx, byte [rbp + 0x60]
lea rcx, [rbp + 0x68]
call fcn.18002f130
nop
lea rcx, str.appdata
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xd0], xmm1
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18005c840
mov rdx, rax
lea rcx, [rbp + 0xc0]
call fcn.180007550
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x90], xmm1
lea rdx, [0x1801f2dd0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x18005c880
lea rcx, [rbp + 0x80]
call fcn.180007550
nop
mov r8, qword [rbp + 0x90]
mov rcx, qword [rbp + 0x98]
mov rax, rcx
sub rax, r8
mov r14d, 0x10
lea rsi, str.GalaxyVehicle_
cmp rax, r14
jb 0x18005c945
lea rax, [r8 + 0x10]
mov qword [rbp + 0x90], rax
lea rbx, [rbp + 0x80]
cmp rcx, 0xf
cmova rbx, qword [rbp + 0x80]
lea rax, [0x1801b9058]
cmp rax, rbx
jbe 0x18005c906
lea rax, [rbx + r8]
cmp rsi, rax
ja 0x18005c906
cmp rbx, rsi
ja 0x18005c8fe
mov rdi, r15
jmp 0x18005c909
mov rdi, rbx
sub rdi, rsi
jmp 0x18005c909
mov rdi, r14
lea rcx, [rbx + 0x10]
inc r8
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rdi]
sub r14, rdi
lea rdx, [rsi + 0x10]
add rdx, rdi
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp + 0x80]
jmp 0x18005c964
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
lea rcx, [rbp + 0x80]
call fcn.180027ea0
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x70], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x70], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 5
lea rdx, str..json
lea rcx, [rbp + 0x60]
call fcn.180017d10
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xe0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xf0], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rbp + 0xe0]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0xf
cmova rdx, rcx
movq r8, xmm1
lea rcx, [rbp + 0xc0]
call fcn.180017d10
nop
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x18005ca44
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005ca3e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005ca3e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18014e8b0
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x18005ca82
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005ca7d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005ca7d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18014e8b0
movdqa xmm0, xmmword [0x1801bbe80]
movdqu xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x60], 0
mov rdx, qword [rbp + 0x98]
cmp rdx, 0xf
jbe 0x18005cad7
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005cad2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005cad2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18014e8b0
mov r8d, 0xffffffff
lea rdx, [rbp + 0xa0]
lea rcx, [rsp + 0x38]
call fcn.180043e00
nop
mov r8d, 2
lea rdx, [rbp + 0xc0]
lea rcx, [rsp + 0x50]
call fcn.180041980
nop
cmp qword [rbp - 0x28], 0
je 0x18005cb64
lea rdx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0xf
cmova rdx, qword [rbp + 0xa0]
mov r8, qword [rbp + 0xb0]
lea rcx, [rsp + 0x50]
call fcn.180006d70
lea rcx, [rsp + 0x58]
call fcn.18003de10
test rax, rax
jne 0x18005cb64
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x50]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
lea rcx, [rsp + 0x50]
call fcn.180041b00
nop
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0xf
jbe 0x18005cbb3
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005cbae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005cbae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18014e8b0
mov qword [rbp + 0xb0], r15
mov qword [rbp + 0xb8], 0xf
mov byte [rbp + 0xa0], 0
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0xf
jbe 0x18005cc10
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005cc0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005cc0b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18014e8b0
movdqa xmm0, xmmword [0x1801bbe80]
movdqu xmmword [rbp + 0xd0], xmm0
mov byte [rbp + 0xc0], 0
movzx edx, byte [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.18002f130
nop
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.18014e890
lea r11, [rsp + 0x210]
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
jmp 0x18005c6e0