Function at 0x423470
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x458beb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [0x471df4]
xor edi, edi
mov dword [esp + 0x13c], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
mov al, byte [ebp + 0xc]
mov byte [esp + 0x13c], 2
test al, 0x80
je 0x4234d2
push 0x46ac50
lea ecx, [ebp + 8]
call fcn.00449464
cmp eax, 0xffffffff
jne 0x4234d2
mov edi, 1
jmp 0x4237d8
push str.VEN_14F1
lea ecx, [esp + 0x148]
call fcn.00449464
cmp eax, 0xffffffff
jne 0x423570
push str.VEN_127A
lea ecx, [esp + 0x148]
call fcn.00449464
cmp eax, 0xffffffff
jne 0x423570
push str.VID_0572
lea ecx, [esp + 0x148]
call fcn.00449464
cmp eax, 0xffffffff
jne 0x423570
push str.HCFLCNXT
lea ecx, [esp + 0x148]
call fcn.00449464
cmp eax, 0xffffffff
jne 0x423570
push str.CXT0303
lea ecx, [esp + 0x148]
call fcn.00449464
cmp eax, 0xffffffff
jne 0x423570
push str.DBGSRVNT
lea ecx, [esp + 0x148]
call fcn.00449464
cmp eax, 0xffffffff
jne 0x423570
push str.DMPSRVNT
lea ecx, [esp + 0x148]
call fcn.00449464
cmp eax, 0xffffffff
je 0x42357a
mov edi, 1
jmp 0x4237d8
lea eax, [esp + 0x144]
lea ecx, [esp + 0x10]
push eax
call fcn.0044a4c1
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push edi
push edx
push 0x80000002
call esi
test eax, eax
jne 0x4237d8
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x30]
push 0x104
push eax
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x4236b5
push 0x46a404
lea ecx, [esp + 0x1c]
call fcn.0044a442
push eax
lea edx, [esp + 0x14]
lea eax, [esp + 0x20]
push edx
push eax
mov byte [esp + 0x148], 3
call fcn.0044a5b7
lea ecx, [esp + 0x30]
lea edx, [esp + 0x2c]
push ecx
mov bl, 4
push eax
push edx
mov byte [esp + 0x148], bl
call fcn.0044a61d
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x140], 5
call fcn.0044a4c1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x13c], bl
call fcn.0044a3d4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x13c], 3
call fcn.0044a3d4
lea ecx, [esp + 0x18]
mov byte [esp + 0x13c], 2
call fcn.0044a3d4
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x28]
push eax
push 0x20019
push 0
push ecx
push 0x80000002
call esi
test eax, eax
jne 0x4236b5
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x24]
lea eax, [esp + 0x30]
push edx
push eax
push 0
push 0
push str.Driver
push ecx
mov dword [esp + 0x3c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4236aa
lea edx, [esp + 0x30]
lea ecx, [esp + 0x20]
push edx
call fcn.0044a511
mov edi, 1
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x4237d8
mov eax, dword [ebp + 0x10]
xor edi, edi
test eax, eax
je 0x423728
push str.SystemCurrentControlSetServicesClass_
lea ecx, [esp + 0x20]
call fcn.0044a442
lea edx, [esp + 0x20]
mov bl, 6
push edx
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0x144], bl
push eax
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x140], 7
call fcn.0044a4c1
lea ecx, [esp + 0x18]
mov byte [esp + 0x13c], bl
call fcn.0044a3d4
mov byte [esp + 0x13c], 2
lea ecx, [esp + 0x1c]
jmp 0x42377d
push str.SystemCurrentControlSetControlClass_
lea ecx, [esp + 0x20]
call fcn.0044a442
lea ecx, [esp + 0x20]
lea edx, [esp + 0x18]
push ecx
mov bl, 8
push eax
push edx
mov byte [esp + 0x148], bl
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x140], 9
call fcn.0044a4c1
lea ecx, [esp + 0x18]
mov byte [esp + 0x13c], bl
call fcn.0044a3d4
mov byte [esp + 0x13c], 2
lea ecx, [esp + 0x1c]
call fcn.0044a3d4
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push ecx
push 0x80000002
call esi
test eax, eax
jne 0x4237d8
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x24]
lea eax, [esp + 0x30]
push edx
push eax
push 0
push 0
push str.DEVICEFLAG
push ecx
mov dword [esp + 0x3c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4237cd
mov edi, 1
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x20]
mov byte [esp + 0x13c], 1
call fcn.0044a3d4
lea ecx, [esp + 0x10]
mov byte [esp + 0x13c], 0
call fcn.0044a3d4
lea ecx, [esp + 0x144]
mov dword [esp + 0x13c], 0xffffffff
call fcn.0044a3d4
mov ecx, dword [esp + 0x134]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x130
ret 4