Function at 0x427430
Capabilities:
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x468cf3
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x47e378]
xor eax, esp
mov dword [esp + 0x16c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47e378]
xor eax, esp
push eax
lea eax, [esp + 0x184]
mov dword fs:[0], eax
mov eax, dword [esp + 0x198]
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x30]
push ecx
push 1
xor eax, eax
lea edx, [esp + 0x74]
xor ebx, ebx
push edx
push str.Display
mov dword [esp + 0x19c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x40], ebx
call dword [sym.imp.SETUPAPI.dll_SetupDiClassGuidsFromNameA]
cmp eax, 1
jne 0x4277be
push 2
push ebx
push ebx
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsA]
lea ecx, [esp + 0x34]
push ecx
mov edi, eax
xor eax, eax
push ebx
mov dword [esp + 0x3c], eax
push edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x40], 0x1c
xor esi, esi
mov dword [esp + 0x2c], ebx
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
cmp eax, 1
jne 0x4277b5
mov ebp, dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyA]
jmp 0x427520
lea edx, [esp + 0x14]
push edx
push ebx
push esi
push ebx
push 1
lea eax, [esp + 0x48]
push eax
push edi
mov dword [esp + 0x30], ebx
call ebp
test eax, eax
jne 0x42757f
lea ebx, [ebx]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x42757f
cmp esi, ebx
je 0x427556
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [esp + 0x14]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x14]
push edx
push eax
push esi
push ebx
push 1
lea ecx, [esp + 0x48]
push ecx
push edi
call ebp
test eax, eax
je 0x427540
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xd
je 0x427735
mov eax, dword [esp + 0x194]
cmp eax, ebx
je 0x4275b7
cmp dword [eax + 4], ebx
jne 0x4275b2
mov edx, dword [eax]
push edx
call fcn.00453640
mov ecx, dword [esp + 0x194]
mov dword [ecx + 4], eax
mov eax, ecx
mov eax, dword [eax + 4]
jmp 0x4275b9
xor eax, eax
push eax
push esi
call fcn.0045668f
add esp, 8
test eax, eax
jne 0x427735
cmp esi, ebx
je 0x4275d8
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor esi, esi
lea edx, [esp + 0x14]
push edx
push ebx
push esi
push ebx
push 9
lea eax, [esp + 0x48]
push eax
push edi
mov dword [esp + 0x30], ebx
call ebp
test eax, eax
jne 0x427631
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x427631
cmp esi, ebx
je 0x427608
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [esp + 0x14]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x14]
push edx
push eax
push esi
push ebx
push 9
lea ecx, [esp + 0x48]
push ecx
push edi
call ebp
test eax, eax
je 0x4275f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xd
je 0x427758
push 0x26
push str.SystemCurrentControlSetControlClass
lea ecx, [esp + 0x58]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
call fcn.00401860
push 1
push 0x46d378
lea ecx, [esp + 0x58]
mov byte [esp + 0x194], 1
call fcn.00401aa0
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x427681
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x58]
call fcn.00401aa0
cmp dword [esp + 0x68], 0x10
mov eax, dword [esp + 0x54]
jae 0x4276a6
lea eax, [esp + 0x54]
lea edx, [esp + 0x1c]
push edx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x427792
push 0x104
lea eax, [esp + 0x80]
push ebx
push eax
mov dword [esp + 0x38], 1
call fcn.004541e0
add esp, 0xc
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0x34]
push eax
push ebx
push str.InfPath
push ecx
mov dword [esp + 0x3c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x42775e
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x427725
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x50]
mov byte [esp + 0x18c], bl
call fcn.00401640
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x34]
add eax, 1
push edx
push eax
push edi
mov dword [esp + 0x2c], eax
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
cmp eax, 1
je 0x427520
jmp 0x4277aa
mov dword [esp + 0x18], ebx
jmp 0x4277aa
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x7c]
push eax
call fcn.00411b10
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov dword [esp + 0x18], 1
je 0x427787
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x50]
call fcn.00401640
jmp 0x4277aa
cmp dword [esp + 0x68], 0x10
mov dword [esp + 0x18], ebx
jb 0x4277aa
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0045389c
add esp, 4
cmp esi, ebx
je 0x4277b5
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push edi
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
jmp 0x4277c2
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0x194]
cmp esi, ebx
je 0x427801
lea edx, [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x427801
mov eax, dword [esi]
cmp eax, ebx
je 0x4277e8
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4277f8
push eax
call fcn.00453c8b
add esp, 4
push esi
call fcn.0045389c
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x184]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x16c]
xor ecx, esp
call fcn.00454162
add esp, 0x17c
ret