602 lines
25 KiB
C#
602 lines
25 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.IO;
|
|
using System.Linq;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Runtime.InteropServices;
|
|
using System.Security.Cryptography;
|
|
using System.Text;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x0200060B RID: 1547
|
|
[Token(Token = "0x200060B")]
|
|
public static class HEBPEAJOMGJ
|
|
{
|
|
// Token: 0x06002DDE RID: 11742 RVA: 0x000BB5A8 File Offset: 0x000B97A8
|
|
[Token(Token = "0x6002DDE")]
|
|
[Address(RVA = "0x12D3C20", Offset = "0x12D2C20", VA = "0x1812D3C20")]
|
|
public static PMGCJEPKFOF<HEBPEAJOMGJ.NEGJHKFPPLI> EJOMNOCBBPE()
|
|
{
|
|
string dataPath = Application.dataPath;
|
|
long mkibhleldcp = KMJJGELKNAP.MKIBHLELDCP;
|
|
return LJLGDKLOFMO.DNMKIEAJOJH<HEBPEAJOMGJ.NEGJHKFPPLI>(HEBPEAJOMGJ.POLJMJJNALC(dataPath, "9MRkuwrZMqCGiNe4sF2aR8XoMlfhVxeUOMKCDFAKTMZhMmfiqPnEiOUyM287TLcwh6TDSbSEtxX/+Njrms5LZxtDa7caOqUOUOAGAANVrYR7QSR4CxqQxH6+w0kZx2jViW8fvjDXFagSncG+m0Y48Au2l/0WMwRB+U03q/JHM8zVuzrb534vjI9gSJpIekWv6QyTdEM4QoBYOAvGA0dU+KsU0MPcxYRQW5DGO21Hyv0b4tJ1llicCKya5Yt7+9xl8EYXN7XyOX7/UXATNDiCp92pTSKtEZPJh/SIIvh6U7bheU2+V+X3F3CvkCsAj3gj2yqu7aBExHcfnBbMpkrpmQ==", "AQAB", mkibhleldcp));
|
|
}
|
|
|
|
// Token: 0x06002DDF RID: 11743 RVA: 0x000BB5DC File Offset: 0x000B97DC
|
|
[Token(Token = "0x6002DDF")]
|
|
[Address(RVA = "0x12D4900", Offset = "0x12D3900", VA = "0x1812D4900")]
|
|
public static PMGCJEPKFOF<HEBPEAJOMGJ.NEGJHKFPPLI> POMGNNHJCDJ(string BDOFCKEGOCG, string AEOKMMNOLCG, string JGCHDKNIPCO, long DEJLGAONBEE)
|
|
{
|
|
return LJLGDKLOFMO.DNMKIEAJOJH<HEBPEAJOMGJ.NEGJHKFPPLI>(HEBPEAJOMGJ.POLJMJJNALC(BDOFCKEGOCG, AEOKMMNOLCG, JGCHDKNIPCO, DEJLGAONBEE));
|
|
}
|
|
|
|
// Token: 0x06002DE0 RID: 11744 RVA: 0x000BB5F8 File Offset: 0x000B97F8
|
|
[Token(Token = "0x6002DE0")]
|
|
[Address(RVA = "0x12D49A0", Offset = "0x12D39A0", VA = "0x1812D49A0")]
|
|
public static string PPDCBFNBHCG(string MJFIMHJDICK)
|
|
{
|
|
if (!File.Exists(MJFIMHJDICK))
|
|
{
|
|
string fullPath = Path.GetFullPath(new Uri(MJFIMHJDICK).LocalPath);
|
|
return "\\\\?\\" + fullPath;
|
|
}
|
|
return MJFIMHJDICK;
|
|
}
|
|
|
|
// Token: 0x06002DE1 RID: 11745 RVA: 0x000BB634 File Offset: 0x000B9834
|
|
[Token(Token = "0x6002DE1")]
|
|
[Address(RVA = "0x12D3910", Offset = "0x12D2910", VA = "0x1812D3910")]
|
|
public static string BFCIIHGEOPP(string MJFIMHJDICK)
|
|
{
|
|
string fullPath = Path.GetFullPath(new Uri(MJFIMHJDICK).LocalPath);
|
|
return "\\\\?\\" + fullPath;
|
|
}
|
|
|
|
// Token: 0x06002DE2 RID: 11746 RVA: 0x000BB664 File Offset: 0x000B9864
|
|
[Token(Token = "0x6002DE2")]
|
|
[Address(RVA = "0x12D3240", Offset = "0x12D2240", VA = "0x1812D3240")]
|
|
private static void AJAPCIPADBI(string KEJCOPKGEGE, string AEOKMMNOLCG, string JGCHDKNIPCO, long DEJLGAONBEE, out Dictionary<string, byte[]> MBIKGGMLOLA)
|
|
{
|
|
string text;
|
|
do
|
|
{
|
|
text = HEBPEAJOMGJ.PPDCBFNBHCG(KEJCOPKGEGE);
|
|
}
|
|
while (!File.Exists(text));
|
|
Dictionary<string, byte[]> dictionary = new Dictionary();
|
|
Encoding utf = Encoding.UTF8;
|
|
string[] array = File.ReadAllLines(text, utf);
|
|
int num = array.Length - 1;
|
|
byte[] array2 = Convert.FromBase64String(array[num]);
|
|
int num2 = 0;
|
|
byte[] array3;
|
|
HEBPEAJOMGJ.BBEEJDMONFI("verification.sig", array3, array2, AEOKMMNOLCG, JGCHDKNIPCO);
|
|
int num3 = array.Length - 1;
|
|
if (num2 < num3)
|
|
{
|
|
string text2 = array[num2].Trim();
|
|
string[] array4 = text2.Split(new char[] { '|' });
|
|
int length = array4.Length;
|
|
string text3 = array4[0];
|
|
byte[] array5 = Convert.FromBase64String(array4[1]);
|
|
num2++;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002DE3 RID: 11747 RVA: 0x000BB770 File Offset: 0x000B9970
|
|
[Token(Token = "0x6002DE3")]
|
|
[Address(RVA = "0x12D4670", Offset = "0x12D3670", VA = "0x1812D4670")]
|
|
private static PMGCJEPKFOF<HEBPEAJOMGJ.NEGJHKFPPLI> POLJMJJNALC(string BDOFCKEGOCG, string AEOKMMNOLCG, string JGCHDKNIPCO, long DEJLGAONBEE)
|
|
{
|
|
int num = 0;
|
|
HEBPEAJOMGJ.FIGJCBGBAHH figjcbgbahh;
|
|
figjcbgbahh.FieldGetter(num, JGCHDKNIPCO, DEJLGAONBEE);
|
|
figjcbgbahh.dataPath = BDOFCKEGOCG;
|
|
figjcbgbahh.modulus = AEOKMMNOLCG;
|
|
figjcbgbahh.exponent = JGCHDKNIPCO;
|
|
figjcbgbahh.timestamp = DEJLGAONBEE;
|
|
if (Directory.Exists(BDOFCKEGOCG))
|
|
{
|
|
if (!string.IsNullOrWhiteSpace(figjcbgbahh.modulus) && !string.IsNullOrWhiteSpace(figjcbgbahh.exponent))
|
|
{
|
|
CBLLFJEDOII<HEBPEAJOMGJ.NEGJHKFPPLI> cbllfjedoii = new CBLLFJEDOII();
|
|
figjcbgbahh.promise = cbllfjedoii;
|
|
BackgroundWorker backgroundWorker = new BackgroundWorker();
|
|
DoWorkEventHandler doWorkEventHandler = delegate(object sender, DoWorkEventArgs doWorkEventLogs)
|
|
{
|
|
int num3;
|
|
do
|
|
{
|
|
num3 = 0;
|
|
string text = Path.Combine(figjcbgbahh.dataPath, "verification.sig");
|
|
string verificationFilePath = text;
|
|
IEnumerable<string> enumerable = Directory.EnumerateFiles(figjcbgbahh.dataPath, "*.*", SearchOption.AllDirectories);
|
|
Func<string, bool> func = delegate(string fp)
|
|
{
|
|
string verificationFilePath2 = verificationFilePath;
|
|
return !fp.Equals(verificationFilePath2, StringComparison.InvariantCulture);
|
|
};
|
|
List<string> list = Enumerable.ToList<string>(Enumerable.Where<string>(enumerable, func));
|
|
Dictionary.KeyCollection keyCollection;
|
|
List<string> list2 = Enumerable.ToList<string>(keyCollection);
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
string dataPath = figjcbgbahh.dataPath;
|
|
bool flag2;
|
|
if (flag2)
|
|
{
|
|
string text2;
|
|
bool flag3 = list2.Remove(text2);
|
|
string exponent = figjcbgbahh.exponent;
|
|
}
|
|
}
|
|
}
|
|
while (num3 != 0);
|
|
};
|
|
backgroundWorker.DoWork += doWorkEventHandler;
|
|
RunWorkerCompletedEventHandler runWorkerCompletedEventHandler = delegate(object sender, RunWorkerCompletedEventArgs result)
|
|
{
|
|
if (result.error == 0)
|
|
{
|
|
CBLLFJEDOII<HEBPEAJOMGJ.NEGJHKFPPLI> promise = figjcbgbahh.promise;
|
|
int num4 = 0;
|
|
if (result.Result != 0)
|
|
{
|
|
}
|
|
int num5;
|
|
HEBPEAJOMGJ.IJNMJGNIHFB ijnmjgnihfb2 = new HEBPEAJOMGJ.IJNMJGNIHFB(num5);
|
|
num5 = 0;
|
|
promise.OOOIENHGNCA(num4);
|
|
return;
|
|
}
|
|
CBLLFJEDOII<HEBPEAJOMGJ.NEGJHKFPPLI> promise2 = figjcbgbahh.promise;
|
|
throw new NullReferenceException();
|
|
};
|
|
backgroundWorker.RunWorkerCompleted += runWorkerCompletedEventHandler;
|
|
int num2 = 0;
|
|
backgroundWorker.RunWorkerAsync();
|
|
if (backgroundWorker.operationCompleted == (ulong)0L)
|
|
{
|
|
IntPtr delegate_trampoline = runWorkerCompletedEventHandler.delegate_trampoline;
|
|
HEBPEAJOMGJ.IJNMJGNIHFB ijnmjgnihfb = new HEBPEAJOMGJ.IJNMJGNIHFB(num2);
|
|
}
|
|
}
|
|
return HEBPEAJOMGJ.AMBJKNCGLFO("modulus cannot be blank!");
|
|
}
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06002DE4 RID: 11748 RVA: 0x000BB850 File Offset: 0x000B9A50
|
|
[Token(Token = "0x6002DE4")]
|
|
[Address(RVA = "0x12D3D10", Offset = "0x12D2D10", VA = "0x1812D3D10")]
|
|
public static void FLPNEPPLACG(HEBPEAJOMGJ.NEGJHKFPPLI CEGPINLADKH, out LCCEEFHOBEN.OAODPJFGPAF IJFMLGBGFNN, out string GCKGIMGKDAB)
|
|
{
|
|
int num = 0;
|
|
if ((ref IJFMLGBGFNN) == 0 || (ref IJFMLGBGFNN) != 0)
|
|
{
|
|
}
|
|
IJFMLGBGFNN.value__ = num;
|
|
}
|
|
|
|
// Token: 0x06002DE5 RID: 11749 RVA: 0x000BB878 File Offset: 0x000B9A78
|
|
[Token(Token = "0x6002DE5")]
|
|
[Address(RVA = "0x12D4480", Offset = "0x12D3480", VA = "0x1812D4480")]
|
|
private static RSAParameters OJMGIJNNGBL(string AEOKMMNOLCG, string JGCHDKNIPCO)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06002DE5)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Security.Cryptography.RSAParameters HEBPEAJOMGJ::OJMGIJNNGBL(System.String,System.String)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_2E:
|
|
stloc:ArgumentException(var_7_38, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("exponent cannot be blank!")))
|
|
}
|
|
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06002DE6 RID: 11750 RVA: 0x000BB8C0 File Offset: 0x000B9AC0
|
|
[Token(Token = "0x6002DE6")]
|
|
[Address(RVA = "0x12D3E80", Offset = "0x12D2E80", VA = "0x1812D3E80")]
|
|
private static byte[] JICEMPIOEJI(IList<string> KKELJFCIPHP)
|
|
{
|
|
int num;
|
|
byte[] hashAndReset;
|
|
do
|
|
{
|
|
num = 0;
|
|
IncrementalHash incrementalHash = IncrementalHash.CreateHash(HashAlgorithmName.SHA256);
|
|
Encoding utf = Encoding.UTF8;
|
|
if (num < utf)
|
|
{
|
|
if (num >= KKELJFCIPHP)
|
|
{
|
|
goto IL_2D;
|
|
}
|
|
num += num;
|
|
if (num != KKELJFCIPHP)
|
|
{
|
|
num++;
|
|
goto IL_2D;
|
|
}
|
|
IL_31:
|
|
int num2;
|
|
num2 += num2;
|
|
num2 += 19;
|
|
goto IL_3F;
|
|
IL_2D:
|
|
num++;
|
|
goto IL_31;
|
|
}
|
|
IL_3F:
|
|
hashAndReset = incrementalHash.GetHashAndReset();
|
|
if (incrementalHash != 0)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
return hashAndReset;
|
|
}
|
|
|
|
// Token: 0x06002DE7 RID: 11751 RVA: 0x000BB93C File Offset: 0x000B9B3C
|
|
[Token(Token = "0x6002DE7")]
|
|
[Address(RVA = "0x12D45E0", Offset = "0x12D35E0", VA = "0x1812D45E0")]
|
|
private static byte[] OMBBAJGOIIJ(long PLPJDDLDPLD)
|
|
{
|
|
return Enumerable.ToArray<byte>(Enumerable.Reverse<byte>(BitConverter.GetBytes(PLPJDDLDPLD)));
|
|
}
|
|
|
|
// Token: 0x06002DE8 RID: 11752 RVA: 0x000BB960 File Offset: 0x000B9B60
|
|
[Token(Token = "0x6002DE8")]
|
|
[Address(RVA = "0x12D4170", Offset = "0x12D3170", VA = "0x1812D4170")]
|
|
private static byte[] KINIDNOLFOG(string KFDAHCNAPCL, long DEJLGAONBEE)
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
string text = HEBPEAJOMGJ.PPDCBFNBHCG(KFDAHCNAPCL);
|
|
if (!File.Exists(text))
|
|
{
|
|
break;
|
|
}
|
|
IncrementalHash incrementalHash = IncrementalHash.CreateHash(HashAlgorithmName.SHA256);
|
|
long length = new FileInfo(text).Length;
|
|
byte[] array = HEBPEAJOMGJ.OMBBAJGOIIJ(length);
|
|
byte[] array2 = HEBPEAJOMGJ.OMBBAJGOIIJ(DEJLGAONBEE);
|
|
incrementalHash.AppendData(array);
|
|
incrementalHash.AppendData(array2);
|
|
byte[] array3 = new byte[8192];
|
|
FileStream fileStream;
|
|
if (fileStream.CanWrite > false)
|
|
{
|
|
}
|
|
if (fileStream != 0)
|
|
{
|
|
}
|
|
if (num != 0)
|
|
{
|
|
goto IL_97;
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
byte[] hashAndReset = incrementalHash.GetHashAndReset();
|
|
if (incrementalHash != 0)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
return new byte[0];
|
|
IL_97:
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06002DE9 RID: 11753 RVA: 0x000BBA10 File Offset: 0x000B9C10
|
|
[Token(Token = "0x6002DE9")]
|
|
[Address(RVA = "0x12D3610", Offset = "0x12D2610", VA = "0x1812D3610")]
|
|
private static void BBEEJDMONFI(string MCFONLFCHFK, byte[] CKEADGDBJPD, byte[] HLJCFPCGPBE, string AEOKMMNOLCG, string JGCHDKNIPCO)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06002DE9)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void HEBPEAJOMGJ::BBEEJDMONFI(System.String,System.Byte[],System.Byte[],System.String,System.String)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_72:
|
|
stloc:ArgumentException(var_12_7C, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("modulus cannot be blank!")))
|
|
}
|
|
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06002DEA RID: 11754 RVA: 0x000BBA9C File Offset: 0x000B9C9C
|
|
[Token(Token = "0x6002DEA")]
|
|
[Address(RVA = "0x12D39C0", Offset = "0x12D29C0", VA = "0x1812D39C0")]
|
|
private static string CLJOMGCGGGK(string LBDEIHKHLNJ, string LILIILDFGPC)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06002DEA)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String HEBPEAJOMGJ::CLJOMGCGGGK(System.String,System.String)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_9B:
|
|
stloc:ArgumentNullException(var_13_A5, newobj:ArgumentNullException(ArgumentNullException::.ctor, ldstr:string("toPath")))
|
|
}
|
|
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06002DEB RID: 11755 RVA: 0x000BBB50 File Offset: 0x000B9D50
|
|
[Token(Token = "0x6002DEB")]
|
|
[Address(RVA = "0x12D4070", Offset = "0x12D3070", VA = "0x1812D4070")]
|
|
private static string JJFGNJEFFEN(string CBCDLMLKBJE)
|
|
{
|
|
if (Directory.Exists(CBCDLMLKBJE))
|
|
{
|
|
char directorySeparatorChar = Path.DirectorySeparatorChar;
|
|
string text;
|
|
if (!CBCDLMLKBJE.EndsWith(text))
|
|
{
|
|
char directorySeparatorChar2 = Path.DirectorySeparatorChar;
|
|
string text2;
|
|
return CBCDLMLKBJE + text2;
|
|
}
|
|
}
|
|
return CBCDLMLKBJE;
|
|
}
|
|
|
|
// Token: 0x06002DEC RID: 11756 RVA: 0x000BBB90 File Offset: 0x000B9D90
|
|
[Token(Token = "0x6002DEC")]
|
|
[Address(RVA = "0x12D3550", Offset = "0x12D2550", VA = "0x1812D3550")]
|
|
[CompilerGenerated]
|
|
internal static PMGCJEPKFOF<HEBPEAJOMGJ.NEGJHKFPPLI> AMBJKNCGLFO(string GOBDIIAABNM)
|
|
{
|
|
HEBPEAJOMGJ.IJNMJGNIHFB ijnmjgnihfb = new HEBPEAJOMGJ.IJNMJGNIHFB(new ArgumentException(GOBDIIAABNM));
|
|
PMGCJEPKFOF<HEBPEAJOMGJ.NEGJHKFPPLI> pmgcjepkfof;
|
|
return pmgcjepkfof;
|
|
}
|
|
|
|
// Token: 0x0400251C RID: 9500
|
|
[Token(Token = "0x400251C")]
|
|
private const string KDHGJNOJMPN = "\\\\?\\";
|
|
|
|
// Token: 0x0400251D RID: 9501
|
|
[Token(Token = "0x400251D")]
|
|
private const int IEALCIMGFOJ = 8192;
|
|
|
|
// Token: 0x0400251E RID: 9502
|
|
[Token(Token = "0x400251E")]
|
|
private const string EPEPCDBGGKI = "verification.sig";
|
|
|
|
// Token: 0x0200060C RID: 1548
|
|
[Token(Token = "0x200060C")]
|
|
public struct NEGJHKFPPLI
|
|
{
|
|
// Token: 0x0400251F RID: 9503
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x400251F")]
|
|
public string KDHLPHLNLKC;
|
|
|
|
// Token: 0x04002520 RID: 9504
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x8")]
|
|
[Token(Token = "0x4002520")]
|
|
public Exception HMFPPBJFHKD;
|
|
}
|
|
|
|
// Token: 0x0200060D RID: 1549
|
|
[Token(Token = "0x200060D")]
|
|
public class IOGEOMNHNGC : Exception
|
|
{
|
|
// Token: 0x06002DED RID: 11757 RVA: 0x000BBBAC File Offset: 0x000B9DAC
|
|
[Token(Token = "0x6002DED")]
|
|
[Address(RVA = "0x1425A00", Offset = "0x1424A00", VA = "0x181425A00")]
|
|
private static string KIABDIECGAE(string DAKLDBEPNLC)
|
|
{
|
|
return Path.GetFileName(DAKLDBEPNLC);
|
|
}
|
|
|
|
// Token: 0x06002DEE RID: 11758 RVA: 0x000BBBC0 File Offset: 0x000B9DC0
|
|
[Token(Token = "0x6002DEE")]
|
|
[Address(RVA = "0x1425B50", Offset = "0x1424B50", VA = "0x181425B50")]
|
|
public IOGEOMNHNGC(string MCFONLFCHFK, string AHKKLMBBIJD)
|
|
{
|
|
string text = HEBPEAJOMGJ.IOGEOMNHNGC.KIABDIECGAE(MCFONLFCHFK);
|
|
string text2 = "Error validating file " + text + ": " + AHKKLMBBIJD;
|
|
base..ctor(text2);
|
|
string text3 = HEBPEAJOMGJ.IOGEOMNHNGC.KIABDIECGAE(MCFONLFCHFK);
|
|
this.JMMEKKHGIGJ = text3;
|
|
this.POJCBLENAEK = AHKKLMBBIJD;
|
|
}
|
|
|
|
// Token: 0x06002DEF RID: 11759 RVA: 0x000BBC04 File Offset: 0x000B9E04
|
|
[Token(Token = "0x6002DEF")]
|
|
[Address(RVA = "0x1425A80", Offset = "0x1424A80", VA = "0x181425A80")]
|
|
public IOGEOMNHNGC(string MCFONLFCHFK, [Optional] Exception JMDLLCCPEHC)
|
|
{
|
|
string text = HEBPEAJOMGJ.IOGEOMNHNGC.KIABDIECGAE(MCFONLFCHFK);
|
|
string text2 = "Error validating file " + text + " due to internal exception";
|
|
base..ctor(text2, JMDLLCCPEHC);
|
|
string text3 = HEBPEAJOMGJ.IOGEOMNHNGC.KIABDIECGAE(MCFONLFCHFK);
|
|
this.JMMEKKHGIGJ = text3;
|
|
this.POJCBLENAEK = "Internal Error";
|
|
}
|
|
|
|
// Token: 0x04002521 RID: 9505
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x88")]
|
|
[Token(Token = "0x4002521")]
|
|
public readonly string JMMEKKHGIGJ;
|
|
|
|
// Token: 0x04002522 RID: 9506
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x90")]
|
|
[Token(Token = "0x4002522")]
|
|
public readonly string POJCBLENAEK;
|
|
}
|
|
|
|
// Token: 0x0200060E RID: 1550
|
|
[Token(Token = "0x200060E")]
|
|
public class IJNMJGNIHFB : Exception
|
|
{
|
|
// Token: 0x06002DF0 RID: 11760 RVA: 0x000BBC4C File Offset: 0x000B9E4C
|
|
[Token(Token = "0x6002DF0")]
|
|
[Address(RVA = "0x1425990", Offset = "0x1424990", VA = "0x181425990")]
|
|
public IJNMJGNIHFB(Exception JMDLLCCPEHC)
|
|
: base("Unable to verify signatures", JMDLLCCPEHC)
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x0200060F RID: 1551
|
|
[Token(Token = "0x200060F")]
|
|
[CompilerGenerated]
|
|
private sealed class FIGJCBGBAHH
|
|
{
|
|
// Token: 0x06002DF1 RID: 11761 RVA: 0x000BBC68 File Offset: 0x000B9E68
|
|
[Token(Token = "0x6002DF1")]
|
|
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
|
public FIGJCBGBAHH()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06002DF2 RID: 11762 RVA: 0x000BBC7C File Offset: 0x000B9E7C
|
|
[Token(Token = "0x6002DF2")]
|
|
[Address(RVA = "0x12C1470", Offset = "0x12C0470", VA = "0x1812C1470")]
|
|
internal void <CheckHashesInBackground>b__1(object sender, DoWorkEventArgs doWorkEventLogs)
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
HEBPEAJOMGJ.GDIMKANDDGI gdimkanddgi = new HEBPEAJOMGJ.GDIMKANDDGI();
|
|
string text = Path.Combine(this.dataPath, "verification.sig");
|
|
gdimkanddgi.verificationFilePath = text;
|
|
IEnumerable<string> enumerable = Directory.EnumerateFiles(this.dataPath, "*.*", SearchOption.AllDirectories);
|
|
Func<string, bool> func = delegate(string fp)
|
|
{
|
|
string verificationFilePath = gdimkanddgi.verificationFilePath;
|
|
return !fp.Equals(verificationFilePath, StringComparison.InvariantCulture);
|
|
};
|
|
List<string> list = Enumerable.ToList<string>(Enumerable.Where<string>(enumerable, func));
|
|
Dictionary.KeyCollection keyCollection;
|
|
List<string> list2 = Enumerable.ToList<string>(keyCollection);
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
string text2 = this.dataPath;
|
|
bool flag2;
|
|
if (flag2)
|
|
{
|
|
string text3;
|
|
bool flag3 = list2.Remove(text3);
|
|
string text4 = this.exponent;
|
|
}
|
|
}
|
|
}
|
|
while (num != 0);
|
|
}
|
|
|
|
// Token: 0x06002DF3 RID: 11763 RVA: 0x000BBD18 File Offset: 0x000B9F18
|
|
[Token(Token = "0x6002DF3")]
|
|
[Address(RVA = "0x12C1840", Offset = "0x12C0840", VA = "0x1812C1840")]
|
|
internal void <CheckHashesInBackground>b__2(object sender, RunWorkerCompletedEventArgs result)
|
|
{
|
|
if (result.error == 0)
|
|
{
|
|
CBLLFJEDOII<HEBPEAJOMGJ.NEGJHKFPPLI> cbllfjedoii = this.promise;
|
|
int num = 0;
|
|
if (result.Result != 0)
|
|
{
|
|
}
|
|
int num2;
|
|
HEBPEAJOMGJ.IJNMJGNIHFB ijnmjgnihfb = new HEBPEAJOMGJ.IJNMJGNIHFB(num2);
|
|
num2 = 0;
|
|
cbllfjedoii.OOOIENHGNCA(num);
|
|
return;
|
|
}
|
|
CBLLFJEDOII<HEBPEAJOMGJ.NEGJHKFPPLI> cbllfjedoii2 = this.promise;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x04002523 RID: 9507
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4002523")]
|
|
public string dataPath;
|
|
|
|
// Token: 0x04002524 RID: 9508
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4002524")]
|
|
public string modulus;
|
|
|
|
// Token: 0x04002525 RID: 9509
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4002525")]
|
|
public string exponent;
|
|
|
|
// Token: 0x04002526 RID: 9510
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x4002526")]
|
|
public long timestamp;
|
|
|
|
// Token: 0x04002527 RID: 9511
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x4002527")]
|
|
public CBLLFJEDOII<HEBPEAJOMGJ.NEGJHKFPPLI> promise;
|
|
}
|
|
|
|
// Token: 0x02000610 RID: 1552
|
|
[Token(Token = "0x2000610")]
|
|
[CompilerGenerated]
|
|
private sealed class GDIMKANDDGI
|
|
{
|
|
// Token: 0x06002DF4 RID: 11764 RVA: 0x000BBD64 File Offset: 0x000B9F64
|
|
[Token(Token = "0x6002DF4")]
|
|
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
|
public GDIMKANDDGI()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06002DF5 RID: 11765 RVA: 0x000BBD78 File Offset: 0x000B9F78
|
|
[Token(Token = "0x6002DF5")]
|
|
[Address(RVA = "0x140F070", Offset = "0x140E070", VA = "0x18140F070")]
|
|
internal bool <CheckHashesInBackground>b__3(string fp)
|
|
{
|
|
string text = this.verificationFilePath;
|
|
return !fp.Equals(text, StringComparison.InvariantCulture);
|
|
}
|
|
|
|
// Token: 0x04002528 RID: 9512
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4002528")]
|
|
public string verificationFilePath;
|
|
}
|
|
}
|