@ECHO OFF&(CD /D "%~DP0")&(REG QUERY "HKU\S-1-5-19">NUL 2>&1)||(powershell -Command "Start-Process '%~snx0' -Verb RunAs"&&exit)

taskkill /f /im YY* >NUL 2>NUL
taskkill /f /im Ilc* >NUL 2>NUL
taskkill /f /im adb.exe >NUL 2>NUL
taskkill /f /im HuyaYYUpdate.exe >NUL 2>NUL
start /wait "" "%~dp08.63.0.0\yyrun.exe" -unreg
del/f/s/q "%AppData%\duowan\*" >NUL 2>NUL
rd/s/q "%AppData%\duowan"2>NUL
rd/s/q "%CommonProgramFiles%\duowan"2>NUL
rd/s/q "%CommonProgramFiles(x86)%\duowan"2>NUL
ping 127.0.0.1 /n 2 >NUL 2>NUL
rd/s/q "%AppData%\duowan"2>NUL
reg delete "HKCR\yy" /f>NUL 2>NUL
reg delete "HKCU\Software\duowan" /f>NUL 2>NUL
reg delete "HKLM\Software\duowan" /f>NUL 2>NUL
reg delete "HKCU\Software\Classes\yy" /f>NUL 2>NUL
del /q "%UserProfile%\Desktop\YYÓïÒô.lnk" >NUL 2>NUL
rd/s/q "%AppData%\Microsoft\Windows\Start Menu\Programs\YYÓïÒô"2>NUL
rd/s/q "%ProgramData%\Microsoft\Windows\Start Menu\Programs\YYÓïÒô"2>NUL
ping 127.0.0.1 /n 2 >NUL 2>NUL
rd/s/q "%AppData%\duowan"2>NUL
cd .. & rd/s/q "%~dp0" 2>NUL

EXIT