Basic implementation of Cobalt Strikes - User Defined Reflective Loader feature
Blog Post - https://mav3rick33.gitbook.io/the-lab/cobalt-strike-user-defined-reflective-loader-studies
Full credits go to the security researchers below, without their work this wouldn't be possible.
Austin Hudson - TitanLdr
C5pider - KaynStrike (https://github.com/Cracked5pider/KaynStrike)
Modexp - https://modexp.wordpress.com/2019/06/24/inmem-exec-dll/
Hasherezade - https://github.com/hasherezade/pe_to_shellcode