How to flatten the curve of a complicated STL
Select the parts of the object you don't want to affect and hide them with H.
Use projected proportional editing to adjust the model smoothly
Unhide the hidden parts of the mesh (AltH)