CcRemapBcb
NTSTATUS __stdcall CcRemapBcb(PVOID Bcb){
unsigned __int64 v1;
__int64 v2;
__int16 v3;
v1 = (unsigned __int64)Bcb & 0xFFFFFFFFFFFFFFFEui64;
if( *(_WORD *)v1 == 762 )
{
v1 = *(_QWORD *)(*(_QWORD *)(v1 + 16) + 56i64);
}
else if( *(_WORD *)v1 == 765 )
{
v1 = *(_QWORD *)(v1 + 56);
}
if( !*(_WORD *)(v1 + 16) )
KeBugCheckEx(0x34u, 0x203Bui64, 0xFFFFFFFFC0000420ui64, 0i64, 0i64);
v2 = *(_QWORD *)(v1 + 8);
if( !*(_DWORD *)(v2 + 4) )
KeBugCheckEx(0x34u, 0x203Cui64, 0xFFFFFFFFC0000420ui64, 0i64, 0i64);
v3 = _InterlockedIncrement((volatile signed __int32 *)(v1 + 16));
if( !v3 )
KeBugCheckEx(0x34u, 0x9FFui64, 0xFFFFFFFFC0000420ui64, 0i64, 0i64);
if( v3 == 1 )
_InterlockedIncrement((volatile signed __int32 *)(v2 + 544));
return v1 | 1;
}Referenced by:
No references.