示例#1
0
        public static ZoomWindow CreateWindow(IntPtr handle)
        {
            label_1 :
            int num1 = -1459512476;
            object windowLock;

            while (true)
            {
                int  num2 = -63972959;
                uint num3;
                switch ((num3 = (uint)(num1 ^ num2)) % 4U)
                {
                case 0:
                    goto label_1;

                case 1:
                    Engine instance = Engine.Instance;
                    num1 = (int)num3 * -1820361914 ^ 1057907516;
                    continue;

                case 3:
                    windowLock = ZoomFactory.windowLock;
                    num1       = (int)num3 * -1039938373 ^ -1833872478;
                    continue;

                default:
                    goto label_5;
                }
            }
label_5:
            bool flag1 = false;
            ZoomWindow zoomWindow1;

            try
            {
                ZoomFactory.\u206D‍‬​‪‏‬‌​‪​‎‭‬​‬‮‬‌‍‍‎‌‏‫‏‌‎‏‬‮(windowLock, ref flag1);
label_7:
                int num2 = -491891838;
                ZoomWindow zoomWindow2;
                while (true)
                {
                    int  num3 = -63972959;
                    uint num4;
                    bool flag2;
                    bool flag3;
                    int  num5;
                    switch ((num4 = (uint)(num2 ^ num3)) % 13U)
                    {
                    case 0:
                        flag2 = zoomWindow2 != null;
                        num2  = (int)num4 * 1259960492 ^ -1980908033;
                        continue;

                    case 1:
                        if (zoomWindow2.WindowType != WindowType.Invalid)
                        {
                            num2 = (int)num4 * 1581623504 ^ 648728802;
                            continue;
                        }
                        break;

                    case 3:
                        int num6 = flag2 ? -1128306597 : (num6 = -1972581589);
                        int num7 = (int)num4 * 1714398498;
                        num2 = num6 ^ num7;
                        continue;

                    case 4:
                        zoomWindow2 = ZoomWindow.New(handle);
                        num2        = (int)num4 * -404801919 ^ 1748540984;
                        continue;

                    case 5:
                        if (zoomWindow2.WindowType != WindowType.Other)
                        {
                            num2 = (int)num4 * -389760811 ^ 756789440;
                            continue;
                        }
                        break;

                    case 6:
                        num2 = (int)num4 * -1967912559 ^ -717838262;
                        continue;

                    case 7:
                        goto label_20;

                    case 8:
                        num5 = (uint)zoomWindow2.WindowType > 0U ? 1 : 0;
                        goto label_19;

                    case 9:
                        int num8 = flag3 ? 1817699267 : (num8 = 1652683785);
                        int num9 = (int)num4 * -1640512314;
                        num2 = num8 ^ num9;
                        continue;

                    case 10:
                        goto label_7;

                    case 11:
                        zoomWindow2.Refresh(false, false);
                        num2 = (int)num4 * -59297130 ^ 598694273;
                        continue;

                    case 12:
                        num2 = -1965530329;
                        continue;

                    default:
                        goto label_30;
                    }
                    num5 = 0;
label_19:
                    flag3 = num5 != 0;
                    num2  = -870378604;
                }
label_20:
                zoomWindow1 = zoomWindow2;
                goto label_34;
            }
            finally
            {
                if (flag1)
                {
label_25:
                    int num2 = -1473116332;
                    while (true)
                    {
                        int  num3 = -63972959;
                        uint num4;
                        switch ((num4 = (uint)(num2 ^ num3)) % 4U)
                        {
                        case 0:
                            goto label_25;

                        case 1:
                            ZoomFactory.\u200B‏‍‌‏‮‪‭‪‭‬‏‎‭‫‬‬‪‎‫‭‌‬‬‏‭‮‮(windowLock);
                            num2 = (int)num4 * 813516823 ^ 428494393;
                            continue;

                        case 3:
                            num2 = (int)num4 * -1669098602 ^ 85053565;
                            continue;

                        default:
                            goto label_29;
                        }
                    }
                }
                label_29 :;
            }
            label_30 :
            zoomWindow1 = (ZoomWindow)null;
label_31:
            int num10 = -342799551;

            while (true)
            {
                int  num2 = -63972959;
                uint num3;
                switch ((num3 = (uint)(num10 ^ num2)) % 3U)
                {
                case 1:
                    num10 = (int)num3 * -819505513 ^ 185603953;
                    continue;

                case 2:
                    goto label_31;

                default:
                    goto label_34;
                }
            }
label_34:
            return(zoomWindow1);
        }
示例#2
0
        private List <IntPtr> LoadExistingWindows()
        {
            label_1 :
            int num1 = 1696227998;
            List <IntPtr>     visibleWindowHandles;
            List <ZoomWindow> zoomWindowList;

            while (true)
            {
                int  num2 = 1402811833;
                uint num3;
                switch ((num3 = (uint)(num1 ^ num2)) % 4U)
                {
                case 0:
                    goto label_1;

                case 1:
                    zoomWindowList = new List <ZoomWindow>();
                    num1           = (int)num3 * -1136179074 ^ 323007573;
                    continue;

                case 3:
                    visibleWindowHandles = WindowManager.GetVisibleWindowHandles(this.Engine.ActiveMeetingWindow.ProcessId);
                    num1 = (int)num3 * -2079482401 ^ 1793256653;
                    continue;

                default:
                    goto label_5;
                }
            }
label_5:
            using (List <IntPtr> .Enumerator enumerator = visibleWindowHandles.GetEnumerator())
            {
label_12:
                int num2 = !enumerator.MoveNext() ? 360325190 : (num2 = 176832570);
                while (true)
                {
                    int        num3 = 1402811833;
                    uint       num4;
                    ZoomWindow zoomWindow;
                    IntPtr     current;
                    switch ((num4 = (uint)(num2 ^ num3)) % 8U)
                    {
                    case 0:
                        goto label_12;

                    case 1:
                        zoomWindow = ZoomWindow.New(current);
                        zoomWindow.Refresh(false, false);
                        num2 = (int)num4 * -1046809369 ^ -2076341976;
                        continue;

                    case 2:
                        num2 = (int)num4 * -525058933 ^ -583592305;
                        continue;

                    case 3:
                        current = enumerator.Current;
                        num2    = 1110823452;
                        continue;

                    case 4:
                        num2 = 176832570;
                        continue;

                    case 5:
                        num2 = (int)num4 * 986765509 ^ -1318405087;
                        continue;

                    case 6:
                        zoomWindowList.Add(zoomWindow);
                        num2 = (int)num4 * 1105867034 ^ -1447925849;
                        continue;

                    default:
                        goto label_16;
                    }
                }
            }
label_16:
            List <IntPtr> numList = visibleWindowHandles;

label_17:
            int num5 = 1306129172;

            while (true)
            {
                int  num2 = 1402811833;
                uint num3;
                switch ((num3 = (uint)(num5 ^ num2)) % 3U)
                {
                case 0:
                    goto label_17;

                case 1:
                    num5 = (int)num3 * -1445452396 ^ 709423800;
                    continue;

                default:
                    goto label_20;
                }
            }
label_20:
            return(numList);
        }