Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

Visual Basic 2005 Help


ghost's Avatar
0 0

Well, basically i am making a program to patch an .exe file

i have managed to open the file and check the size, but im not sure how to edit the file.

//.exe File
00404B3F A1 38059A00    MOV EAX,DWORD PTR DS:[9A0538]
00404B44 5F             POP EDI
00404B45 5E             POP ESI
00404B46 8BE5           MOV ESP,EBP
00404B48 5D             POP EBP
00404B49 C3             RETN     

//Needs to be patched to
00404B3F 8BC6    MOV EAX,ESI
00404B41 90      NOP
00404B42 90      NOP
00404B43 90      NOP

So basically i need to edit one line in the .exe and add 3 lines.

Does anyone know how to do this?