Wrote a tool
Created ExtractC2FromShellcode.
A tool to extract C2 command and Control IP Endpoints from Shellcode.
https://github.com/ProIntegritate/ExtractC2FromShellcode