You just described every CS2 cheat. All these functions are the most basic functions of every cheat, if you can get ban look there for cheat:
https://hackvshack.net/forums/cs2-cheats.57/
Never seen such bug, what is map name? is it custom map? and are you injected while joining? Because In my option this is outdated cheat if you are injected.
Good example, this is why we have this rule
https://hackvshack.net/help/rules/#rule-14
where any script obfuscation is banned
Also I would rather call it dropper/downloader than RAT, because RAT is remote access trojan, thread name is misleading
There is no need of running steam as administrator, secondly if cheat is crashing on inject then this is just outdated, you are probably trying to inject wrong DLL to wrong CS:GO version.
So you can join server or not? Because if you can't join any server then you need prime account or prime bypass
https://hackvshack.net/threads/play-legacy-hvh-for-free-no-prime.3623/
Version of legacy that I host on files server is lacking updated dll, thus you have to update it.
https://hackvshack.net/threads/fix-for-2018-csgo.426/
it should open console where you can just type server IP and connect, bypassing this information, and no it should work with -insecure mode, idk maybe your are doing sth wring, or this method is not working for panorama version, but it should.
You can use fix for 2018, should be working you can force console and use it to connect to server and at the same time ignore this warning. Tell me if is is working :)
https://hackvshack.net/threads/cs-go-2018-shutdown-fix.4370/