Function at 0x180048cf0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x190
mov rax, qword [0x1801da600]
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 0x180048d40
mov rdx, rax
lea rcx, [rsp + 0x140]
call fcn.180007550
nop
mov r8d, 0x15
lea rdx, str.Galaxy_settings.json
lea rcx, [rsp + 0x140]
call fcn.180017d10
mov r8d, 2
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x30]
call fcn.180041980
nop
mov r8d, 4
lea rdx, [rsp + 0x160]
lea rcx, [0x1801f3d70]
call fcn.180043e00
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x180048db7
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.180006d70
nop
mov rdx, qword [rsp + 0x178]
cmp rdx, 0xf
jbe 0x180048e0b
inc rdx
mov rcx, qword [rsp + 0x160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180048e06
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180048e06
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18014e8b0
lea rcx, [rsp + 0x38]
call fcn.18003de10
test rax, rax
jne 0x180048e38
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 [0x1801f3d60]
dec eax
cmp eax, 7
ja case.default.0x180048e5d
cdqe
lea rdx, [0x180000000]
mov ecx, dword [rdx + rax*4 + 0x48fb8]
add rcx, rdx
jmp rcx
mov qword [0x1801f3d68], 0
jmp case.default.0x180048e5d
xorps xmm0, xmm0
movsd qword [0x1801f3d68], xmm0
jmp case.default.0x180048e5d
mov byte [0x1801f3d68], 0
jmp case.default.0x180048e5d
mov rax, qword [0x1801f3d68]
mov qword [rax + 0x10], 0
cmp qword [rax + 0x18], 0xf
jbe 0x180048e9e
mov rax, qword [rax]
mov byte [rax], 0
jmp case.default.0x180048e5d
mov rax, qword [0x1801f3d68]
mov rcx, qword [rax]
cmp rcx, qword [rax + 8]
je case.default.0x180048e5d
mov qword [rax + 8], rcx
jmp case.default.0x180048e5d
mov rsi, qword [0x1801f3d68]
mov rbx, qword [rsi]
mov rdi, qword [rsi + 8]
cmp rbx, rdi
je case.default.0x180048e5d
nop dword [rax]
mov rcx, rbx
call fcn.18002ec20
add rbx, 0x10
cmp rbx, rdi
jne 0x180048ed0
mov rax, qword [rsi]
mov qword [rsi + 8], rax
jmp case.default.0x180048e5d
mov rcx, qword [0x1801f3d68]
call fcn.18002f5d0
lea rdx, [0x1801f3d70]
lea rcx, [rsp + 0x160]
call fcn.18002ec40
movzx edx, byte [0x1801f3d60]
movzx ecx, byte [rax]
mov byte [0x1801f3d60], cl
mov byte [rax], dl
lea rcx, [rax + 8]
mov rdx, qword [0x1801f3d68]
mov r8, qword [rcx]
mov qword [0x1801f3d68], r8
mov qword [rcx], rdx
movzx edx, byte [rax]
call fcn.18002f130
nop
lea rcx, [rsp + 0x30]
call fcn.180041b00
nop
mov rdx, qword [rsp + 0x158]
cmp rdx, 0xf
jbe 0x180048f8e
inc rdx
mov rcx, qword [rsp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180048f89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180048f89
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18014e8b0
mov al, 1
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.18014e890
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret