Function at 0x4392c4
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 0x14
mov eax, 0x4cb80f
call fcn.0049aeba
mov esi, dword [ebp + 0x12c]
cmp dword [esi + 0x18], 0x10
mov eax, dword [ebp + 0x138]
mov dword [ebp - 0x18], eax
lea ebx, [esi + 4]
jb 0x439304
mov eax, dword [ebx]
jmp 0x439306
mov eax, ebx
movzx ecx, word [ebp + 0x130]
push ecx
push eax
push str.IsSoftwareSetAlreadyInstalled__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 0x439355
mov eax, dword [ebx]
jmp 0x439357
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 0x4393be
cmp dword [esi + 0x18], 0x10
jb 0x439388
mov eax, dword [ebx]
jmp 0x43938a
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 0x4393be
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_Software
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 - 0x14], ecx
jae 0x4393f9
lea eax, [ebp + 4]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0x20019
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00429833
add esp, 0x18
test eax, eax
je 0x43945c
push eax
push str.IsSoftwareSetAlreadyInstalled_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
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
mov ecx, dword [ebp - 0x18]
push 0x4d41fc
call fcn.00413600
test eax, eax
jne 0x4394c3
cmp dword [esi + 0x18], 0x10
jb 0x439475
mov ebx, dword [ebx]
push dword [ebp + 0x130]
lea eax, [ebp + 0x1c]
push edi
push eax
push str.SoftwareGuid
push 0x4d4294
push ebx
call fcn.00436830
add esp, 0x18
test eax, eax
jne 0x4394e2
push str.Missing_SoftwareGuid_in_autotun.inf_n
push str._s_failed_n
push 0x519518
call fcn.00426fe1
add esp, 0xc
xor esi, esi
push 0
push 1
lea ecx, [ebp]
call fcn.00401a30
mov eax, esi
jmp 0x439439
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x18], 0x10
jb 0x4394d1
mov eax, dword [eax + 4]
jmp 0x4394d4
add eax, 4
push eax
lea eax, [ebp + 0x1c]
push edi
push eax
call fcn.00497fe1
add esp, 0xc
and dword [ebp - 0x10], 0
push 4
pop esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
lea eax, [ebp + 0x1c]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x14]
mov edi, eax
call fcn.00429cef
push edi
push dword [ebp + 0x134]
push dword [ebp - 0x10]
push str.IsSoftwareSetAlreadyInstalled_returns_install_level_X_when_asked_for__X_Win32_error__d_n
push esi
push 0x519518
call fcn.00402450
mov esi, dword [ebp - 0x10]
and esi, dword [ebp + 0x134]
add esp, 0x1c
sub esi, dword [ebp + 0x134]
neg esi
sbb esi, esi
inc esi
jmp 0x4394b0