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

Disassembly:
push 0xffffffffffffffff
push 0x458368
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x170
push ebx
push ebp
push esi
mov ebp, ecx
xor esi, esi
mov dword [esp + 0x184], esi
mov eax, dword [0x471df4]
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x18c]
lea ecx, [esp + 0x14]
push eax
mov bl, 3
push str.SystemCurrentControlSetEnum_
push ecx
mov byte [esp + 0x190], bl
call fcn.0044a691
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x188], 4
call fcn.0044a4c1
lea ecx, [esp + 0x14]
mov byte [esp + 0x184], bl
call fcn.0044a3d4
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push edx
push 0x20019
push esi
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41fe86
mov edx, dword [esp + 0x18]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
lea ecx, [esp + 0x7c]
push 0x104
push ecx
push esi
push edx
mov dword [esp + 0x28], 1
call edi
test eax, eax
jne 0x41fe7a
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x14]
push eax
call fcn.0044a511
lea ecx, [esp + 0x14]
call fcn.0044a88a
mov ecx, dword [esp + 0x194]
push ecx
lea ecx, [esp + 0x18]
call fcn.00449464
cmp eax, 0xffffffff
je 0x41fe3e
push 0x46a404
lea ecx, [esp + 0x7c]
call fcn.0044a442
mov esi, eax
push str.SystemCurrentControlSetEnum_
lea ecx, [esp + 0x3c]
mov byte [esp + 0x18c], 5
call fcn.0044a442
lea edx, [esp + 0x190]
mov byte [esp + 0x188], 6
push edx
push eax
lea eax, [esp + 0x60]
push eax
call fcn.0044a5b7
push esi
lea ecx, [esp + 0x34]
push eax
push ecx
mov byte [esp + 0x194], 7
call fcn.0044a5b7
lea edx, [esp + 0x14]
mov byte [esp + 0x188], 8
push edx
push eax
lea eax, [esp + 0x50]
push eax
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x18c], 9
call fcn.0044a4c1
lea ecx, [esp + 0x48]
mov byte [esp + 0x188], 8
call fcn.0044a3d4
lea ecx, [esp + 0x30]
mov byte [esp + 0x188], 7
call fcn.0044a3d4
lea ecx, [esp + 0x58]
mov byte [esp + 0x188], 6
call fcn.0044a3d4
lea ecx, [esp + 0x38]
mov byte [esp + 0x188], 5
call fcn.0044a3d4
lea ecx, [esp + 0x78]
mov byte [esp + 0x188], bl
call fcn.0044a3d4
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push ecx
push 0x20019
push 0
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41fe3e
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x7c]
push 0x104
push eax
push 0
push ecx
call edi
test eax, eax
jne 0x41fe33
push 0x46a404
lea ecx, [esp + 0x6c]
call fcn.0044a442
mov esi, eax
push 0x46a404
lea ecx, [esp + 0x54]
mov byte [esp + 0x18c], 0xa
call fcn.0044a442
push eax
lea edx, [esp + 0x194]
lea eax, [esp + 0x74]
push edx
push eax
mov byte [esp + 0x194], 0xb
call fcn.0044a5b7
lea ecx, [esp + 0x14]
lea edx, [esp + 0x28]
push ecx
push eax
push edx
mov byte [esp + 0x194], 0xc
call fcn.0044a5b7
push esi
push eax
lea eax, [esp + 0x68]
mov byte [esp + 0x190], 0xd
push eax
call fcn.0044a5b7
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x40]
push ecx
push eax
push edx
mov byte [esp + 0x194], 0xe
call fcn.0044a61d
push eax
lea ecx, [ebp + 0x1c]
mov byte [esp + 0x18c], 0xf
call fcn.0044a4c1
lea ecx, [esp + 0x40]
mov byte [esp + 0x188], 0xe
call fcn.0044a3d4
lea ecx, [esp + 0x60]
mov byte [esp + 0x188], 0xd
call fcn.0044a3d4
lea ecx, [esp + 0x28]
mov byte [esp + 0x188], 0xc
call fcn.0044a3d4
lea ecx, [esp + 0x70]
mov byte [esp + 0x188], 0xb
call fcn.0044a3d4
lea ecx, [esp + 0x50]
mov byte [esp + 0x188], 0xa
call fcn.0044a3d4
lea ecx, [esp + 0x68]
mov byte [esp + 0x188], bl
call fcn.0044a3d4
push 0x46a404
lea ecx, [esp + 0x68]
call fcn.0044a442
mov esi, eax
push 0x46a404
lea ecx, [esp + 0x60]
mov byte [esp + 0x18c], 0x10
call fcn.0044a442
mov edi, eax
push str.SystemCurrentControlSetEnum_
lea ecx, [esp + 0x58]
mov byte [esp + 0x18c], 0x11
call fcn.0044a442
mov byte [esp + 0x188], 0x12
lea ecx, [esp + 0x190]
push ecx
lea edx, [esp + 0x50]
push eax
push edx
call fcn.0044a5b7
push edi
push eax
lea eax, [esp + 0x4c]
mov byte [esp + 0x190], 0x13
push eax
call fcn.0044a5b7
lea ecx, [esp + 0x14]
lea edx, [esp + 0x3c]
push ecx
push eax
push edx
mov byte [esp + 0x194], 0x14
call fcn.0044a5b7
push esi
push eax
lea eax, [esp + 0x3c]
mov byte [esp + 0x190], 0x15
push eax
call fcn.0044a5b7
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x2c]
push ecx
push eax
push edx
mov byte [esp + 0x194], 0x16
call fcn.0044a61d
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x18c], 0x17
call fcn.0044a4c1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x188], 0x16
call fcn.0044a3d4
lea ecx, [esp + 0x34]
mov byte [esp + 0x188], 0x15
call fcn.0044a3d4
lea ecx, [esp + 0x3c]
mov byte [esp + 0x188], 0x14
call fcn.0044a3d4
lea ecx, [esp + 0x44]
mov byte [esp + 0x188], 0x13
call fcn.0044a3d4
lea ecx, [esp + 0x4c]
mov byte [esp + 0x188], 0x12
call fcn.0044a3d4
lea ecx, [esp + 0x54]
mov byte [esp + 0x188], 0x11
call fcn.0044a3d4
lea ecx, [esp + 0x5c]
mov byte [esp + 0x188], 0x10
call fcn.0044a3d4
lea ecx, [esp + 0x64]
mov byte [esp + 0x188], bl
call fcn.0044a3d4
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x7c]
push 0x104
push eax
push str.DeviceDesc
push ecx
push 0x80000002
call fcn.00430370
add esp, 0x14
test eax, eax
jne 0x41fe2d
lea edx, [esp + 0x7c]
lea ecx, [ebp + 0x18]
push edx
call fcn.0044a511
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x7c]
push 0x104
push eax
push str.FriendlyName
push ecx
push 0x80000002
call fcn.00430370
add esp, 0x14
test eax, eax
jne 0x41fe2d
lea edx, [esp + 0x7c]
lea ecx, [ebp + 0x20]
push edx
call fcn.0044a511
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x7c]
push 0x104
push eax
push 0x46c46c
push ecx
push 0x80000002
mov dword [esp + 0x34], 1
call fcn.00430370
add esp, 0x14
test eax, eax
jne 0x41fe2d
lea edx, [esp + 0x7c]
lea ecx, [ebp + 0x24]
push edx
call fcn.0044a511
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x7c]
push 0x104
push eax
push str.Driver
push ecx
push 0x80000002
call fcn.00430370
add esp, 0x14
test eax, eax
jne 0x41fe2d
push str.SystemCurrentControlSetControlClass_
lea ecx, [esp + 0x78]
call fcn.0044a442
lea edx, [esp + 0x7c]
mov byte [esp + 0x188], 0x18
push edx
push eax
lea eax, [esp + 0x74]
push eax
call fcn.0044a61d
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x18c], 0x19
call fcn.0044a4c1
lea ecx, [esp + 0x6c]
mov byte [esp + 0x188], 0x18
call fcn.0044a3d4
lea ecx, [esp + 0x74]
mov byte [esp + 0x188], bl
call fcn.0044a3d4
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x7c]
push 0x104
push ecx
push str.ProviderName
push edx
push 0x80000002
call fcn.00430370
add esp, 0x14
test eax, eax
je 0x41fe65
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, ecx
inc ecx
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x7c]
push 0x104
push ecx
push eax
push edx
call edi
test eax, eax
je 0x41f958
jmp 0x41fe7a
lea eax, [esp + 0x7c]
lea ecx, [ebp + 0x28]
push eax
call fcn.0044a511
mov dword [esp + 0x20], 1
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
lea ecx, [esp + 0x10]
mov byte [esp + 0x184], 2
call fcn.0044a3d4
lea ecx, [esp + 0xc]
mov byte [esp + 0x184], 1
call fcn.0044a3d4
lea ecx, [esp + 0x18c]
mov byte [esp + 0x184], 0
call fcn.0044a3d4
lea ecx, [esp + 0x190]
mov dword [esp + 0x184], 0xffffffff
call fcn.0044a3d4
mov ecx, dword [esp + 0x17c]
mov eax, dword [esp + 0x1c]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x17c
ret 8