Quasi-equilibrium in glassy dynamics: A liquid theory approach