Exemplo n.º 1
0
        private string FormatSQL(string stringToFormat)
        {
            if (stringToFormat == null)
            {
                goto label_5;
            }
label_1:
            int num1 = 1593042229;

label_2:
            string str;

            while (true)
            {
                int  num2 = 1617150709;
                uint num3;
                switch ((num3 = (uint)(num1 ^ num2)) % 6U)
                {
                case 0:
                    goto label_5;

                case 1:
                    str  = ZoomUser.\u200F‏‪‬‫‫‏‏‪‮‍‍‫‎​‫‌‌‬‮‪​‍‮(stringToFormat, \u003CModule\u003E.\u206A‪‫‬‫‎‭‬‌‫‏‭‭‏‍‫‌​‬‪‎‬‏‬‮ <string>(1022940561U), \u003CModule\u003E.\u200E‏‍‬‌‌‌‫‎‮‎‌‍‌‮‬‎‎‌‎‌‫‬‮‮ <string>(1669876505U));
                    num1 = (int)num3 * -271965940 ^ 2116517811;
                    continue;

                case 2:
                    num1 = (int)num3 * 1115375498 ^ 2080716308;
                    continue;

                case 3:
                    goto label_1;

                case 5:
                    num1 = (int)num3 * -1471150977 ^ -349070998;
                    continue;

                default:
                    goto label_7;
                }
            }
label_7:
            return(str);

label_5:
            str  = string.Empty;
            num1 = 481798366;
            goto label_2;
        }
