Auto-Assemble Error: Too many registers

Find a Bug? Have a Problem? Like to Suggest a Feature? Do it Here

Moderators: g3nuin3, SpeedWing, WhiteHat, mezzo

Auto-Assemble Error: Too many registers

Postby WhiteHat » Mon May 19, 2008 9:05 am

I was about to Auto-Assemble > Inject Code to this snippet:
Code: Select all
00DAD8C5 | 8B56 08 | MOV     EDX, DWORD PTR [ESI+8]     |
00DAD8C8 | 8B52 04 | MOV     EDX, DWORD PTR [EDX+4]     |
00DAD8CB | 8B69 10 | MOV     EBP, DWORD PTR [ECX+10]    | ;---> This is where i want to inject my code
00DAD8CE | 012C97  | ADD     DWORD PTR [EDI+EDX*4], EBP |


And here’s my code in Auto-Assemble window: (all comments were removed & added line numbers)
Code: Select all
1: Alloc( MyCode, 2048 )
2: Label( OverwrittenCode )
3: Label( Exit )
4: Label( Return )
5:
6: FullAccess( S2DNG.exe+0x009AD8CB, 2048 )
7: S2DNG.exe+0x009AD8CB :
8: jmp MyCode
9: nop
10: Return :
11:
12:
13: MyCode :
14: cmp     edx, 0
15: jne     OverwrittenCode
16: mov     dword ptr [ecx+10], 00001388
17:
18:
19: OverwrittenCode :
20: mov     ebp, dword ptr [ecx+10]
21: add     dword ptr [edi+edx*4], ebp
22:
23:
24: Exit :
25: jmp Return


Upon pressing next, i get this error: “Error on line 21: Too many registers.

The code ADD DWORD PTR [EDI+EDX*4], EBP was not mine, but still MHS
takes it as an error...

Thank you very much in advance.
.. to boldly go where no eagle has gone before...
User avatar
WhiteHat
Elang Djawa
 
Posts: 1059
Joined: Fri Jul 21, 2006 12:49 pm
Location: Away for a while...

Postby L. Spiro » Mon May 19, 2008 9:59 am

This was already fixed in the version posted in the Private section.


L. Spiro
Our songs remind you of songs you’ve never heard.
User avatar
L. Spiro
L. Spiro
 
Posts: 3129
Joined: Mon Jul 17, 2006 10:14 pm
Location: Tokyo, Japan

Postby WhiteHat » Mon May 19, 2008 11:55 am

I’ve search along Private Section for your posts... And is this the link of the
version you mean, L. Spiro ?

L. Spiro wrote:This is not to be distributed.
*http: censored censored censored*

It also contains the fully working Code Filter for mezzo.

*censored censored censored*

L. Spiro


I’'ll download it right away and give it try...

However, i have faith that the next public version would also fix this problem.
Since that is a common case... Of course, minus that private things..

Thank you Big L. !
.. to boldly go where no eagle has gone before...
User avatar
WhiteHat
Elang Djawa
 
Posts: 1059
Joined: Fri Jul 21, 2006 12:49 pm
Location: Away for a while...

Postby L. Spiro » Mon May 19, 2008 5:42 pm

Yes.


L. Spiro
Our songs remind you of songs you’ve never heard.
User avatar
L. Spiro
L. Spiro
 
Posts: 3129
Joined: Mon Jul 17, 2006 10:14 pm
Location: Tokyo, Japan


Return to Bugs/Problems/Suggestions

Who is online

Users browsing this forum: No registered users and 0 guests