How to edit the code in DLL

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

  1. ceo54

    ceo54 MDL Addicted

    Aug 13, 2015
    555
    152
    30
    #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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. kaljukass

    kaljukass MDL Guru

    Nov 26, 2012
    2,516
    914
    90
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. clefranc

    clefranc MDL Junior Member

    Jun 29, 2012
    69
    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 Addicted

    Aug 13, 2015
    555
    152
    30
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. ceo54

    ceo54 MDL Addicted

    Aug 13, 2015
    555
    152
    30
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. ceo54

    ceo54 MDL Addicted

    Aug 13, 2015
    555
    152
    30
    Original post has been updated with a request.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Michaela Joy

    Michaela Joy MDL Crazy Lady

    Jul 26, 2012
    4,077
    4,649
    150
    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...
  8. pf100

    pf100 MDL Expert

    Oct 22, 2010
    1,945
    3,155
    60
    I'm sure you already know you could block the dll in the firewall and learn to live with the ugly icon.