Local environment effects on the electronic structure of disordered alloys