The most probable worst case scenario would just be a borked Windows installation, though considering you're trying to push more than 4GB hard limit in a 32-bit based machine, there are some questions about your hardware, what kind of RAM you're using, and whether you're mixing and matching different types of RAM that should be addressed.
As for the legality of it all, it may void your warranty, but it's otherwise perfectly kosher.