def unpack_aspack(packed_path, unpacked_path): pe = pefile.PE(packed_path)
A classic, specialized command-line utility (like AspackDie 1.41 ) that automates the restoration of files compressed by versions 2.0 through 2.12. aspack unpacker
The challenge for the unpacker is to locate that OEP and dump the decompressed memory back to disk. def unpack_aspack(packed_path, unpacked_path): pe = pefile
import pefile import sys import os