Validate some fields in PE image to make sure not access violation for later code.