Nonlinear perturbations of the Kirchhoff equation