[This answer](http://stackoverflow.com/questions/30591519/an-executable-that-contains-data) has a possible way to do that.
This answer has a possible way to do that.