No matter what you do with the stolen money, you had to make the conscious decision to steal it in the first place. That makes the action immoral, without a doubt.
But does it stop there? What if the stolen money is used for good? I actually experienced this a while back, when I used to work in a grocery store. One night at this job at a very late hour, I witnessed an obviously very poor, relatively young man that had an entire shopping cart packed with diapers and baby formula. No booze. No expensive luxuries at all. Merely basic products he needed that I am assuming would go to his family (immediate or otherwise).
The man was walking out of the store with this cart, and because it was so late, there was no one else around at the time. I caught him red-handed, and we exchanged eye contact. I did not react, however, and simply walked away. The man knew of this, and left the store, stealing successfully. I made the conscious decision to allow someone to steal.
In retrospect, I believe that stealing (no matter what, and no matter for what end) is ultimately immoral. But that night, I simply did not choose to confront this man for his crime. Would that be a crime onto me? Probably. But I suppose I must live with that.