Sorry if this is a dumb question I'm new to assembly.
Basically I want to modify a function in a .exe file to return with a different data, but my issue is that the memory location of the data segment I want to return is always changing after system restart. For example currently it is .data:018C74F1 byte_18C74F1
, next time it's going to differ like .data:16874F1 byte_16874F1
. So due to this I am unable to change the return value to that in the file. Is there any way to workaround this?
Thank you very much for any answer given!