It seems that the delay is caused by the line:
Code = WaitForMultipleObjects(2, Handles, FALSE, INFINITE);
The NativeInjectionEntryPoint is also invoked 15 sec later.
Running in Administrator mode changes nothing. I also tried to put things like this:
but that changes nothing too.
If someone wants to try to reproduce, try any Origin game with "Origin overlay" enabled.
As I understand Origin in game overlay uses some form of hooking too, maybe there is a collision with easyhook.