WTB: Medium or Large Entry Level MTB

A friend of mine is in the market for an entry level hardtail. His budget is around $500. Bikes needing repair are also an option.