@himitsu , in your second screenshot your focused thread is not the main one, yet it does show what may be the culprit,
LdrInitializeThunk is the kernel function responsible for loading dynamic libraries, most likely and like when the an exe is loading and the
OS is preparing and loading its dependencies from its import table, some
DLL loaded by LoadLibrary might pass without this, yet this one might be called for the import for that
DLL, aka not directly.
On side note : i hate delayed loading import, it can lead to unpredictable cases.
Is there any thing useful with the main thread ? , as it is visible in the screen shot, which in a loop too, but with less intensive CPU usage at ~500 million cycle per second.
So your main thread might show the dead loop or at least more information.
extra resource:
https://stackoverflow.com/questions/...45012_43851743
, yet your case might be in loading and failed memory allocation, yet the main thread request loading again...