Inject ME!!!

dll : shared library file for Windows.

Thought maybe the problem is related to “This program cannot be run in DOS mode”.
But it just meant that you should run the dll in Windows not in DOS env…
IDA
DLLMain → sub_1800011A0


If dll is loaded by file named dreamhack.exe, the if statement runs.
Solution
#include <windows.h>
int main() {
HMODULE hModule = LoadLibrary(TEXT("prob_rev.dll"));
FreeLibrary(hModule);
return 0;
}
Compile it, place it in the same directory as the dll, and run it!

🚩