Dump embedded assemblies before decrypting methods
This commit is contained in:
parent
49c06dec64
commit
ff6a8d4b6f
|
@ -190,9 +190,14 @@ namespace de4dot.code.deobfuscators.Babel_NET {
|
|||
}
|
||||
}
|
||||
|
||||
if (options.DumpEmbeddedAssemblies)
|
||||
if (options.DumpEmbeddedAssemblies) {
|
||||
assemblyResolver.initialize(DeobfuscatedFile, this);
|
||||
|
||||
// Need to dump the assemblies before decrypting methods in case there's a reference
|
||||
// in the encrypted code to one of these assemblies.
|
||||
dumpEmbeddedAssemblies();
|
||||
}
|
||||
|
||||
if (options.DecryptMethods) {
|
||||
methodsDecrypter.initialize(DeobfuscatedFile, this);
|
||||
methodsDecrypter.decrypt();
|
||||
|
@ -213,7 +218,6 @@ namespace de4dot.code.deobfuscators.Babel_NET {
|
|||
doubleValueInliner.add(constantsDecrypter.DoubleDecrypter, (method, args) => constantsDecrypter.decryptDouble((int)args[0]));
|
||||
}
|
||||
|
||||
dumpEmbeddedAssemblies();
|
||||
proxyDelegateFinder.find();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user