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-6-09. : 5:01 pm]
NudeRaider -- Vrael
Vrael shouted: because you perfectly guessed SEN's root password and we cant have that displayed all over the shoutbox
given Moose's post I don't think he had to guess. ^^
[2026-6-09. : 4:53 pm]
NudeRaider -- lil-Inferno
lil-Inferno shouted: Nude why'd you delete my shout
why not? :awesome:
[2026-6-09. : 4:26 pm]
Vrael -- because you perfectly guessed SEN's root password and we cant have that displayed all over the shoutbox
[2026-6-09. : 3:58 pm]
lil-Inferno -- sadjfjkasdhfijsadhmfcjhsdajkvfmjadslkfhjsdkahf
[2026-6-09. : 3:58 pm]
lil-Inferno -- Nude why'd you delete my shout
[2026-6-09. : 3:35 pm]
NudeRaider -- never trust a statistic you haven't forged yourself
[2026-6-09. : 4:37 am]
Ultraviolet -- 80% of statistics are made up on the spot
[2026-6-08. : 8:05 pm]
Symmetry -- 50% of strings in starcraft are references
[2026-6-07. : 1:59 am]
RIVE -- Lots of fun little nods to different works of others in the cheats too.
[2026-6-06. : 5:17 pm]
Oh_Man -- so i was today years old wen i learned rebel yell starcraft mission is named after a billy idol song. makes me wonder wat other missions are named after songs
Please log in to shout.


Members Online: NudeRaider