Exemplo n.º 1
0
        public override string ToString()
        {
label_1:
            int num1 = -1594963014;
            string str;

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

                case 1:
                    num1 = (int)num3 * 197696432 ^ -717216321;
                    continue;

                case 3:
                    str = ZoomEvent.\u202E‬‌‬‬‭​‏​‎‏‫​‮‪‭‬‫‬‬‌‭‭‌‎‎‮‌​‪‌‮(\u003CModule\u003E.\u202A​‬‫‪‫‪‮‪‫‎‭‪‏‮‎‭‍‌‎‫‍​‎‎‮ <string>(138482319U), new object[6]
                    {
                        (object)this.EventType,
                        (object)this.WindowHandle,
                        (object)this.ZoomWindowType,
                        (object)this.WindowTitle,
                        (object)this.WindowClass,
                        (object)string.Join <Keys>(\u003CModule\u003E.\u206A‪‫‬‫‎‭‬‌‫‏‭‭‏‍‫‌​‬‪‎‬‏‬‮ <string>(200411411U), (IEnumerable <M0>) this.KeysDown.ToArray())
                    });
                    num1 = (int)num3 * -780101915 ^ 902742119;
                    continue;

                default:
                    goto label_5;
                }
            }
label_5:
            return(str);
        }
Exemplo n.º 2
0
 public override int GetHashCode()
 {
     return(ZoomEvent.\u200C‏‏‬‫‭‪‪‬‬‪‬‎‌‬‎‪‬‬‌‬‭‪‭‭‮((object)ZoomEvent.\u206D‫‪​‏‭​​‫‪‎‬‭‏‏‫‮‌‫​‏​‏​‬‎‮((object)this)));
 }
Exemplo n.º 3
0
        public ZoomEvent(IntPtr hookHandle, IntPtr winHandle, ZoomEventType eventType, int procId, uint threadId, uint eventTime)
        {
            label_1 :
            int num1 = 536070786;

            while (true)
            {
                int  num2 = 631821908;
                uint num3;
                switch ((num3 = (uint)(num1 ^ num2)) % 14U)
                {
                case 0:
                    this.WindowTitle = WindowHelper.GetWindowTitle(this.WindowHandle);
                    num1             = (int)num3 * -793104490 ^ 338520449;
                    continue;

                case 1:
                    this.WindowClass = WindowHelper.GetWindowClass(this.WindowHandle);
                    num1             = (int)num3 * -1967081795 ^ 445134580;
                    continue;

                case 2:
                    this.KeysDown = this.Engine.HookManager.GetKeysDown();
                    num1          = (int)num3 * -1044013644 ^ -361990709;
                    continue;

                case 3:
                    goto label_3;

                case 4:
                    num1 = (int)num3 * -641282941 ^ -1383885390;
                    continue;

                case 5:
                    goto label_1;

                case 6:
                    num1 = (int)num3 * 1175277403 ^ -1805342294;
                    continue;

                case 7:
                    this.ThreadId = ZoomEvent.\u202A‭‌‭‬‍‏‪‪‫‬‫‎‌‏​‭​‎‫‮‭‬‬‫‌‮‮(threadId);
                    num1          = (int)num3 * 1937663369 ^ 509325003;
                    continue;

                case 8:
                    this.EventType = eventType;
                    num1           = (int)num3 * 233657022 ^ -1172135392;
                    continue;

                case 9:
                    this.ProcessId = procId;
                    num1           = (int)num3 * 507961616 ^ -1382505643;
                    continue;

                case 10:
                    num1 = (int)num3 * -1272443781 ^ -1115294983;
                    continue;

                case 11:
                    num1 = (int)num3 * 1357230567 ^ 694256689;
                    continue;

                case 12:
                    this.HookHandle = hookHandle;
                    num1            = (int)num3 * -1013193039 ^ -211494474;
                    continue;

                case 13:
                    this.WindowHandle = winHandle;
                    this.EventDate    = DateTime.Now;
                    num1 = (int)num3 * -1526180728 ^ 1544171213;
                    continue;

                default:
                    goto label_16;
                }
            }
label_16:
            return;

            label_3 :;
        }
