![]() |
|
|
|
#1
|
|||
|
|||
|
00410454 $ C3 RETN <-------- This the byte I did changed from 55 to c3.
00410455 . 8BEC MOV EBP,ESP 00410457 . 51 PUSH ECX 00410458 . 53 PUSH EBX 00410459 . 8B05 0E564000 MOV EAX,DWORD PTR DS:[40560E] ; <&kernel32.GetModuleHandleA> 0041045F . 8B18 MOV EBX,DWORD PTR DS:[EAX] 00410461 . FF33 PUSH DWORD PTR DS:[EBX] 00410463 . 895D FC MOV DWORD PTR SS:[EBP-4],EBX 00410466 . 8F03 POP DWORD PTR DS:[EBX] ; 0012FFB4 00410468 . 8B45 FC MOV EAX,DWORD PTR SS:[EBP-4] 0041046B . 5B POP EBX ; 0012FFB4 0041046C . 59 POP ECX ; 0012FFB4 0041046D . 5D POP EBP ; 0012FFB4 0041046E . C3 RETN Please look at the comment at first line. Last edited by britedream; 03-22-2004 at 04:23. |
|
#2
|
|||
|
|||
|
TO Satyricon:
this code snipet is exactly the same as the one you insisted on nopping the call to it, in our last disagreement, and there is no difference between nopping the call or chaning the first byte to "retn" in this snipet. |
|
#3
|
|||
|
|||
|
Quote:
Either way, I have only been saying what I do to get the dump working; if what I do is not relevant or is incorrect, or there is simply a better solution, then just ignore me. ![]() Regards, Satyric0n |
|
#4
|
|||
|
|||
|
this is the snippet:
Quote:
Quote:
pop ebx,pop ecx, pop ebp, are restoring what is pushed at the beginning,eax is xored right after retun, so by changing push ebp, to return is equal in effect to your nopping. and I see no differnce between what I did ,and your nopping. regards. Last edited by britedream; 03-22-2004 at 04:54. |
|
#5
|
|||
|
|||
|
popeyfan ,
did you do the test I told you, run target outside olly. the startup codes look ok to me , but I don't have the same va so the value to move to eax, I will not be able to say if it is the right one or not. btw, are you runnig windows xp. can you send me your dump I will check it for you. regrads. Last edited by britedream; 03-22-2004 at 04:36. |
|
#6
|
|||
|
|||
|
Yes, I did try running in & out of Olly, I'll email you my dumped file to check, thanks for that, very good of you.
|
|
#7
|
|||
|
|||
|
Hi, you can access it at hxxp://members.optusnet.com.au/~vincewmb/Aussiepompeyfan/RegDefrag.rar, I see I cant email you, so I uploaded it to my website.
|
|
#8
|
|||
|
|||
|
Quote:
Also, upon rereading what you first posted here, when you said 'so change 55 "push ebp", to c3 " retn"', for some reason I thought you were referring to the instruction at 410419, not the one at 41040C. Hence my comments about corrupting the stack (which now turn out are entirely irrelevant)... Sorry, my misunderstanding, my fault. Maybe I should slow down when reading next time, so I don't get confused so easily and throw off the whole thread. ![]() Regards, Satyric0n |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help with ASProtect 1.23 RC4 | Perdition | General Discussion | 7 | 06-09-2004 01:48 |
| New Asprotect?? | loman | General Discussion | 7 | 02-04-2004 20:34 |