Combining extended x-ray absorption fine structure with numerical simulations for disordered systems