DumpPeFromMemory
Reconstruct a disk-layout PE from a loaded memory image, including headerless or reflective payloads, with template verification and mutable-section reset for reliable reloading.
Instructions
Reconstruct a disk-layout PE from a loaded memory-layout image.
For destroyed/headerless images, header_template_path is accepted
only after executable-section identity verification by default.
Writable sections are reset from the bound template by default so CRT
and loader state captured after DllMain cannot poison a later reload.
entry_rva_override is bounded to an executable template section and
can record a recovered manual-loader OEP without trusting stale headers.
source_layout=auto|memory|disk also supports an embedded reflective
raw PE staged inside a larger private allocation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | ||
| verify | No | ||
| overwrite | No | ||
| image_size | No | ||
| output_path | Yes | ||
| source_layout | No | auto | |
| entry_rva_override | No | ||
| reverse_relocations | No | ||
| header_template_path | No | ||
| verify_template_identity | No | ||
| minimum_template_similarity | No | ||
| reset_mutable_sections_from_template | No |