Results 1 to 5 of 5

Thread: Here is the keygen code for Moving Picture

  1. #1
    goatass
    Guest

    Here is the keygen code for Moving Picture

    Hi everybody, it's been a couple weeks since we started this project and since then all of the people that participated managed to register the program. Here is the code for the keygen written in MASM.

    .data
    szDrive db "C:\",0
    szBuffer dd 0
    szCaption db "Moving Picture - KeyGen by Goatass"

    .data?
    szKey db 10 dup(?) ;an array of characters

    .code
    start:

    ;int 3 ;my personal break point for testing

    invoke GetVolumeInformationA, addr szDrive, NULL, NULL, addr szBuffer, NULL, NULL, NULL, NULL
    mov eax, dword ptr [szBuffer] ;saves the returned serial number of my C: drive
    xor edx, edx ;all this code was taken out of the actual program
    mov ecx, 5f5e100h
    div ecx
    mov eax, edx

    cdq
    mov ecx, 03h
    idiv ecx
    add eax, 1e35h

    invoke dwtoa, eax, ADDR szKey ;converts the Hex value to decimal
    invoke MessageBox,NULL,ADDR szKey, ADDR szCaption, MB_OK ;shows the serial number

    This is it, very simple, I only showed the keygen code I didn't show any of the non-relevant code that goes along with an ASM program. If you want the full code e-mail me and I'll send it to you.

    goatass
    I promise that I have read the FAQ and tried to use the Search to answer my question.

  2. #2
    e-nigma
    Guest
    Hi!
    While compiling this asm file, the compiler returned an error message;

    invoke dwtoa, eax, ADDR szKey ;converts the Hex value to decimal

    it didn't understand "dwtoa" is and neither do I?
    I think you miss typed the word?

    thanks
    e-nigma
    I promise that I have read the FAQ and tried to use the Search to answer my question.

  3. #3
    ?ferret
    Guest
    dwtoa...DWord To Ascii (I believe)....Are you using MASM or TASM?
    I promise that I have read the FAQ and tried to use the Search to answer my question.

  4. #4
    ThRaX
    Guest
    You gotta include the m32.inc, and m32.lib files I believe...They c ome with MASM32
    I promise that I have read the FAQ and tried to use the Search to answer my question.

  5. #5
    e-nigma
    Guest
    after including masm32.inc and .lib file. It worked.
    dwtoa is defined in the file.

    thanks,
    e-nigma

    ____________________
    The One Who Ask Remains Fool For 5 Minutes,
    The One Who Doesn't Ask Remain Fool Forever. - A Chinese Proverb
    I promise that I have read the FAQ and tried to use the Search to answer my question.

Similar Threads

  1. my first keygen!
    By yellow24 in forum Off Topic
    Replies: 2
    Last Post: April 5th, 2010, 11:00
  2. Replies: 16
    Last Post: February 7th, 2006, 18:52
  3. How to write a keygen ripping the original asm code
    By achi in forum Mini Project Area
    Replies: 66
    Last Post: January 12th, 2004, 08:32
  4. just another simple keygen me
    By javelin in forum Mini Project Area
    Replies: 5
    Last Post: November 5th, 2002, 12:38
  5. win xp keygen
    By mambox in forum Advanced Reversing and Programming
    Replies: 10
    Last Post: December 10th, 2001, 12:00

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •