Function at 0x4709f3
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x118
mov eax, 0x525e10
call fcn.004f4139
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 0x470a40
push str.Get_nVidia_Registry_failed_n
xor ecx, ecx
inc ecx
call fcn.004284f3
pop ecx
xor al, al
jmp 0x470d8a
push 0x400
call fcn.004e7e51
pop ecx
mov dword [ebp - 0x6c], eax
cmp eax, ebx
jne 0x470a59
push str.Allocate_memory_failed_in_GetRegInfo
jmp 0x470a30
lea ecx, [ebp - 0x4c]
call fcn.0040318b
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 0x470cdb
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.004ec6c7
add esp, 0xc
cmp eax, ebx
jne 0x470cca
push str.DEV_
push dword [ebp - 0x6c]
call fcn.004e899f
pop ecx
pop ecx
mov dword [ebp - 0x74], eax
cmp eax, ebx
je 0x470cca
push str.DEV_
call edi
mov ecx, dword [ebp - 0x74]
lea edi, [ecx + eax*2]
push 0x557478
push edi
call fcn.004e899f
pop ecx
pop ecx
cmp eax, ebx
je 0x470cca
sub eax, edi
sar eax, 1
push eax
mov ecx, edi
lea eax, [ebp - 0x68]
call fcn.00404c3a
mov byte [ebp - 4], 3
mov ebx, eax
lea eax, [ebp - 0x4c]
call fcn.00403e2e
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.004014ad
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 0x470cc8
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 0x470b56
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x470cc8
lea eax, [ebp - 0x88]
push eax
push 9
push ebx
push dword [ebp - 0x6c]
push dword [ebp - 0x78]
call edi
test eax, eax
jne 0x470cc8
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 0x470bb8
push str.Control
push dword [ebp - 0x6c]
call fcn.004eb61e
pop ecx
pop ecx
cmp eax, edi
jne 0x470ba7
mov edi, dword [ebp - 0x8c]
lea eax, [ebp - 0x4c]
push eax
call fcn.00403656
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 0x470b83
cmp eax, 0x103
jne 0x470be8
push str.Enum_h3rdKeyStr_ERROR_NO_MORE_ITEMS_n
push 4
pop ecx
call fcn.004284f3
pop ecx
jmp 0x470cb5
lea eax, [ebp - 0x124]
push eax
call fcn.004036d7
mov ebx, eax
mov byte [ebp - 4], 4
push str.Enum_h3rdKeyStr_0x
push ebx
call fcn.00406897
pop ecx
pop ecx
cmp ebx, edi
jne 0x470c0f
xor eax, eax
jmp 0x470c16
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.004053dc
push str._index_0x
push ebx
call fcn.00406897
pop ecx
pop ecx
cmp ebx, edi
jne 0x470c46
xor eax, eax
jmp 0x470c4d
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.004053dc
push str._failed
push ebx
call fcn.00406897
pop ecx
pop ecx
lea eax, [ebp - 0x30]
push eax
mov eax, ebx
call fcn.00403741
mov byte [ebp - 4], 5
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x470c90
lea eax, [ebp - 0x30]
push eax
push 2
pop ecx
call fcn.004284f3
pop ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.004014ad
mov byte [ebp - 4], 0
lea eax, [ebp - 0x124]
call fcn.004025ae
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 0x470a7e
lea eax, [ebp - 0x124]
push eax
call fcn.004036d7
mov esi, eax
mov byte [ebp - 4], 1
push str.GetRegInfo_RegEnumKeyEx_Failed
push esi
call fcn.00406897
pop ecx
pop ecx
push dword [ebp - 0x80]
push esi
call fcn.004053dc
lea eax, [ebp - 0x30]
push eax
mov eax, esi
call fcn.00403741
push 2
pop ecx
mov byte [ebp - 4], cl
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x470d37
lea eax, [ebp - 0x30]
push eax
call fcn.004284f3
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004014ad
mov byte [ebp - 4], bl
lea eax, [ebp - 0x124]
call fcn.004025ae
push dword [ebp - 0x84]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x6c]
call fcn.004e7f73
mov dword [esp], str.Exit_GetRegInfo_n
push 3
pop ecx
call fcn.004284f3
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.004014ad
mov al, 1
call fcn.004f41bc
ret