Hi, I have tried the latest version 13.6.2 and it still doesn't work.
However, I think I finally found the root cause of the problem. (Forgive me for researching dopuslib using disassembly tools)
The problem is that, for chrome.exe, the DllMain will return early. So the TlsAlloc will not be called.This makes the tlsindex ( global variable dword_1801C0240) being the initial value which is 0.That is to say, DOpus uses a tlsindex allocated by chrome instead of the one allocated by itself.
After I change the string "chrome.exe" in x64dbg to something else. The bug disappears.
So, why is the initialization of chrome skipped when fdwReason==1?