Пример #1
0
 public CoreTimer(int delayTime, int intervalTime, int treshold)
 {
     this.DelayTime    = delayTime;
     this.IntervalTime = intervalTime;
     this.Treshold     = treshold;
     this.Timer        = CoreTimer.\u202C‭‍​‭‎‏‏‬‮‫​‮‌‭‍‭‌‬‍‎‮‏‮(new TimerCallback(this.TimerCallbackWorker), (object)new CoreTimer.StateInfo(), delayTime, intervalTime);
 }
Пример #2
0
        public void TimerCallbackWorker(object state)
        {
            CoreTimer.StateInfo stateInfo = state as CoreTimer.StateInfo;
label_1:
            int num1 = 1844677376;

            while (true)
            {
                int  num2 = 1780467679;
                uint num3;
                switch ((num3 = (uint)(num1 ^ num2)) % 15U)
                {
                case 0:
                    num1 = (int)num3 * 714261315 ^ -1382257448;
                    continue;

                case 1:
                    num1 = (int)num3 * 1959078765 ^ 39724846;
                    continue;

                case 2:
                    int num4 = stateInfo == null ? 1790265158 : (num4 = 1700496424);
                    int num5 = (int)num3 * -1490685558;
                    num1 = num4 ^ num5;
                    continue;

                case 3:
                    goto label_13;

                case 4:
                    num1 = 580506520;
                    continue;

                case 5:
                    goto label_3;

                case 6:
                    goto label_1;

                case 7:
                    int num6 = stateInfo.ExecutionCounter <= this.Treshold ? 430867403 : (num6 = 2026814832);
                    int num7 = (int)num3 * -1000736146;
                    num1 = num6 ^ num7;
                    continue;

                case 8:
                    num1 = (int)num3 * -1809509743 ^ 1981783032;
                    continue;

                case 9:
                    num1 = (int)num3 * -574454370 ^ 124590310;
                    continue;

                case 10:
                    num1 = (int)num3 * -394321661 ^ -838880987;
                    continue;

                case 11:
                    ++stateInfo.ExecutionCounter;
                    num1 = 1900889041;
                    continue;

                case 12:
                    CoreTimer.\u200D‮‌‪‭‪‪‭‭‪‏‫‪‎‫‪‌‮‍‍‏‮(\u003CModule\u003E.\u200E‏‍‬‌‌‌‫‎‮‎‌‍‌‮‬‎‎‌‎‌‫‬‮‮ <string>(1311659482U), (object)stateInfo.ExecutionCounter, (object)CoreTimer.\u202C‌‍‌‮‮‏‏‏‮‍‬​‭‬‏‍​‍‬‌‪‎‍‭‪‫‫‮((object)stateInfo));
                    num1 = (int)num3 * 1644155924 ^ -157825108;
                    continue;

                case 13:
                    num1 = (int)num3 * -1251116407 ^ -571155378;
                    continue;

                case 14:
                    CoreTimer.\u200F‫‭‎‫‍‭‮‬‪‎‪‍‍‏‏‪‬​‍‬‮‎‏‮(this.Timer, -1, -1);
                    CoreTimer.\u200C‍‌​‮‎‍‪‮‎‍‎​‏‪‭‬‍‮‍‏‮(\u003CModule\u003E.\u206B‎‏‎‮‌​‪‏‭‭‍‍‬‬‫‌‎‮‮‪‌‪‮ <string>(1823382722U), (object)this.Treshold);
                    num1 = (int)num3 * 751065992 ^ 1231680157;
                    continue;

                default:
                    goto label_17;
                }
            }
label_17:
            return;

label_3:
            return;

label_13:
            throw CoreTimer.\u206F‫‭‏‏‮‭‬‬‬​‏​‏‌‏‏‏‫‪‫‪‎‬‭‏‍‮(\u003CModule\u003E.\u202A‎‪‫‪‪‏‮‬‎‏‌‌‫‬‌‍‫‌‌‌‮‫‪‮‮ <string>(813700913U));
        }