Obfuscate your shellcode to bypass antivirus solutions such as Windows Defender, and execute it via callbacks as an alternative method :)
After obfuscating your shellcode, insert the obfuscated shellcode and its deobfuscation function into the companion loader project, then compile it.