You'll need to change win32_pe structure to support 32-bit header. And change code line that gets TEB structure, on 32-bit its done differently. Otherwise the logic stays the same.
Could you show me exactly how it's done sir? I just don't have any experience on the matter and there's hardly any information on this topic... I need to see how it all works and then I'll be able to start analyzing it thoroughly.
By the way, I've used your splendid guide and disabled CRT successfully, would that require to make any additional changes other than what you've mentioned?
Thank you very much in advance!