benilla-re systems structs docs

s_reportBusy

global · storm

Address
0xc5a430 · 4 bytes, up to 0xc5a433
Type
uint32_t
Meaning
Holds the busy counter the crash dump and two report writers take with InterlockedIncrement
Confidence
verified, proof one
Finding
storm/errorlog#crash-dump

Finding: Crash dump in storm: error logs and crash dumps

0x66c9c0(file, exception, count, strings) writes a minidump from a thread of its own when no other report writer holds their shared busy counter, after making sure psapi.dll is loaded, waits for the thread and returns MiniDumpWriteDump's answer, or 0. The thread calls it for the current process with the type 0x40, the exception and the current thread's id when an exception is given, and each non-null string, up to 16, as a user stream of type 0x1000 + i holding the string and its terminator. The register section of the text report, x86 Registers, prints EAX to ESI, EDI to FLG and the six segment registers from a thread context.

The derivation is in the doc.