Function at 0x41af97
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x120
lea ebp, [esp - 4]
mov eax, dword [0x484c64]
xor eax, ebp
mov dword [ebp + 0x120], eax
push 0x10
mov eax, 0x462333
call fcn.0044ba5a
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 0x41afd7
mov eax, dword [ebx]
jmp 0x41afd9
mov eax, ebx
movzx ecx, word [ebp + 0x130]
push ecx
push eax
push str.IsDriverSetAlreadyInstalled__s__x__n
push 2
push 0x4866f8
call fcn.00401000
add esp, 0x14
push str.SOFTWARE_
lea ecx, [ebp]
call fcn.00402f00
and dword [ebp - 4], 0
push 0x103
lea eax, [ebp + 0x1d]
push 0
push eax
mov byte [ebp + 0x1c], 0
call fcn.00447ba0
add esp, 0xc
cmp dword [esi + 0x18], 0x10
jb 0x41b028
mov eax, dword [ebx]
jmp 0x41b02a
mov eax, ebx
push dword [ebp + 0x130]
mov edi, 0x104
push edi
lea ecx, [ebp + 0x1c]
push ecx
push str.RegistryManufacturer
push str.Version
push eax
call fcn.00425a42
add esp, 0x18
test eax, eax
jne 0x41b091
cmp dword [esi + 0x18], 0x10
jb 0x41b05b
mov eax, dword [ebx]
jmp 0x41b05d
mov eax, ebx
push dword [ebp + 0x130]
lea ecx, [ebp + 0x1c]
push edi
push ecx
push str.Manufacturer
push str.Version
push eax
call fcn.00425a42
add esp, 0x18
test eax, eax
jne 0x41b091
push 0x46c9a0
lea eax, [ebp + 0x1c]
push edi
push eax
call fcn.00448647
add esp, 0xc
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp]
call fcn.00406ea0
push 0x46853c
lea ecx, [ebp]
call fcn.00406ea0
push str.Installed_Products
lea ecx, [ebp]
call fcn.00406ea0
mov eax, dword [ebp + 4]
xor ecx, ecx
cmp dword [ebp + 0x18], 0x10
mov byte [ebp + 0x1c], 0
mov dword [ebp - 0x10], ecx
jae 0x41b0cc
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.0041cccb
add esp, 0x18
test eax, eax
je 0x41b111
push eax
push str.IsDriverSetAlreadyInstalled_returns_Win32_error__d_n
push 4
push 0x4866f8
call fcn.00401000
add esp, 0x10
push 0
push 1
lea ecx, [ebp]
call fcn.00401c10
xor eax, eax
jmp 0x41b1d6
mov ecx, dword [ebp - 0x14]
push 0x46853b
call fcn.0040b780
test eax, eax
jne 0x41b165
cmp dword [esi + 0x18], 0x10
jb 0x41b12a
mov ebx, dword [ebx]
push dword [ebp + 0x130]
lea eax, [ebp + 0x1c]
push edi
push eax
push str.CDGuid
push str.Version
push ebx
call fcn.00425a42
add esp, 0x18
test eax, eax
jne 0x41b184
push str.Missing_CDGuid_in_autotun.inf_n
push str._s_failed_n
push 0x4866f8
call fcn.00419d26
add esp, 0xc
jmp 0x41b0fe
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0x10
jb 0x41b173
mov eax, dword [eax + 4]
jmp 0x41b176
add eax, 4
push eax
lea eax, [ebp + 0x1c]
push edi
push eax
call fcn.00448647
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.0041cf12
push edi
push str.IsDriverSetAlreadyInstalled_returns_Win32_error__d_n
push esi
push 0x4866f8
call fcn.00401000
add esp, 0x14
push ebx
push 1
lea ecx, [ebp]
call fcn.00401c10
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.00447b4c
add ebp, 0x124
leave
ret