Exemplo n.º 4
0
        public ZoomEvent(IntPtr hookHandle, IntPtr winHandle, uint eventType, int procId, uint threadId, uint eventTime)
        {
label_1:
            int num1 = -2011297199;

            while (true)
            {
                int  num2 = -2023152675;
                uint num3;
                switch ((num3 = (uint)(num1 ^ num2)) % 14U)
                {
                case 0:
                    this.EventDate = DateTime.Now;
                    this.ProcessId = procId;
                    this.ThreadId  = ZoomEvent.\u202A‭‌‭‬‍‏‪‪‫‬‫‎‌‏​‭​‎‫‮‭‬‬‫‌‮‮(threadId);
                    num1           = (int)num3 * -1394848249 ^ -1568595988;
                    continue;

                case 1:
                    this.WindowClass = WindowHelper.GetWindowClass(this.WindowHandle);
                    num1             = (int)num3 * 298766708 ^ 2075167011;
                    continue;

                case 2:
                    num1 = (int)num3 * 1165383232 ^ -980188280;
                    continue;

                case 3:
                    goto label_3;

                case 4:
                    num1 = (int)num3 * -833443332 ^ 26479909;
                    continue;

                case 5:
                    goto label_1;

                case 6:
                    this.WindowTitle = WindowHelper.GetWindowTitle(this.WindowHandle);
                    num1             = (int)num3 * -1814587379 ^ -246360676;
                    continue;

                case 7:
                    num1 = (int)num3 * 727217391 ^ -1325899519;
                    continue;

                case 8:
                    this.HookHandle = hookHandle;
                    num1            = (int)num3 * -750951904 ^ 1150136458;
                    continue;

                case 9:
                    this.EventType = ZoomEvent.GetZoomEventType(eventType);
                    num1           = (int)num3 * -1503722025 ^ 724575248;
                    continue;

                case 10:
                    this.WindowHandle = winHandle;
                    num1 = (int)num3 * -714360931 ^ 1802990222;
                    continue;

                case 11:
                    num1 = (int)num3 * 366774097 ^ -1584498352;
                    continue;

                case 12:
                    this.KeysDown = this.Engine.HookManager.GetKeysDown();
                    num1          = (int)num3 * -1243127691 ^ -527059927;
                    continue;

                case 13:
                    num1 = (int)num3 * -626176953 ^ -520200806;
                    continue;

                default:
                    goto label_16;
                }
            }
label_16:
            return;

            label_3 :;
        }
Exemplo n.º 5
0
        internal static ZoomMeeting CreateMeeting(SharedData sharedData, ZoomEvent zoomEvent)
        {
label_1:
            int num1 = -861884473;
            ZoomMeeting zoomMeeting1;

            while (true)
            {
                int  num2 = -1525751682;
                uint num3;
                // ISSUE: variable of a compiler-generated type
                ZoomFactory.\u003C\u003Ec__DisplayClass7_0 cDisplayClass70;
                ZoomMeeting meeting;
                ZoomMeeting zoomMeeting2;
                bool        flag1;
                bool        flag2;
                switch ((num3 = (uint)(num1 ^ num2)) % 19U)
                {
                case 0:
                    num1 = (int)num3 * -125655202 ^ 1308101219;
                    continue;

                case 1:
                    num1 = (int)num3 * -157833053 ^ -1318619265;
                    continue;

                case 2:
                    flag1 = zoomMeeting2 == null;
                    num1  = (int)num3 * 364624421 ^ -129366512;
                    continue;

                case 3:
                    num1 = -219942319;
                    continue;

                case 4:
                    ZoomFactory.Engine.AddMeeting(meeting);
                    num1 = (int)num3 * 1388653764 ^ 1130222007;
                    continue;

                case 5:
                    num1 = (int)num3 * 464674994 ^ -1385216633;
                    continue;

                case 6:
                    int num4 = flag2 ? 2119542646 : (num4 = 113453885);
                    int num5 = (int)num3 * 648048827;
                    num1 = num4 ^ num5;
                    continue;

                case 7:
                    int num6 = !flag1 ? -456688871 : (num6 = -689005855);
                    int num7 = (int)num3 * 912150115;
                    num1 = num6 ^ num7;
                    continue;

                case 8:
                    zoomMeeting1 = meeting;
                    num1         = -75720103;
                    continue;

                case 10:
                    num1 = (int)num3 * 954464147 ^ 320339067;
                    continue;

                case 11:
                    num1 = (int)num3 * 1521877506 ^ -609085097;
                    continue;

                case 12:
                    meeting = (ZoomMeeting)null;
                    flag2   = zoomEvent.ZoomWindowType == ZoomWindowType.Meeting;
                    num1    = (int)num3 * 1965103502 ^ -528108956;
                    continue;

                case 13:
                    goto label_1;

                case 14:
                    // ISSUE: reference to a compiler-generated field
                    meeting = new ZoomMeeting(cDisplayClass70.meetingId, zoomEvent.Window);
                    num1    = (int)num3 * -735738899 ^ -584300918;
                    continue;

                case 15:
                    // ISSUE: object of a compiler-generated type is created
                    cDisplayClass70 = new ZoomFactory.\u003C\u003Ec__DisplayClass7_0();
                    num1            = (int)num3 * 980739715 ^ 1849251880;
                    continue;

                case 16:
                    ZoomFactory.Engine.SaveMeetings();
                    num1 = (int)num3 * -422386060 ^ 849759059;
                    continue;

                case 17:
                    meeting = zoomMeeting2;
                    num1    = -247606021;
                    continue;

                case 18:
                    Engine instance = Engine.Instance;
                    // ISSUE: reference to a compiler-generated field
                    cDisplayClass70.meetingId = MeetingHelper.GetMeetingId(zoomEvent.Window.Title);
                    // ISSUE: method pointer
                    zoomMeeting2 = (ZoomMeeting)Enumerable.FirstOrDefault <ZoomMeeting>((IEnumerable <M0>)ZoomFactory.Engine.Meetings, (Func <M0, bool>) new Func <ZoomMeeting, bool>((object)cDisplayClass70, __methodptr(\u003CCreateMeeting\u003Eb__0)));
                    num1         = (int)num3 * -334952858 ^ -1578082535;
                    continue;

                default:
                    goto label_20;
                }
            }
label_20:
            return(zoomMeeting1);
        }
