Did I just fry my ECM???

I was rewiring some light today and in the process of hooking my battery back up to the positive post, the cable slipped out of my hand and hit the ECM causing a big spark. The cable only touched for an instant. Now it won’t start. It turned over a few times, then just quit. The check engine icon is on and I cant get it to display any codes. I checked all the fuses and even went as far as replacing them with new ones. The ECM relay just hums and buzzes when I try to start it now. Checked the battery voltage. 12.7 volts. Battery is about a month old. Any ideas???? Can I get my ECM tested without having to drag my RZR to the stealership? Can I buy a used one without having to get it programmed? If I have to buy a new one, does it have to be on the RZR to be programmed? HELP!!!!!!!!:question::question::question: