Little Problem Whit olydbg

Results 1 to 9 of 9
  1. #1
    Proficient Member lapochier is offline
    MemberRank
    Oct 2008 Join Date
    153Posts

    Little Problem Whit olydbg

    Yeah i tryed 1hour to figure this out.
    Well im new whit this tool soo ^^.

    here my problem when i try to assemble the following.

    005E51F2 3E:8B9D 5A040000 MOV EBX,DWORD PTR DS:[EBP+45A] ;
    005E51F9 81FB FF000000 CMP EBX,0FF ;
    005E51FF 75 19 JNE SHORT 005E521A ;
    005E5201 C644E4 3C FF MOV BYTE PTR SS:[ESP+3C],0FF ;
    005E5206 C644E4 3D 80 MOV BYTE PTR SS:[ESP+3D],80 ;
    005E520B C644E4 3E 40 MOV BYTE PTR SS:[ESP+3E],40 ;
    005E5210 C644E4 3F FF MOV BYTE PTR SS:[ESP+3F],0FF ;
    005E5215 ^E9 FB26E2FF JMP 00407915 ;
    005E521A 81FB FE000000 CMP EBX,0FE ;
    005E5220 75 19 JNE SHORT 005E523B ;
    005E5222 C644E4 3C FF MOV BYTE PTR SS:[ESP+3C],0FF ;
    005E5227 C644E4 3D 80 MOV BYTE PTR SS:[ESP+3D],80 ;
    005E522C C644E4 3E 40 MOV BYTE PTR SS:[ESP+3E],40 ;
    005E5231 C644E4 3F FF MOV BYTE PTR SS:[ESP+3F],0FF ;
    005E5236 ^E9 D626E2FF JMP 00407911 ;
    005E523B 81FB FE000000 CMP EBX,0FC ;
    005E5241 C644E4 3C FF MOV BYTE PTR SS:[ESP+3C],0FF ;
    005E5246 C644E4 3D 80 MOV BYTE PTR SS:[ESP+3D],80 ;
    005E524B C644E4 3E 40 MOV BYTE PTR SS:[ESP+3E],40 ;
    005E5250 C644E4 3F FF MOV BYTE PTR SS:[ESP+3F],0FF ;
    005E5255 ^E9 B726E2FF JMP 00407911 ;

    And save it correctly. it change my data to :

    005E51EC |. 0081 FBFF0000 ADD BYTE PTR DS:[ECX+0FFFB],AL
    005E51F2 |. 0075 19 ADD BYTE PTR SS:[EBP+19],DH
    005E51F5 |. C644E4 3C FF MOV BYTE PTR SS:[ESP+3C],0FF
    005E51FA |. C644E4 3D 80 MOV BYTE PTR SS:[ESP+3D],80
    005E51FF |. C644E4 3E 40 MOV BYTE PTR SS:[ESP+3E],40
    005E5204 |. C644E4 3F FF MOV BYTE PTR SS:[ESP+3F],0FF
    005E5209 \.^ E9 FB26E2FF JMP 00407909
    005E520E . 81FBFE00 DD OFFSET 00FEFB81
    005E5212 00 DB 00
    005E5213 00 DB 00
    005E5214 75 DB 75 ; CHAR 'u'
    005E5215 19 DB 19
    005E5216 C6 DB C6
    005E5217 44 DB 44 ; CHAR 'D'
    005E5218 E4 DB E4
    005E5219 3C DB 3C ; CHAR '<'
    005E521A FF DB FF
    005E521B C6 DB C6
    005E521C 44 DB 44 ; CHAR 'D'
    005E521D E4 DB E4
    005E521E 3D DB 3D ; CHAR '='
    005E521F 80 DB 80
    005E5220 C6 DB C6
    005E5221 44 DB 44 ; CHAR 'D'
    005E5222 E4 DB E4
    005E5223 3E DB 3E ; CHAR '>'
    005E5224 40 DB 40 ; CHAR '@'
    005E5225 C6 DB C6
    005E5226 44 DB 44 ; CHAR 'D'
    005E5227 E4 DB E4
    005E5228 3F DB 3F ; CHAR '?'
    005E5229 FF DB FF
    005E522A E9 DB E9
    005E522B D6 DB D6
    005E522C 26 DB 26 ; CHAR '&'
    005E522D E2 DB E2
    005E522E FF DB FF
    005E522F . 81FBFE00 DD OFFSET 00FEFB81
    005E5233 00 DB 00
    005E5234 00 DB 00
    005E5235 C6 DB C6
    005E5236 44 DB 44 ; CHAR 'D'
    005E5237 E4 DB E4
    005E5238 3C DB 3C ; CHAR '<'
    005E5239 FF DB FF
    005E523A C6 DB C6
    005E523B 44 DB 44 ; CHAR 'D'
    005E523C E4 DB E4
    005E523D 3D DB 3D ; CHAR '='
    005E523E 80 DB 80
    005E523F C6 DB C6
    005E5240 44 DB 44 ; CHAR 'D'
    005E5241 E4 DB E4
    005E5242 3E DB 3E ; CHAR '>'
    005E5243 40 DB 40 ; CHAR '@'
    005E5244 C6 DB C6
    005E5245 44 DB 44 ; CHAR 'D'
    005E5246 E4 DB E4
    005E5247 3F DB 3F ; CHAR '?'
    005E5248 FF DB FF
    005E5249 E9 DB E9
    005E524A B7 DB B7
    005E524B 26 DB 26 ; CHAR '&'
    005E524C E2 DB E2
    005E524D FF DB FF

    I Dont know why. this is the first time i got this kind of error.
    I made ugrade easy and didn't got that error.


  2. #2
    Account Upgraded | Title Enabled! cerealnp is offline
    MemberRank
    Apr 2006 Join Date
    BrazilLocation
    441Posts

    Re: Little Problem Whit olydbg

    Try checking if the Hex/Binary Data has changed or if it stills the same.

  3. #3
    2D > 3D Wucas is offline
    MemberRank
    Dec 2008 Join Date
    In your bed :3Location
    2,523Posts

    Re: Little Problem Whit olydbg

    i dont have enough time to look through all the binary but im guessing you added one or 2 many bytes in your code xD

    the only thing that matters is what happens ingame... sometimes when you do stuff in olly it simplifies what the asm says. Dont worry, all those words are is the interpretation of binary. If it works ingame nbd

  4. #4
    Proficient Member lapochier is offline
    MemberRank
    Oct 2008 Join Date
    153Posts

    Re: Little Problem Whit olydbg

    Ok trying it in game and hum yeah my save method are strange lol.

    Well when i right click on it i can't save and when i right click>edit>select all cant save too.

    So i need to right click on a existing code and copy to executable and paste the current binary in it that's normal ?

    Ingame : Fail

    Before :

    After :

  5. #5
    2D > 3D Wucas is offline
    MemberRank
    Dec 2008 Join Date
    In your bed :3Location
    2,523Posts

    Re: Little Problem Whit olydbg

    ctrl +a and hit save to executable

  6. #6
    Proficient Member lapochier is offline
    MemberRank
    Oct 2008 Join Date
    153Posts

    Re: Little Problem Whit olydbg

    Yeah, for me it's - edit>copy to executable

    Btw im using the Olydbg Version 2.0 - Beta 2

    Wont work too.

  7. #7
    GunZ Developer dacharles is offline
    MemberRank
    Oct 2006 Join Date
    476Posts

    Re: Little Problem Whit olydbg

    Quote Originally Posted by BetrayedAcheron View Post
    ctrl +a and hit save to executable
    i preffer not to press ctrl+a bcuz sosmetimes it change the code :/and when u compile it, its different

  8. #8
    2D > 3D Wucas is offline
    MemberRank
    Dec 2008 Join Date
    In your bed :3Location
    2,523Posts

    Re: Little Problem Whit olydbg

    Quote Originally Posted by dacharles View Post
    i preffer not to press ctrl+a bcuz sosmetimes it change the code :/and when u compile it, its different
    i dont like that way either i go to copy and hit select all, but thats from habbit (does it pre simplify the binary or soemthing)

  9. #9
    Proficient Member lapochier is offline
    MemberRank
    Oct 2008 Join Date
    153Posts

    Re: Little Problem Whit olydbg

    Nothing To Lose.

    Il redo a new one.
    Last edited by lapochier; 29-07-09 at 11:27 PM.



Advertisement