__int64 __fastcall PnprRecopyAddress(__int64 a1, unsigned int a2){
unsigned __int64 v2;
unsigned __int64 v3;
unsigned __int64 v4;
INT64 v5;
__int64 result;
v2 = a1 & 0xFFFFFFFFFFFFF000ui64;
v3 = a1 + a2;
while( v2 < v3 )
{
LODWORD(v4) = MmGetPhysicalAddress(v2);
LOBYTE(v5) = 1;
result = PnprMarkOrMirrorPages(v4, 0x1000ui64, v5);
if( (int)result < 0 )
return result;
v2 += 4096i64;
}
return 0i64;
}