Auto-translated
Well, theoretically, it's a task of roughly the same complexity. But for some reason, I haven't seen anything like it anywhere yet, even though the idea seems obvious. I myself once tried to delve into the executable file, but it's quite complicated... In short, I don't know. In principle, if you have the desire to figure all this out, you potentially can.