Newer
Older
AMI-Aptio-BIOS-Reversed / LenovoServerPkg / Driver / LnvDriverPei / StrSizeInternal.c
@Ajax Dong Ajax Dong 2 days ago 403 bytes Full restructure
unsigned int __thiscall StrSizeInternal(char *%04d_%02d_%02d_%02d:%02d:%02d_:_%a.)
{
  unsigned int n0xF4240; // eax

  n0xF4240 = 0;
  if ( %04d_%02d_%02d_%02d:%02d:%02d_:_%a. && *%04d_%02d_%02d_%02d:%02d:%02d_:_%a. )
  {
    while ( n0xF4240 < 0xF4240 )
    {
      if ( !*(%04d_%02d_%02d_%02d:%02d:%02d_:_%a. + ++n0xF4240) )
        return n0xF4240;
    }
    return 1000001;
  }
  return n0xF4240;
}