Function at 0x1800490a0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x190
mov rax, qword [0x1801da5d0]
xor rax, rsp
mov qword [rsp + 0x180], rax
lea rcx, str.appdata
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xorps xmm0, xmm0
movups xmmword [rsp + 0x140], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x150], xmm1
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1800490f0
mov rdx, rax
lea rcx, [rsp + 0x140]
call fcn.1800075d0
nop
mov r8d, 0x15
lea rdx, str.Galaxy_settings.json
lea rcx, [rsp + 0x140]
call fcn.180018140
mov r8d, 2
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x30]
call fcn.180041dd0
nop
mov r8d, 4
lea rdx, [rsp + 0x160]
lea rcx, [0x1801f3d00]
call fcn.1800441e0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x180049167
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.180006e30
nop
mov rdx, qword [rsp + 0x178]
cmp rdx, 0x10
jb 0x1800491bb
inc rdx
mov rcx, qword [rsp + 0x160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800491b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800491b6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18014f090
lea rcx, [rsp + 0x38]
call fcn.18003e290
test rax, rax
jne 0x1800491e8
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x30]
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]
movzx eax, byte [0x1801f3cf0]
dec eax
cmp eax, 7
ja case.default.0x18004920d
cdqe
lea rdx, [0x180000000]
mov ecx, dword [rdx + rax*4 + 0x49368]
add rcx, rdx
jmp rcx
mov qword [0x1801f3cf8], 0
jmp case.default.0x18004920d
xorps xmm0, xmm0
movsd qword [0x1801f3cf8], xmm0
jmp case.default.0x18004920d
mov byte [0x1801f3cf8], 0
jmp case.default.0x18004920d
mov rax, qword [0x1801f3cf8]
mov rcx, rax
cmp qword [rax + 0x18], 0x10
jb 0x180049249
mov rcx, qword [rax]
mov qword [rax + 0x10], 0
mov byte [rcx], 0
jmp case.default.0x18004920d
mov rax, qword [0x1801f3cf8]
mov rcx, qword [rax]
cmp rcx, qword [rax + 8]
je case.default.0x18004920d
mov qword [rax + 8], rcx
jmp case.default.0x18004920d
mov rsi, qword [0x1801f3cf8]
mov rbx, qword [rsi]
mov rdi, qword [rsi + 8]
cmp rbx, rdi
je case.default.0x18004920d
nop
mov rcx, rbx
call fcn.18002f3c0
add rbx, 0x10
cmp rbx, rdi
jne 0x180049280
mov rax, qword [rsi]
mov qword [rsi + 8], rax
jmp case.default.0x18004920d
mov rcx, qword [0x1801f3cf8]
call fcn.18002fd70
lea rdx, [0x1801f3d00]
lea rcx, [rsp + 0x160]
call fcn.18002f3e0
movzx edx, byte [0x1801f3cf0]
movzx ecx, byte [rax]
mov byte [0x1801f3cf0], cl
mov byte [rax], dl
lea rcx, [rax + 8]
mov rdx, qword [0x1801f3cf8]
mov r8, qword [rcx]
mov qword [0x1801f3cf8], r8
mov qword [rcx], rdx
movzx edx, byte [rax]
call fcn.18002f8d0
nop
lea rcx, [rsp + 0x30]
call fcn.180041f50
nop
mov rdx, qword [rsp + 0x158]
cmp rdx, 0x10
jb 0x18004933e
inc rdx
mov rcx, qword [rsp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180049339
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180049339
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18014f090
mov al, 1
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.18014f070
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret