Theory of disorder and quasiparticle interference