Exemplo n.º 2
0
        public override bool LoadDataObject(SQLiteDataReader cReader)
        {
            bool flag = false;

            try
            {
label_2:
                int num1 = -760480002;
                while (true)
                {
                    int  num2 = -1203421360;
                    uint num3;
                    switch ((num3 = (uint)(num1 ^ num2)) % 19U)
                    {
                    case 0:
                        num1 = (int)num3 * -573500016 ^ 1418491728;
                        continue;

                    case 1:
                        this.NeverChatted = cReader.GetFieldValueInt(\u003CModule\u003E.\u202A‎‪‫‪‪‏‮‬‎‏‌‌‫‬‌‍‫‌‌‌‮‫‪‮‮ <string>(3681909733U)) == 1;
                        num1 = -2062922295;
                        continue;

                    case 2:
                        this.AliasFlags = (AliasFlag)cReader.GetFieldValueInt(\u003CModule\u003E.\u206A‪‫‬‫‎‭‬‌‫‏‭‭‏‍‫‌​‬‪‎‬‏‬‮ <string>(2539370780U));
                        num1            = (int)num3 * -900324107 ^ 1070319058;
                        continue;

                    case 4:
                        num1 = (int)num3 * -1697162192 ^ -129974975;
                        continue;

                    case 5:
                        this.Uri = cReader.GetFieldValueLong(\u003CModule\u003E.\u206B‎‏‎‮‌​‪‏‭‭‍‍‬‬‫‌‎‮‮‪‌‪‮ <string>(890639199U));
                        num1     = (int)num3 * 98363610 ^ -1560911793;
                        continue;

                    case 6:
                        this.IsImpersonated = cReader.GetFieldValueInt(\u003CModule\u003E.\u202A‎‪‫‪‪‏‮‬‎‏‌‌‫‬‌‍‫‌‌‌‮‫‪‮‮ <string>(3469609132U)) == 1;
                        num1 = -907835638;
                        continue;

                    case 7:
                        this.UserName = cReader.GetFieldValueString(\u003CModule\u003E.\u202A‎‪‫‪‪‏‮‬‎‏‌‌‫‬‌‍‫‌‌‌‮‫‪‮‮ <string>(1373956289U));
                        num1          = (int)num3 * 1467867913 ^ 382824231;
                        continue;

                    case 8:
                        goto label_2;

                    case 9:
                        this.IsAlias = cReader.GetFieldValueInt(\u003CModule\u003E.\u200E‏‍‬‌‌‌‫‎‮‎‌‍‌‮‬‎‎‌‎‌‫‬‮‮ <string>(3545937118U)) == 1;
                        num1         = -112825481;
                        continue;

                    case 10:
                        this.UserGUID = cReader.GetFieldValueString(\u003CModule\u003E.\u206A‪‫‬‫‎‭‬‌‫‏‭‭‏‍‫‌​‬‪‎‬‏‬‮ <string>(3711160230U));
                        num1          = (int)num3 * -1466318865 ^ -1142404109;
                        continue;

                    case 11:
                        this.PrimaryUserUri = cReader.GetFieldValueLong(\u003CModule\u003E.\u206A‪‫‬‫‎‭‬‌‫‏‭‭‏‍‫‌​‬‪‎‬‏‬‮ <string>(1576745987U));
                        num1 = (int)num3 * 746699731 ^ -1894535900;
                        continue;

                    case 12:
                        this.DateLastSeen = cReader.GetFieldValueDateTime(\u003CModule\u003E.\u202A‎‪‫‪‪‏‮‬‎‏‌‌‫‬‌‍‫‌‌‌‮‫‪‮‮ <string>(1089986642U));
                        num1 = (int)num3 * 124630226 ^ -1817557248;
                        continue;

                    case 13:
                        num1 = (int)num3 * -248994151 ^ 505370757;
                        continue;

                    case 14:
                        this.DateModified = cReader.GetFieldValueDateTime(\u003CModule\u003E.\u206A‪‫‬‫‎‭‬‌‫‏‭‭‏‍‫‌​‬‪‎‬‏‬‮ <string>(3335598589U));
                        num1 = (int)num3 * -797226566 ^ 457035597;
                        continue;

                    case 15:
                        this.IsBlocked = cReader.GetFieldValueInt(\u003CModule\u003E.\u206A‪‫‬‫‎‭‬‌‫‏‭‭‏‍‫‌​‬‪‎‬‏‬‮ <string>(3447326922U)) == 1;
                        num1           = -2125595971;
                        continue;

                    case 16:
                        this.IsFriend = cReader.GetFieldValueInt(\u003CModule\u003E.\u206A‪‫‬‫‎‭‬‌‫‏‭‭‏‍‫‌​‬‪‎‬‏‬‮ <string>(4255455709U)) == 1;
                        num1          = -6378920;
                        continue;

                    case 17:
                        this.DateCreated = cReader.GetFieldValueDateTime(\u003CModule\u003E.\u206A‪‫‬‫‎‭‬‌‫‏‭‭‏‍‫‌​‬‪‎‬‏‬‮ <string>(3689749305U));
                        num1             = (int)num3 * 1463847255 ^ -1648905841;
                        continue;

                    case 18:
                        num1 = (int)num3 * 1305444088 ^ -233252528;
                        continue;

                    default:
                        goto label_26;
                    }
                }
            }
            catch (Exception ex)
            {
label_22:
                int num1 = -328538091;
                while (true)
                {
                    int  num2 = -1203421360;
                    uint num3;
                    switch ((num3 = (uint)(num1 ^ num2)) % 3U)
                    {
                    case 0:
                        goto label_22;

                    case 1:
                        num1 = (int)num3 * -1791811367 ^ -883837367;
                        continue;

                    default:
                        goto label_25;
                    }
                }
label_25:
                ZoomUser.\u206A‎‍‮‫‮‍‮‪‬‏‍‫‫‬‭‎‫‪‍‏‏‮‭‫‮(CoreObject.log, (object)ex);
            }
label_26:
            return(flag);
        }
