Function at 0x404c90
Capabilities:
Query or enumerate registry key
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x453e85
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x194
push ebx
push esi
push edi
mov dword [esp + 0x98], ecx
xor esi, esi
mov dword [esp + 0x1a8], esi
mov eax, dword [0x471df4]
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
mov eax, dword [ecx]
mov bl, 7
cmp eax, esi
mov byte [esp + 0x1a8], bl
je 0x404d03
push str.SystemCurrentControlSetEnum_
lea ecx, [esp + 0x20]
call fcn.0044a511
push str.SystemCurrentControlSetControlClass_
jmp 0x404d16
push str.Enum_
lea ecx, [esp + 0x20]
call fcn.0044a511
push str.SystemCurrentControlSetServicesClass_
lea ecx, [esp + 0x18]
call fcn.0044a511
lea eax, [esp + 0x1b0]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x1ac], 8
call fcn.0044a4c1
lea ecx, [esp + 0x24]
mov byte [esp + 0x1a8], bl
call fcn.0044a3d4
mov ecx, dword [esp + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x2c]
push eax
push 0x20019
push esi
push ecx
push 0x80000002
call edi
test eax, eax
jne 0x405472
mov eax, dword [esp + 0x2c]
push ebp
lea edx, [esp + 0xa0]
push 0x104
push edx
push esi
push eax
mov dword [esp + 0x38], 1
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x405466
mov ebp, dword [esp + 0x1bc]
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x405466
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x30]
call fcn.0044a511
lea ecx, [esp + 0x2c]
call fcn.0044a88a
mov edx, dword [esp + 0x1b8]
lea ecx, [esp + 0x2c]
push edx
call fcn.00449464
cmp eax, 0xffffffff
je 0x40543a
lea eax, [esp + 0xa0]
lea ecx, [esp + 0x4c]
push eax
call fcn.0044a442
mov esi, eax
push 0x46a404
lea ecx, [esp + 0x78]
mov byte [esp + 0x1b0], 9
call fcn.0044a442
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x48]
push ecx
push edx
mov byte [esp + 0x1b8], 0xa
call fcn.0044a5b7
push esi
push eax
lea eax, [esp + 0x64]
mov byte [esp + 0x1b4], 0xb
push eax
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1b0], 0xc
call fcn.0044a4c1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1ac], 0xb
call fcn.0044a3d4
lea ecx, [esp + 0x44]
mov byte [esp + 0x1ac], 0xa
call fcn.0044a3d4
lea ecx, [esp + 0x74]
mov byte [esp + 0x1ac], 9
call fcn.0044a3d4
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1ac], bl
call fcn.0044a3d4
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x38]
push ecx
push 0x20019
push 0
push edx
push 0x80000002
call edi
test eax, eax
jne 0x40543a
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0xa0]
push 0x104
push eax
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x40542f
lea edx, [esp + 0xa0]
lea ecx, [esp + 0x3c]
push edx
call fcn.0044a442
mov esi, eax
push 0x46a404
lea ecx, [esp + 0x80]
mov byte [esp + 0x1b0], 0xd
call fcn.0044a442
push eax
lea eax, [esp + 0x18]
lea ecx, [esp + 0x58]
push eax
push ecx
mov byte [esp + 0x1b8], 0xe
call fcn.0044a5b7
push esi
lea edx, [esp + 0x90]
push eax
push edx
mov byte [esp + 0x1b8], 0xf
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1b0], 0x10
call fcn.0044a4c1
lea ecx, [esp + 0x8c]
mov byte [esp + 0x1ac], 0xf
call fcn.0044a3d4
lea ecx, [esp + 0x54]
mov byte [esp + 0x1ac], 0xe
call fcn.0044a3d4
lea ecx, [esp + 0x7c]
mov byte [esp + 0x1ac], 0xd
call fcn.0044a3d4
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1ac], bl
call fcn.0044a3d4
mov eax, dword [esp + 0x9c]
push 0x104
cmp dword [eax], 0
je 0x405009
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0xa4]
push ecx
push str.Driver
push edx
push 0x80000002
call fcn.00430370
add esp, 0x14
test eax, eax
jne 0x40542f
lea eax, [esp + 0xa0]
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x68]
push ecx
push edx
call fcn.0044a61d
push eax
mov ecx, ebp
mov byte [esp + 0x1b0], 0x11
call fcn.0044a4c1
lea ecx, [esp + 0x64]
mov byte [esp + 0x1ac], bl
call fcn.0044a3d4
mov dword [esp + 0x24], 1
jmp 0x40542f
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0xa4]
push eax
push str.ChildDevNode
push ecx
push 0x80000002
call fcn.00430370
add esp, 0x14
test eax, eax
jne 0x405108
lea edx, [esp + 0xa0]
lea eax, [esp + 0x20]
push edx
lea ecx, [esp + 0x88]
push eax
push ecx
call fcn.0044a61d
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1b0], 0x12
call fcn.0044a4c1
lea ecx, [esp + 0x84]
mov byte [esp + 0x1ac], bl
call fcn.0044a3d4
mov eax, dword [esp + 0x10]
lea edx, [esp + 0xa0]
push 0x104
push edx
push str.Driver
push eax
push 0x80000002
call fcn.00430370
add esp, 0x14
test eax, eax
jne 0x40542f
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x98]
call fcn.0044a442
push eax
lea edx, [esp + 0x1c]
lea eax, [esp + 0x70]
push edx
push eax
mov byte [esp + 0x1b8], 0x13
call fcn.0044a5b7
push eax
mov ecx, ebp
mov byte [esp + 0x1b0], 0x14
call fcn.0044a4c1
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1ac], 0x13
call fcn.0044a3d4
lea ecx, [esp + 0x94]
mov byte [esp + 0x1ac], bl
call fcn.0044a3d4
mov dword [esp + 0x24], 1
jmp 0x40542f
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0xa0]
push 0x104
push ecx
push str.Driver
push edx
push 0x80000002
call fcn.00430370
add esp, 0x14
test eax, eax
jne 0x40542f
push str.Child0000
lea ecx, [esp + 0x5c]
call fcn.0044a442
mov esi, eax
lea eax, [esp + 0xa0]
lea ecx, [esp + 0x50]
push eax
mov byte [esp + 0x1b0], 0x15
call fcn.0044a442
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x4c]
push ecx
push edx
mov byte [esp + 0x1b8], 0x16
call fcn.0044a5b7
push esi
push eax
lea eax, [esp + 0x48]
mov byte [esp + 0x1b4], 0x17
push eax
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1b0], 0x18
call fcn.0044a4c1
lea ecx, [esp + 0x40]
mov byte [esp + 0x1ac], 0x17
call fcn.0044a3d4
lea ecx, [esp + 0x48]
mov byte [esp + 0x1ac], 0x16
call fcn.0044a3d4
lea ecx, [esp + 0x50]
mov byte [esp + 0x1ac], 0x15
call fcn.0044a3d4
lea ecx, [esp + 0x58]
mov byte [esp + 0x1ac], bl
call fcn.0044a3d4
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0xa0]
push 0x104
push ecx
push str.HardwareID
push edx
push 0x80000002
call fcn.00430370
add esp, 0x14
test eax, eax
jne 0x40542f
lea eax, [esp + 0xa0]
lea ecx, [esp + 0x68]
push eax
call fcn.0044a442
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x64]
push ecx
push edx
mov byte [esp + 0x1b8], 0x19
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1b0], 0x1a
call fcn.0044a4c1
lea ecx, [esp + 0x60]
mov byte [esp + 0x1ac], 0x19
call fcn.0044a3d4
lea ecx, [esp + 0x68]
mov byte [esp + 0x1ac], bl
call fcn.0044a3d4
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x34]
push eax
push 0x20019
push 0
push ecx
push 0x80000002
call edi
test eax, eax
jne 0x40542f
lea edx, [esp + 0xa0]
push 0x104
push edx
push eax
mov eax, dword [esp + 0x40]
mov edi, 1
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x40541e
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x8c]
call fcn.0044a442
mov esi, eax
push 0x46a404
lea ecx, [esp + 0x84]
mov byte [esp + 0x1b0], 0x1b
call fcn.0044a442
push eax
lea edx, [esp + 0x18]
lea eax, [esp + 0x7c]
push edx
push eax
mov byte [esp + 0x1b8], 0x1c
call fcn.0044a5b7
push esi
lea ecx, [esp + 0x74]
push eax
push ecx
mov byte [esp + 0x1b8], 0x1d
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1b0], 0x1e
call fcn.0044a4c1
lea ecx, [esp + 0x70]
mov byte [esp + 0x1ac], 0x1d
call fcn.0044a3d4
lea ecx, [esp + 0x78]
mov byte [esp + 0x1ac], 0x1c
call fcn.0044a3d4
lea ecx, [esp + 0x80]
mov byte [esp + 0x1ac], 0x1b
call fcn.0044a3d4
lea ecx, [esp + 0x88]
mov byte [esp + 0x1ac], bl
call fcn.0044a3d4
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0xa0]
push 0x104
push edx
push str.Driver
push eax
push 0x80000002
call fcn.00430370
add esp, 0x14
test eax, eax
je 0x4053b0
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0xa0]
mov eax, edi
push 0x104
push ecx
push eax
push edx
inc edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x4052ac
jmp 0x40541e
lea eax, [esp + 0xa0]
lea ecx, [esp + 0x98]
push eax
call fcn.0044a442
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x94]
push ecx
push edx
mov byte [esp + 0x1b8], 0x1f
call fcn.0044a5b7
push eax
mov ecx, ebp
mov byte [esp + 0x1b0], 0x20
call fcn.0044a4c1
lea ecx, [esp + 0x90]
mov byte [esp + 0x1ac], 0x1f
call fcn.0044a3d4
lea ecx, [esp + 0x98]
mov byte [esp + 0x1ac], bl
call fcn.0044a3d4
mov dword [esp + 0x24], 1
mov eax, dword [esp + 0x34]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [esp + 0x38]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0xa0]
mov eax, ecx
push 0x104
push edx
push eax
mov eax, dword [esp + 0x3c]
inc ecx
push eax
mov dword [esp + 0x38], ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x404dae
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
lea ecx, [esp + 0x18]
mov byte [esp + 0x1a8], 6
call fcn.0044a3d4
lea ecx, [esp + 0x10]
mov byte [esp + 0x1a8], 5
call fcn.0044a3d4
lea ecx, [esp + 0xc]
mov byte [esp + 0x1a8], 4
call fcn.0044a3d4
lea ecx, [esp + 0x14]
mov byte [esp + 0x1a8], 3
call fcn.0044a3d4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1a8], 2
call fcn.0044a3d4
lea ecx, [esp + 0x28]
mov byte [esp + 0x1a8], 1
call fcn.0044a3d4
lea ecx, [esp + 0x1b0]
mov byte [esp + 0x1a8], 0
call fcn.0044a3d4
lea ecx, [esp + 0x1b4]
mov dword [esp + 0x1a8], 0xffffffff
call fcn.0044a3d4
mov ecx, dword [esp + 0x1a0]
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1a0
ret 0xc