Function at 0x448f50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x488
mov eax, dword [0x4e7018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x478]
push edi
mov edi, dword [ebp + 0xc]
push 0x208
push 0
push eax
call fcn.0040f160
push 0x26c
lea eax, [ebp - 0x270]
push 0
push eax
call fcn.0040f160
mov dword [esi], 0
xor ecx, ecx
mov dword [esi + 4], 0
xor eax, eax
mov dword [esi + 8], 0
add esp, 0x18
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [ebp - 0x488], 0
mov word [esi + 0x1c], cx
mov word [esi + 0x224], ax
test edi, edi
jne 0x448ff5
push str.DriverVersionInfo::ReadFromRegistry:_Got_bad_driverName_param
push 1
call fcn.004439a0
add esp, 8
jmp 0x4491f9
push 0x4c1cc0
push edi
push str._s._s
lea eax, [ebp - 0x478]
push 0x104
push eax
call fcn.004159a0
add esp, 0x14
test eax, eax
js 0x44921c
cmp eax, 0x104
jae 0x44921c
lea eax, [ebp - 0x488]
push eax
push 1
push 0x4c1cd0
call fcn.00448b30
add esp, 0xc
test eax, eax
je 0x4491f9
lea eax, [ebp - 0x480]
mov dword [ebp - 0x484], 0
push eax
lea eax, [ebp - 0x270]
mov dword [ebp - 0x480], 0x26a
push eax
lea eax, [ebp - 0x484]
push eax
push 0
lea eax, [ebp - 0x478]
push eax
push dword [ebp - 0x488]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4490b5
push edi
cmp eax, 2
jne 0x4490a0
push str.DriverVersionInfo::ReadFromRegistry:_Did_not_find_info_for__S_driver
push eax
call fcn.004439a0
add esp, 0xc
jmp 0x4491f9
push str.DriverVersionInfo::ReadFromRegistry:_Failed_to_query_status_info_for__S_driver
push eax
push 1
call fcn.00443b80
add esp, 0x10
jmp 0x4491f9
lea eax, [ebp - 0x47c]
mov dword [ebp - 0x47c], 0
push eax
lea eax, [ebp - 0x270]
push 0x4c31a8
push eax
call fcn.0044c950
add esp, 0xc
cmp eax, 1
je 0x4490fb
push edi
lea eax, [ebp - 0x270]
push eax
push str.DriverVersionInfo::ReadFromRegistry:_Failed_to_parse_version_from___S__for_driver__S
push 1
call fcn.004439a0
add esp, 0x10
jmp 0x4491f9
mov eax, dword [ebp - 0x47c]
cmp eax, 1
je 0x44911c
push edi
push eax
push str.DriverVersionInfo::ReadFromRegistry:_Got_unsupported_ver__u_for_driver__S
push 1
call fcn.004439a0
add esp, 0x10
jmp 0x4491f9
push ebx
lea eax, [ebp - 0x270]
push 0x7c
push eax
call fcn.004110eb
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x449150
push edi
lea eax, [ebp - 0x270]
push eax
push str.DriverVersionInfo::ReadFromRegistry:_Failed_to_parse___S__info_for_driver__S
push 1
call fcn.004439a0
add esp, 0x10
jmp 0x4491f8
lea eax, [ebp - 0x47c]
add ebx, 2
push eax
lea eax, [esi + 0x14]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [esi + 0xc]
push eax
lea eax, [esi + 8]
push eax
lea eax, [esi + 4]
push eax
push str._u._u._u._u._u._u
push ebx
call fcn.0044c950
add esp, 0x20
cmp eax, 6
je 0x4491a1
push edi
lea eax, [ebp - 0x270]
push eax
push str.DriverVersionInfo::ReadFromRegistry:_Failed_to_parse___S__version_info_for_driver__S
push 1
call fcn.004439a0
add esp, 0x10
mov ecx, esi
call fcn.00449b70
jmp 0x4491f8
xor eax, eax
cmp dword [ebp - 0x47c], eax
push 0x7c
setne al
push ebx
mov dword [esi + 0x18], eax
call fcn.004110eb
mov edi, eax
add esp, 8
test edi, edi
je 0x4491f2
add edi, 2
push 0x7c
push edi
call fcn.004110eb
add esp, 8
test eax, eax
je 0x4491d7
xor ecx, ecx
mov word [eax], cx
push 0x104
lea eax, [esi + 0x1c]
push edi
push eax
call fcn.0047bd42
add esp, 0xc
xor eax, eax
mov word [esi + 0x222], ax
mov dword [esi], 1
pop ebx
mov ecx, dword [ebp - 0x488]
test ecx, ecx
je 0x449232
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401bf1
mov esp, ebp
pop ebp
ret
push eax
push 0x104
push edi
push str.DriverBaseInfo::OpenDriverInfoParentKey:_Failed_to_generate_driver_Name_key__S__u___d_
push 2
call fcn.004439a0
add esp, 0x14
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00401bf1
mov esp, ebp
pop ebp
ret