Federer defeated Paul Capdeville 6-1, 6-4, 6-4, overcoming a brief second-set stretch when he fell behind by a service break.
Second-seeded Rafael Nadal, meanwhile, needed treatment for an aching left knee but still advanced in four sets. Nadal ousted Alum Jones 7-5, 3-6, 6-4, 6-1 after twice calling for assistance from a trainer because of tendinitis.
Safin, a former U.S. Open champion now seeded 25th, had to work before ousting Frank Dancevic 7-5, 7-6 (7-5), 7-6 (9-7). Moya was a 6-1, 6-2, 6-4 winner over Bjorn Phau.