backup of the function get_arch_pe