Function at 0x4e6cba
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x118
mov eax, 0x5a01bb
call fcn.0056beab
mov eax, dword [ebp + 8]
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x84]
push eax
push 9
xor ebx, ebx
push ebx
push str.SYSTEMCurrentControlSetEnumPCI
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x4e6d07
push str.Get_nVidia_Registry_failed_n
xor ecx, ecx
inc ecx
call fcn.0047feaf
pop ecx
xor al, al
jmp 0x4e7050
push 0x400
call fcn.0055d741
pop ecx
mov dword [ebp - 0x6c], eax
cmp eax, ebx
jne 0x4e6d20
push str.Allocate_memory_failed_in_GetRegInfo
jmp 0x4e6cf7
lea ecx, [ebp - 0x4c]
call fcn.0040379b
mov dword [ebp - 4], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x6c]
mov dword [ebp - 0x80], ebx
push ebx
jmp 0x4e6fa1
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push str.VEN_10DE
call edi
push eax
push str.VEN_10DE
push dword [ebp - 0x6c]
call fcn.00563019
add esp, 0xc
cmp eax, ebx
jne 0x4e6f90
push str.DEV_
push dword [ebp - 0x6c]
call fcn.0055f9a4
pop ecx
pop ecx
mov dword [ebp - 0x74], eax
cmp eax, ebx
je 0x4e6f90
push str.DEV_
call edi
mov ecx, dword [ebp - 0x74]
lea edi, [ecx + eax*2]
push 0x5fdaf0
push edi
call fcn.0055f9a4
pop ecx
pop ecx
cmp eax, ebx
je 0x4e6f90
sub eax, edi
sar eax, 1
push eax
mov ecx, edi
lea eax, [ebp - 0x68]
call fcn.00404d47
mov byte [ebp - 4], 3
mov ebx, eax
lea eax, [ebp - 0x4c]
call fcn.0040447e
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.004037d0
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x78]
push eax
push 9
push 0
push dword [ebp - 0x6c]
push dword [ebp - 0x84]
call edi
test eax, eax
jne 0x4e6f8e
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x6c]
mov dword [ebp - 0x70], 0x200
push ebx
push dword [ebp - 0x78]
call esi
test eax, eax
je 0x4e6e1d
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4e6f8e
lea eax, [ebp - 0x88]
push eax
push 9
push ebx
push dword [ebp - 0x6c]
push dword [ebp - 0x78]
call edi
test eax, eax
jne 0x4e6f8e
xor edi, edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x6c]
mov dword [ebp - 0x7c], edi
push edi
jmp 0x4e6e7e
push str.Control
push dword [ebp - 0x6c]
call fcn.00562782
pop ecx
pop ecx
cmp eax, edi
jne 0x4e6e6d
mov edi, dword [ebp - 0x8c]
lea ecx, [ebp - 0x4c]
call fcn.0040e182
xor edi, edi
inc dword [ebp - 0x7c]
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x6c]
push dword [ebp - 0x7c]
push dword [ebp - 0x88]
mov dword [ebp - 0x70], 0x200
call esi
mov dword [ebp - 0x74], eax
cmp eax, edi
je 0x4e6e4a
cmp eax, 0x103
jne 0x4e6eae
push str.Enum_h3rdKeyStr_ERROR_NO_MORE_ITEMS_n
push 4
pop ecx
call fcn.0047feaf
pop ecx
jmp 0x4e6f7b
lea eax, [ebp - 0x124]
push eax
call fcn.00403aba
mov ebx, eax
mov byte [ebp - 4], 4
push str.Enum_h3rdKeyStr_0x
push ebx
call fcn.0040635f
pop ecx
pop ecx
cmp ebx, edi
jne 0x4e6ed5
xor eax, eax
jmp 0x4e6edc
mov eax, dword [ebx]
mov eax, dword [eax + 4]
add eax, ebx
mov ecx, dword [eax + 0x14]
push dword [ebp - 0x74]
and ecx, 0xfffff9ff
or ecx, 0x800
push ebx
mov dword [eax + 0x14], ecx
call fcn.004109e7
push str._index_0x
push ebx
call fcn.0040635f
pop ecx
pop ecx
cmp ebx, edi
jne 0x4e6f0c
xor eax, eax
jmp 0x4e6f13
mov eax, dword [ebx]
mov eax, dword [eax + 4]
add eax, ebx
mov ecx, dword [eax + 0x14]
push dword [ebp - 0x7c]
and ecx, 0xfffff9ff
or ecx, 0x800
push ebx
mov dword [eax + 0x14], ecx
call fcn.004109e7
push str._failed
push ebx
call fcn.0040635f
pop ecx
pop ecx
lea eax, [ebp - 0x30]
push eax
mov eax, ebx
call fcn.00403b24
mov byte [ebp - 4], 5
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x4e6f56
lea eax, [ebp - 0x30]
push eax
push 2
pop ecx
call fcn.0047feaf
pop ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.004037d0
mov byte [ebp - 4], 0
lea eax, [ebp - 0x124]
call fcn.004027ed
push dword [ebp - 0x88]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
push dword [ebp - 0x78]
call edi
xor ebx, ebx
inc dword [ebp - 0x80]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x6c]
push dword [ebp - 0x80]
push dword [ebp - 0x84]
mov dword [ebp - 0x70], 0x200
call esi
cmp eax, ebx
je 0x4e6d45
lea eax, [ebp - 0x124]
push eax
call fcn.00403aba
mov esi, eax
mov byte [ebp - 4], 1
push str.GetRegInfo_RegEnumKeyEx_Failed
push esi
call fcn.0040635f
pop ecx
pop ecx
push dword [ebp - 0x80]
push esi
call fcn.004109e7
lea eax, [ebp - 0x30]
push eax
mov eax, esi
call fcn.00403b24
push 2
pop ecx
mov byte [ebp - 4], cl
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x4e6ffd
lea eax, [ebp - 0x30]
push eax
call fcn.0047feaf
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004037d0
mov byte [ebp - 4], bl
lea eax, [ebp - 0x124]
call fcn.004027ed
push dword [ebp - 0x84]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x6c]
call fcn.0055da5e
mov dword [esp], str.Exit_GetRegInfo_n
push 3
pop ecx
call fcn.0047feaf
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.004037d0
mov al, 1
call fcn.0056bf2e
ret