First thing I'd check before closing is to make sure it's insurable. And it's hard to tell from the photos, but it looks like if the grading is corrected that may put the basement windows below grade, therefore window wells would need to be installed, otherwise water will just work it's way back in through the windows.
But this damage wouldn't scare me, in fact, my last purchase had an arguably worse foundation that this. With mine, first thing I noticed was there was water control issues. IU had terrible negative grading basically around the entire house, the backyard didnt even have gutters, and the neighbors downspout was also pointed right at my property, so i started by solving these 3 issues. Installed gutters, raised the grading, and installed a french drain to diver the neighbors runoff. I'll get to the wall straightening eventually, but getting that water under control was paramount. At closing there was about 2" of water in the basement, and today it's dry, so that step is complete.
If you have contractors coming to look at it, I'd be wary of any remedies that don't FIRST address the causes; drainage, grading, runoff, etc. Straightening the wall without addressing that water, will essentially be a waste.
Slightly related, I just inspected a home that had water coming through the basement walls. They had just painted it with that waterproof basement paint, and the water just popped some holes in the paint and continued to run through. Hydrostatic pressure carries some serious weight, and if paint was enough to stop it, then we'd just make our houses out of paint lol. Just please be cautious of the way products are marketed.
I did just write a brief article about basement waterproofing. Though it doesn't address repairing the foundation damage, it may give some insight into managing basement moisture in general: