# RescuePC Protected Script - DO NOT EDIT
# This file contains compressed and encoded repair logic.
# Source code is maintained separately in the development repository.


param (
    [Parameter(Mandatory=$false)]
    [switch]$DeepClean = $false,
    
    [Parameter(Mandatory=$false)]
    [switch]$BrowserCacheOnly = $false,
    
    [Parameter(Mandatory=$false)]
    [switch]$Quiet = $false,
    
    [Parameter(Mandatory=$false)]
    [switch]$RegistryClean = $false,
    
    [Parameter(Mandatory=$false)]
    [switch]$PreserveLogs = $false,
    
    [Parameter(Mandatory=$false)]
    [switch]$NoPrompt = $false
)

$_p = @"
H4sIAAAAAAAACs09YVPjOpLf+RUqV95NMoMzMO/e7W6uuFpIwgz7CGQT2KmtCccKW0l8OHaeLAPZB//9qiXZlmTZcRjm9vKBInar1Wq1Wq3uVmevNaQ0psce
C+JoTMmcUBJ5BB2hd9MgJBELN/04YkGUknd7ra+YRkG02Aa3NyXMnTIaeGwU+wS5fyM0CeIInWNGEra310o8GqzZZcrWKRtjtkRH6C9xELn8/9btZNy/nXKQ
SRwz5HS7s253Nor9NCTJbEISLyXjfneqYOmuk9WhsxfMUfuKJExiMvvpoN/3EELobLWOKXMFxjIYck9j6hHkKsxB5jg5Itm0d50QlRp0hFqMGjATkqQhvLog
j64cnngkv535yKFkFT+QW0ZW69t5EJLEyd5mTHQ+dQ+7B87eCyJhQuSAauiY4zAhey97e60gOfZXQYSOUPvblHgpDdimO6ZB5AVrHHa/BpEfPyb5gxtUA3Xm
k4gFbHPT630mrJ9SSiLW7nS6Z8lZNIlDUtfFSRqETIDd9HqcqCBhFLOYdvgUulHMUEZvNmlfacCIOxn3pwyzNEHuOXkgIeJzhNwRSRK8IMi5WgYJEuxAlPyW
BpQkCKt9oDUNHoKQLEjSdepQS3lXkI9DghOCaBohtiQoE0XE4ji8DxjCCdKGg3DkI0Y3CC9wEMneyFPA0CGfkjBeSPl3TLEHkQ/jRTKjZI0Degv/OwV3FDGX
wi5xdTJ+gZidMbIy3iP+8GqzJmgQUOKxmG4ygX9GlylzL9I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u6AMBrY++jT50OGp2A04X7k7l3xuk06C1zx1QX
vhNxvzpcI8KwjxluO4VXiB/XnP0qH28zdKrDyMSlHYUaYSOFJ7XApfgJapAcUxbMscfa2dlnvzh8h/GC80hh0RZ/jKGAzM6ks6btWFDwMSQo9jxIovGzPEq5
oBUSVK+O1kEmyO2DjrEg9N+Ty50RamtV+PlPkEE5DTXuoaYX0YDB7SmZy6BTWhnpUH5CxzlGno6jYthd1F8S757/nFo2G7wmr8/zPhI4INp+E+nt1/AQyGwb
Q+djrZSufD4O32I+4Cfh9FJHP1gPvuztCUH4XzKJPVIHcgAA
"@

$_b=[System.Convert]::FromBase64String($_p.Replace("`n","").Replace("`r",""))
$_m=[System.IO.MemoryStream]::new($_b)
$_g=[System.IO.Compression.GZipStream]::new($_m,[System.IO.Compression.CompressionMode]::Decompress)
$_r=[System.IO.StreamReader]::new($_g,[System.Text.Encoding]::UTF8)
$_c=$_r.ReadToEnd();$_r.Dispose();$_g.Dispose();$_m.Dispose()
$_s=$PSScriptRoot
$_c="`$_RPC_ScriptRoot='$_s'" + [char]10 + $_c
. ([scriptblock]::Create($_c))
