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

Disassembly:
push 0xffffffffffffffff
push 0x459da5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
mov eax, dword [0x471df4]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], ecx
xor ebp, ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x144], ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14c]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x148], 2
call fcn.0044a4c1
mov edx, dword [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0x24]
push ecx
push 0x20019
push ebp
push edx
push 0x80000002
call edi
test eax, eax
jne 0x42b4e5
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x38]
push 0x104
push eax
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x42b318
lea edx, [esp + 0x38]
lea ecx, [esp + 0x1c]
push edx
call fcn.0044a442
mov esi, eax
lea eax, [esp + 0x10]
push 0x46a404
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x150], 3
call fcn.0044a61d
push esi
lea edx, [esp + 0x38]
mov bl, 4
push eax
push edx
mov byte [esp + 0x150], bl
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x148], 5
call fcn.0044a4c1
lea ecx, [esp + 0x34]
mov byte [esp + 0x144], bl
call fcn.0044a3d4
lea ecx, [esp + 0x18]
mov byte [esp + 0x144], 3
call fcn.0044a3d4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x144], 2
call fcn.0044a3d4
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x20]
push eax
push 0x20019
push ebp
push ecx
push 0x80000002
call edi
test eax, eax
jne 0x42b318
mov ecx, dword [esp + 0x20]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x2c]
lea eax, [esp + 0x38]
push edx
push eax
push ebp
push ebp
push str.Class
push ecx
mov dword [esp + 0x44], 0x104
call ebx
test eax, eax
jne 0x42b30d
lea edx, [esp + 0x38]
lea ecx, [esp + 0x30]
push edx
call fcn.0044a511
lea ecx, [esp + 0x30]
call fcn.0044a88a
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
push ecx
lea esi, [eax + 8]
mov ecx, esi
call fcn.00449464
cmp eax, 0xffffffff
jne 0x42b25f
push 0x46ac50
mov ecx, esi
call fcn.00449464
cmp eax, 0xffffffff
je 0x42b30d
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x2c]
lea eax, [esp + 0x38]
push edx
push eax
push 0
push 0
push str.HardwareID
push ecx
mov dword [esp + 0x44], 0x104
call ebx
test eax, eax
jne 0x42b30d
lea edx, [esp + 0x38]
lea ecx, [esp + 0x18]
push edx
call fcn.0044a442
mov esi, eax
push str.Enum_
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], 6
call fcn.0044a442
push esi
push eax
lea eax, [esp + 0x1c]
mov bl, 7
push eax
mov byte [esp + 0x150], bl
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x148], 8
call fcn.0044a4c1
lea ecx, [esp + 0x14]
mov byte [esp + 0x144], bl
call fcn.0044a3d4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x144], 6
call fcn.0044a3d4
lea ecx, [esp + 0x18]
mov byte [esp + 0x144], 2
call fcn.0044a3d4
mov ebp, 1
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebp, ebp
je 0x42b4e5
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x24]
xor ebp, ebp
push eax
push 0x20019
push ebp
push ecx
push 0x80000002
call edi
test eax, eax
jne 0x42b4e5
lea edx, [esp + 0x38]
push 0x104
push edx
push eax
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x42b4da
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0044a442
mov esi, eax
lea edx, [esp + 0x10]
push 0x46a404
lea eax, [esp + 0x20]
push edx
push eax
mov byte [esp + 0x150], 9
call fcn.0044a61d
push esi
lea ecx, [esp + 0x18]
mov bl, 0xa
push eax
push ecx
mov byte [esp + 0x150], bl
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x148], 0xb
call fcn.0044a4c1
lea ecx, [esp + 0x14]
mov byte [esp + 0x144], bl
call fcn.0044a3d4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x144], 9
call fcn.0044a3d4
lea ecx, [esp + 0x18]
mov byte [esp + 0x144], 2
call fcn.0044a3d4
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x20]
push edx
push 0x20019
push ebp
push eax
push 0x80000002
call edi
test eax, eax
jne 0x42b4da
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x38]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x30]
push str.Driver
push eax
mov dword [esp + 0x44], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42b4cf
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0044a442
mov esi, eax
push str.SystemCurrentControlSetServicesClass_
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], 0xc
call fcn.0044a442
push esi
lea edx, [esp + 0x18]
mov bl, 0xd
push eax
push edx
mov byte [esp + 0x150], bl
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x148], 0xe
call fcn.0044a4c1
lea ecx, [esp + 0x14]
mov byte [esp + 0x144], bl
call fcn.0044a3d4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x144], 0xc
call fcn.0044a3d4
lea ecx, [esp + 0x18]
mov byte [esp + 0x144], 2
call fcn.0044a3d4
mov ecx, dword [esp + 0x14c]
lea eax, [esp + 0x10]
push eax
call fcn.0044a4c1
mov ebp, 1
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x30]
mov byte [esp + 0x144], 1
call fcn.0044a3d4
lea ecx, [esp + 0x28]
mov byte [esp + 0x144], 0
call fcn.0044a3d4
lea ecx, [esp + 0x10]
mov dword [esp + 0x144], 0xffffffff
call fcn.0044a3d4
mov ecx, dword [esp + 0x13c]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x138
ret 4