All settings are stored either in the database (.dat inside the profile), or in the profile (Tox.json, Telegram's .binlog, etc.), or in the Miranda folder (mirandaboot.ini)
Setting ProfileDir in mirandaboot.ini to a blank value will force Miranda to look for the profiles in /Miranda_root/Profiles
https://wiki.miranda-ng.org/index.php?title=Mirandaboot.ini#ProfileDirSo you can just set ProfileDir=
Create the Profiles directory near Miranda32/64.exe
Move your profile from %AppData%\Miranda NG to Profiles
The result will be something like /Miranda_root/Profiles/myprofile/myprofile.dat