Staredit Network > Forums > Technology & Computers > Topic: Logic defiance (ASM)
Logic defiance (ASM)
This topic is locked. You can no longer write replies here.
Jul 19 2009, 8:57 pm
By: Heinermann  

Jul 19 2009, 8:57 pm Heinermann Post #1

memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes

The code:
Code
 xor ecx, ecx
rnamLoop:
 call getSeed
 cmp al, 25
 jg rnamLoop

 add al, 0x61
 mov [esi + ecx], al
 inc cx
 cmp cx, 3
 jl rnamLoop  


The description:
Code
esi is a string pointer
ecx is a counter
getSeed stores a random number in eax


The problem:
Code
The string is not modified and the jump condition is always true with jl and jnz, and always false with jg and jz. (the last line)


The request:
Code
Help? lulz


Extra notes:
Code
The input is the same as the output ASM.
Have debugged the program.
Annoying.


EDIT: fixed the loop problem. One of the kernel functions (GetTickCount) was modifying the ECX register. Problem remaining: the new value is not being written to the destination. (mov [esi + ecx], al).
EDIT2: Found the problem to the above. It is now fixd. Lock plz.

Post has been edited 2 time(s), last time on Jul 19 2009, 9:36 pm by Heinermann.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-7-23. : 6:40 am]
Oh_Man -- true
[2026-7-23. : 3:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
[2026-7-23. : 1:40 am]
Oh_Man -- tthen u come to SCBW and it's like - upload WAV, play WAV.... sigh why cant it be that easy
[2026-7-23. : 1:40 am]
Oh_Man -- and no consistent easy to use way to then play the audio either
[2026-7-23. : 1:39 am]
Oh_Man -- where they use third party audioprogram called WWISE which basically makes adding audio extremely difficult
[2026-7-23. : 1:39 am]
Oh_Man -- i appreciate SCBW's ability to just let us upload and play WAVs so much compared to nightmare that is total war warhammer 3
[2026-7-18. : 2:27 am]
Symmetry -- https://staredit.net/topic/18903/ THE REVIEWS ARE HERE! "ok these are pretty good memes" - ssj9Kevin
[2026-7-17. : 2:58 pm]
Ultraviolet -- Symmetry
Symmetry shouted: Man I wish we had this tech back in the day when people played ums lmao
fr fr
[2026-7-17. : 2:39 am]
Symmetry -- Man I wish we had this tech back in the day when people played ums lmao
[2026-7-16. : 6:28 am]
NudeRaider -- EUD actions, specifically. The conditions remained. Today we can even have actions again, but they're all virtualized/whitelisted (not sure on the actual technical implementation) so you can only use them for specific intended purposed, not arbitrary code injections.
Please log in to shout.


Members Online: Symmetry, O)FaRTy1billion[MM]