예제 #1
0
파일: Class123.cs 프로젝트: 15831944/WW
        private static void smethod_5(
            Attribute0 productAttribute,
            DateTime firstUsedDate,
            DateTime lastUsedDate)
        {
            DateTime    now    = DateTime.Now;
            RegistryKey subKey = Registry.CurrentUser.CreateSubKey("Software").CreateSubKey("WW").CreateSubKey("{F07847F9-0CED-4e2f-8771-9BEA3D1D10CC}");
            string      str    = Class98.smethod_2(Class98.smethod_0(Encoding.Unicode.GetBytes(string.Format("{0},{1},{2}", (object)Assembly.GetExecutingAssembly().GetName().Version.ToString(), (object)firstUsedDate.ToString(CultureInfo.InvariantCulture.DateTimeFormat.SortableDateTimePattern, (IFormatProvider)CultureInfo.InvariantCulture), (object)lastUsedDate.ToString(CultureInfo.InvariantCulture.DateTimeFormat.SortableDateTimePattern, (IFormatProvider)CultureInfo.InvariantCulture)))));

            subKey.SetValue(productAttribute.RegistryKey, (object)str);
        }
예제 #2
0
 private Interface10 method_0(object object_0)
 {
     if (object_0 is XObject)
     {
         return(Class98.smethod_0((XObject)object_0));
     }
     if (!(object_0 is System.Xml.XmlNode))
     {
         throw new ArgumentException("Value must be an XML object.", "value");
     }
     return(new Class92((System.Xml.XmlNode)object_0));
 }
