determines if PE file is corrupted