hi all, can someone tellme how to multiply EAX by mybuffer?
for two numbers i make
MOV eax,[2*2]
IMUL eax,ecx
and then i have to mutiply eax again with a value stored in mybuffer...
tkx,bye
5k3l3t0r
for two numbers i make
MOV eax,[2*2]
IMUL eax,ecx
and then i have to mutiply eax again with a value stored in mybuffer...
tkx,bye
5k3l3t0r
mov ecx, dword ptr
mul ecx
mul multiplies eax with whatever you use with it.
ok, tk you vry much...
bye
5k3l3t0r
bye
5k3l3t0r
mul dword ptr ; unsigned multiply
or
imul dword ptr ; signed multiply
Or, if you are using MASM syntax AND you have declared the mybuffer variable as a dword,
Raymond
mul mybuffer
Raymond
I guess "mybuffer" would be a string coming from the user, either on commandline or from some EDIT control? If that's the case, you need to conver this ASCII string to a machine integer before you can use it for arithmetic.
The easy way, if getting from an EDIT control, is GetDlgItemInt.
The easy way, if getting from an EDIT control, is GetDlgItemInt.
hi f0dder... you understand my prob... convert ASCII to integer...
in my other post in the forum i ask how to get the character from one string
and i have this reply:
mov al, ; 3 = 4 - 1
mov ,al
mybuffer receive the value in a getsystemtime parameter (wyear)
mybuffer=current year, but i just want the last character (year=2007 and i need 7)
mov al,
mov ,al...
ok, i will try to explin better... sory but my english is not very good...
this is to make a kgen for an old keygenme (abexcrackme4) the algo is the first number of the year (2) the hour (09) the last number of the year (7) and then multiply the hour by 5 (09*5) and then multiply the result by the last number of the year ( (09*5)*7) and you have the correct serial= at this hour the correct serial is 2097315,
the only thing i need to finish the kgen(it's my first, is this calculation: eax*the result in mybuffer2...grrrrrrrrr.
i have to pass the last number of the year, to mybuffer2 as an integer but how to???
please helpme to finish this...
bye ;( ,sorry if i'm borrow you with mi simple questions...
5k3l3t0r
in my other post in the forum i ask how to get the character from one string
and i have this reply:
mov al, ; 3 = 4 - 1
mov ,al
mybuffer receive the value in a getsystemtime parameter (wyear)
mybuffer=current year, but i just want the last character (year=2007 and i need 7)
mov al,
mov ,al...
ok, i will try to explin better... sory but my english is not very good...
this is to make a kgen for an old keygenme (abexcrackme4) the algo is the first number of the year (2) the hour (09) the last number of the year (7) and then multiply the hour by 5 (09*5) and then multiply the result by the last number of the year ( (09*5)*7) and you have the correct serial= at this hour the correct serial is 2097315,
the only thing i need to finish the kgen(it's my first, is this calculation: eax*the result in mybuffer2...grrrrrrrrr.
i have to pass the last number of the year, to mybuffer2 as an integer but how to???
please helpme to finish this...
bye ;( ,sorry if i'm borrow you with mi simple questions...
5k3l3t0r