How to edit the code in DLL

Discussion in 'Mixed Languages' started by ceo54, Feb 9, 2019.

  1. ceo54

    ceo54 MDL Member

    Aug 13, 2015
    137
    17
    10
    #1 ceo54, Feb 9, 2019
    Last edited: Feb 10, 2019
    Hi,

    I have a plugin with .dll extension that calls home every time it's launched. I don't want it to that. Plus I also want to replace some ico resources, they don't go well with my Windows theme but the issue is when I open the dll with Resourse Hacker or Restorator, it just shows version info and menifests. I'm guessing it's encrypted somehow.

    Can anyone guide me how can I force it to reveal the resources ?

    Thanks for reading.

    Edit: I tried the Dotpeek decompiler but it throws the error that this dll is not supported.

    Edit 2: Okay I tried the solutions recommended by the two awesome members below this post and it turns out, the DLL was created in some other language then .NET

    I'm leaving this as an open request to anyone with coding skills and kind enough with some free time who can do this for me. It connects to just one domain, I don't want it go online. PM me for the DLL
    Thank you
     
  2. kaljukass

    kaljukass MDL Expert

    Nov 26, 2012
    1,021
    344
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. clefranc

    clefranc MDL Novice

    Jun 29, 2012
    36
    7
    0
    Hi ceo54,
    Like said in previous comment, if it's a dll created from .NET, then you can use ILDASM to decompile, use Visual Studio to edit the .res file, modify the .il code, then recompile using ILASM.
     
  4. ceo54

    ceo54 MDL Member

    Aug 13, 2015
    137
    17
    10
    Okay I tried Reflector by Redgate as Telerik decompiler refused to install on my system for some unknown reason. It reported that the dll is not a .Net archive so I guess it's written in some other language. Well that's bad, it's just a simple task to prevent it from connecting from Internet.

    Thank you for the help kaljukass, highly appreciated.
     
  5. ceo54

    ceo54 MDL Member

    Aug 13, 2015
    137
    17
    10
    Hi clefranc

    Nah, it's written in some other language then .Net. It was a no-go. Nonetheless thank you for your valuable input bud.
     
  6. ceo54

    ceo54 MDL Member

    Aug 13, 2015
    137
    17
    10
    Original post has been updated with a request.
     
  7. Michaela Joy

    Michaela Joy MDL Crazy Lady

    Jul 26, 2012
    3,808
    4,149
    120
    Is the DLL from a commercial product?

    And if so, why is it 'phoning home' ? License check?

    If so, you're asking someone here to reverse-assemble it for you?

    And that might be a nono.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...