public override byte[] UnpackNativeFile(IPEImage peImage) { var unpacker = new ApplicationModeUnpacker(peImage); var data = unpacker.Unpack(); if (data == null) { return(null); } unpackedFiles.AddRange(unpacker.EmbeddedAssemblies); unpackedNativeFile = true; ModuleBytes = data; return(data); }
public override byte[] UnpackNativeFile(IPEImage peImage) { var unpacker = new ApplicationModeUnpacker(peImage); var data = unpacker.Unpack(); if (data == null) return null; unpackedFiles.AddRange(unpacker.EmbeddedAssemblies); unpackedNativeFile = true; ModuleBytes = data; return data; }