Updated about 6 years ago on .

prepping exterior foundation wall for paint
My unfinished basements concrete walls are very porous and water has been creeping in. I am painting the outside of my home in a few months anyway so I figured I may as well paint the bottom part of the building's concrete foundation with a water sealant masonry paint.
How do I best prep the walls for this paint? Im assuming that I should
-fill cracks with high strength cement and flatten out to match rest of all as best as possible.
-Use some sort of sealant where the foundation wall meets the concrete patio
-power wash cement
-possibly apply a chemical cleaner
-paint once dry
Any advice this would be much appreciated.
I included pictures of some of the problem areas below.