ive seen people add data to the end of the exe, then when the exe is ran the data is pulled from the end of it by reading the file and finding a pointer and then from that pointer reading to the end of the file and the exe runs as normal.
does anyone here know how i could code this?

(Im posting this for my friend, its not my project. So if anyone has questions, ask them, but it may take me alittle longer because ill have to ask him the questions you asked me.)