Function at 0x437860
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x324
mov eax, dword [0x47e378]
xor eax, esp
mov dword [esp + 0x320], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, ecx
mov eax, dword [esi + 4]
push 0x113f
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push 1
push eax
call ebx
mov ecx, dword [esi + 4]
push 0x113d
push ecx
call edi
push 1
push eax
call ebx
xor eax, eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
lea ebp, [esi + 0x44]
mov dword [ebp], eax
mov dword [ebp + 4], eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x18], eax
mov edx, dword [esi + 4]
push 0x113f
push edx
call edi
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x14b
push eax
call ebx
mov eax, dword [esi + 4]
push 0x113d
push eax
call edi
push 0
push 0
push 0x14b
push eax
call ebx
push 0xff
lea ecx, [esp + 0x34]
push 0
push ecx
call fcn.004541e0
push 0xff
lea edx, [esp + 0x140]
push 0
push edx
call fcn.004541e0
push 0xff
lea eax, [esp + 0x24c]
push 0
push eax
call fcn.004541e0
mov ecx, dword [esp + 0x35c]
mov edx, dword [esi + ecx*8 + 0x1de8]
push edx
call fcn.00410f40
mov ecx, dword [0x48bc18]
add esp, 0x28
push ecx
push 0xff
lea edx, [esp + 0x238]
push edx
push eax
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
push eax
call sub.hccutils.DLL_LoadSTRING
lea eax, [esi + 0x28]
add esp, 0x14
xor ebx, ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], eax
lea ecx, [ecx]
mov eax, dword [esi + 0x60]
mov edx, dword [ebx + eax + 8]
lea ecx, [ebx + eax]
mov eax, dword [esp + 0x338]
cmp edx, dword [esi + eax*8 + 0x1de8]
mov byte [esp + 0x17], 0
mov byte [esp + 0x16], 0
mov dword [esp + 0x20], ecx
jne 0x437afe
mov edx, dword [ecx]
xor eax, eax
lea ecx, [esi + 0x28]
cmp edx, dword [ecx]
je 0x4379d4
add eax, 1
add ecx, 4
cmp eax, 7
jl 0x4379c3
jmp 0x4379d9
mov byte [esp + 0x17], 1
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 4]
xor eax, eax
mov ecx, ebp
cmp edx, dword [ecx]
je 0x4379f5
add eax, 1
add ecx, 4
cmp eax, 7
jl 0x4379e4
jmp 0x4379fa
mov byte [esp + 0x16], 1
cmp byte [esp + 0x17], 0
jne 0x437a63
mov edx, dword [esi + 0x60]
mov eax, dword [ebx + edx]
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov edx, dword [esi + 0x60]
mov eax, dword [ebx + edx]
push eax
call fcn.00410e60
mov ecx, dword [0x48bc18]
add esp, 4
push ecx
push 0xff
lea edx, [esp + 0x38]
push edx
push eax
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
push eax
call sub.hccutils.DLL_LoadSTRING
mov eax, dword [esi + 4]
add esp, 0x14
push 0x113f
push eax
call edi
lea ecx, [esp + 0x30]
push ecx
push 0xffffffffffffffff
push 0x14a
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
add dword [esp + 0x10], 4
cmp byte [esp + 0x16], 0
jne 0x437ad6
mov edx, dword [esi + 0x60]
mov ecx, dword [ebx + edx + 4]
mov eax, dword [esp + 0x1c]
mov dword [eax], ecx
mov edx, dword [esi + 0x60]
add eax, 4
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + edx + 4]
push eax
call fcn.00410e60
mov ecx, dword [0x48bc18]
add esp, 4
push ecx
push 0xff
lea edx, [esp + 0x138]
push edx
push eax
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
push eax
call sub.hccutils.DLL_LoadSTRING
mov eax, dword [esi + 4]
add esp, 0x14
push 0x113d
push eax
call edi
lea ecx, [esp + 0x130]
push ecx
push 0xffffffffffffffff
push 0x14a
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xff
lea edx, [esp + 0x34]
push 0
push edx
call fcn.004541e0
push 0xff
lea eax, [esp + 0x140]
push 0
push eax
call fcn.004541e0
add esp, 0x18
add ebx, 0xc
cmp ebx, 0x690
jl 0x437990
mov ecx, dword [esp + 0x338]
cmp dword [esi + ecx*8 + 0x1de8], 8
mov ecx, esi
jne 0x437b2b
push 1
call fcn.00437520
xor ebx, ebx
jmp 0x437b33
xor ebx, ebx
push ebx
call fcn.00437520
cmp dword [0x48b730], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
jne 0x437cc5
mov eax, 1
mov dword [0x48b730], eax
mov edx, dword [esi + 0x60]
mov dword [esp + 0x10], ebx
cmp dword [edx + 0x698], eax
jne 0x437cc5
lea eax, [esp + 0x10]
push eax
push str.SoftwareIntelDisplayigfxcuiigfxcfg
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x437cc5
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x437cc5
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x30]
push ecx
push 0
push str.PrimaryDefault
mov ebx, 4
push eax
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x437c9c
cmp dword [esp + 0x28], ebx
jne 0x437c9c
mov ebx, dword [esp + 0x2c]
xor ecx, ecx
lea eax, [esi + 0x28]
mov edi, edi
mov edx, dword [eax]
cmp edx, ebx
jne 0x437bda
test edx, edx
jne 0x437bed
add ecx, 1
add eax, 4
cmp ecx, 7
jl 0x437bd0
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x437c2c
mov edx, dword [esi + 4]
push 0x113f
push edx
mov dword [esp + 0x20], ecx
call edi
mov ecx, dword [esp + 0x18]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ecx
push 0x14e
push eax
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + eax*4 + 0x28]
mov edx, dword [esi + 0x60]
mov dword [edx + 0x690], ecx
mov dword [esp + 0x20], 1
mov ecx, eax
mov edx, dword [ebp]
cmp edx, dword [esi + ecx*4 + 0x28]
je 0x437c69
cmp dword [esp + 0x20], 1
jne 0x437c69
mov eax, dword [esi + 4]
push 0x113d
push eax
call edi
push 0
push 0
push 0x14e
push eax
call ebx
mov ecx, dword [esi + 0x60]
mov edx, dword [ebp]
mov dword [ecx + 0x694], edx
mov dword [esp + 0x1c], 1
jmp 0x437ca2
cmp dword [esi + 0x48], 0
je 0x437ca2
mov eax, dword [esi + 4]
push 0x113d
push eax
call edi
push 0
push 1
push 0x14e
push eax
call ebx
mov ecx, dword [esi + 0x60]
mov edx, dword [esi + 0x48]
mov dword [ecx + 0x694], edx
mov dword [esp + 0x1c], 1
jmp 0x437ca2
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x20], 0
jne 0x437db3
cmp dword [esp + 0x1c], 0
jne 0x437db3
jmp 0x437ccb
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], ebp
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0x1c]
test eax, eax
je 0x437d0f
mov edx, dword [esi + 0x60]
cmp eax, dword [edx + 0x690]
jne 0x437d0f
mov eax, dword [esi + 4]
push 0x113f
push eax
call edi
mov ecx, dword [esp + 0x18]
push 0
push ecx
push 0x14e
push eax
call ebx
mov dword [esp + 0x20], 1
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
test eax, eax
je 0x437d46
mov ecx, dword [esi + 0x60]
cmp eax, dword [ecx + 0x694]
jne 0x437d46
mov edx, dword [esi + 4]
push 0x113d
push edx
call edi
mov ecx, dword [esp + 0x18]
push 0
push ecx
push 0x14e
push eax
call ebx
mov dword [esp + 0x1c], 1
mov eax, dword [esp + 0x18]
add dword [esp + 0x10], 4
add eax, 1
cmp eax, 7
mov dword [esp + 0x18], eax
jl 0x437cd7
cmp dword [esp + 0x20], 0
jne 0x437d89
mov edx, dword [esi + 4]
push 0x113f
push edx
call edi
push 0
push 0
push 0x14e
push eax
call ebx
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x28]
mov dword [eax + 0x690], ecx
cmp dword [esp + 0x1c], 0
jne 0x437db3
mov edx, dword [esi + 4]
push 0x113d
push edx
call edi
push 0
push 0
push 0x14e
push eax
call ebx
mov eax, dword [esi + 0x60]
mov ecx, dword [ebp]
mov dword [eax + 0x694], ecx
mov edx, dword [esi + 0x60]
mov eax, dword [esp + 0x338]
mov ecx, dword [esi + eax*8 + 0x1de8]
mov dword [edx + 0x698], ecx
mov edx, dword [esi + 0x60]
mov dword [edx + 0x69c], 2
mov eax, dword [esi + 0x60]
mov ecx, esi
mov dword [eax + 0x6a0], 1
call fcn.004373e0
mov ecx, dword [esp + 0x330]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00454162
add esp, 0x324
ret 4