Deep Learning is trained on data not exe Files. Lets take an example.
Lets say you want to make a recognition software to tell you if an image is a dog or a  cat. Deep Learning Code (Model) takes thousands of images of dogs and cats. Then it will learn the difference between them using some mathematical function.