Since the varistor is there for transient voltage surge suppression, the unit should still be able to function without it.
Clean up all that burnt carbon first (it can be conductive) then power the unit up. Does it work? If no, check for blown fuses, tripped breaker, or burnt PCB traces.
If it works, you can either get a replacement varistor or if you don't care about the surge suppression, use the unit as-is without the varistor.