I'm trying a code-cave approach to this query that was asked about on this forum earlier.
I'm using x64_dbg to perform this task. My issue here is that after I have written the extra lines of assembly within the code-cave, using
Right-Click > Patches does not apply them.
Does x64_dbg require an additional add-on to perform this kind of patching? However, the code changes inside the address space of the function patches just fine.
Assembly code (Code-Cave)
Failed dialog box