Pumping may help change the curvature of the penis to some degree over time...(notice I said "change" not cure necessarily.)
I pumped for about six months or so; then went on to other (I think better) forms of enlargement (i.e. exercise, jelqing, etc.) When I started, I had a gentle upward curve effect and (over the six months of pumping) gradually noticed my member then just started extending outward more horizontally than really upright...pretty much that way even to this day.
Pumping affects not only the (outside) shaft of the penis itself but invariably pulls and "stretches" the ligaments supporting the root of the penis within the abdomen. It makes sense then, that ever-so-subtle changes to the "behavior" of the erect shaft could change over time.
Pumping requires alot of patience, time, and endurance to get any permanent beneficial results. And, those results vary from one man to another. I for one would not encourage long-term pumping (i.e. into several years) as a regular practice because, from what my research tells me, the penis could eventually get to where natural erections are increasingly more difficult. --Not worth that risk, IMHO.
Anyway, further research on the penis should reveal that curvature or bending (in virtually any direction--up, down, to the side, etc) is quite common; even natural to some degree.
Unless it's a severe curvature or bend (which causes pain, discomfort, or difficulty in using it effectively) it should not be a major concern. Anyway, lots of guys (and their gals!) kinda like some curvature it seems!
And, if it curves the correct way (slightly upward) it can help hit "the spot" for her!
Corrective surgery?...despite our modern times---I keep reading that penile surgery (of any kind for any purpose) carries significant risks (including complications not excluding infection; even amputation!-- (Shewwee!) and the list of unhappy (unfortunately, too often, maimed men!) is a long one. It's probably best to avoid anything that could damage or threaten something so vital to your future health or happiness as a man!