hesho28 Newbie cheater
Reputation: 0
Joined: 03 Oct 2009 Posts: 13
|
Posted: Sat Sep 21, 2013 5:43 pm Post subject: [MASM32] How to use AOBSCAN |
|
|
Hello guys ,
i searched about how to do AOBSCAN in masm32 and found a thread in this forum.
and found this way:
| Code: | FindAOB:
push esi
push edi
cld
mov esi, [esp+0Ch]
mov edx, [esp+10h]
mov edi, [esp+14h]
mov ecx, [esp+18h]
AOBloop:
cmpsb
jz ByteFound
mov esi, [esp+0Ch]
mov edx, [esp+10h]
jmp EndAOBLoop
ByteFound:
dec edx
jz AOBFound
EndAOBLoop:
loop AOBloop
xor eax, eax
jmp AOBend
AOBFound:
mov eax, edi
sub eax, [esp+10h]
AOBend:
pop edi
pop esi
ret |
i wanted to know how to use this function if i have this:
AllocationBase:1C790000
AOB to find:6C 1B FF
Number of bytes: 3
i tried by this method:
| Code: | push ScanSize //3 not sure if this is the same of aobsize
push ScanAddress //1C790000
push AOBsize //3
push AOBtoFind //6Ch,1Bh,FFh
call FindAOB |
Didn't worked , any suggestions ?
_________________
sssssss |
|