Well, that's a thought. Not a very likely one, but it *is* possible.
The problem is with the "him" and "you."
I had thought to maybe keep you company -- this is similiar in sound to what you originally wrote. I thought that you might enjoy some companionship before my friend pronounces you dead.
But it's possible that when he says that he will keep "him" company, he means his friend, and the speaker joins his friend in wishing him dead.