PoFxInitPowerManagement

VOID __stdcall PoFxInitPowerManagement(){
  *(&stru_140C23628 + 4186) = 6;
  *(&stru_140C23628 + 511) = 9i64;
  *(&stru_140C23628 + 486) = (char *)&stru_140C23628 + 3880;
  *(&stru_140C23628 + 485) = (char *)&stru_140C23628 + 3880;
  *(&stru_140C23628 + 492) = (char *)&stru_140C23628 + 3928;
  *(&stru_140C23628 + 491) = (char *)&stru_140C23628 + 3928;
  *(&stru_140C23628 + 532) = (char *)&stru_140C23628 + 4248;
  *(&stru_140C23628 + 531) = (char *)&stru_140C23628 + 4248;
  *(&stru_140C23628 + 501) = PopFxResidentTimeoutRoutine;
  *(&stru_140C23628 + 521) = (char *)&stru_140C23628 + 4160;
  *(&stru_140C23628 + 520) = (char *)&stru_140C23628 + 4160;
  *(&stru_140C23628 + 525) = (char *)&stru_140C23628 + 4192;
  *(&stru_140C23628 + 524) = (char *)&stru_140C23628 + 4192;
  *(&stru_140C23628 + 506) = PopFxResidentTimeoutDpcRoutine;
  *(&stru_140C23628 + 513) = (char *)&stru_140C23628 + 4096;
  *(&stru_140C23628 + 512) = (char *)&stru_140C23628 + 4096;
  *(&stru_140C23628 + 494) = (char *)&stru_140C23628 + 3944;
  *(&stru_140C23628 + 493) = (char *)&stru_140C23628 + 3944;
  *(&stru_140C23628 + 488) = (char *)&stru_140C23628 + 3944;
  PopFxActiveIdleThreshold *= 10000;
  *(&stru_140C23628 + 489) = 0i64;
  *(&stru_140C23628 + 497) = 0i64;
  *(&stru_140C23628 + 530) = 0i64;
  *(&stru_140C23628 + 502) = 0i64;
  *(&stru_140C23628 + 499) = 0i64;
  *(&stru_140C23628 + 498) = 0i64;
  *(&stru_140C23628 + 519) = 0i64;
  *(&stru_140C23628 + 2092) = 0;
  *(&stru_140C23628 + 1047) = 1;
  *(&stru_140C23628 + 1006) = 275;
  *(&stru_140C23628 + 507) = 0i64;
  *(&stru_140C23628 + 510) = 0i64;
  *(&stru_140C23628 + 505) = 0i64;
  *(&stru_140C23628 + 514) = 0i64;
  *(&stru_140C23628 + 1037) = 0;
  *(&stru_140C23628 + 2072) = 0;
  if( (unsigned int)PopFxActiveIdleLevel >= 3 )
    PopFxActiveIdleLevel = 1;
  *(&stru_140C23628 + 549) = 0i64;
  memset((char *)&stru_140C23628 + 4281, 0i64, 0x6Fu);
  *(&stru_140C23628 + 4280) = 1;
  *(&stru_140C23628 + 1058) = PopSleepStudyDeviceAccountingLevel;
  if( *(&stru_140C23628 + 578) )
    *(&stru_140C23628 + 1058) = 0;
  *(&stru_140C23628 + 528) = (char *)&stru_140C23628 + 4216;
  *(&stru_140C23628 + 527) = (char *)&stru_140C23628 + 4216;
  PopFxInitializeWorkPool((char *)&stru_140C23628 + 4408, 0i64);
  *(&PopIrpWorkerControlEvent + 340) = 9i64;
  *(&PopIrpWorkerControlEvent + 337) = (char *)&PopIrpWorkerControlEvent + 2688;
  *(&PopIrpWorkerControlEvent + 336) = (char *)&PopIrpWorkerControlEvent + 2688;
  *(&PopIrpWorkerControlEvent + 362) = PopPepIdleTimeoutRoutine;
  *(&PopIrpWorkerControlEvent + 351) = PopPepIdleTimeoutDpcRoutine;
  *(&PopIrpWorkerControlEvent + 342) = (char *)&PopIrpWorkerControlEvent + 2728;
  *(&PopIrpWorkerControlEvent + 341) = (char *)&PopIrpWorkerControlEvent + 2728;
  qword_140C1E650 = 0i64;
  *(&PopIrpWorkerControlEvent + 356) = 0i64;
  *(&PopIrpWorkerControlEvent + 363) = 0i64;
  *(&PopIrpWorkerControlEvent + 360) = 0i64;
  *(&PopIrpWorkerControlEvent + 696) = 275;
  *(&PopIrpWorkerControlEvent + 352) = 0i64;
  *(&PopIrpWorkerControlEvent + 355) = 0i64;
  *(&PopIrpWorkerControlEvent + 350) = 0i64;
  *(&PopIrpWorkerControlEvent + 343) = 0i64;
  *(&PopIrpWorkerControlEvent + 695) = 0;
  *(&PopIrpWorkerControlEvent + 1388) = 0;
  *(&PopIrpWorkerControlEvent + 365) = 0i64;
  *(&stru_140C23628 + 975) = 0;
  PopFxPlatformInterface = 0i64;
  if( PopWatchdogResumeTimeout )
    *(&stru_140C23628 + 975) = 1000 * (PopWatchdogResumeTimeout + 120);
  *(&stru_140C23628 + 974) = 0;
  if( (_DWORD)PopWatchdogSleepTimeout )
    *(&stru_140C23628 + 974) = 1000 * ((_DWORD)PopWatchdogSleepTimeout + 120);
}

Referenced by:

PoInitSystem