Now, as our test app is ready, compiled and has an assigned MAP-file in the same folder, we can run VMProtect Ultimate and open the executable file. We need to add two functions to the project: _main (this is how Visual Studio renamed our main()) and foo(). Both functions can be seen in the list of functions in the "Functions" section in VMProtect.
Then, we need to initialize the licensing system. Open the "Licenses" section and create a pair of keys with the length of 2048 bit.