Reading the source code

04/30/2019 11:56 jann0125#1
Hi can anyone help me reading the source code of a dynamic-link library? The DLL is attached. Thank you everyone
04/30/2019 22:54 kovuus#2
moved.
Please feel free to contact me for any questions regarding this moderation action.
04/30/2019 23:28 eX.pLos[!]ve#3
Quote:
Originally Posted by jann0125 View Post
Hi can anyone help me reading the source code of a dynamic-link library? The DLL is attached. Thank you everyone
You seem to have no idea what u are talking about, u cant just read the source code of any dll u want lol..

The only thing u might try is to decompile it into pseudocode which still can contain lots of shit in it that makes no sense.
05/01/2019 00:29 Jeoni#4
I was really bored, so here it is. At least DllMain and the function referenced there. Doubt that there is anything else of relevance in it.
Code:
DWORD WINAPI HackThread(LPVOID lpThreadParameter)
{
	while (true)
	{
		*(uint32_t*)0x2EF9B40 = 0x41700000;
		*(uint32_t*)0x2EF9B70 = 0x41700000;
		Sleep(100);
	}

	return 0;
}

BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
	if (fdwReason == DLL_PROCESS_ATTACH)
		CloseHandle(CreateThread(nullptr, 0, &HackThread, hinstDLL, 0, nullptr));

	return TRUE;
}
Didn't tried any of that and wrote it in notepad, so if there is a syntactic error, so be it. But the intentions there should be clear.
With best regards