I am afraid I would be calling the law on that guy. Neglect the animal, then when it gets bad enough beat it to death? Yeah, that's illegal and indicative of one sick fuck.
That said, I have dispatched a dog with a .38 behind the ear. Gave him some snausages first, while he was eating them, did the deed. Generally go to the vet, or have the vet make a house call.