Let $T$ be the first time that a perturbed random walk crosses a nonlinear boundary. This paper concerns the approximations of the distribution of the excess over the boundary, the expected stopping time $ET$ and the variance of the stopping time $\operatorname{Var}(T)$. Expansions are obtained by using linear renewal theorems with varying drift.