Page 1 of 1

Does anyone explain to me what does that code mean in auto assemble? and what command lines can I apply .. thanks

Posted: Mon Sep 30, 2019 6:19 pm
by srafaelitocs
Does anyone explain to me what does that code mean in auto assemble?

and what command lines can I apply .. thanks in advance:

[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)

newmem: //this is allocated memory, you have read,write,execute access
//place your code here

originalcode:
add ebp,ebx
or [eax],eax
add [eax],al

exit:
jmp returnhere

0A01A739:
jmp newmem
nop
returnhere:




[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
0A01A739:
add ebp,ebx
or [eax],eax
add [eax],al
//Alt: db 03 EB 09 00 00 00

Re: Does anyone explain to me what does that code mean in auto assemble? and what command lines can I apply .. thanks

Posted: Mon Sep 30, 2019 6:31 pm
by GreenHouse
srafaelitocs wrote:
Mon Sep 30, 2019 6:19 pm
add ebp,ebx
or [eax],eax
add [eax],al
I can't see any kind of use in those instructions. But 'add' is just a what it says, adds ebx to ebp (Sum of both and add to ebp) and 'or' is a bitwise operation that I don't see how would you get any kind of benefit of it. What are you trying to do?

Re: Does anyone explain to me what does that code mean in auto assemble? and what command lines can I apply .. thanks

Posted: Mon Sep 30, 2019 7:08 pm
by srafaelitocs
I'm trying to generate bugs in the program, preventing it from collapsing that it doesn't crashed