Beispiel #1
0
        private void LoadMessageContent(string messageContent)
        {
label_1:
            int num1 = -1688414237;
            List <MessageContent> messageContents;

            while (true)
            {
                int  num2 = -1327787646;
                uint num3;
                bool flag;
                int  num4;
                switch ((num3 = (uint)(num1 ^ num2)) % 8U)
                {
                case 0:
                    this.sourceMessages = new ObservableCollection <MessageContent>();
                    num1 = (int)num3 * -159325236 ^ 448844750;
                    continue;

                case 1:
                    if (this.sourceCategory == null)
                    {
                        num4 = 0;
                        break;
                    }
                    num1 = (int)num3 * -380454630 ^ -896041093;
                    continue;

                case 2:
                    goto label_1;

                case 3:
                    num4 = !FloodChatOptions.\u202E‌‎‎‫‍‍‮‫‎‎‌‌‎‍‮‍‫‍‏​‭‮(this.sourceCategory.CategoryName, string.Empty) ? 1 : 0;
                    break;

                case 4:
                    messageContents = this.Engine.GetMessageContents(this.sourceCategory);
                    num1            = (int)num3 * 1325844382 ^ 1226859949;
                    continue;

                case 5:
                    if (flag)
                    {
                        num1 = (int)num3 * -1119119544 ^ 1514760276;
                        continue;
                    }
                    goto label_32;

                case 6:
                    num1 = (int)num3 * -800176363 ^ -982769732;
                    continue;

                default:
                    goto label_13;
                }
                flag = num4 != 0;
                num1 = -98809097;
            }
label_32:
            return;

label_13:
            List <MessageContent> .Enumerator enumerator = messageContents.GetEnumerator();
            try
            {
label_23:
                int num2 = enumerator.MoveNext() ? -1657486983 : (num2 = -872288928);
                while (true)
                {
                    int            num3 = -1327787646;
                    uint           num4;
                    MessageContent current;
                    bool           flag;
                    int            num5;
                    switch ((num4 = (uint)(num2 ^ num3)) % 11U)
                    {
                    case 0:
                        goto label_23;

                    case 2:
                        num2 = (int)num4 * -974359176 ^ 448052428;
                        continue;

                    case 3:
                        num2 = -1657486983;
                        continue;

                    case 4:
                        int num6 = !flag ? -298526724 : (num6 = -647659183);
                        int num7 = (int)num4 * 413857376;
                        num2 = num6 ^ num7;
                        continue;

                    case 5:
                        if (!FloodChatOptions.\u202E‌‎‎‫‍‍‮‫‎‎‌‌‎‍‮‍‫‍‏​‭‮(messageContent, string.Empty))
                        {
                            num2 = (int)num4 * -430363644 ^ -23837452;
                            continue;
                        }
                        num5 = 0;
                        break;

                    case 6:
                        num5 = FloodChatOptions.\u202E‌‎‎‫‍‍‮‫‎‎‌‌‎‍‮‍‫‍‏​‭‮(current.ContentText, messageContent) ? 1 : 0;
                        break;

                    case 7:
                        current = enumerator.Current;
                        num2    = -1894277038;
                        continue;

                    case 8:
                        num2 = -810552002;
                        continue;

                    case 9:
                        ((Collection <MessageContent>) this.sourceMessages).Add(current);
                        num2 = (int)num4 * -486634162 ^ 1521492008;
                        continue;

                    case 10:
                        this.sourceMessage = current;
                        num2 = (int)num4 * 739597562 ^ -1985036768;
                        continue;

                    default:
                        goto label_35;
                    }
                    flag = num5 != 0;
                    num2 = -1511849528;
                }
            }
            finally
            {
                enumerator.Dispose();
label_30:
                int num2 = -1519384104;
                while (true)
                {
                    int  num3 = -1327787646;
                    uint num4;
                    switch ((num4 = (uint)(num2 ^ num3)) % 3U)
                    {
                    case 0:
                        goto label_30;

                    case 2:
                        num2 = (int)num4 * 1389595659 ^ -1681371973;
                        continue;

                    default:
                        goto label_34;
                    }
                }
                label_34 :;
            }
            label_35 :;
        }
Beispiel #2
0
        private void LoadMessageCategories(string categoryName)
        {
            this.sourceCategories = new ObservableCollection <MessageCategory>();
            IEnumerator <MessageCategory> enumerator = ((Collection <MessageCategory>) this.Engine.MessageCategories).GetEnumerator();

            try
            {
label_8:
                int num1 = !FloodChatOptions.\u206D‬‮‬‍‌‏‫‍‍​‪‫‬‏‬‭‭‮‮((IEnumerator)enumerator) ? -1224123086 : (num1 = -351271832);
                while (true)
                {
                    int             num2 = -2145947534;
                    uint            num3;
                    MessageCategory current;
                    bool            flag;
                    int             num4;
                    switch ((num3 = (uint)(num1 ^ num2)) % 10U)
                    {
                    case 0:
                        this.sourceCategory = current;
                        num1 = (int)num3 * -1812873887 ^ 513737275;
                        continue;

                    case 1:
                        num1 = -905895980;
                        continue;

                    case 2:
                        ((Collection <MessageCategory>) this.sourceCategories).Add(current);
                        if (FloodChatOptions.\u202E‌‎‎‫‍‍‮‫‎‎‌‌‎‍‮‍‫‍‏​‭‮(categoryName, string.Empty))
                        {
                            num4 = 0;
                            break;
                        }
                        num1 = (int)num3 * 629371700 ^ -255715833;
                        continue;

                    case 3:
                        int num5 = !flag ? 1709850169 : (num5 = 895699682);
                        int num6 = (int)num3 * 1643231252;
                        num1 = num5 ^ num6;
                        continue;

                    case 5:
                        num4 = FloodChatOptions.\u202E‌‎‎‫‍‍‮‫‎‎‌‌‎‍‮‍‫‍‏​‭‮(current.CategoryName, categoryName) ? 1 : 0;
                        break;

                    case 6:
                        current = enumerator.Current;
                        num1    = -1300456012;
                        continue;

                    case 7:
                        num1 = (int)num3 * 578025981 ^ 37165076;
                        continue;

                    case 8:
                        goto label_8;

                    case 9:
                        num1 = -351271832;
                        continue;

                    default:
                        goto label_22;
                    }
                    flag = num4 != 0;
                    num1 = -1454040361;
                }
            }
            finally
            {
                if (enumerator != null)
                {
label_16:
                    int num1 = -1986018225;
                    while (true)
                    {
                        int  num2 = -2145947534;
                        uint num3;
                        switch ((num3 = (uint)(num1 ^ num2)) % 4U)
                        {
                        case 0:
                            num1 = (int)num3 * 1640993727 ^ -938049111;
                            continue;

                        case 1:
                            FloodChatOptions.\u202D‌‎‪‭‏‬‫‍‌‮​‏‎‪​​‮‪‍‌‏‮((IDisposable)enumerator);
                            num1 = (int)num3 * -388209762 ^ 1459680032;
                            continue;

                        case 2:
                            goto label_16;

                        default:
                            goto label_21;
                        }
                    }
                }
                label_21 :;
            }
            label_22 :
            if (this.sourceCategory != null)
            {
                goto label_29;
            }
label_23:
            int num7 = -1408518053;

label_24:
            bool flag1;

            while (true)
            {
                int  num1 = -2145947534;
                uint num2;
                switch ((num2 = (uint)(num7 ^ num1)) % 6U)
                {
                case 0:
                    goto label_23;

                case 1:
                    goto label_28;

                case 2:
                    int num3 = !flag1 ? 1950118939 : (num3 = 158566047);
                    int num4 = (int)num2 * -1648875590;
                    num7 = num3 ^ num4;
                    continue;

                case 3:
                    goto label_25;

                case 4:
                    this.sourceCategory = this.Engine.GetMessageCategory(ZoomZoom.Properties.Settings.Default.FloodSource, false);
                    num7 = (int)num2 * -292301574 ^ 1651759263;
                    continue;

                case 5:
                    num7 = (int)num2 * 1782919600 ^ -786544404;
                    continue;

                default:
                    goto label_18;
                }
            }
label_18:
            return;

label_25:
            return;

label_28:
            int num8 = !FloodChatOptions.\u202E‌‎‎‫‍‍‮‫‎‎‌‌‎‍‮‍‫‍‏​‭‮(ZoomZoom.Properties.Settings.Default.FloodSource, string.Empty) ? 1 : 0;

            goto label_30;
label_29:
            num8 = 0;
label_30:
            flag1 = num8 != 0;
            num7  = -2068946058;
            goto label_24;
        }