Beispiel #1
0
        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);
        }
Beispiel #2
0
		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;
		}