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.
then want:
just select line , click on hex-view address.
Comments
Post a Comment