Function at 0x4390b2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x120
lea ebp, [esp - 4]
mov eax, dword [0x517774]
xor eax, ebp
mov dword [ebp + 0x120], eax
push 0x10
mov eax, 0x4cb7df
call fcn.0049aeba
mov esi, dword [ebp + 0x12c]
cmp dword [esi + 0x18], 0x10
mov eax, dword [ebp + 0x134]
mov dword [ebp - 0x14], eax
lea ebx, [esi + 4]
jb 0x4390a2
mov eax, dword [ebx]
jmp 0x4390a4
mov eax, ebx
movzx ecx, word [ebp + 0x130]
push ecx
push eax
push str.IsDriverSetAlreadyInstalled__s__x__n
push 2
push 0x519518
call fcn.00402450
add esp, 0x14
push str.SOFTWARE_
lea ecx, [ebp]
call fcn.00402a30
and dword [ebp - 4], 0
push 0x103
lea eax, [ebp + 0x1d]
push 0
push eax
mov byte [ebp + 0x1c], 0
call fcn.00497680
add esp, 0xc
cmp dword [esi + 0x18], 0x10
jb 0x4390f3
mov eax, dword [ebx]
jmp 0x4390f5
mov eax, ebx
push dword [ebp + 0x130]
mov edi, 0x104
push edi
lea ecx, [ebp + 0x1c]
push ecx
push str.RegistryManufacturer
push 0x4d4294
push eax
call fcn.00436830
add esp, 0x18
test eax, eax
jne 0x43915c
cmp dword [esi + 0x18], 0x10
jb 0x439126
mov eax, dword [ebx]
jmp 0x439128
mov eax, ebx
push dword [ebp + 0x130]
lea ecx, [ebp + 0x1c]
push edi
push ecx
push str.Manufacturer
push 0x4d4294
push eax
call fcn.00436830
add esp, 0x18
test eax, eax
jne 0x43915c
push str.Hewlett_Packard
lea eax, [ebp + 0x1c]
push edi
push eax
call fcn.00497fe1
add esp, 0xc
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp]
call fcn.00407de0
push 0x4d5334
lea ecx, [ebp]
call fcn.00407de0
push str.Installed_Products
lea ecx, [ebp]
call fcn.00407de0
mov eax, dword [ebp + 4]
xor ecx, ecx
cmp dword [ebp + 0x18], 0x10
mov byte [ebp + 0x1c], 0
mov dword [ebp - 0x10], ecx
jae 0x439197
lea eax, [ebp + 4]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0x20019
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00429833
add esp, 0x18
test eax, eax
je 0x4391dc
push eax
push str.IsDriverSetAlreadyInstalled_returns_Win32_error__d_n
push 4
push 0x519518
call fcn.00402450
add esp, 0x10
push 0
push 1
lea ecx, [ebp]
call fcn.00401a30
xor eax, eax
jmp 0x4392a1
mov ecx, dword [ebp - 0x14]
push 0x4d41fc
call fcn.00413600
test eax, eax
jne 0x439230
cmp dword [esi + 0x18], 0x10
jb 0x4391f5
mov ebx, dword [ebx]
push dword [ebp + 0x130]
lea eax, [ebp + 0x1c]
push edi
push eax
push str.CDGuid
push 0x4d4294
push ebx
call fcn.00436830
add esp, 0x18
test eax, eax
jne 0x43924f
push str.Missing_CDGuid_in_autotun.inf_n
push str._s_failed_n
push 0x519518
call fcn.00426fe1
add esp, 0xc
jmp 0x4391c9
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0x10
jb 0x43923e
mov eax, dword [eax + 4]
jmp 0x439241
add eax, 4
push eax
lea eax, [ebp + 0x1c]
push edi
push eax
call fcn.00497fe1
add esp, 0xc
push 4
pop esi
lea eax, [ebp - 0x18]
push eax
xor ebx, ebx
push ebx
lea eax, [ebp - 0x1c]
push eax
push ebx
lea eax, [ebp + 0x1c]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x10]
mov edi, eax
call fcn.00429cef
push edi
push str.IsDriverSetAlreadyInstalled_returns_Win32_error__d_n
push esi
push 0x519518
call fcn.00402450
add esp, 0x14
push ebx
push 1
lea ecx, [ebp]
call fcn.00401a30
xor eax, eax
cmp edi, ebx
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x120]
xor ecx, ebp
call fcn.004974ba
add ebp, 0x124
leave
ret