Function at 0x1000e6b0
Capabilities:
Query or enumerate registry value
Resolve function by parsing pe exports
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x2e4
mov eax, dword [0x1002f810]
xor eax, ebp
mov dword [ebp + 0x70], eax
push ebx
push esi
mov esi, dword [ebp + 0x7c]
push edi
lea eax, [ebp - 0x100]
push eax
push str.SoftwareIntelDisplayigfxcuiigfxsrvc
mov ebx, ecx
xor edi, edi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xf4], ebx
mov dword [ebp - 0x108], 1
mov dword [ebp - 0x100], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1000e772
cmp dword [ebp - 0x100], edi
je 0x1000e772
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0xf8]
push eax
push edi
push str.IntelDefaultPers
push dword [ebp - 0x100]
mov dword [ebp - 0xf8], edi
mov dword [ebp - 0x104], 4
mov dword [ebp - 0xfc], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000e766
cmp dword [ebp - 0xf8], 4
jne 0x1000e766
mov al, byte [ebp - 0xfc]
not al
movzx eax, al
and eax, 1
mov dword [ebp - 0x108], eax
push dword [ebp - 0x100]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, word [esi + 0x34]
movzx ecx, word [esi + 0x36]
cmp ax, cx
jae 0x1000e78a
movzx eax, ax
mov word [esi + 0x34], cx
mov word [esi + 0x36], ax
movzx eax, word [esi + 0x78]
movzx ecx, word [esi + 0x7a]
cmp ax, cx
jae 0x1000e7a2
movzx eax, ax
mov word [esi + 0x78], cx
mov word [esi + 0x7a], ax
movzx eax, word [esi + 0xbc]
movzx ecx, word [esi + 0xbe]
cmp ax, cx
jae 0x1000e7c6
movzx eax, ax
mov word [esi + 0xbc], cx
mov word [esi + 0xbe], ax
movzx eax, word [esi + 0x100]
movzx ecx, word [esi + 0x102]
cmp ax, cx
jae 0x1000e7ea
movzx eax, ax
mov word [esi + 0x100], cx
mov word [esi + 0x102], ax
push 0x160
lea eax, [ebp - 0xf0]
push edi
push eax
call fcn.10016e50
add esp, 0xc
cmp dword [esi + 0x164], 1
jne 0x1000eaa2
test byte [esi + 0x18], 0xf0
je 0x1000e8b5
mov dword [ebx + 0x34], edi
mov dword [ebx + 0x44], edi
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0xf0]
push eax
mov ecx, ebx
call fcn.10001ad2
mov eax, dword [ebp - 0xd4]
cmp eax, dword [esi + 0x1c]
je 0x1000e872
mov dword [ebx + 0x34], 1
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0xd4], eax
mov eax, dword [esi + 0x28]
mov dword [ebp - 0xcc], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0xdc], eax
mov al, byte [esi + 0x14]
mov byte [ebp - 0x8f], al
mov al, byte [esi + 0x24]
mov byte [ebp - 0x8e], al
mov eax, dword [ebp - 0xc4]
cmp eax, dword [esi + 0x2c]
jne 0x1000e888
mov eax, dword [ebp - 0xc0]
cmp eax, dword [esi + 0x30]
je 0x1000e8a1
mov dword [ebx + 0x44], 1
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0xc4], eax
mov eax, dword [esi + 0x30]
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xf0]
push eax
mov ecx, ebx
call fcn.100021af
mov dword [esi + 0x164], edi
test byte [esi + 0x5c], 0xf0
je 0x1000e95e
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x48], edi
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0xf0]
push eax
mov ecx, ebx
call fcn.10001ad2
mov eax, dword [ebp - 0xd4]
cmp eax, dword [esi + 0x60]
je 0x1000e91b
mov dword [ebx + 0x38], 1
mov eax, dword [esi + 0x60]
mov dword [ebp - 0xd4], eax
mov eax, dword [esi + 0x6c]
mov dword [ebp - 0xcc], eax
mov eax, dword [esi + 0x64]
mov dword [ebp - 0xdc], eax
mov al, byte [esi + 0x58]
mov byte [ebp - 0x8f], al
mov al, byte [esi + 0x68]
mov byte [ebp - 0x8e], al
mov eax, dword [ebp - 0xc4]
cmp eax, dword [esi + 0x70]
jne 0x1000e931
mov eax, dword [ebp - 0xc0]
cmp eax, dword [esi + 0x74]
je 0x1000e94a
mov dword [ebx + 0x48], 1
mov eax, dword [esi + 0x70]
mov dword [ebp - 0xc4], eax
mov eax, dword [esi + 0x74]
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xf0]
push eax
mov ecx, ebx
call fcn.100021af
mov dword [esi + 0x164], edi
lea eax, [esi + 0xa0]
test byte [eax], 0xf0
je 0x1000ea00
mov dword [ebx + 0x3c], edi
mov eax, dword [eax]
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0xf0]
push eax
mov ecx, ebx
call fcn.10001ad2
mov eax, dword [ebp - 0xd4]
cmp eax, dword [esi + 0x60]
je 0x1000e9d4
mov dword [ebx + 0x3c], 1
mov eax, dword [esi + 0xa4]
mov dword [ebp - 0xd4], eax
mov eax, dword [esi + 0xb0]
mov dword [ebp - 0xcc], eax
mov eax, dword [esi + 0xa8]
mov dword [ebp - 0xdc], eax
mov al, byte [esi + 0x9c]
mov byte [ebp - 0x8f], al
mov al, byte [esi + 0xac]
mov byte [ebp - 0x8e], al
mov eax, dword [esi + 0xb4]
mov dword [ebp - 0xc4], eax
mov eax, dword [esi + 0xb8]
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xf0]
push eax
mov ecx, ebx
call fcn.100021af
mov dword [esi + 0x164], edi
lea eax, [esi + 0xe4]
test byte [eax], 0xf0
je 0x1000eaa2
mov dword [ebx + 0x40], edi
mov eax, dword [eax]
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0xf0]
push eax
mov ecx, ebx
call fcn.10001ad2
mov eax, dword [ebp - 0xd4]
cmp eax, dword [esi + 0x60]
je 0x1000ea76
mov dword [ebx + 0x40], 1
mov eax, dword [esi + 0xe8]
mov dword [ebp - 0xd4], eax
mov eax, dword [esi + 0xf4]
mov dword [ebp - 0xcc], eax
mov eax, dword [esi + 0xec]
mov dword [ebp - 0xdc], eax
mov al, byte [esi + 0xe0]
mov byte [ebp - 0x8f], al
mov al, byte [esi + 0xf0]
mov byte [ebp - 0x8e], al
mov eax, dword [esi + 0xf8]
mov dword [ebp - 0xc4], eax
mov eax, dword [esi + 0xfc]
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xf0]
push eax
mov ecx, ebx
call fcn.100021af
mov dword [esi + 0x164], edi
push esi
mov ecx, ebx
call fcn.1000b4a0
mov ebx, eax
cmp ebx, edi
jl 0x1000ef46
mov ebx, 0xa0
push ebx
call fcn.1001985b
push ebx
mov edi, eax
push 0
push edi
call fcn.10016e50
mov ecx, dword [ebp - 0xf4]
add esp, 0x10
lea eax, [edi + 4]
push eax
push dword [esi + 0x10]
call fcn.10002f11
mov ecx, dword [ebp - 0xf4]
lea eax, [edi + 0x10]
push eax
push 2
push dword [esi + 0x18]
call fcn.100123b8
mov ecx, dword [ebp - 0xf4]
lea eax, [edi + 0x34]
push eax
push 2
push dword [esi + 0x5c]
call fcn.100123b8
mov ecx, dword [ebp - 0xf4]
lea eax, [edi + 0x58]
push eax
push 2
push dword [esi + 0xa0]
call fcn.100123b8
mov ecx, dword [ebp - 0xf4]
lea eax, [edi + 0x7c]
push eax
push 2
push dword [esi + 0xe4]
call fcn.100123b8
mov ax, word [esi + 0x3a]
mov word [edi + 0x28], ax
mov ax, word [esi + 0x38]
mov word [edi + 0x2a], ax
mov ax, word [esi + 0x34]
mov word [edi + 0x24], ax
mov ax, word [esi + 0x36]
xor ecx, ecx
mov word [edi + 0x26], ax
cmp word [esi + 0x44], cx
je 0x1000eb61
or dword [edi + 0x2c], 1
mov eax, dword [esi + 0x124]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x144]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x154]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x134]
mov dword [edi + 0x18], eax
mov ax, word [esi + 0x7e]
mov word [edi + 0x4c], ax
mov ax, word [esi + 0x7c]
mov word [edi + 0x4e], ax
mov ax, word [esi + 0x78]
mov word [edi + 0x48], ax
mov ax, word [esi + 0x7a]
mov word [edi + 0x4a], ax
cmp word [esi + 0x88], cx
je 0x1000ebb2
or dword [edi + 0x50], 1
mov eax, dword [esi + 0x128]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x148]
mov dword [edi + 0x40], eax
mov eax, dword [esi + 0x158]
mov dword [edi + 0x44], eax
mov eax, dword [esi + 0x138]
mov dword [edi + 0x3c], eax
mov ax, word [esi + 0xc2]
mov word [edi + 0x70], ax
mov ax, word [esi + 0xc0]
mov word [edi + 0x72], ax
mov ax, word [esi + 0xbc]
mov word [edi + 0x6c], ax
mov ax, word [esi + 0xbe]
mov word [edi + 0x6e], ax
cmp word [esi + 0xcc], cx
je 0x1000ec0f
or dword [edi + 0x74], 1
mov eax, dword [esi + 0x12c]
mov dword [edi + 0x5c], eax
mov eax, dword [esi + 0x14c]
mov dword [edi + 0x64], eax
mov eax, dword [esi + 0x15c]
mov dword [edi + 0x68], eax
mov eax, dword [esi + 0x13c]
mov dword [edi + 0x60], eax
mov ax, word [esi + 0x106]
mov word [edi + 0x94], ax
mov ax, word [esi + 0x104]
mov word [edi + 0x96], ax
mov ax, word [esi + 0x100]
mov word [edi + 0x90], ax
mov ax, word [esi + 0x102]
mov word [edi + 0x92], ax
cmp word [esi + 0x110], cx
je 0x1000ec7b
or dword [edi + 0x98], 1
mov eax, dword [esi + 0x130]
mov dword [edi + 0x80], eax
mov eax, dword [esi + 0x150]
mov dword [edi + 0x88], eax
mov eax, dword [esi + 0x160]
mov dword [edi + 0x8c], eax
mov eax, dword [esi + 0x140]
mov dword [edi + 0x84], eax
mov eax, dword [esi + 0x10]
cmp eax, 8
je 0x1000ecc1
cmp eax, 0x10
je 0x1000ecc1
cmp eax, 0x40
jne 0x1000ee69
push 0x168
push ecx
lea eax, [ebp - 0x270]
push eax
call fcn.10016e50
mov ecx, dword [ebp - 0xf4]
add esp, 0xc
lea eax, [ebp - 0x270]
push eax
call fcn.1000bd2e
and dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 1
lea eax, [ebp - 0x258]
lea ecx, [esi + 0x18]
mov edx, dword [ecx]
cmp edx, dword [eax]
jne 0x1000ed1f
inc dword [ebp - 0xfc]
add ecx, 0x44
add eax, 0x44
cmp dword [ebp - 0xfc], 4
jl 0x1000ed02
jmp 0x1000ed26
and dword [ebp - 0xf8], 0
mov eax, dword [esi + 0x10]
cmp dword [ebp - 0x260], eax
jne 0x1000ed3c
mov ecx, dword [ebp - 0x214]
cmp ecx, dword [esi + 0x18]
je 0x1000ed57
cmp eax, 0x10
je 0x1000ed4a
cmp eax, 0x40
jne 0x1000ee69
cmp dword [ebp - 0xf8], 0
jne 0x1000ee69
push 4
lea eax, [ebp - 0xf8]
push 0
push eax
call fcn.10016e50
add esp, 0xc
push 0x21
pop eax
push esi
lea ecx, [ebp - 0xf8]
push ecx
mov ecx, dword [ebp - 0xf4]
push 4
push eax
mov dword [ebp - 0xf8], eax
call fcn.100044e7
push ebx
mov dword [ebp - 0x260], 1
call fcn.1001985b
push 0xa0
mov ebx, eax
push 0
push ebx
call fcn.10016e50
mov ecx, dword [ebp - 0xf4]
add esp, 0x10
lea eax, [ebx + 4]
push eax
push dword [ebp - 0x260]
call fcn.10002f11
mov ecx, dword [ebp - 0xf4]
lea eax, [ebx + 0x10]
push eax
push 2
push dword [ebp - 0x258]
call fcn.100123b8
mov ax, word [ebp - 0x236]
mov word [ebx + 0x28], ax
mov ax, word [ebp - 0x238]
mov word [ebx + 0x2a], ax
mov ax, word [ebp - 0x23c]
mov word [ebx + 0x24], ax
mov ax, word [ebp - 0x23a]
mov word [ebx + 0x26], ax
cmp word [ebp - 0x22c], 0
je 0x1000ee11
or dword [ebx + 0x2c], 1
mov eax, dword [ebp - 0x14c]
movzx ecx, word [ebx + 0x26]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebx + 0x18], eax
movzx eax, word [ebx + 0x24]
cmp ax, cx
jae 0x1000ee4d
movzx eax, ax
mov word [ebx + 0x24], cx
mov word [ebx + 0x26], ax
mov ecx, dword [ebp - 0xf4]
push 1
lea eax, [ebp - 0x270]
push eax
push ebx
call fcn.1000c1a4
push ebx
call fcn.1001977e
pop ecx
mov ecx, dword [ebp - 0xf4]
push edi
push esi
call fcn.1000e4d1
mov ebx, eax
neg ebx
sbb ebx, ebx
push edi
and ebx, 0x80004005
call fcn.1001977e
mov eax, dword [esi + 0x10]
cmp eax, 8
pop ecx
je 0x1000ee9f
cmp eax, 0x10
je 0x1000ee9f
cmp eax, 0x40
jne 0x1000ef44
mov eax, dword [esi + 0x124]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x1000eeb1
cmp eax, 4
jne 0x1000eec1
movzx eax, word [esi + 0x34]
mov dx, word [esi + 0x36]
mov word [esi + 0x34], dx
mov word [esi + 0x36], ax
mov eax, dword [esi + 0x128]
cmp eax, ecx
je 0x1000eed0
cmp eax, 4
jne 0x1000eee0
movzx eax, word [esi + 0x78]
mov dx, word [esi + 0x7a]
mov word [esi + 0x78], dx
mov word [esi + 0x7a], ax
mov eax, dword [esi + 0x12c]
cmp eax, ecx
je 0x1000eeef
cmp eax, 4
jne 0x1000ef0b
movzx eax, word [esi + 0xbc]
mov dx, word [esi + 0xbe]
mov word [esi + 0xbc], dx
mov word [esi + 0xbe], ax
mov eax, dword [esi + 0x130]
cmp eax, ecx
je 0x1000ef1a
cmp eax, 4
jne 0x1000ef36
movzx eax, word [esi + 0x100]
mov cx, word [esi + 0x102]
mov word [esi + 0x100], cx
mov word [esi + 0x102], ax
mov ecx, dword [ebp - 0xf4]
push esi
call fcn.1000c35c
mov ebx, eax
xor edi, edi
cmp dword [ebp - 0x108], edi
jne 0x1000f019
lea eax, [ebp - 0xfc]
push eax
push 0xf003f
push edi
push str.SoftwareIntelDisplayigfxcuiConfigurations
push SysReAllocString
mov dword [ebp - 0xfc], edi
mov dword [ebp - 0x104], edi
mov dword [ebp - 0xf4], edi
mov dword [ebp - 0xf8], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000effa
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0x104]
push eax
push edi
mov esi, str.TMMOffForTVStdChangeWA
push esi
push dword [ebp - 0xfc]
mov dword [ebp - 0xf8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000efee
test byte [ebp - 0xf4], 1
je 0x1000efee
push dword [ebp - 0xf8]
or dword [ebp - 0xf4], 2
lea eax, [ebp - 0xf4]
push eax
push 4
push edi
push esi
push dword [ebp - 0xfc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0xfc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.PersistWndName
push str.PersistClass
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, edi
je 0x1000f019
push edi
push edi
push 0x7e
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [ebp + 0x70]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.10016eca
add ebp, 0x74
leave
ret 4