Log in

View Full Version : A code


skiygin
September 6th, 2009, 21:23
Hi. I am new and I want to develop myself. Please help to me. What does this line means? And how can i edit this?? Thanks a lot...


mov [ebp-0c],000000eb

BanMe
September 6th, 2009, 23:52
hello skiygin,
it's hard to say what that line of particular code 'really' means, without knowing the context of the application code it is run in..but I can extrapolate some meaning out of it...

EBP 'usually' equals stack pointer(ESP).
This is done in the 'Preamble' of a function..
some common 'preamble' code..

Code:

push ebp
mov ebp,esp


Code:

enter


so 'knowing' this small bit we can apply it to the supplied code

mov dword ptr [ebp-0xc],0x000000eb this says move the value 0x000000eb to address in ebp minus 0xc..

BanMe

skiygin
September 7th, 2009, 00:21
Thanks for your answer. With this line application provides giving you less scores at the beginning, and after your right answers, scores go up. I want to have fixed and big score. Is it possible?

BanMe
September 9th, 2009, 22:20
yes its possible..but I don't think you 'can' do it yet. so learn more asm and understand how game 'hacking' works..then maybe,you might be able to 'retry' later on down the road.. :]

BanMe

nEINEI
September 18th, 2009, 21:20
"mov [ebp-0c],000000eb"
[ebp - 0c] --> temp variable

index by
push ebp
mov ebp,esp