Clear old data if we re-try decryption

This commit is contained in:
de4dot 2013-10-21 07:19:39 +02:00
parent 7c6005cde5
commit 8808c049f1

View File

@ -284,6 +284,7 @@ namespace de4dot.code.deobfuscators.MaxtoCode {
var encryptedDataInfos = new byte[numEncryptedDataInfos][];
uint offset = 8;
infos.Clear();
for (int i = 0; i < numMethods; i++, offset += structSize) {
uint methodBodyRva = ReadEncryptedUInt32(offset);
uint totalSize = ReadEncryptedUInt32(offset + 4);