ExInitializeFastResource
NTSTATUS __stdcall ExInitializeFastResource(ULONG_PTR BugCheckParameter2, ULONG_PTR BugCheckParameter3){
char v2;
__int64 v3;
unsigned __int8 CurrentIrql;
__int16 v5;
v2 = BugCheckParameter3;
v3 = *(_QWORD *)&BugCheckParameter2;
CurrentIrql = KeGetCurrentIrql();
if( CurrentIrql > 1u )
KeBugCheckEx(0x1C6u, 0i64, (PVOID)CurrentIrql, (PVOID)1, 0i64);
if( (BugCheckParameter3 & 0xFFFFFFFE) != 0 )
KeBugCheckEx(0x1C6u, (PVOID)0x10, *(PVOID *)&BugCheckParameter2, (PVOID)BugCheckParameter3, 0i64);
ExpInitializeResource(*(INT64 *)&BugCheckParameter2);
v5 = *(_WORD *)(v3 + 26) | 1;
*(_WORD *)(v3 + 26) = v5;
if( (v2 & 1) != 0 )
*(_WORD *)(v3 + 26) = v5 | 0x40;
*(_QWORD *)(v3 + 56) = v3 + 48;
*(_QWORD *)(v3 + 48) = v3 + 48;
return ExpAddResourceToSystemResourceList(v3);
}Referenced by:
No references.