I'm starting to learn about reverse engineering and I'm currently encountering a problem with a game I'm trying to patch. I needed more space to insert instructions in my program so I followed the method described here: https://stackoverflow.com/questions/35685589/how-do-i-make-space-for-my-code-cave-in-a-windows-pe-32bit-executable and added a new section where I could put my new instructions. Then when I run the program, the instructions are properly executed, no crash happening.
My issue is that when I'm launching the game, I get a popup asking if I want to "allow this app from an unknown publisher to make changes to your device", which is annoying. If I display the "Details" tab in the properties of the file, most of the information (such as File Description, File version...) are missing when they were there before the patch. Is it an expected consequence of adding a new section at the end of the executable? It looks like those information are inside the .rsrc section. And is there something I can do to fix it so I don't get the popup?