Function at 0x450d90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x4e7018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov dword [ebp - 0x228], ebx
push esi
push esi
push esi
push str.DriverMgmt_GetInfRegistryEntries
mov edi, 1
call fcn.00443be0
add esp, 0x10
test ebx, ebx
jne 0x450df0
push str.DriverMgmt_GetInfRegistryEntries:_Bad_input_parameteres_to_GetInfRegistryEntries__
push edi
call fcn.004439a0
add esp, 8
call fcn.004437c0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401bf1
mov esp, ebp
pop ebp
ret
push str.SOFTWAREVMware__Inc.Driver_Database
push str._sinf
lea eax, [ebp - 0x210]
mov dword [ebx], esi
push 0x105
push eax
call fcn.004159a0
add esp, 0x10
test eax, eax
js 0x450fe2
cmp eax, 0x105
jae 0x450fe2
lea eax, [ebp - 0x224]
push eax
push 1
push 0
lea eax, [ebp - 0x210]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x450e70
cmp eax, 2
je 0x450ff1
push str.OpenInfRegistryKey:_Failed_to_create_open_registry_key_to_store_inf_attributes
push eax
push 1
call fcn.00443b80
add esp, 0xc
jmp 0x450ff1
push 1
call fcn.004439a0
add esp, 0x10
nop dword [eax]
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.0040f160
add esp, 0xc
mov dword [ebp - 0x218], 0x105
lea eax, [ebp - 0x214]
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x214], 4
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
inc esi
mov dword [ebp - 0x22c], esi
test eax, eax
je 0x450f02
cmp eax, 0xea
jne 0x450f8e
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push str.DriverMgmt_GetInfRegistryEntries:_buffer_too_small__name__d_data__d
jmp 0x450e62
mov eax, dword [ebp - 0x21c]
cmp eax, 4
je 0x450f1f
push eax
lea eax, [ebp - 0x210]
push eax
push str.DriverMgmt_GetInfRegistryEntries:_value__S_has_unsupported_type:__d
jmp 0x450e62
push 0xc
call fcn.0047c3b0
mov esi, eax
add esp, 4
test esi, esi
je 0x450fb3
mov eax, dword [ebp - 0x228]
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [ebp - 0x228], esi
mov dword [eax], esi
lea eax, [ebp - 0x210]
push eax
call fcn.0047b1bd
mov ecx, eax
add esp, 4
mov dword [esi + 4], ecx
test ecx, ecx
je 0x450fb3
mov eax, dword [ebp - 0x220]
mov dword [esi + 8], eax
push dword [ebp - 0x220]
push ecx
push str.DriverMgmt_GetInfRegistryEntries:_read_inf__S_with_attr_0x_08x
push 2
call fcn.004439a0
mov esi, dword [ebp - 0x22c]
jmp 0x450e69
cmp eax, 0x103
je 0x450fc4
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push str.DriverMgmt_GetInfRegistryEntries:_inf_enum_failed_with__d_name__d
push eax
push 1
call fcn.00443b80
add esp, 0x14
jmp 0x450fc2
push str.DriverMgmt_GetInfRegistryEntries:_Failed_to_alloc_mem_for_entry
push 1
call fcn.004439a0
add esp, 8
xor edi, edi
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x450ff1
push dword [ebx]
call fcn.00450d60
add esp, 4
mov dword [ebx], edi
jmp 0x450ff1
push str.OpenInfRegistryKey:_Failed_to_derive_reg_key_inf_path
push 1
call fcn.004439a0
add esp, 8
call fcn.004437c0
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401bf1
mov esp, ebp
pop ebp
ret