Solved [HELP] loadlibrary themida protected

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

kjbmarr

Newbie
Jun 21, 2013
3
282
0
hey guys, i need help
i want to attach a dll to olly but the dll is packed/protected with themida.
i am trying to load the dll with this code
C++:
int _tmain(int argc, _TCHAR* argv[])
{
	HMODULE CShell = LoadLibraryA("CShell.dll");

	if( CShell )
	{
		printf("Successfully Loaded!");
	}
	else
	{
		int lastError = GetLastError();
		printf("Failed to Load (%d)", lastError );
	}

	return 0;
}
but it results with this error


are there other methods for loading it?
 

Szaka

Coder
Full Member
Nobleman
Mar 14, 2013
161
718
3
themida has nothing to do with dll injection. After unpacking stub is done, the program runs normally

Maybe try ready injector and if it works then look into your code to make it work also :)
 

kjbmarr

Newbie
Jun 21, 2013
3
282
0
i'm not talking about dll injection. i am trying to load the CShell.dll so that i can make a dump of it in olly.
i'm trying to hack a game but i need the addies in CShell.dll so what i'm trying to do is,
load the CShell.dll with my program loadlib.exe
attach it's process to olly
make dump of process CShell.dll to get the addresses

but my code above gives that runtime error.
so i'm asking if there's another way to code it so that the dll would be loaded.
 
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods