Function at 0x42a670
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x459c50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x471df4]
xor esi, esi
mov dword [esp + 0x134], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0x10]
mov bl, 3
cmp eax, esi
mov byte [esp + 0x134], bl
je 0x42a6c4
push str.Enum_
jmp 0x42a6c9
push str.SystemCurrentControlSetEnum_
lea ecx, [esp + 0x28]
call fcn.0044a511
lea eax, [esp + 0x24]
push 0x46a14c
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.0044a61d
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x138], 4
call fcn.0044a4c1
lea ecx, [esp + 0x20]
mov byte [esp + 0x134], bl
call fcn.0044a3d4
mov eax, dword [esp + 0x18]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [esp + 0x10]
push edx
push 0x20019
push esi
push eax
push 0x80000002
call ebp
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x42a7b6
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x28]
push 0x104
push ecx
push 0
push edx
mov esi, 1
call edi
test eax, eax
jne 0x42a79f
lea eax, [esp + 0x28]
lea ecx, [esp + 0x14]
push eax
call fcn.0044a511
lea ecx, [esp + 0x14]
call fcn.0044a88a
mov ecx, dword [esp + 0x13c]
push ecx
lea ecx, [esp + 0x18]
call fcn.00449464
cmp eax, 0xffffffff
jne 0x42a797
lea edx, [esp + 0x28]
mov eax, esi
push 0x104
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
inc esi
call edi
test eax, eax
je 0x42a74f
jmp 0x42a79f
mov dword [esp + 0x1c], 1
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x42aafe
lea edx, [esp + 0x24]
push 0x46a158
lea eax, [esp + 0x24]
push edx
push eax
call fcn.0044a61d
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x138], 5
call fcn.0044a4c1
lea ecx, [esp + 0x20]
mov byte [esp + 0x134], bl
call fcn.0044a3d4
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push 0
push edx
push 0x80000002
call ebp
test eax, eax
jne 0x42a88c
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x28]
mov eax, esi
push 0x104
push ecx
push eax
push edx
inc esi
call edi
test eax, eax
jne 0x42a875
lea eax, [esp + 0x28]
lea ecx, [esp + 0x14]
push eax
call fcn.0044a511
lea ecx, [esp + 0x14]
call fcn.0044a88a
mov ecx, dword [esp + 0x13c]
push ecx
lea ecx, [esp + 0x18]
call fcn.00449464
cmp eax, 0xffffffff
jne 0x42a86d
lea edx, [esp + 0x28]
mov eax, esi
push 0x104
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
inc esi
call edi
test eax, eax
je 0x42a825
jmp 0x42a875
mov dword [esp + 0x1c], 1
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x42aafe
lea edx, [esp + 0x24]
push str.SERENUM
lea eax, [esp + 0x24]
push edx
push eax
call fcn.0044a61d
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x138], 6
call fcn.0044a4c1
lea ecx, [esp + 0x20]
mov byte [esp + 0x134], bl
call fcn.0044a3d4
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push 0
push edx
push 0x80000002
call ebp
test eax, eax
jne 0x42a962
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x28]
mov eax, esi
push 0x104
push ecx
push eax
push edx
inc esi
call edi
test eax, eax
jne 0x42a94b
lea eax, [esp + 0x28]
lea ecx, [esp + 0x14]
push eax
call fcn.0044a511
lea ecx, [esp + 0x14]
call fcn.0044a88a
mov ecx, dword [esp + 0x13c]
push ecx
lea ecx, [esp + 0x18]
call fcn.00449464
cmp eax, 0xffffffff
jne 0x42a943
lea edx, [esp + 0x28]
mov eax, esi
push 0x104
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
inc esi
call edi
test eax, eax
je 0x42a8fb
jmp 0x42a94b
mov dword [esp + 0x1c], 1
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x42aafe
lea edx, [esp + 0x24]
push str.HDAUDIO
lea eax, [esp + 0x24]
push edx
push eax
call fcn.0044a61d
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x138], 7
call fcn.0044a4c1
lea ecx, [esp + 0x20]
mov byte [esp + 0x134], bl
call fcn.0044a3d4
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push 0
push edx
push 0x80000002
call ebp
test eax, eax
jne 0x42aa38
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x28]
mov eax, esi
push 0x104
push ecx
push eax
push edx
inc esi
call edi
test eax, eax
jne 0x42aa21
lea eax, [esp + 0x28]
lea ecx, [esp + 0x14]
push eax
call fcn.0044a511
lea ecx, [esp + 0x14]
call fcn.0044a88a
mov ecx, dword [esp + 0x13c]
push ecx
lea ecx, [esp + 0x18]
call fcn.00449464
cmp eax, 0xffffffff
jne 0x42aa19
lea edx, [esp + 0x28]
mov eax, esi
push 0x104
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
inc esi
call edi
test eax, eax
je 0x42a9d1
jmp 0x42aa21
mov dword [esp + 0x1c], 1
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x42aafe
lea edx, [esp + 0x24]
push str.ROOT
lea eax, [esp + 0x24]
push edx
push eax
call fcn.0044a61d
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x138], 8
call fcn.0044a4c1
lea ecx, [esp + 0x20]
mov byte [esp + 0x134], bl
call fcn.0044a3d4
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push 0
push edx
push 0x80000002
call ebp
test eax, eax
jne 0x42aafe
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x28]
mov eax, esi
push 0x104
push ecx
push eax
push edx
inc esi
call edi
test eax, eax
jne 0x42aaf3
lea eax, [esp + 0x28]
lea ecx, [esp + 0x14]
push eax
call fcn.0044a511
lea ecx, [esp + 0x14]
call fcn.0044a88a
mov ecx, dword [esp + 0x13c]
push ecx
lea ecx, [esp + 0x18]
call fcn.00449464
cmp eax, 0xffffffff
jne 0x42aaeb
lea edx, [esp + 0x28]
mov eax, esi
push 0x104
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
inc esi
call edi
test eax, eax
je 0x42aaa3
jmp 0x42aaf3
mov dword [esp + 0x1c], 1
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], 2
call fcn.0044a3d4
lea ecx, [esp + 0x18]
mov byte [esp + 0x134], 1
call fcn.0044a3d4
lea ecx, [esp + 0x24]
mov byte [esp + 0x134], 0
call fcn.0044a3d4
lea ecx, [esp + 0x13c]
mov dword [esp + 0x134], 0xffffffff
call fcn.0044a3d4
mov ecx, dword [esp + 0x12c]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x128
ret 4