__int64 __fastcall sub_1405D1CA0(__int64 a1, _QWORD *a2){
NTSTATUS v4;
v4 = WbAlloc(80);
if( v4 >= 0 )
{
memset(0i64, 0i64, 0x50u);
MEMORY[0] = 1i64;
MEMORY[8] = 0i64;
MEMORY[0x10] = 0i64;
MEMORY[0x18] = *(_DWORD *)(a1 + 8);
MEMORY[0x20] = *(_QWORD *)a1;
*a2 = 0i64;
}
sub_1405D2184(0i64);
return(unsigned int)v4;
}