예제 #3
0
    // Token: 0x06000591 RID: 1425 RVA: 0x00033F94 File Offset: 0x00032194
    public static void smethod_0(object object_0, JSExtInvokeArgs jsextInvokeArgs_0)
    {
        try
        {
            foreach (KeyValuePair <string, JToken> keyValuePair in JObject.Parse(jsextInvokeArgs_0.Arguments.First <object>().ToString()))
            {
                Class116.Class117 @class = new Class116.Class117();
                @class.jtoken_0 = keyValuePair.Value;
                if (GForm1.dictionary_0.ContainsKey((int)@class.jtoken_0[Class185.smethod_0(537703519)]))
                {
                    if (Class116.Class119.callSite_0 == null)
                    {
                        Class116.Class119.callSite_0 = CallSite <Func <CallSite, object, Thread> > .Create(Binder.Convert(CSharpBinderFlags.ConvertExplicit, typeof(Thread), typeof(Class116)));
                    }
                    if (Class116.Class119.callSite_0.Target(Class116.Class119.callSite_0, GForm1.dictionary_0[(int)@class.jtoken_0[Class185.smethod_0(537703519)]][Class185.smethod_0(537700090)]).IsAlive)
                    {
                        continue;
                    }
                }
                string text = @class.jtoken_0[Class185.smethod_0(537700413)].ToString();
                uint   num  = Class98.smethod_0(text);
                Thread thread;
                if (num <= 1213666813u)
                {
                    if (num <= 834122706u)
                    {
                        if (num <= 156382626u)
                        {
                            if (num <= 72053246u)
                            {
                                if (num != 7379352u)
                                {
                                    if (num != 72053246u)
                                    {
                                        goto IL_837;
                                    }
                                    if (!(text == Class185.smethod_0(537699710)))
                                    {
                                        goto IL_837;
                                    }
                                    thread = new Thread(new ThreadStart(@class.method_14));
                                }
                                else
                                {
                                    if (!(text == Class185.smethod_0(537699521)))
                                    {
                                        goto IL_837;
                                    }
                                    thread = new Thread(new ThreadStart(@class.method_20));
                                }
                            }
                            else if (num != 94696313u)
                            {
                                if (num != 156382626u)
                                {
                                    goto IL_837;
                                }
                                if (!(text == Class185.smethod_0(537699748)))
                                {
                                    goto IL_837;
                                }
                                thread = new Thread(new ThreadStart(@class.method_4));
                            }
                            else
                            {
                                if (!(text == Class185.smethod_0(537713557)))
                                {
                                    goto IL_837;
                                }
                                thread = new Thread(new ThreadStart(@class.method_30));
                            }
                        }
                        else if (num <= 537959913u)
                        {
                            if (num != 356287031u)
                            {
                                if (num != 537959913u)
                                {
                                    goto IL_837;
                                }
                                if (!(text == Class185.smethod_0(537699461)))
                                {
                                    goto IL_837;
                                }
                                thread = new Thread(new ThreadStart(@class.method_17));
                            }
                            else
                            {
                                if (!(text == Class185.smethod_0(537699831)))
                                {
                                    goto IL_837;
                                }
                                thread = new Thread(new ThreadStart(@class.method_7));
                            }
                        }
                        else if (num != 607951316u)
                        {
                            if (num != 834122706u)
                            {
                                goto IL_837;
                            }
                            if (!(text == Class185.smethod_0(537699732)))
                            {
                                goto IL_837;
                            }
                            thread = new Thread(new ThreadStart(@class.method_1));
                        }
                        else
                        {
                            if (!(text == Class185.smethod_0(537699782)))
                            {
                                goto IL_837;
                            }
                            thread = new Thread(new ThreadStart(@class.method_6));
                        }
                    }
                    else if (num <= 1073939897u)
                    {
                        if (num <= 993983648u)
                        {
                            if (num != 978780147u)
                            {
                                if (num != 993983648u)
                                {
                                    goto IL_837;
                                }
                                if (!(text == Class185.smethod_0(537699797)))
                                {
                                    goto IL_837;
                                }
                                thread = new Thread(new ThreadStart(@class.method_5));
                            }
                            else
                            {
                                if (!(text == Class185.smethod_0(537699608)))
                                {
                                    goto IL_837;
                                }
                                thread = new Thread(new ThreadStart(@class.method_8));
                            }
                        }
                        else if (num != 1033461544u)
                        {
                            if (num != 1073939897u)
                            {
                                goto IL_837;
                            }
                            if (!(text == Class185.smethod_0(537699498)))
                            {
                                goto IL_837;
                            }
                            thread = new Thread(new ThreadStart(@class.method_18));
                        }
                        else
                        {
                            if (!(text == Class185.smethod_0(537699389)))
                            {
                                goto IL_837;
                            }
                            thread = new Thread(new ThreadStart(@class.method_24));
                        }
                    }
                    else if (num <= 1127660147u)
                    {
                        if (num != 1115811218u)
                        {
                            if (num != 1127660147u)
                            {
                                goto IL_837;
                            }
                            if (!(text == Class185.smethod_0(537699676)))
                            {
                                goto IL_837;
                            }
                            thread = new Thread(new ThreadStart(@class.method_12));
                        }
                        else
                        {
                            if (!(text == Class185.smethod_0(537699763)))
                            {
                                goto IL_837;
                            }
                            thread = new Thread(new ThreadStart(@class.method_3));
                        }
                    }
                    else if (num != 1162892671u)
                    {
                        if (num != 1213666813u)
                        {
                            goto IL_837;
                        }
                        if (!(text == Class185.smethod_0(537699627)))
                        {
                            goto IL_837;
                        }
                        thread = new Thread(new ThreadStart(@class.method_11));
                    }
                    else
                    {
                        if (!(text == Class185.smethod_0(537699593)))
                        {
                            goto IL_837;
                        }
                        thread = new Thread(new ThreadStart(@class.method_9));
                    }
                }
                else if (num <= 3276705478u)
                {
                    if (num <= 2445159016u)
                    {
                        if (num <= 1494588195u)
                        {
                            if (num != 1258127411u)
                            {
                                if (num != 1494588195u)
                                {
                                    goto IL_837;
                                }
                                if (!(text == Class185.smethod_0(537699337)))
                                {
                                    goto IL_837;
                                }
                                thread = new Thread(new ThreadStart(@class.method_23));
                            }
                            else
                            {
                                if (!(text == Class185.smethod_0(537699557)))
                                {
                                    goto IL_837;
                                }
                                thread = new Thread(new ThreadStart(@class.method_22));
                            }
                        }
                        else if (num != 1518474074u)
                        {
                            if (num != 2445159016u)
                            {
                                goto IL_837;
                            }
                            if (!(text == Class185.smethod_0(537699441)))
                            {
                                goto IL_837;
                            }
                            thread = new Thread(new ThreadStart(@class.method_28));
                        }
                        else
                        {
                            if (!(text == Class185.smethod_0(537699695)))
                            {
                                goto IL_837;
                            }
                            thread = new Thread(new ThreadStart(@class.method_15));
                        }
                    }
                    else if (num <= 2692391852u)
                    {
                        if (num != 2508713984u)
                        {
                            if (num != 2692391852u)
                            {
                                goto IL_837;
                            }
                            if (!(text == Class185.smethod_0(537703522)))
                            {
                                goto IL_837;
                            }
                            thread = new Thread(new ThreadStart(@class.method_31));
                        }
                        else
                        {
                            if (!(text == Class185.smethod_0(537699568)))
                            {
                                goto IL_837;
                            }
                            thread = new Thread(new ThreadStart(@class.method_21));
                        }
                    }
                    else if (num != 3138249339u)
                    {
                        if (num != 3276705478u)
                        {
                            goto IL_837;
                        }
                        if (!(text == Class185.smethod_0(537701307)))
                        {
                            goto IL_837;
                        }
                        thread = new Thread(new ThreadStart(@class.method_0));
                    }
                    else
                    {
                        if (!(text == Class185.smethod_0(537699423)))
                        {
                            goto IL_837;
                        }
                        thread = new Thread(new ThreadStart(@class.method_26));
                    }
                }
                else if (num <= 3925924200u)
                {
                    if (num <= 3544959638u)
                    {
                        if (num != 3520812353u)
                        {
                            if (num != 3544959638u)
                            {
                                goto IL_837;
                            }
                            if (!(text == Class185.smethod_0(537699429)))
                            {
                                goto IL_837;
                            }
                            thread = new Thread(new ThreadStart(@class.method_29));
                        }
                        else
                        {
                            if (!(text == Class185.smethod_0(537699551)))
                            {
                                goto IL_837;
                            }
                            thread = new Thread(new ThreadStart(@class.method_19));
                        }
                    }
                    else if (num != 3842920480u)
                    {
                        if (num != 3925924200u)
                        {
                            goto IL_837;
                        }
                        if (!(text == Class185.smethod_0(537699715)))
                        {
                            goto IL_837;
                        }
                        thread = new Thread(new ThreadStart(@class.method_2));
                    }
                    else
                    {
                        if (!(text == Class185.smethod_0(537699371)))
                        {
                            goto IL_837;
                        }
                        thread = new Thread(new ThreadStart(@class.method_25));
                    }
                }
                else if (num <= 4053610095u)
                {
                    if (num != 4009715463u)
                    {
                        if (num != 4053610095u)
                        {
                            goto IL_837;
                        }
                        if (!(text == Class185.smethod_0(537699472)))
                        {
                            goto IL_837;
                        }
                        thread = new Thread(new ThreadStart(@class.method_16));
                    }
                    else
                    {
                        if (!(text == Class185.smethod_0(537699392)))
                        {
                            goto IL_837;
                        }
                        thread = new Thread(new ThreadStart(@class.method_27));
                    }
                }
                else if (num != 4249577209u)
                {
                    if (num != 4285839398u)
                    {
                        goto IL_837;
                    }
                    if (!(text == Class185.smethod_0(537699661)))
                    {
                        goto IL_837;
                    }
                    thread = new Thread(new ThreadStart(@class.method_13));
                }
                else
                {
                    if (!(text == Class185.smethod_0(537699642)))
                    {
                        goto IL_837;
                    }
                    thread = new Thread(new ThreadStart(@class.method_10));
                }
IL_85D:
                thread.IsBackground = true;
                Dictionary <int, Dictionary <string, object> > dictionary_ = GForm1.dictionary_0;
                int key = (int)@class.jtoken_0[Class185.smethod_0(537703519)];
                Dictionary <string, object> dictionary = new Dictionary <string, object>();
                dictionary[Class185.smethod_0(537700090)] = thread;
                dictionary[Class185.smethod_0(537700087)] = false;
                dictionary_[key] = dictionary;
                thread.Start();
                GForm1.webView_0.QueueScriptCall(string.Format(Class185.smethod_0(537713537), @class.jtoken_0[Class185.smethod_0(537703519)]));
                continue;
IL_837:
                thread = new Thread(new ThreadStart(@class.method_32));
                goto IL_85D;
            }
        }
        catch
        {
        }
    }