c++ - Modify dll function call in compiled exe -


i have exe file had written while , cannot find source code (it written in c++).

it calls messageboxa function in user32.dll , passes necessary parameters it. want modify flags parameter include mb_iconerror (0x10) flag.

how go finding bytes in exe file need modified accomplish this?

you need disassembler ice or ida. https://www.hex-rays.com/products/ida/support/download.shtml. load executable. find win32 api call on names window, find it, type function name. double click code xref go referenced caller.

enter image description here

then want: enter image description here

just select line , click on hex-view address.

enter image description here


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -