Reinstall OS X due to compromised OS X partition whilst keeping Boot Camp
You can reinstall your Mac OS. It will not loss your data which stored in your partition until you not format your drive. For reinstalling your Mac Os no need to format drive, just install new Mac Os into same partition and it will overwrite it. For that i am sure.

But regarding Boot Camp - window OS, i am not sure as i have not used boot camp for dual boot. I am aware of it. I think it will work. But make sure before go with it.