How small can a valid and useful Win32 executable be? There already are a few tutorials about this topic, but these are either not working on modern Windows versions any longer or only cover the most basic »do nothing but return zero« program.
https://keyj.emphy.de/win32-pe/
https://keyj.emphy.de/win32-pe/