// Token: 0x0600000D RID: 13 RVA: 0x000021D8 File Offset: 0x000003D8
        private void Form1_Load(object sender, EventArgs e)
        {
            Thread thread = new Thread(delegate()
            {
                Form1.Title();
            });

            thread.Start();
            this.label1.Text = Environment.UserName;
            OnProgramStart.Initialize("AtomicGayProtector", "806940", "7cWjKpnjebanvoVajeAQwxsV8A11oYh1a0w", "1.0");
            //API.Log(Environment.UserName, "load");
            bool flag = File.Exists("C:\\ProgramData\\atomicobfuscatorkeysave.txt");

            if (flag)
            {
                string aio = File.ReadAllText("C:\\ProgramData\\atomicobfuscatorkeysave.txt");
                //bool flag2 = API.AIO(aio);

                /*
                 * if (flag2)
                 * {
                 *      this.textBox2.Visible = false;
                 *      this.metroButton2.Visible = false;
                 *      this.label7.Visible = true;
                 *      this.button1.Visible = true;
                 *      this.button2.Visible = true;
                 *      this.button3.Visible = true;
                 *      this.button4.Visible = true;
                 *      this.button5.Visible = true;
                 *      this.Initialize();
                 * }
                 * else
                 * {
                 *      File.Delete("C:\\ProgramData\\atomicobfuscatorkeysave.txt");
                 * }
                 */
            }

            string text = new WebClient
            {
                Proxy = null
            }.DownloadString("https://pastebin.com/raw/yc422EAZ");

            this.label7.Text = text;
            bool flag3 = File.Exists("C:\\ProgramData\\atomicconfigg.txt");

            if (flag3)
            {
                string text2 = File.ReadAllText("C:\\ProgramData\\atomicconfigg.txt");
                bool   flag4 = text2.Contains("numberprotect");
                if (flag4)
                {
                    this.checkBox2.Checked = true;
                }
                bool flag5 = text2.Contains("stringenc");
                if (flag5)
                {
                    this.checkBox6.Checked = true;
                }
                bool flag6 = text2.Contains("cflow");
                if (flag6)
                {
                    this.checkBox5.Checked = true;
                }
                bool flag7 = text2.Contains("renamer");
                if (flag7)
                {
                    this.checkBox4.Checked = true;
                }
                bool flag8 = text2.Contains("mutation");
                if (flag8)
                {
                    this.checkBox3.Checked = true;
                }
                bool flag9 = text2.Contains("packer");
                if (flag9)
                {
                    this.checkBox1.Checked = true;
                }
                bool flag10 = text2.Contains("antidump");
                if (flag10)
                {
                    this.checkBox7.Checked = true;
                }
                FileInfo fileInfo      = new FileInfo("C:\\ProgramData\\atomicconfigg.txt");
                DateTime lastWriteTime = fileInfo.LastWriteTime;
                this.label2.Text = "Status: Last updated\n" + lastWriteTime.ToString();
            }
        }
Esempio n. 2
0
        // Token: 0x0600006C RID: 108 RVA: 0x00003F44 File Offset: 0x00002144
        private void Form1_Load(object sender, EventArgs e)
        {
            OnProgramStart.Initialize("AtomicObfuscator", "70910", "0hRCPrgtZXDdc94Zuw7J9eSNlYlBAyKOMyd", "1.0.0");
            API.Log(Environment.UserName, "load");
            bool flag = File.Exists("C:\\ProgramData\\atomicobfuscatorkeysave.txt");

            if (flag)
            {
                string aio   = File.ReadAllText("C:\\ProgramData\\atomicobfuscatorkeysave.txt");
                bool   flag2 = API.AIO(aio);
                if (flag2)
                {
                    this.textBox2.Visible = false;
                    this.button6.Visible  = false;
                    this.button7.Visible  = false;
                    this.button1.Visible  = true;
                    this.button2.Visible  = true;
                    this.button3.Visible  = true;
                    this.button4.Visible  = true;
                    this.button5.Visible  = true;
                    this.label3.Text      = "Your Subscription ends on" + User.Expiry;
                    this.label4.Text      = "You started supporting us on" + User.RegisterDate;
                    this.label1.Visible   = true;
                    this.label3.Visible   = true;
                    this.label4.Visible   = true;
                    this.label5.Visible   = true;
                }
                else
                {
                    File.Delete("C:\\ProgramData\\atomicobfuscatorkeysave.txt");
                }
            }
            string text = new WebClient
            {
                Proxy = null
            }.DownloadString("https://pastebin.com/raw/yc422EAZ");
            bool flag3 = File.Exists("C:\\ProgramData\\atomicconfigg.txt");

            if (flag3)
            {
                string text2 = File.ReadAllText("C:\\ProgramData\\atomicconfigg.txt");
                bool   flag4 = text2.Contains("numberprotect");
                if (flag4)
                {
                    this.checkBox2.Checked = true;
                }
                bool flag5 = text2.Contains("stringenc");
                if (flag5)
                {
                    this.checkBox6.Checked = true;
                }
                bool flag6 = text2.Contains("cflow");
                if (flag6)
                {
                    this.checkBox5.Checked = true;
                }
                bool flag7 = text2.Contains("renamer");
                if (flag7)
                {
                    this.checkBox4.Checked = true;
                }
                bool flag8 = text2.Contains("mutation");
                if (flag8)
                {
                    this.checkBox3.Checked = true;
                }
                bool flag9 = text2.Contains("packer");
                if (flag9)
                {
                    this.checkBox1.Checked = true;
                }
                bool flag10 = text2.Contains("antidump");
                if (flag10)
                {
                    this.checkBox7.Checked = true;
                }
                FileInfo fileInfo      = new FileInfo("C:\\ProgramData\\atomicconfigg.txt");
                DateTime lastWriteTime = fileInfo.LastWriteTime;
                this.label2.Text = "Status: Last updated\n" + lastWriteTime.ToString();
            }
        }