VslAccessPciDevice

INT64 __fastcall VslAccessPciDevice(
        CHAR a1,
        INT64 a2,
        UINT64 a3,
        UINT64 a4,
        INT64 a5,
        INT64 a6,
        UINT64 Size,
        UINT8 *Src){
  int v9; 
  int v10; 
  int v12; 
  unsigned int v13; 
  NTSTATUS v14; 
  unsigned int v15; 
  INT64 result; 
  CHAR v18; 
  int v19; 
  int v20; 
  int v21; 
  int v22; 
  int v23; 
  size_t v24; 
  UINT8 dst[72]; 
  v9 = a2;
  v10 = a3;
  v12 = a4;
  memset((INT64)&result, 0i64);
  v22 = a5;
  v19 = v9;
  v13 = Size;
  v20 = v10;
  v14 = 0;
  v23 = a6;
  v18 = a1;
  v21 = v12;
  while( v13 && v14 >= 0 )
  {
    v15 = 64;
    if( v13 < 0x40 )
      v15 = v13;
    LODWORD(v24) = v15;
    if( a1 )
      memmove(dst, Src, v15);
    v14 = VslpEnterIumSecureMode(2u, 264, 0i64, (INT64)&result);
    if( v14 >= 0 )
    {
      if( !a1 )
        memmove(Src, dst, (unsigned int)v24);
      Src += (unsigned int)v24;
      v13 -= v24;
      v23 += v24;
    }
  }
  return(unsigned int)v14;
}

Referenced by:

No references.