Function at 0x412590
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x34
mov eax, dword [0x47e378]
xor eax, esp
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x38]
push ebx
xor ebx, ebx
cmp edx, ebx
je 0x412694
mov eax, edx
push esi
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4125c3
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.00401860
lea eax, [esp + 0xc]
push eax
push 0x20019
push ebx
push str.SOFTWAREIntelDisplayigfxcuiigfxcfg
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
pop esi
jne 0x412664
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push ebx
push str.SchemeCheck
push ecx
mov dword [esp + 0x2c], 4
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x412655
cmp dword [esp + 0xc], ebx
je 0x412655
lea ecx, [esp + 0x18]
call fcn.00401640
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00454162
add esp, 0x34
ret
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 8], ebx
push 1
push 0xffffffffffffffff
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x10], 0x3a
call fcn.00411680
cmp eax, 0xffffffff
je 0x4126a6
cmp dword [esp + 0x30], 0x10
jb 0x412694
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0045389c
add esp, 4
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00454162
add esp, 0x34
ret
push 1
push 0xffffffffffffffff
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x10], 0x2a
call fcn.00411680
cmp eax, 0xffffffff
je 0x4126d0
cmp dword [esp + 0x30], 0x10
jb 0x412694
mov eax, dword [esp + 0x1c]
push eax
jmp 0x41268c
push 1
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x10], 0x3f
call fcn.00411680
cmp eax, 0xffffffff
lea ecx, [esp + 0x18]
jne 0x412726
push 1
push eax
lea edx, [esp + 0xc]
push edx
mov byte [esp + 0x10], 0x22
call fcn.00411680
cmp eax, 0xffffffff
lea ecx, [esp + 0x18]
jne 0x412726
push 1
push eax
lea eax, [esp + 0xc]
push eax
mov byte [esp + 0x10], 0x3c
call fcn.00411680
cmp eax, 0xffffffff
je 0x41273d
lea ecx, [esp + 0x18]
call fcn.00401640
mov ecx, dword [esp + 0x34]
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00454162
add esp, 0x34
ret
push 1
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x10], 0x3e
call fcn.00411680
cmp eax, 0xffffffff
lea ecx, [esp + 0x18]
jne 0x412726
push 1
push eax
lea edx, [esp + 0xc]
push edx
mov byte [esp + 0x10], 0x7c
call fcn.00411680
cmp eax, 0xffffffff
lea ecx, [esp + 0x18]
jne 0x412726
push 1
push eax
lea eax, [esp + 0xc]
push eax
mov byte [esp + 0x10], 0x5c
call fcn.00411680
cmp eax, 0xffffffff
jne 0x412722
push 1
push eax
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x10], 0x2f
call fcn.00411680
cmp eax, 0xffffffff
lea ecx, [esp + 0x18]
jne 0x412726
push 1
push eax
lea edx, [esp + 0xc]
push edx
mov byte [esp + 0x10], 0x2d
call fcn.00411680
cmp eax, 0xffffffff
lea ecx, [esp + 0x18]
jne 0x412726
push 1
push eax
lea eax, [esp + 0xc]
push eax
mov byte [esp + 0x10], 0x7e
call fcn.00411680
cmp eax, 0xffffffff
jne 0x412722
push 1
push eax
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x10], 0x21
call fcn.00411680
cmp eax, 0xffffffff
lea ecx, [esp + 0x18]
jne 0x412726
push 1
push eax
lea edx, [esp + 0xc]
push edx
mov byte [esp + 0x10], 0x40
call fcn.00411680
cmp eax, 0xffffffff
lea ecx, [esp + 0x18]
jne 0x412726
push 1
push eax
lea eax, [esp + 0xc]
push eax
mov byte [esp + 0x10], 0x23
call fcn.00411680
cmp eax, 0xffffffff
jne 0x412722
push 1
push eax
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x10], 0x24
call fcn.00411680
cmp eax, 0xffffffff
lea ecx, [esp + 0x18]
jne 0x412726
push 1
push eax
lea edx, [esp + 0xc]
push edx
mov byte [esp + 0x10], 0x25
call fcn.00411680
cmp eax, 0xffffffff
lea ecx, [esp + 0x18]
jne 0x412726
push 1
push eax
lea eax, [esp + 0xc]
push eax
mov byte [esp + 0x10], 0x5e
call fcn.00411680
cmp eax, 0xffffffff
jne 0x412722
push 1
push eax
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x10], 0x26
call fcn.00411680
cmp eax, 0xffffffff
lea ecx, [esp + 0x18]
jne 0x412726
push 1
push eax
lea edx, [esp + 0xc]
push edx
mov byte [esp + 0x10], 0x28
call fcn.00411680
cmp eax, 0xffffffff
lea ecx, [esp + 0x18]
jne 0x412726
push 1
push eax
lea eax, [esp + 0xc]
push eax
mov byte [esp + 0x10], 0x29
call fcn.00411680
cmp eax, 0xffffffff
jne 0x412722
push 1
push eax
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x10], 0x60
call fcn.00411680
cmp eax, 0xffffffff
lea ecx, [esp + 0x18]
jne 0x412726
push eax
push 0x46cab8
call fcn.00411730
cmp eax, 0xffffffff
lea ecx, [esp + 0x18]
jne 0x412726
push 1
push eax
lea edx, [esp + 0xc]
push edx
mov byte [esp + 0x10], 0x20
call fcn.00411680
cmp eax, 0xffffffff
je 0x412637
cmp dword [esp + 0x2c], 1
jne 0x412637
jmp 0x412722