Код:
begin
ExecuteFile('net.exe', 'stop tcpip /y', 0, 15000, true);
ClearQuarantineEx(true);
TerminateProcessByName('c:\program files (x86)\advplugin\basement\extensionupdaterservice.exe');
QuarantineFile('C:\Program Files (x86)\advPlugin\Toolbar32.dll', '');
QuarantineFile('C:\Users\Иван\AppData\Local\Kometa\kometaup.exe', '');
QuarantineFile('c:\program files (x86)\advplugin\basement\extensionupdaterservice.exe', '');
QuarantineFileF('c:\program files (x86)\advplugin\', '*.exe, *.dll, *.sys, *.bat, *.vbs', true, '', 0, 0);
QuarantineFileF('C:\Users\Иван\AppData\Local\Kometa\', '*.exe, *.dll, *.sys, *.bat, *.vbs', true, '', 0, 0);
DeleteFile('c:\program files (x86)\advplugin\basement\extensionupdaterservice.exe', '32');
DeleteFile('C:\Users\Иван\AppData\Local\Kometa\kometaup.exe', '32');
DeleteFile('C:\Program Files (x86)\advPlugin\Toolbar32.dll', '32');
DeleteFileMask('c:\program files (x86)\advplugin\', '*', true);
DeleteFileMask('C:\Users\Иван\AppData\Local\Kometa\', '*', true);
DeleteDirectory('c:\program files (x86)\advplugin\');
DeleteDirectory('C:\Users\Иван\AppData\Local\Kometa\');
RegKeyParamDel('HKEY_LOCAL_MACHINE', 'SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\kometaup', 'command');
RegKeyParamDel('HKEY_LOCAL_MACHINE', 'SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\KiesPreload', 'command');
RegKeyParamDel('HKEY_LOCAL_MACHINE', 'SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\KiesAirMessage', 'command');
RegKeyParamDel('HKEY_LOCAL_MACHINE', 'SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\KiesTrayAgent', 'command');
ExecuteSysClean;
RebootWindows(true);
end.