Exemplo n.º 6
0
        internal static MeetingStatus GetMeetingStatus(ZoomEvent activityEvent)
        {
label_1:
            int num1 = -1852219666;
            MeetingStatus meetingStatus1;

            while (true)
            {
                int            num2 = -867106759;
                uint           num3;
                MeetingStatus  meetingStatus2;
                ZoomWindowType zoomWindowType;
                switch ((num3 = (uint)(num1 ^ num2)) % 20U)
                {
                case 0:
                    goto label_1;

                case 1:
                    num1 = (int)num3 * -266624309 ^ 133946697;
                    continue;

                case 2:
                    num1 = (int)num3 * -1305880474 ^ 330823243;
                    continue;

                case 3:
                case 10:
label_11:
                    meetingStatus1 = meetingStatus2;
                    num1           = -682963950;
                    continue;

                case 4:
label_17:
                    meetingStatus2 = MeetingStatus.Password;
                    num1           = -512077361;
                    continue;

                case 6:
label_9:
                    meetingStatus2 = MeetingStatus.Attending;
                    num1           = -512077361;
                    continue;

                case 7:
                    meetingStatus2 = MeetingStatus.Unknown;
                    num1           = (int)num3 * -765840908 ^ -966458416;
                    continue;

                case 8:
                    num1 = (int)num3 * -1057006174 ^ 133231463;
                    continue;

                case 9:
                    switch (zoomWindowType)
                    {
                    case ZoomWindowType.Meeting:
                    case ZoomWindowType.Chat:
                    case ZoomWindowType.Participants:
                    case ZoomWindowType.DualVideo:
                    case ZoomWindowType.JoinAudio:
                    case ZoomWindowType.Settings:
                    case ZoomWindowType.Invite:
                    case ZoomWindowType.ScreenSharingDisabled:
                    case ZoomWindowType.RequestRecord:
                    case ZoomWindowType.AudioNotification:
                    case ZoomWindowType.AudioError:
                    case ZoomWindowType.AudioMenu:
                    case ZoomWindowType.Sharing:
                        goto label_9;

                    case ZoomWindowType.Notification:
                    case ZoomWindowType.Video:
                    case ZoomWindowType.Container:
                    case ZoomWindowType.Other:
                    case ZoomWindowType.ManyCamBroadcast:
                    case ZoomWindowType.LeaveCurrent:
                    case ZoomWindowType.MeetingButtonBar:
                    case ZoomWindowType.GalleryScrollRight:
                    case ZoomWindowType.GalleryScrollLeft:
                    case ZoomWindowType.ToolTip:
                    case ZoomWindowType.ScreenShareOptions:
                    case ZoomWindowType.RequestRemoteControl:
                    case ZoomWindowType.GalleryView:
                    case ZoomWindowType.SpeakerViewScrollLeft:
                    case ZoomWindowType.SpeakerViewScrollRight:
                    case ZoomWindowType.SpeakerView:
                    case ZoomWindowType.MeetingViewToggle:
                    case ZoomWindowType.ManyCamApp:
                        goto label_11;

                    case ZoomWindowType.InvalidMeeting:
                        goto label_5;

                    case ZoomWindowType.WaitingForHost:
                        goto label_14;

                    case ZoomWindowType.Locked:
                        goto label_15;

                    case ZoomWindowType.Full:
                        goto label_10;

                    case ZoomWindowType.EndMeeting:
                        goto label_16;

                    case ZoomWindowType.Password:
                        goto label_17;

                    default:
                        num1 = (int)num3 * -1616541272 ^ 178697180;
                        continue;
                    }

                case 11:
                    num1 = (int)num3 * -2041216746 ^ 395358746;
                    continue;

                case 12:
label_14:
                    meetingStatus2 = MeetingStatus.WaitingForHost;
                    num1           = -240512151;
                    continue;

                case 13:
label_16:
                    meetingStatus2 = MeetingStatus.Error;
                    num1           = -512077361;
                    continue;

                case 14:
label_5:
                    meetingStatus2 = MeetingStatus.Invalid;
                    num1           = -333162195;
                    continue;

                case 15:
label_10:
                    meetingStatus2 = MeetingStatus.Full;
                    num1           = -1000360789;
                    continue;

                case 16:
                    num1 = (int)num3 * -282465942 ^ 388210415;
                    continue;

                case 17:
                    zoomWindowType = activityEvent.ZoomWindowType;
                    num1           = (int)num3 * 160036762 ^ -1737707026;
                    continue;

                case 18:
                    num1 = (int)num3 * 1497424677 ^ -70787371;
                    continue;

                case 19:
label_15:
                    meetingStatus2 = MeetingStatus.Locked;
                    num1           = -2085815537;
                    continue;

                default:
                    goto label_21;
                }
            }
label_21:
            return(meetingStatus1);
        }