That request, rather the thread, pertains to a web application. How is that relevant to knowing how an EXE file works?

I am afraid you will have to be much more explicit about what you want to do with an EXE. If you want to know how to write code for a particular functionality, trying to decode or reverse engineer an EXE is probably the worst method you could try.

.