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

Disassembly:
push 0xffffffffffffffff
push 0x459f2f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x3c], ecx
xor esi, esi
mov dword [esp + 0x170], esi
mov eax, dword [0x471df4]
mov dword [esp + 0x38], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x178]
lea ecx, [esp + 0x14]
push eax
mov bl, 6
push str.SystemCurrentControlSetEnum_
push ecx
mov byte [esp + 0x17c], bl
call fcn.0044a691
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x174], 7
call fcn.0044a4c1
lea ecx, [esp + 0x14]
mov byte [esp + 0x170], bl
call fcn.0044a3d4
mov eax, dword [esp + 0x18]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [esp + 0x28]
push edx
push 0x20019
push esi
push eax
push 0x80000002
call edi
test eax, eax
jne 0x42bfe9
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x64]
push 0x104
push ecx
push esi
push edx
mov dword [esp + 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x42bfde
lea eax, [esp + 0x64]
lea ecx, [esp + 0x54]
push eax
call fcn.0044a442
mov esi, eax
lea ecx, [esp + 0x18]
push 0x46a404
lea edx, [esp + 0x4c]
push ecx
push edx
mov byte [esp + 0x17c], 8
call fcn.0044a61d
push esi
push eax
lea eax, [esp + 0x60]
mov byte [esp + 0x178], 9
push eax
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x174], 0xa
call fcn.0044a4c1
lea ecx, [esp + 0x58]
mov byte [esp + 0x170], 9
call fcn.0044a3d4
lea ecx, [esp + 0x48]
mov byte [esp + 0x170], 8
call fcn.0044a3d4
lea ecx, [esp + 0x54]
mov byte [esp + 0x170], bl
call fcn.0044a3d4
lea ecx, [esp + 0x10]
call fcn.0044a88a
mov ecx, dword [esp + 0x17c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00449464
cmp eax, 0xffffffff
je 0x42bd5f
push 0x46ac50
lea ecx, [esp + 0x180]
call fcn.00449464
cmp eax, 0xffffffff
je 0x42bd9b
push 0x46ac50
lea ecx, [esp + 0x180]
call fcn.00449464
cmp eax, 0xffffffff
je 0x42bfb5
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x60], esp
push edx
call fcn.0044a149
mov ecx, dword [esp + 0x40]
call fcn.00423470
test eax, eax
je 0x42bfb5
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x30]
push eax
push 0x20019
push 0
push ecx
push 0x80000002
call edi
test eax, eax
jne 0x42bfb5
lea edx, [esp + 0x64]
push 0x104
push edx
push eax
mov eax, dword [esp + 0x3c]
mov ebp, 1
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x42bfaa
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x48]
call fcn.0044a442
mov esi, eax
lea edx, [esp + 0x10]
push 0x46a404
lea eax, [esp + 0x44]
push edx
push eax
mov byte [esp + 0x17c], 0xb
call fcn.0044a61d
push esi
lea ecx, [esp + 0x54]
push eax
push ecx
mov byte [esp + 0x17c], 0xc
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x174], 0xd
call fcn.0044a4c1
lea ecx, [esp + 0x50]
mov byte [esp + 0x170], 0xc
call fcn.0044a3d4
lea ecx, [esp + 0x40]
mov byte [esp + 0x170], 0xb
call fcn.0044a3d4
lea ecx, [esp + 0x44]
mov byte [esp + 0x170], bl
call fcn.0044a3d4
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x24]
push edx
push 0x20019
push 0
push eax
push 0x80000002
call edi
test eax, eax
jne 0x42bf89
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x34]
lea edx, [esp + 0x64]
xor esi, esi
push ecx
push edx
push esi
push esi
push str.Class
push eax
mov dword [esp + 0x4c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42bedb
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x20]
call fcn.0044a511
lea ecx, [esp + 0x1c]
call fcn.0044a88a
push str.UNKNOWN
lea ecx, [esp + 0x20]
mov esi, 1
call fcn.00449464
cmp eax, 0xffffffff
jne 0x42bedb
lea edx, [esp + 0x20]
push str.CONTROL
lea eax, [esp + 0x50]
push edx
push eax
call fcn.0044a61d
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x174], 0xe
call fcn.0044a4c1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x170], bl
call fcn.0044a3d4
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x60]
push ecx
push 0x20019
push 0
push edx
push 0x80000002
call edi
test eax, eax
jne 0x42bf31
test esi, esi
jne 0x42bf3b
mov eax, dword [esp + 0x3c]
test byte [eax + 0xc], 2
je 0x42bf7e
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x34]
lea edx, [esp + 0x64]
push ecx
push edx
push 0
push 0
push str.DeviceDesc
push eax
mov dword [esp + 0x4c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42bf7e
lea ecx, [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x184]
call fcn.00449c01
mov dword [esp + 0x38], 1
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x64]
mov eax, ebp
push 0x104
push ecx
push eax
push edx
inc ebp
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x42bdde
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
mov eax, ecx
inc ecx
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x64]
push 0x104
push ecx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x42bca6
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x170], 5
call fcn.0044a3d4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x170], 4
call fcn.0044a3d4
lea ecx, [esp + 0x20]
mov byte [esp + 0x170], 3
call fcn.0044a3d4
lea ecx, [esp + 0x10]
mov byte [esp + 0x170], 2
call fcn.0044a3d4
lea ecx, [esp + 0x18]
mov byte [esp + 0x170], 1
call fcn.0044a3d4
lea ecx, [esp + 0x178]
mov byte [esp + 0x170], 0
call fcn.0044a3d4
lea ecx, [esp + 0x17c]
mov dword [esp + 0x170], 0xffffffff
call fcn.0044a3d4
mov ecx, dword [esp + 0x168]
mov eax, dword [esp + 0x38]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x164
ret 0xc