Re: Function that deals with ScoreList Color
Quote:
Originally Posted by
Aristrum
1) Go to 004078BC
2) Select from 004078BC to 0040790D
3) Fill with NOPs
4) Go back to 004078BC and assemble the following lines:
Code:
004078BC E8 B6DE1D00 CALL theduel_.005E5777
004078C1 |. 84C0 |TEST AL,AL
004078C3 |. 8B85 64040000 |MOV EAX,DWORD PTR SS:[EBP+464] ; theduel_.0066006F
004078C9 |. 74 51 |JE SHORT theduel_.0040791C
004078CB 8BCD MOV ECX,EBP
004078CD 8D81 D0030000 LEA EAX,DWORD PTR DS:[ECX+3D0]
004078D3 | 90 |NOP
004078D4 |> 50 |PUSH EAX
004078D5 |. 68 B5060000 |PUSH 6B5
004078DA |. E8 110C1000 |CALL theduel_.005084F0
004078DF |. 8BC8 |MOV ECX,EAX
004078E1 |. E8 8A7D0C00 |CALL theduel_.004CF670
004078E6 8B8D 84030000 MOV ECX,DWORD PTR SS:[EBP+384]
004078EC 50 PUSH EAX
004078ED 51 PUSH ECX
004078EE 8D57 0C LEA EDX,DWORD PTR DS:[EDI+C]
004078F1 68 246D5E00 PUSH theduel_.005E6D24 ; ASCII "%d%s %s"
004078F6 52 PUSH EDX ; ntdll.KiFastSystemCallRet
004078F7 E8 119E1600 CALL theduel_.0057170D
004078FC E9 82DA1D00 JMP theduel_.005E5383
5) Go to 00407909 and assemble the following lines:
Code:
00407909 8B4C24 40 MOV ECX,DWORD PTR SS:[ESP+40]
0040790D 83C4 14 ADD ESP,14
6) Go to 005E5771 and hit in the following (this assumes only 255,254,2 are coloured... you may have to change it yourself to suit your needs)
Code:
005E5771 32C0 XOR AL,AL
005E5773 C3 RETN
005E5774 B0 01 MOV AL,1
005E5776 C3 RETN
005E5777 8B81 5A040000 MOV EAX,DWORD PTR DS:[ECX+45A]
005E577D 3D FF000000 CMP EAX,0FF
005E5782 ^ 74 F0 JE SHORT theduel_.005E5774
005E5784 3D FE000000 CMP EAX,0FE
005E5789 ^ 74 E9 JE SHORT theduel_.005E5774
005E578B 83F8 02 CMP EAX,2
005E578E ^ 74 E4 JE SHORT theduel_.005E5774
005E5790 ^ EB DF JMP SHORT theduel_.005E5771
7) Now go to 005E537D and do the following... (As above)
Code:
005E537D > /61 POPAD
005E537E .^|E9 8625E2FF JMP Aristrum.00407909
005E5383 > |60 PUSHAD
005E5384 . |C74424 60 FFFFFFFF MOV DWORD PTR SS:[ESP+60],-1
005E538C . |8B85 5A040000 MOV EAX,DWORD PTR SS:[EBP+45A] ; Aristrum.00630069
005E5392 . |3D FF000000 CMP EAX,0FF
005E5397 . |75 08 JNZ SHORT Aristrum.005E53A1
005E5399 . |C74424 60 C6F7FFFF MOV DWORD PTR SS:[ESP+60],-83A
005E53A1 > |3D FE000000 CMP EAX,0FE
005E53A6 . |75 08 JNZ SHORT Aristrum.005E53B0
005E53A8 . |C74424 60 00FC4DFF MOV DWORD PTR SS:[ESP+60],FF4DFC00
005E53B0 > |83F8 02 CMP EAX,2
005E53B3 . |75 08 JNZ SHORT Aristrum.005E53BD
005E53B5 . |C74424 60 FFC6EEFF MOV DWORD PTR SS:[ESP+60],FFEEC6FF
005E53BD >^\EB BE JMP SHORT Aristrum.005E537D
8) Should be it ;D
Thanks Mark Worked Perfectly (Not even 10 min of work either and i have 5 extra ugrades)
(its Lucas)
http://i40.tinypic.com/2r6zasz.jpg