Function at 0x18005d430
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 [0x1801da5d0]
xor rax, rsp
mov qword [rbp + 0x100], rax
xor r15d, r15d
call fcn.18000a950
mov ecx, eax
lea edx, [r15 + 1]
call fcn.18000a150
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x34]
mov ecx, eax
call fcn.1800592e0
nop
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.18002fe00
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.18002f8d0
mov byte [rbp + 0x60], 5
mov qword [rbp + 0x68], rbx
lea rdx, str.PrimaryColor
lea rcx, [rsp + 0x38]
call fcn.180041c50
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.18002f8d0
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.18002f8d0
mov byte [rbp + 0x60], 5
mov qword [rbp + 0x68], rbx
lea rdx, str.SecondaryColor
lea rcx, [rsp + 0x38]
call fcn.180041c50
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.18002f8d0
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 0x18005c9e0
mov rdx, rax
lea rcx, [rbp + 0xc0]
call fcn.1800075d0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x90], xmm1
lea rdx, [0x1801f2d60]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x18005ca20
lea rcx, [rbp + 0x80]
call fcn.1800075d0
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 0x18005cae4
lea rax, [r8 + 0x10]
mov qword [rbp + 0x90], rax
lea rbx, [rbp + 0x80]
cmp rcx, r14
cmovae rbx, qword [rbp + 0x80]
lea rax, [0x1801b9058]
cmp rax, rbx
jbe 0x18005caa5
lea rax, [rbx + r8]
cmp rsi, rax
ja 0x18005caa5
cmp rbx, rsi
ja 0x18005ca9d
mov rdi, r15
jmp 0x18005caa8
mov rdi, rbx
sub rdi, rsi
jmp 0x18005caa8
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 0x18005cb03
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.1800285f0
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.180018140
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, 0x10
cmovae rdx, rcx
movq r8, xmm1
lea rcx, [rbp + 0xc0]
call fcn.180018140
nop
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0x10
jb 0x18005cbe3
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005cbdd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005cbdd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18014f090
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x18005cc21
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005cc1c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005cc1c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18014f090
movdqa xmm0, xmmword [0x1801bbe80]
movdqu xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x60], 0
mov rdx, qword [rbp + 0x98]
cmp rdx, 0x10
jb 0x18005cc76
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005cc71
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005cc71
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18014f090
mov r8d, 0xffffffff
lea rdx, [rbp + 0xa0]
lea rcx, [rsp + 0x38]
call fcn.1800441e0
nop
mov r8d, 2
lea rdx, [rbp + 0xc0]
lea rcx, [rsp + 0x50]
call fcn.180041dd0
nop
cmp qword [rbp - 0x28], 0
je 0x18005cd03
lea rdx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0x10
cmovae rdx, qword [rbp + 0xa0]
mov r8, qword [rbp + 0xb0]
lea rcx, [rsp + 0x50]
call fcn.180006e30
lea rcx, [rsp + 0x58]
call fcn.18003e290
test rax, rax
jne 0x18005cd03
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.180041f50
nop
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0x10
jb 0x18005cd52
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005cd4d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005cd4d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18014f090
mov qword [rbp + 0xb0], r15
mov qword [rbp + 0xb8], 0xf
mov byte [rbp + 0xa0], 0
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0x10
jb 0x18005cdaf
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005cdaa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005cdaa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18014f090
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.18002f8d0
nop
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.18014f070
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 0x18005c880