I use x64dbg and IDA Pro the process is 32bit. I'm not sure if I'm doing this right or not because I'm getting a crash which I'm not sure if it's caused by me doing something wrong or the startup process of the application failing for some reason because it can't find the window.
Basically what I'm trying to do is change the window title of some application on startup. I'm trying to achieve this by setting a break point on the user32 function
CreateWindowExA and then attempting to change the
Here is what execution looks like when the bp is hit:
Where you see the string "Title possibly" originally contained what was the windows title, so I assume that's the location I need to change. When changing at that address is when I get the error though.
Sorry for any ignorance, I'm new to this and practicing. Thanks.
Edit: I worked on this a little more and made a dummy program to help me figure out what was happening. So the
CreateWindowExA function in this application used the same pointer for both
lpWindowName args. So patching the program to push just a string instead of that pointer successfully achieved what I was aiming for.