Function at 0x469120
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x334
mov eax, dword [0x639ac0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x204]
push edi
mov edi, dword [ebp + 8]
push 0x100
push 0
push eax
mov dword [ebp - 0x334], ebx
mov dword [ebp - 0x31c], 0
mov dword [ebp - 0x308], 0
mov dword [ebp - 0x318], 0
call fcn.004ff750
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.004ff750
push 0x100
lea eax, [ebp - 0x304]
push 0
push eax
call fcn.004ff750
mov ecx, edi
add esp, 0x24
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4691a0
sub ecx, edx
sar ecx, 1
je 0x469a8c
push esi
push str.System_
push edi
call fcn.004fe706
mov esi, eax
add esp, 8
test esi, esi
jne 0x4691e2
push str.SYSTEM_
push edi
call fcn.004fe706
mov esi, eax
add esp, 8
test esi, esi
je 0x469a8b
lea eax, [ebp - 0x308]
push eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push 1
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x324], eax
call eax
test eax, eax
je 0x469241
call fcn.00462cc0
test al, al
je 0x469a8b
push esi
push str.GetVideoInfoFromRegistry_failed_:__s
push 0x1b2dd00
call fcn.00432fe0
push 0x1b2dd00
call fcn.00459dc0
add esp, 0x10
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f66cd
mov esp, ebp
pop ebp
ret 8
call fcn.00462cc0
test al, al
je 0x469267
push esi
push str.GetVideoInfoFromRegistry_:__s
push 0x1b2dd00
call fcn.00432fe0
push 0x1b2dd00
call fcn.00459dc0
add esp, 0x10
imul ebx, ebx, 0xe68
push 0x80
mov dword [ebp - 0x32c], ebx
lea esi, [ebx + 0x64665c]
push esi
push str.Device_Description
push dword [ebp - 0x308]
call fcn.00469050
mov ecx, esi
add esp, 0x10
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x469297
sub ecx, edx
sar ecx, 1
jne 0x4692c1
push 0x80
push esi
push str.DriverDesc
push dword [ebp - 0x308]
call fcn.00469050
add esp, 0x10
call fcn.00462cc0
test al, al
je 0x4692e6
push str.GetVideoInfoFromRegistry_:_check_for_installed_drivers
push 0x1b2dd00
call fcn.00432fe0
push 0x1b2dd00
call fcn.00459dc0
add esp, 0xc
push 0x80
lea eax, [ebx + 0x646a5c]
push eax
push str.InstalledDisplayDrivers
push dword [ebp - 0x308]
call fcn.00469050
lea edx, [ebx + 0x64675c]
add esp, 0x10
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x469310
sub ecx, esi
sar ecx, 1
jne 0x46933a
push 0x80
push edx
push str.HardwareInformation.ChipType
push dword [ebp - 0x308]
call fcn.00468b80
add esp, 0x10
lea edx, [ebx + 0x64685c]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x469345
sub ecx, esi
sar ecx, 1
jne 0x46936f
push 0x80
push edx
push str.HardwareInformation.DACType
push dword [ebp - 0x308]
call fcn.00468b80
add esp, 0x10
lea edx, [ebx + 0x64695c]
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x469380
sub ecx, esi
sar ecx, 1
jne 0x4693aa
push 0x80
push edx
push str.HardwareInformation.BiosString
push dword [ebp - 0x308]
call fcn.00468b80
add esp, 0x10
mov eax, dword [ebx + 0x646b60]
lea esi, [ebx + 0x646b60]
or eax, dword [esi + 4]
jne 0x469444
push 4
push esi
push str.HardwareInformation.qwMemorysize
push dword [ebp - 0x308]
call fcn.00468b10
add esp, 0x10
test al, al
jne 0x469444
call fcn.00462cc0
test al, al
je 0x469405
lea eax, [ebx + 0x64665c]
push eax
push str.Failed_to_read_qwMemorysize__trying_Memorysize_:__s
push 0x1b2dd00
call fcn.00432fe0
push 0x1b2dd00
call fcn.00459dc0
add esp, 0x10
push 4
push esi
push str.HardwareInformation.Memorysize
push dword [ebp - 0x308]
call fcn.00468b10
add esp, 0x10
test al, al
jne 0x469444
call fcn.00462cc0
test al, al
je 0x469444
push str.Failed_to_read_Memorysize
push 0x1b2dd00
call fcn.00432fe0
push 0x1b2dd00
call fcn.00459dc0
add esp, 0xc
lea edx, [ebx + 0x646b68]
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x469450
sub ecx, esi
sar ecx, 1
jne 0x46947a
push 0x80
push edx
push str.ProviderName
push dword [ebp - 0x308]
call fcn.00469050
add esp, 0x10
lea esi, [ebx + 0x646c68]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x469485
sub ecx, edx
sar ecx, 1
jne 0x4694af
push 0x80
push esi
push str.DriverVersion
push dword [ebp - 0x308]
call fcn.00469050
add esp, 0x10
lea esi, [ebx + 0x646d68]
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4694c0
sub ecx, edx
sar ecx, 1
jne 0x4694ea
push 0x80
push esi
push str.DriverDate
push dword [ebp - 0x308]
call fcn.00469050
add esp, 0x10
lea eax, [ebp - 0x314]
mov dword [ebp - 0x310], 0
push eax
lea eax, [ebp - 0x310]
mov dword [ebp - 0x314], 4
push eax
xor esi, esi
push esi
push esi
push str.DriverInstalled
push dword [ebp - 0x308]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x469533
cmp dword [ebp - 0x314], 4
cmove esi, dword [ebp - 0x310]
cmp esi, 1
sete al
mov byte [ebx + 0x64665a], al
push dword [ebp - 0x308]
mov byte [ebx + 0x646258], 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x5c
push edi
call fcn.004fe47b
mov edi, eax
add esp, 8
test edi, edi
je 0x469a31
lea esi, [ebx + 0x64645a]
mov ecx, esi
mov dword [ebp - 0x330], esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x469580
sub ecx, edx
sar ecx, 1
je 0x469a31
lea eax, [ebx + 0x646e68]
mov ecx, eax
mov dword [ebp - 0x328], eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4695a6
sub ecx, edx
sar ecx, 1
jne 0x469a31
add edi, 2
mov dword [ebp - 0x320], edi
call fcn.00462cc0
test al, al
je 0x4695eb
push edi
push esi
push str.szDeviceID__s_:_tmpKeyID__s_n
push 0x1b2dd00
call fcn.00432fe0
push 0x1b2dd00
call fcn.00459dc0
add esp, 0x14
push esi
lea eax, [ebp - 0x104]
push str.SYSTEMCurrentControlSetEnum_s
push eax
call fcn.00438840
add esp, 0xc
lea eax, [ebp - 0x308]
push eax
push 8
push 0
lea eax, [ebp - 0x104]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [ebp - 0x324]
test eax, eax
jne 0x469a31
mov dword [ebp - 0x310], 0x80
call fcn.00462cc0
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test al, al
je 0x4696e1
lea eax, [ebp - 0x104]
push eax
push str.Opened__s_n
push 0x1b2dd00
call fcn.00432fe0
push 0x1b2dd00
call fcn.00459dc0
add esp, 0x10
lea eax, [ebp - 0x310]
xor esi, esi
push esi
push esi
push esi
push esi
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x308]
call edi
test eax, eax
jne 0x4696e1
nop word [eax + eax]
lea eax, [ebp - 0x204]
push eax
push str.All:_Enum__s_n
push 0x1b2dd00
call fcn.00432fe0
push 0x1b2dd00
call fcn.00459dc0
add esp, 0x10
mov dword [ebp - 0x310], 0x80
lea eax, [ebp - 0x310]
inc esi
push 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x308]
call edi
test eax, eax
je 0x469690
push dword [ebp - 0x320]
mov byte [ebp - 0x309], 0
call fcn.0052c91d
add esp, 4
mov dword [ebp - 0x310], 0x80
mov ebx, eax
lea eax, [ebp - 0x310]
push 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x204]
push eax
push ebx
push dword [ebp - 0x308]
call edi
mov esi, eax
mov dword [ebp - 0x314], esi
test esi, esi
jne 0x469a1f
cmp byte [ebp - 0x309], 0
jne 0x469a1f
call fcn.00462cc0
test al, al
je 0x46976a
push dword [ebp - 0x320]
push ebx
push str.Count__d:__s_n
push 0x1b2dd00
call fcn.00432fe0
push 0x1b2dd00
call fcn.00459dc0
add esp, 0x14
test esi, esi
jne 0x469a1f
call fcn.00462cc0
test al, al
je 0x46979e
lea eax, [ebp - 0x204]
push eax
push str.Enum__s_n
push 0x1b2dd00
call fcn.00432fe0
push 0x1b2dd00
call fcn.00459dc0
add esp, 0x10
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x330]
push 0x5be5d4
push dword [ebp - 0x328]
call fcn.00438840
lea edi, [ebp - 0x104]
add esp, 0x10
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x4697d0
mov eax, dword [0x56a7e4]
lea edx, [ebp - 0x204]
mov dword [edi], eax
mov esi, edx
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4697f0
lea edi, [ebp - 0x104]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x469806
mov ecx, edx
lea eax, [ebp - 0x31c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push eax
push 1
mov ecx, edx
lea eax, [ebp - 0x104]
push 0
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x324]
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov esi, dword [ebp - 0x314]
test eax, eax
jne 0x469731
push 0x80
lea eax, [ebp - 0x304]
push eax
push str.Service
push dword [ebp - 0x31c]
call fcn.00469050
add esp, 0x10
cmp al, 1
jne 0x469731
lea eax, [ebp - 0x304]
push eax
lea eax, [ebp - 0x104]
push str.SYSTEMCurrentControlSet_services_sEnum
push eax
call fcn.00438840
add esp, 0xc
call fcn.00462cc0
test al, al
je 0x4698bb
lea eax, [ebp - 0x104]
push eax
push str.Open_service__s_n
push 0x1b2dd00
call fcn.00432fe0
push 0x1b2dd00
call fcn.00459dc0
add esp, 0x10
lea eax, [ebp - 0x318]
push eax
push 1
push 0
lea eax, [ebp - 0x104]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x469a05
mov edi, dword [ebp - 0x328]
xor esi, esi
mov dword [ebp - 0x310], 0x80
xor ebx, ebx
mov dword [ebp - 0x314], esi
nop word [eax + eax]
cmp byte [ebp - 0x309], 0
jne 0x4699f7
lea eax, [ebp - 0x310]
mov dword [ebp - 0x310], 0x80
push eax
lea eax, [ebp - 0x304]
push eax
push 0
push 0
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x204]
push eax
push ebx
push dword [ebp - 0x318]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov esi, eax
mov dword [ebp - 0x314], esi
call fcn.00462cc0
test al, al
je 0x469978
lea eax, [ebp - 0x204]
push eax
push str.Enum_value__s_n
push 0x1b2dd00
call fcn.00432fe0
push 0x1b2dd00
call fcn.00459dc0
add esp, 0x10
test esi, esi
jne 0x4699c3
lea eax, [ebp - 0x304]
mov ecx, edi
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4699aa
test dx, dx
je 0x4699a6
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4699aa
add ecx, 4
add eax, 4
test dx, dx
jne 0x469984
xor eax, eax
jmp 0x4699af
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4699c3
mov byte [ebp - 0x309], 1
call fcn.00462cc0
test al, al
jne 0x4699da
inc ebx
test esi, esi
je 0x469900
push dword [ebp - 0x318]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x469a0b
push str.Found_match_n
push 0x1b2dd00
call fcn.00432fe0
push 0x1b2dd00
call fcn.00459dc0
add esp, 0xc
inc ebx
push dword [ebp - 0x318]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x469a0b
mov esi, dword [ebp - 0x314]
push dword [ebp - 0x31c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x469731
push dword [ebp - 0x308]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp - 0x32c]
call fcn.00462cc0
test al, al
je 0x469a8b
lea eax, [ebx + 0x646e68]
push eax
lea eax, [ebx + 0x646d68]
push eax
lea eax, [ebx + 0x646c68]
push eax
push dword [ebx + 0x646b64]
lea eax, [ebx + 0x646a5c]
push dword [ebx + 0x646b60]
push eax
lea eax, [ebx + 0x64665c]
push eax
push dword [ebp - 0x334]
push str.VideoReg:__d__s___s___lld___s___s___s
push 0x1b2dd00
call fcn.00432fe0
push 0x1b2dd00
call fcn.00459dc0
add esp, 0x2c
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004f66cd
mov esp, ebp
pop ebp
ret 8