Since that's the case, `pe.rva_to_file_offset(secions_table_offset+characteristics_offset)` should be lifted out of the loop since it is invariant and so should `pe.rva_to_file_offset(secions_table_offset)`