Function at 0x4283c0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x450c88
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x469744]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
push edi
mov eax, dword [0x469744]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x68], esi
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
push str.PowrProf.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
push str.PowerRemovePowerSetting
push edi
mov dword [esp + 0x28], edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x24], eax
push str.Checking_for_existing_power_profiles
push 0x46a9d4
xor eax, eax
mov byte [esp + 0x70], 2
call fcn.0042d150
mov eax, dword [esp + 0x1c]
add esp, 8
cmp eax, esi
je 0x428458
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x14]
push eax
push 0xf003f
push esi
push str.SoftwareIntelGFX
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x4285f2
lea ecx, [esp + 0x28]
push ecx
mov eax, str.DPPE
lea ebx, [esp + 0x18]
call fcn.0042d6d0
test eax, eax
je 0x4285c5
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
sub ecx, ebx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
test al, 1
jne 0x4285b9
cmp eax, esi
jbe 0x4285a7
dec eax
shr eax, 1
add ebx, 0x1c
inc eax
mov dword [esp + 0x1c], eax
cmp dword [ebx - 8], 8
lea esi, [ebx - 0x1c]
jb 0x4284e3
mov eax, dword [esi]
jmp 0x4284e5
mov eax, esi
mov edi, dword [sym.imp.ole32.dll_CLSIDFromString]
lea edx, [esp + 0x38]
push edx
push eax
call edi
cmp dword [ebx + 0x14], 8
jb 0x4284fd
mov eax, dword [ebx]
jmp 0x4284ff
mov eax, ebx
lea ecx, [esp + 0x48]
push ecx
push eax
call edi
mov eax, dword [esp + 0x24]
mov edi, 0x32
test eax, eax
je 0x428522
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x4c]
push ecx
call eax
mov edi, eax
push str.__Removing_power_profile:
push 0x46a9d4
xor eax, eax
call fcn.0042d150
add esp, 8
cmp dword [ebx - 8], 8
jb 0x428540
mov eax, dword [esi]
jmp 0x428542
mov eax, esi
push eax
push str.____Setting:__s
push 0x46a9d4
xor eax, eax
call fcn.0042d150
add esp, 0xc
cmp dword [ebx + 0x14], 8
jb 0x428561
mov eax, dword [ebx]
jmp 0x428563
mov eax, ebx
push eax
push str.____Subgroup:__s
push 0x46a9d4
xor eax, eax
call fcn.0042d150
add esp, 0xc
test edi, edi
je 0x428594
push edi
push str.__Error:_0x_X
push 0x46a9d4
mov eax, 1
call fcn.0042d150
add esp, 0xc
add ebx, 0x38
dec dword [esp + 0x1c]
jne 0x4284d6
mov edi, dword [esp + 0x20]
xor esi, esi
mov edx, dword [esp + 0x14]
push str.DPPE
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x4285d9
push str.__Saved_DPPE_settings_not_configured_correctly
mov eax, 1
jmp 0x4285cc
push str.__No_power_profiles_found
xor eax, eax
push 0x46a9d4
call fcn.0042d150
add esp, 8
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x4285e8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x14], esi
jmp 0x428625
cmp eax, 2
jne 0x42860d
push str.__No_power_profiles_found
push 0x46a9d4
xor eax, eax
call fcn.0042d150
add esp, 8
jmp 0x428625
push eax
push str.__Error_retrieving_GFX_install_info._Error:_0x_X
push 0x46a9d4
mov eax, 2
call fcn.0042d150
add esp, 0xc
cmp edi, esi
je 0x428630
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp ebx, esi
je 0x428648
mov edi, dword [esp + 0x2c]
mov eax, ebx
call fcn.0040d800
push ebx
call fcn.00439c00
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x428657
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00438876
mov esp, ebp
pop ebp
ret