Function at 0x4df969
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x118
mov eax, 0x5a04e3
call fcn.0056ce95
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 0x4df9b6
push str.Get_nVidia_Registry_failed_n
xor ecx, ecx
inc ecx
call fcn.0047c666
pop ecx
xor al, al
jmp 0x4dfcff
push 0x400
call fcn.0055e4e1
pop ecx
mov dword [ebp - 0x6c], eax
cmp eax, ebx
jne 0x4df9cf
push str.Allocate_memory_failed_in_GetRegInfo
jmp 0x4df9a6
lea ecx, [ebp - 0x4c]
call fcn.00409083
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 0x4dfc50
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.00563a1d
add esp, 0xc
cmp eax, ebx
jne 0x4dfc3f
push str.DEV_
push dword [ebp - 0x6c]
call fcn.0055fef4
pop ecx
pop ecx
mov dword [ebp - 0x74], eax
cmp eax, ebx
je 0x4dfc3f
push str.DEV_
call edi
mov ecx, dword [ebp - 0x74]
lea edi, [ecx + eax*2]
push 0x5f5fc0
push edi
call fcn.0055fef4
pop ecx
pop ecx
cmp eax, ebx
je 0x4dfc3f
sub eax, edi
sar eax, 1
push eax
mov ecx, edi
lea eax, [ebp - 0x68]
call fcn.0040c665
mov byte [ebp - 4], 3
mov ebx, eax
lea eax, [ebp - 0x4c]
call fcn.0040ab21
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.004090d2
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 0x4dfc3d
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 0x4dfacc
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4dfc3d
lea eax, [ebp - 0x88]
push eax
push 9
push ebx
push dword [ebp - 0x6c]
push dword [ebp - 0x78]
call edi
test eax, eax
jne 0x4dfc3d
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 0x4dfb2d
push str.Control
push dword [ebp - 0x6c]
call fcn.00561046
pop ecx
pop ecx
cmp eax, edi
jne 0x4dfb1c
mov edi, dword [ebp - 0x8c]
lea ecx, [ebp - 0x4c]
call fcn.004098b1
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 0x4dfaf9
cmp eax, 0x103
jne 0x4dfb5d
push str.Enum_h3rdKeyStr_ERROR_NO_MORE_ITEMS_n
push 4
pop ecx
call fcn.0047c666
pop ecx
jmp 0x4dfc2a
lea eax, [ebp - 0x124]
push eax
call fcn.00409ac6
mov ebx, eax
mov byte [ebp - 4], 4
push str.Enum_h3rdKeyStr_0x
push ebx
call fcn.0040fa1f
pop ecx
pop ecx
cmp ebx, edi
jne 0x4dfb84
xor eax, eax
jmp 0x4dfb8b
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.0040d432
push str._index_0x
push ebx
call fcn.0040fa1f
pop ecx
pop ecx
cmp ebx, edi
jne 0x4dfbbb
xor eax, eax
jmp 0x4dfbc2
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.0040d432
push str._failed
push ebx
call fcn.0040fa1f
pop ecx
pop ecx
lea eax, [ebp - 0x30]
push eax
mov eax, ebx
call fcn.00409b30
mov byte [ebp - 4], 5
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x4dfc05
lea eax, [ebp - 0x30]
push eax
push 2
pop ecx
call fcn.0047c666
pop ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.004090d2
mov byte [ebp - 4], 0
lea eax, [ebp - 0x124]
call fcn.004021a3
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 0x4df9f4
lea eax, [ebp - 0x124]
push eax
call fcn.00409ac6
mov esi, eax
mov byte [ebp - 4], 1
push str.GetRegInfo_RegEnumKeyEx_Failed
push esi
call fcn.0040fa1f
pop ecx
pop ecx
push dword [ebp - 0x80]
push esi
call fcn.0040d432
lea eax, [ebp - 0x30]
push eax
mov eax, esi
call fcn.00409b30
push 2
pop ecx
mov byte [ebp - 4], cl
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x4dfcac
lea eax, [ebp - 0x30]
push eax
call fcn.0047c666
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004090d2
mov byte [ebp - 4], bl
lea eax, [ebp - 0x124]
call fcn.004021a3
push dword [ebp - 0x84]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x6c]
call fcn.0055e744
mov dword [esp], str.Exit_GetRegInfo_n
push 3
pop ecx
call fcn.0047c666
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.004090d2
mov al, 1
call fcn.0056cf18
ret