int __thiscall ProgramSvidSid(int this)
{
unsigned __int8 n0x2C; // bl
int v3; // ecx
unsigned __int16 *v4; // edi
unsigned __int8 v6; // [esp+Fh] [ebp-1h]
DebugPrint(64, (int)"ProgramSvidSid() Start\n"); /*0xffd80613*/
sub_FFD8BE68(); /*0xffd8061a*/
if ( (unsigned __int8)sub_FFD8D59A() )
{
DebugPrint(64, (int)"DWR: ProgramSvidSid() End\n");
}
else
{
n0x2C = 0; /*0xffd8062f*/
if ( *(_WORD *)(this + 8) || *(_WORD *)(this + 10) ) /*0xffd80637*/
{
do /*0xffd80693*/
{
v3 = 3 * n0x2C; /*0xffd80640*/
v6 = byte_FFD97FFE[v3]; /*0xffd80658*/
v4 = (unsigned __int16 *)sub_FFD8CBBA(0, byte_FFD97FFC[v3], byte_FFD97FFD[v3]); /*0xffd80667*/
if ( (unsigned __int16)sub_FFD8CCA5(v4) == 0x8086 ) /*0xffd80678*/
*(_DWORD *)((char *)v4 + v6) = *(_DWORD *)(this + 8); /*0xffd8068b*/
++n0x2C; /*0xffd8068e*/
}
while ( n0x2C < 0x2Cu ); /*0xffd80693*/
}
DebugPrint(64, (int)"ProgramSvidSid() End\n"); /*0xffd8069c*/
}
return 0; /*0xffd806a3*/
}