extract metadata from executable