This situation if it is just dead one or two hours, this should not be too much of a problem, you can eat, directly boiled can be, if it is too long, then you this should not be able to eat again, this is easy to bad stomach, and easy to cause gastroenteritis.
Because hairy crabs are omnivores that prefer to feed on rotting food, they carry a lot of bacteria and viruses in their bodies. Live hairy crabs are able to fight against microorganisms and inhibit reproduction due to their own metabolism.
After the death of hairy crabs, these microorganisms can use the rich nutrients to rapidly reproduce, resulting in hairy crabs in a short period of time to rot and deteriorate, after eating may appear fever, vomiting, abdominal pain, diarrhea and other symptoms.