Normally the wire colors in cable distinguish the wires in the cable and absolutely do not indicate wire function.
However in your case there appears to be a happy accident. It looks like every white wire is neutral, every black wire is always-hot, and every red wire is switched-hot. Even happier, these are the preferred color codes for those functions.
That makes this super easy.
- You don't want to use switched-hot anywhere in the photographed areas, so simply cap it off on both ends.
- You will not be using the switch.
- The always-hots get connected to each other and also to everywhere always-hots go, i.e. Brass screws on receptacles.
- Neutrals likewise (silver screws).
Next time, a couple things. First don't take everything apart like this. Remove only the wires which were attached to the device, and take pix first. I get the impulse, but we call this "trying to learn electrical by dismantling your house". Won't work, it is very inefficient and will give swiss cheese knowledge (as will Google) - instead, get a book on home electrical and read it cover to cover for a well-rounded primer on the subject.
You got lucky, but this can also end at an impasse, having to call an electrician to spend a couple hours sorting/ringing everything out.
Second, stop forcing the screws all the way off. They are captive screws and you are supposed to stop turning them when they get stiff. Often the captive screws hold essential parts of the device (e.g. Screw-and-clamps), but in any case you will gore up the fragile brass female threads so they won't hold well or pass current well. Once you've descrewed a rceptacle, throw it in the trash.