Exemplo n.º 3
0
        internal static ZoomChat CreateChat(ZoomChatStruct _chatstruct)
        {
            ZoomChat zoomChat1 = (ZoomChat)null;
            ZoomUser zoomUser1 = (ZoomUser)null;
            ZoomUser zoomUser2 = (ZoomUser)null;

            try
            {
                zoomUser1 = Engine.Instance.GetUser(_chatstruct.senderName, true);
                if (!zoomUser1.NeverChatted)
                {
                    goto label_55;
                }
label_2:
                int num1 = 221240047;
label_3:
                while (true)
                {
                    int  num2 = 767103008;
                    uint num3;
                    bool flag1;
                    bool flag2;
                    bool neverChatted;
                    int  num4;
                    int  num5;
                    switch ((num3 = (uint)(num1 ^ num2)) % 47U)
                    {
                    case 0:
                        num1 = 550822523;
                        continue;

                    case 1:
                        goto label_54;

                    case 2:
                        zoomUser1.BlockUser();
                        num1 = (int)num3 * -2039271084 ^ 565952544;
                        continue;

                    case 3:
                        zoomUser1.NeverChatted = false;
                        num1 = (int)num3 * 972172909 ^ 817780425;
                        continue;

                    case 4:
                        num1 = 721544009;
                        continue;

                    case 5:
                        zoomChat1 = new ZoomChat();
                        num1      = 180612212;
                        continue;

                    case 6:
                        num1 = (int)num3 * -1931849114 ^ 91393350;
                        continue;

                    case 7:
                        num1 = (int)num3 * 1702363803 ^ -354043368;
                        continue;

                    case 8:
                        num1 = (int)num3 * -99633620 ^ -184157904;
                        continue;

                    case 9:
                        zoomChat1.DateModified = StringHelper.UnixTimeStampToDateTime(_chatstruct.time);
                        num1 = (int)num3 * -883984991 ^ 1748488468;
                        continue;

                    case 10:
                        zoomChat1.ReceivingUserId = _chatstruct.receiverId;
                        num1 = (int)num3 * -2128021783 ^ 1903196104;
                        continue;

                    case 11:
                        num1 = (int)num3 * -1206688901 ^ 1649636199;
                        continue;

                    case 12:
                        num1 = (int)num3 * -128479376 ^ -623901928;
                        continue;

                    case 13:
                        zoomUser2.NeverChatted = false;
                        num1 = (int)num3 * -1330467055 ^ 1288221450;
                        continue;

                    case 14:
                        zoomUser2 = ZoomFactory.Engine.GetUser(\u003CModule\u003E.\u202A‎‪‫‪‪‏‮‬‎‏‌‌‫‬‌‍‫‌‌‌‮‫‪‮‮ <string>(2295310954U), true);
                        num1      = 1316477305;
                        continue;

                    case 15:
                        int num6 = flag2 ? -1429483226 : (num6 = -704116549);
                        int num7 = (int)num3 * -62347207;
                        num1 = num6 ^ num7;
                        continue;

                    case 16:
                        int num8 = flag1 ? -1753411417 : (num8 = -2050245738);
                        int num9 = (int)num3 * 613355183;
                        num1 = num8 ^ num9;
                        continue;

                    case 17:
                        num1 = (int)num3 * -1614519495 ^ -1075723254;
                        continue;

                    case 18:
                        zoomChat1.WasPublic = ZoomFactory.\u200B‏‏‎‭‎‍‌‎‪‎‮‏‮‮‮‫‪‍‬‌‮​‎‌‌‬‭‮(_chatstruct.receiverName);
                        flag2 = ZoomFactory.Engine != null;
                        num1  = 2090011129;
                        continue;

                    case 19:
                        zoomUser2.NeverChatted = false;
                        num1 = (int)num3 * 184026523 ^ 157375897;
                        continue;

                    case 20:
                        goto label_2;

                    case 21:
                        num1 = 1289936976;
                        continue;

                    case 22:
                        if (!ZoomFactory.\u206F‍‍‭‮‮‫‪‬‫‭‫‎‍‍​‪‎‫‭‌‮(_chatstruct.receiverId, \u003CModule\u003E.\u206B‎‏‎‮‌​‪‏‭‭‍‍‬‬‫‌‎‮‮‪‌‪‮ <string>(2838344836U)))
                        {
                            num1 = (int)num3 * -2012750976 ^ -337086178;
                            continue;
                        }
                        goto label_55;

                    case 23:
                        num1 = (int)num3 * -966406023 ^ 181243747;
                        continue;

                    case 24:
                        num1 = (int)num3 * -1808395327 ^ 188245617;
                        continue;

                    case 25:
                        int num10;
                        num1 = num10 = ZoomFactory.\u206E‌‍‬​‮‬‍‭‪​‏‭‬​​‭‎‍‬‬‮(Engine.Instance.Settings.DesktopAlert_IgnoredUsers, _chatstruct.senderName) ? 165872160 : (num10 = 1025856024);
                        continue;

                    case 26:
                        zoomUser2 = Engine.Instance.GetUser(_chatstruct.receiverName, false);
                        if (zoomUser2 == null)
                        {
                            num1 = (int)num3 * 1887472709 ^ 1284366148;
                            continue;
                        }
                        num4 = 0;
                        break;

                    case 27:
                        int num11 = neverChatted ? -1211695728 : (num11 = -1095342093);
                        int num12 = (int)num3 * 1692856451;
                        num1 = num11 ^ num12;
                        continue;

                    case 29:
                        zoomChat1.ReceivingZoomId = _chatstruct.receiverName;
                        zoomChat1.ChatContent     = _chatstruct.content;
                        num1 = (int)num3 * -1135034857 ^ -1299950297;
                        continue;

                    case 30:
                        zoomUser2 = Engine.Instance.GetUser(_chatstruct.receiverName, false);
                        num1      = (int)num3 * -1842537938 ^ -774235042;
                        continue;

                    case 31:
                        if (!ZoomFactory.\u206F‍‍‭‮‮‫‪‬‫‭‫‎‍‍​‪‎‫‭‌‮(_chatstruct.receiverId, \u003CModule\u003E.\u200E‏‍‬‌‌‌‫‎‮‎‌‍‌‮‬‎‎‌‎‌‫‬‮‮ <string>(2973092196U)))
                        {
                            num1 = 94323727;
                            continue;
                        }
                        num5 = 0;
                        goto label_49;

                    case 32:
                        zoomChat1.MeetingUri = ZoomFactory.Engine.ActiveMeeting != null ? ZoomFactory.Engine.ActiveMeeting.Uri : ZoomFactory.Engine.Settings.LastMeetingUri;
                        num1 = 1335450738;
                        continue;

                    case 33:
                        num1 = (int)num3 * 65588293 ^ -346933088;
                        continue;

                    case 34:
                        zoomChat1.SendingUserId = _chatstruct.senderId;
                        zoomChat1.SendingZoomId = _chatstruct.senderName;
                        num1 = (int)num3 * -361656682 ^ 1435070949;
                        continue;

                    case 35:
                        num1 = (int)num3 * -130945907 ^ 355777884;
                        continue;

                    case 36:
                        zoomChat1.CurrentName = !ZoomFactory.\u206F‍‍‭‮‮‫‪‬‫‭‫‎‍‍​‪‎‫‭‌‮(_chatstruct.receiverId, \u003CModule\u003E.\u202A‎‪‫‪‪‏‮‬‎‏‌‌‫‬‌‍‫‌‌‌‮‫‪‮‮ <string>(1742401512U)) ? _chatstruct.receiverName : ZoomFactory.Engine.CurrentName;
                        num1 = 974394082;
                        continue;

                    case 37:
                        num5 = !ZoomFactory.\u206F‍‍‭‮‮‫‪‬‫‭‫‎‍‍​‪‎‫‭‌‮(_chatstruct.receiverName, "") ? 1 : 0;
                        goto label_49;

                    case 38:
                        neverChatted = zoomUser2.NeverChatted;
                        num1         = (int)num3 * 801851432 ^ -1068002121;
                        continue;

                    case 39:
                        num1 = (int)num3 * 408730823 ^ -550514722;
                        continue;

                    case 40:
                        num1 = (int)num3 * 2019405576 ^ 2044622739;
                        continue;

                    case 41:
                        int num13;
                        num1 = num13 = zoomUser2.NeverChatted ? 108295594 : (num13 = 260657429);
                        continue;

                    case 42:
                        num1 = (int)num3 * -135149787 ^ -242223680;
                        continue;

                    case 43:
                        num1 = (int)num3 * 1071512233 ^ 972797562;
                        continue;

                    case 44:
                        num1 = (int)num3 * 1212478639 ^ -1080721520;
                        continue;

                    case 45:
                        zoomChat1.DateCreated = StringHelper.UnixTimeStampToDateTime(_chatstruct.time);
                        num1 = (int)num3 * 3602347 ^ -1847933663;
                        continue;

                    case 46:
                        num4 = Engine.Instance.NewUser(_chatstruct.receiverName) ? 1 : 0;
                        break;

                    default:
                        goto label_87;
                    }
                    int num14;
                    num1 = num14 = num4 != 0 ? 1283757135 : (num14 = 1218656917);
                    continue;
label_49:
                    flag1 = num5 != 0;
                    num1  = 910553383;
                }
label_54:
                int num15 = !ZoomFactory.\u206F‍‍‭‮‮‫‪‬‫‭‫‎‍‍​‪‎‫‭‌‮(_chatstruct.receiverId, string.Empty) ? 1 : 0;
                goto label_56;
label_55:
                num15 = 0;
label_56:
                num1 = num15 == 0 ? 701179504 : (num1 = 1816875120);
                goto label_3;
            }
            catch (Exception ex)
            {
label_59:
                int num1 = 1954021052;
                while (true)
                {
                    int  num2 = 767103008;
                    uint num3;
                    int  num4;
                    switch ((num3 = (uint)(num1 ^ num2)) % 6U)
                    {
                    case 0:
                        num4 = zoomChat1.IsDirty ? 1 : 0;
                        break;

                    case 1:
                        zoomChat1 = (ZoomChat)null;
                        num1      = (int)num3 * 359370206 ^ -1542061312;
                        continue;

                    case 2:
                        ZoomFactory.\u206F‬‪‏‍‭‭‍‪​‌‪‏‫‎‮‌‎‭‬‌​‍‬‎‎‍‬‪‮(ZoomFactory.log, (object)ex);
                        num1 = (int)num3 * 1323423099 ^ -1872298057;
                        continue;

                    case 3:
                        goto label_59;

                    case 5:
                        if (zoomChat1 == null)
                        {
                            num4 = 0;
                            break;
                        }
                        num1 = (int)num3 * 1731611028 ^ 1482114390;
                        continue;

                    default:
                        goto label_87;
                    }
                    int num5;
                    num1 = num5 = num4 == 0 ? 1447833378 : (num5 = 359391967);
                }
            }
            finally
            {
label_69:
                int num1 = 733793238;
                while (true)
                {
                    int  num2 = 767103008;
                    uint num3;
                    bool flag1;
                    bool flag2;
                    int  num4;
                    int  num5;
                    switch ((num3 = (uint)(num1 ^ num2)) % 11U)
                    {
                    case 0:
                        int num6 = flag1 ? -1872734146 : (num6 = -639436553);
                        int num7 = (int)num3 * -1064217135;
                        num1 = num6 ^ num7;
                        continue;

                    case 1:
                        num1 = 1766137705;
                        continue;

                    case 2:
                        num4 = zoomUser2.IsDirty ? 1 : 0;
                        goto label_83;

                    case 3:
                        zoomUser1.SaveDatabaseObject();
                        num1 = (int)num3 * 1490419944 ^ 43697490;
                        continue;

                    case 4:
                        zoomUser2.SaveDatabaseObject();
                        num1 = (int)num3 * -887682673 ^ -863347415;
                        continue;

                    case 5:
                        int num8 = flag2 ? -365534147 : (num8 = -233030886);
                        int num9 = (int)num3 * -1510158024;
                        num1 = num8 ^ num9;
                        continue;

                    case 6:
                        num5 = zoomUser1.IsDirty ? 1 : 0;
                        break;

                    case 7:
                        goto label_69;

                    case 8:
                        if (zoomUser2 != null)
                        {
                            num1 = 142631529;
                            continue;
                        }
                        num4 = 0;
                        goto label_83;

                    case 10:
                        if (zoomUser1 != null)
                        {
                            num1 = (int)num3 * -1192742205 ^ -366550199;
                            continue;
                        }
                        num5 = 0;
                        break;

                    default:
                        goto label_86;
                    }
                    flag2 = num5 != 0;
                    num1  = 214470560;
                    continue;
label_83:
                    flag1 = num4 != 0;
                    num1  = 1826573310;
                }
                label_86 :;
            }
            label_87 :
            ZoomChat zoomChat2 = zoomChat1;

label_88:
            int num16 = 1898623021;

            while (true)
            {
                int  num1 = 767103008;
                uint num2;
                switch ((num2 = (uint)(num16 ^ num1)) % 3U)
                {
                case 0:
                    goto label_88;

                case 1:
                    num16 = (int)num2 * -71884511 ^ 536657816;
                    continue;

                default:
                    goto label_91;
                }
            }
label_91:
            return(zoomChat2);
        }