How can u rip apart dll files...i mean edit them using some decomplier or something..

Sharky Forums


Results 1 to 7 of 7

Thread: How can u rip apart dll files...i mean edit them using some decomplier or something..

  1. #1
    Catfish
    Join Date
    Dec 2001
    Location
    UK
    Posts
    156

    How can u rip apart dll files...i mean edit them using some decomplier or something..

    first of all when you install a new program, which is the main file, which runs the actual program. is it the dll or any other file, which contains the code for the actual program and how can i open them to see how the coding was done...do i need to download any program to open d dll or the main program's coding file...
    * Mesh ATX MIDI Tower Case + 300W PSU
    * Athlon DDR 333MHZ Motherboard (Onboard sound)
    * AMD Athlon XP 2200+ CPU (266MHZ)
    * 512MB (2 x 256MB) PC2100 DDR MEMORY (266MHZ)
    * 120GB Ultra Fast (7200rpm) HD with 2mb Buffer
    * 1.44 MB Floppy Disk Drive
    * Teac 40 x 12 x 48 IDE CD-RW
    * 128 MB NVIDIA GFORCE4 TI 4200 + TV out & DVI
    * 19" Hansol Digital Monitor 0.26mm
    * Logitech Navigator Cordless Keyboard & Mouse
    * 16x LG DVD ROM Drive
    * Creative Sound Blaster AUdigy W/SB1394 (Firewire)
    * 56kbs Modem
    * Creavite Labs Inspire 5300 Five Point Surrounds
    * Lexmark X83 Printer (All in one)

  2. #2
    Hammerhead Shark punkrawk's Avatar
    Join Date
    Jul 2001
    Location
    sd,ca,usa
    Posts
    1,237
    um, i do believe u are trying to crack closed-source code. only open source code programs let u see their guts. i could be wrong tho. r u studying it for a C++ class or something?
    Specs:
    Hercules Prophetview 920 17" LCD of *** kicking
    WIN XP Pro of *** kicking
    P3 733 @ 792
    384 MB Crucial CAS 3 RAM
    Geforce 4 4200 64 MB of *** kicking
    Lite-On 48x12x48 CDRW of *** kicking thanks so some firmware updates
    SB LIVE! Value
    Altec Lansing ACS 54W
    Soyo 7KCA+ or something like that

  3. #3
    Catfish
    Join Date
    Dec 2001
    Location
    UK
    Posts
    156
    i m studying C++ and was told by the lecturer to use editors and stuff like dat to dismentle program's main files. its not for hacking though. second thing if its packed or not open-source, can u open it anyhow or u cant...
    * Mesh ATX MIDI Tower Case + 300W PSU
    * Athlon DDR 333MHZ Motherboard (Onboard sound)
    * AMD Athlon XP 2200+ CPU (266MHZ)
    * 512MB (2 x 256MB) PC2100 DDR MEMORY (266MHZ)
    * 120GB Ultra Fast (7200rpm) HD with 2mb Buffer
    * 1.44 MB Floppy Disk Drive
    * Teac 40 x 12 x 48 IDE CD-RW
    * 128 MB NVIDIA GFORCE4 TI 4200 + TV out & DVI
    * 19" Hansol Digital Monitor 0.26mm
    * Logitech Navigator Cordless Keyboard & Mouse
    * 16x LG DVD ROM Drive
    * Creative Sound Blaster AUdigy W/SB1394 (Firewire)
    * 56kbs Modem
    * Creavite Labs Inspire 5300 Five Point Surrounds
    * Lexmark X83 Printer (All in one)

  4. #4
    Expensive Sushi cjohnson's Avatar
    Join Date
    Oct 2002
    Location
    North Carolina
    Posts
    35
    Just to clarify-
    In general when a program is compiled it gets turned into machine code with 'stubs' where library functions should go (I say 'in general' because Java, for example, normally compiles into byte code for the java vm). So these compiled files (.exe, .dll, .whatever) are just a bunch of machine instructions in a file. There are programs you can get that will take those machine instructions (which are in binary) and translate them into human-readable assembly (assembly is essentially human-readable version of machine instructions so it's not really a big jump). So, in a sense, you can view the code (atleast at the asm level) for any program. You can get other programs that will try and convert that asm into a higher level language like C.

    You probably won't see the source code exactly the way the original programmer wrote it, for example if originally there was a loop like:

    for (int i = 0; i < 10; i++)
    printf("Hi\n");
    printf("Out of loop\n");

    The compiler might turn that into something like

    mov eax, 0
    l2: cmp eax 10
    jge l1:
    print "Hi" ;For the sake of brevity
    inc eax
    jmp l2
    l1: print "Out of loop"

    Then when another program tries to turn that back into a higher level language it make make it into

    int i = 0;
    while (i < 10) {
    printf("Hi!\n");
    i = i + 1;
    }
    printf("Out of loop");

    So chances are the machine code you try to turn back into higherlevel code isn't going to be exactly the same (though it should accomplish the same task).

    Hope this helps.
    <wik> /bin/finger that girl in the back row of machines

  5. #5
    nuclear launch detected kpxgq's Avatar
    Join Date
    Jun 2001
    Location
    texas
    Posts
    16,612
    and this is why i dropped out of CS as my major....
    bitfenix prodigy, i5 4670k, asrock z87e-itx, zotac gtx 970, crucial m500 msata, seasonic x650, dell st2220t

  6. #6
    Hammerhead Shark punkrawk's Avatar
    Join Date
    Jul 2001
    Location
    sd,ca,usa
    Posts
    1,237
    Originally posted by kpxgq
    and this is why i dropped out of CS as my major....
    werd.
    Specs:
    Hercules Prophetview 920 17" LCD of *** kicking
    WIN XP Pro of *** kicking
    P3 733 @ 792
    384 MB Crucial CAS 3 RAM
    Geforce 4 4200 64 MB of *** kicking
    Lite-On 48x12x48 CDRW of *** kicking thanks so some firmware updates
    SB LIVE! Value
    Altec Lansing ACS 54W
    Soyo 7KCA+ or something like that

  7. #7
    Mako Shark Lord Vetinari's Avatar
    Join Date
    Jan 2002
    Location
    Worthing Sussex England
    Posts
    3,561
    You should be able to use an x86 decompliler such as w32dasm to decompile both .exe and .dll files.

Posting Permissions

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