add pe extract function, report generator