Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace some instruction #3

Open
glira opened this issue Jan 3, 2024 · 1 comment
Open

replace some instruction #3

glira opened this issue Jan 3, 2024 · 1 comment

Comments

@glira
Copy link

glira commented Jan 3, 2024

Hello i need help to find and replace some instruction tellme how do this using you plugin please
image
here is the code

var endAddress
var currentAddress
var instruction

mov startAddress, 0x0040FC16
mov endAddress, 0x0A4C40F6
mov currentAddress, startAddress

start:
    cmp currentAddress, endAddress
    ja end

    mov eax, currentAddress
    disasm eax, instruction

    cmp instruction, "CMP BYTE PTR SS:[EBP-0x1], 0x0"
    je replace

next:
    add currentAddress, 1
    jmp start

replace:
    mov eax, currentAddress
    asm eax, "CMP BYTE PTR SS:[EBP-0x1], 0x1"
    jmp next

end:
@m417z
Copy link
Owner

m417z commented Jan 3, 2024

Your code doesn't resemble valid input for Multiline Ultimate Assembler. Please start by reading the help file that comes with the plugin. Let me know if you need more help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants