petool is a utility to fix broken PE files. Usually when you dump a PE image out from running process the geometry is different from file-based PE image because some fields in PE are modified to support loading of the image. This tool can fix up those entries so that you can load the file from disassemblers like IDA.