I could reproduce the issue once again and it turns out that openAgent
installs a hook called OsHookDll_x86
from the same company.
This hook applies to DispatchHookW()
:
2:010> k ... 0049f2b0 75a86381 OsHookDll_x86!GetMessageHook+0x37 0049f2cc 75a780a9 USER32!DispatchHookW+0x38 ... 0049f544 5eff5709 USER32!PeekMessageW+0x108
which affects the Windows Message loop. The windows message loop is needed by any GUI application to run.
The hook sends Windows Messages to openAgent
via USER32!SendMessageW()
but openAgent
was suspended by Windows Error Reporting (WerFault
) and therefore cannot process such messages, resulting in a timeout:
1:009> k ChildEBP RetAddr 00138f90 75a79886 USER32!NtUserMessageCall+0x15 00138fcc 75a797f3 USER32!SendMessageTimeoutWorker+0xa6 00138ff4 59d6066c USER32!SendMessageTimeoutW+0x21 ...
I could not fully analyze the rest since during my debug session, everything else started to freeze as well. I assume that the hook tries to resend the message instead of returning, thus resulting in an endless loop.
!analyze -v
did not work due to Missing symbols for ntdll
.