FsRtlPrivateResetLowestLockOffset
VOID __stdcall FsRtlPrivateResetLowestLockOffset(_LOCK_INFO *LockInfo){
__int64 v2;
__int64 v3;
__int64 j;
__int64 v5;
__int64 *v6;
__int64 *v7;
__int64 v8;
__int64 i;
v2 = 0i64;
v3 = *((_QWORD *)LockInfo + 4);
if( !v3 )
{
v5 = *((_QWORD *)LockInfo + 5);
if( !v5 )
{
v8 = -1i64;
goto LABEL_8;
}
LABEL_10:
for( i = *(_QWORD *)(v5 + 8); i; i = *(_QWORD *)(i + 8) )
v5 = i;
v7 = (__int64 *)(v5 + 24);
if( !v2 )
goto LABEL_7;
v6 = (__int64 *)(v2 + 8);
if( *v7 < (unsigned __int64)*v6 )
goto LABEL_7;
goto LABEL_6;
}
for( j = *(_QWORD *)(v3 + 8); j; j = *(_QWORD *)(j + 8) )
v3 = j;
v2 = *(_QWORD *)(v3 - 24);
v5 = *((_QWORD *)LockInfo + 5);
if( v5 )
goto LABEL_10;
v6 = (__int64 *)(v2 + 8);
LABEL_6:
v7 = v6;
LABEL_7:
v8 = *v7;
LABEL_8:
*(_QWORD *)LockInfo = v8;
}Referenced by:
FsRtlFastUnlockSingleExclusive
FsRtlFastUnlockSingleShared
FsRtlPrivateFastUnlockAll