Posted: Sun Oct 21, 2012 1:34 pm Post subject: Need help with ASM
I need to change 2 values in order to affect one
in order for it to affect super acuracy i need change the
movss [esi+00000120],xmm1 to movss [esi+00000120],xmm2
and the cmp byte ptr [esi+0000016C],00 to cmp byte ptr [esi+0000016C],02
If anyone could post the code needed to make these in one code injection id love you thanks[/img]
Okay this is simple enough... You don't even have to do any allocating and redirecting the code flow as your only changing a single byte in each of the two instructions you are changing! Nice
I really wish you would've had the address column expanded just a tiny bit more but I don't think I'm missing a hex digit so its all good it was just a little cluttered that's all
Oh and I wasn't 100% sure about the exe name either, but it looks like bf3.exe... Battle Field 3 ? lol just a guess...
Code:
[enable]
bf3.exe+4d5538:
cmp byte ptr [esi+16c],2
bf3.exe+4d557a:
movss [esi+120],xmm2
[disable]
bf3.exe+4d5538:
cmp byte ptr [esi+16c],0
bf3.exe+4d557a:
movss [esi+120],xmm1
Or to be pro at it do this:
Code:
[enable]
bf3.exe+4d553e:
db 02
bf3.exe+4d557d:
db 96
[disable]
bf3.exe+4d553e:
db 00
bf3.exe+4d557d:
db 8e
See since we only need to change a single byte, we can just define the byte we are changing... You can see the image I attached to see what I mean...
In the first instruction, the 7th byte is the one we need to change (as shown in the attached image)
So since we're already at the first byte add 6 to 4d5538 and you get 4d553e
The next one, the 4th byte is changed so we add 3 to 4d557a and get 4d557d
Thanks a ton bro that really helped my assembly isn't up to scratch yeah its bf3 and I noticed that no spread was bug and I had to reverse a je to jne and then change an xmm value !!! Do you have skype bro? Would like to chat to you more since you know ur shit and I'm always needing help
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum