Exemplo n.º 1
0
        // Token: 0x060003F7 RID: 1015 RVA: 0x000236BC File Offset: 0x000218BC
        private void FR(object sender, EventArgs e)
        {
            MessageBox.Show("Confirm purchase\r\n\r\nPrice/payment:\n\r> 1 DL\r\n> Donate the DL in the Growtopia world GTAutoCCS\r\n> As a comment, type your Discord Name#tag. If you won't pay, I will block your PC by putting the HWID in a blacklist");
            try
            {
                byte[]   bytes   = Convert.FromBase64String("aHR0cHM6Ly9wYXN0ZWJpbi5jb20vcmF3L1g1N1daWDlB");
                string   @string = Encoding.UTF8.GetString(bytes);
                string[] array   = this.yA(@string).Split(new string[]
                {
                    Environment.NewLine
                }, StringSplitOptions.None);
                bool     flag   = false;
                string[] array2 = array;
                for (int i = 0; i < array2.Length; i++)
                {
                    if (array2[i].Split(new char[]
                    {
                        ':'
                    }).Last <string>() == on.oq())
                    {
                        flag = true;
                    }
                }
                if (!flag)
                {
                    this.KD = false;
                    array2  = this.yA(string.Concat(new string[]
                    {
                        bQ.ce(),
                        "bin",
                        Settings.Default.Setting1,
                        "itLYJ",
                        cF.MA
                    })).Split(new string[]
                    {
                        Environment.NewLine
                    }, StringSplitOptions.None);
                    int i = 0;
                    while (i < array2.Length)
                    {
                        string text = array2[i];
                        if (!(text.Split(new char[]
                        {
                            ':'
                        }).First <string>() == this.JC.text))
                        {
                            if (!(text.Split(new char[]
                            {
                                ':'
                            }).Last <string>() == this.KE))
                            {
                                i++;
                                continue;
                            }
                            MessageBox.Show("You already have premium. You cannot purchase it again.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Hand);
                            this.KD = true;
                        }
                        else
                        {
                            MessageBox.Show("That Username is already taken. Choose another one.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Hand);
                            this.KD = true;
                        }
IL_176:
                        if (!this.KD)
                        {
                            this.JC.Visible = false;
                            this.JD.Visible = false;
                            this.KL.Visible = false;
                            this.KM.Visible = false;
                            this.rs.Visible = true;
                            this.tO.Visible = false;
                            this.ub.Visible = false;
                            this.tN.Text    = "You have successfully purchased Premium. The order will be processed within 36h";
                            Ly ly = new Ly();
                            ly.KY = "";
                            ly.KU = "Bot";
                            ly.KQ = string.Concat(new string[]
                            {
                                cF.My,
                                "/api/webhooks/6887765934",
                                Settings.Default.Setting,
                                "jaRnIbTw2TrKmRa68",
                                this.qW.Text
                            });
                            ly.vw(this.JC.text + ":" + this.JD.text);
                            ly.Dispose();
                            LE le = new LE();
                            le.LV = "";
                            le.LR = "Bot";
                            le.LN = string.Concat(new string[]
                            {
                                cF.My,
                                "/api/webhooks/6887765934",
                                Settings.Default.Setting,
                                "jaRnIbTw2TrKmRa68",
                                this.qW.Text
                            });
                            le.vw(string.Concat(new string[]
                            {
                                "Username:"******"\r\nID",
                                this.JD.text,
                                "\r\nGrowID:",
                                this.KL.text,
                                "\r\nDiscord name:",
                                this.KM.text
                            }));
                            le.Dispose();
                            goto IL_361;
                        }
                        goto IL_361;
                    }
                    goto IL_176;
                }
                MessageBox.Show("Your device is currently blacklisted", "Error", MessageBoxButtons.OK, MessageBoxIcon.Hand);
                IL_361 :;
            }
            catch (Exception)
            {
                MessageBox.Show("No internet connection!?", "Error", MessageBoxButtons.OK, MessageBoxIcon.Hand);
            }
        }