Clear old data if we re-try decryption
This commit is contained in:
parent
7c6005cde5
commit
8808c049f1
|
@ -284,6 +284,7 @@ namespace de4dot.code.deobfuscators.MaxtoCode {
|
||||||
var encryptedDataInfos = new byte[numEncryptedDataInfos][];
|
var encryptedDataInfos = new byte[numEncryptedDataInfos][];
|
||||||
|
|
||||||
uint offset = 8;
|
uint offset = 8;
|
||||||
|
infos.Clear();
|
||||||
for (int i = 0; i < numMethods; i++, offset += structSize) {
|
for (int i = 0; i < numMethods; i++, offset += structSize) {
|
||||||
uint methodBodyRva = ReadEncryptedUInt32(offset);
|
uint methodBodyRva = ReadEncryptedUInt32(offset);
|
||||||
uint totalSize = ReadEncryptedUInt32(offset + 4);
|
uint totalSize = ReadEncryptedUInt32(offset + 4);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user