PopDiagTraceSleepStudyStart
VOID __stdcall PopDiagTraceSleepStudyStart(){
NTSTATUS ModernStandbyTransitionReason;
char v1;
NTSTATUS v2;
__int64 v3;
_EVENT_DATA_DESCRIPTOR UserData;
char *v5;
int v6;
int v7;
int *v8;
int v9;
int v10;
_MMPFN **v11;
int v12;
int v13;
int *v14;
int v15;
int v16;
__int64 *v17;
int v18;
int v19;
__int64 v20;
int v21;
int v22;
__int64 *v23;
int v24;
int v25;
if( PopDiagHandleRegistered )
{
if( EtwEventEnabled(PopDiagHandle, &POP_ETW_EVENT_SPM_SCENARIO_START) )
{
UserData.Reserved = 0;
v7 = 0;
v3 = *(_QWORD *)&KUSER_SHARED_DATA.SystemTime.LowPart;
UserData.Ptr = PopWdiCurrentScenario;
v1 = PopWdiCurrentScenarioInstanceId;
v5 = &v1;
UserData.Size = 16;
v6 = 1;
ModernStandbyTransitionReason = PopGetModernStandbyTransitionReason(1, 0i64);
v10 = 0;
v13 = 0;
v16 = 0;
v19 = 0;
v22 = 0;
v25 = 0;
v2 = ModernStandbyTransitionReason;
v9 = 4;
v8 = &v2;
v11 = &Pfn1;
v14 = &dword_140C4FD10;
v17 = &PopWdiCurrentScenarioInstanceId;
v20 = 0xFFFFF780000002C4ui64;
v23 = &v3;
v12 = 4;
v15 = 4;
v21 = 4;
v18 = 8;
v24 = 8;
EtwWrite(PopDiagHandle, &POP_ETW_EVENT_SPM_SCENARIO_START, (_LPCGUID)&ActivityId, 8u, &UserData);
}
}
}Referenced by:
PopSleepstudyScenarioStopWorker
PopSleepstudyStartNextSession