Hello in the program code the property combobox is changed from enable to disable I would like to change that the program does not change this property. I have found commands that assign new items to combobox then the code suddenly enters the user32.dll module and after exiting it the property is changed. I think some value is passed to this user32.dll that defines the property change. Could someone please guide me on how to find the piece of code responsible for the property change? The program is written in Visual C++ MFC. I used x64dbg and Ghidra.

  • Hi and welcome to RE.SE. You simply want to enable a disabled window/control? Now if the program is naive enough to rely on this, you can simply find the window and use the EnableWindow function ... UIPI may interfere, so make sure to run at a high enough integrity level. docs
    – 0xC0000022L
    Commented Mar 10, 2021 at 10:36
  • Oh thanks for help, ye before EnableWindow was bool to enable and disable control.
    – Jorr1
    Commented Mar 10, 2021 at 11:58


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.