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

Disassembly:
push 0x8ec
mov eax, 0x47f731
call fcn.00466686
mov eax, dword [ebp + 8]
mov dword [ebp - 0x868], eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
mov dword [ebp - 0x870], eax
mov dword [ebp - 0x864], esi
call fcn.00426ace
mov eax, esi
call fcn.00426ace
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002bE10318
lea eax, [ebp - 0x804]
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push eax
mov dword [ebp - 0x858], ebx
call fcn.00424e0d
and dword [ebp - 4], 0
lea esi, [ebp - 0x824]
call fcn.00424973
lea esi, [ebp - 0x844]
mov dword [ebp - 0x860], pe_nt_image_headers32
call fcn.00424973
mov byte [ebp - 4], 2
cmp dword [ebp - 0x7e8], 8
mov eax, dword [ebp - 0x7fc]
mov edi, 0x3e8
mov dword [ebp - 0x84c], edi
jae 0x41b473
lea eax, [ebp - 0x7fc]
lea ecx, [ebp - 0x858]
push ecx
push 0x20019
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41b677
and dword [ebp - 0x85c], eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x898]
push eax
xor esi, esi
push esi
push esi
push esi
lea eax, [ebp - 0x860]
push eax
lea eax, [ebp - 0x7e4]
push eax
push dword [ebp - 0x85c]
mov dword [ebp - 0x860], pe_nt_image_headers32
push dword [ebp - 0x858]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x86c], eax
cmp eax, esi
jne 0x41b658
lea eax, [ebp - 0x7e4]
push eax
lea eax, [ebp - 0x890]
push eax
call fcn.00424e0d
push 0x48c93c
lea eax, [ebp - 0x8b8]
push eax
mov byte [ebp - 4], 3
call fcn.00424da9
lea eax, [ebp - 0x8b8]
push eax
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x8d8]
push eax
mov byte [ebp - 4], 4
call fcn.004273c5
add esp, 0xc
lea ecx, [ebp - 0x890]
push ecx
push eax
lea eax, [ebp - 0x8f8]
push eax
mov byte [ebp - 4], 5
call fcn.004273c5
add esp, 0xc
lea esi, [ebp - 0x824]
mov byte [ebp - 4], 6
call fcn.00424f31
lea ecx, [ebp - 0x8f8]
call fcn.0042523a
lea ecx, [ebp - 0x8d8]
call fcn.0042523a
lea ecx, [ebp - 0x8b8]
call fcn.0042523a
lea ecx, [ebp - 0x890]
mov byte [ebp - 4], 2
call fcn.0042523a
cmp dword [ebp - 0x808], 8
mov ecx, dword [ebp - 0x81c]
mov eax, reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x850], eax
jae 0x41b5a4
lea ecx, [ebp - 0x81c]
lea edx, [ebp - 0x850]
push edx
push 0x20019
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41b658
push edi
push eax
xor esi, esi
lea eax, [ebp - 0x3fc]
inc esi
push eax
mov dword [ebp - 0x854], esi
mov dword [ebp - 0x84c], edi
call fcn.00467850
add esp, 0xc
lea eax, [ebp - 0x84c]
push eax
lea eax, [ebp - 0x3fc]
push eax
lea eax, [ebp - 0x854]
push eax
push 0
push str.NetCfgInstanceId
push dword [ebp - 0x850]
call ebx
lea eax, [ebp - 0x3fc]
push eax
lea eax, [ebp - 0x890]
push eax
call fcn.00424e0d
mov ecx, dword [ebp - 0x868]
lea eax, [ebp - 0x890]
mov byte [ebp - 4], 7
call fcn.0042738d
lea ecx, [ebp - 0x890]
mov byte [ebp - 0x845], al
mov byte [ebp - 4], 2
call fcn.0042523a
cmp byte [ebp - 0x845], 0
jne 0x41b6a0
push dword [ebp - 0x850]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x85c]
cmp dword [ebp - 0x86c], 0
je 0x41b49d
push dword [ebp - 0x858]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x844]
call fcn.0042523a
lea ecx, [ebp - 0x824]
call fcn.0042523a
lea ecx, [ebp - 0x804]
call fcn.0042523a
xor al, al
call fcn.00466709
ret
push edi
lea eax, [ebp - 0x3fc]
push 0
push eax
mov dword [ebp - 0x854], esi
mov dword [ebp - 0x84c], edi
call fcn.00467850
add esp, 0xc
lea eax, [ebp - 0x84c]
push eax
lea eax, [ebp - 0x3fc]
push eax
lea eax, [ebp - 0x854]
push eax
push 0
push str.DriverDesc
push dword [ebp - 0x850]
call ebx
lea eax, [ebp - 0x3fc]
push eax
lea eax, [ebp - 0x890]
push eax
call fcn.00424e0d
mov esi, dword [ebp - 0x870]
lea eax, [ebp - 0x890]
mov byte [ebp - 4], 8
call fcn.00424f31
lea ecx, [ebp - 0x890]
mov byte [ebp - 4], 2
call fcn.0042523a
push edi
lea eax, [ebp - 0x3fc]
push 0
push eax
mov dword [ebp - 0x854], 1
mov dword [ebp - 0x84c], edi
call fcn.00467850
add esp, 0xc
lea eax, [ebp - 0x84c]
push eax
lea eax, [ebp - 0x3fc]
push eax
lea eax, [ebp - 0x854]
push eax
push 0
push 0x48c940
push dword [ebp - 0x850]
call ebx
lea eax, [ebp - 0x3fc]
push eax
lea eax, [ebp - 0x890]
push eax
call fcn.00424e0d
mov esi, dword [ebp - 0x864]
lea eax, [ebp - 0x890]
mov byte [ebp - 4], 9
call fcn.00424f31
lea ecx, [ebp - 0x890]
call fcn.0042523a
push dword [ebp - 0x850]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x858]
call esi
lea ecx, [ebp - 0x844]
call fcn.0042523a
lea ecx, [ebp - 0x824]
call fcn.0042523a
lea ecx, [ebp - 0x804]
call fcn.0042523a
mov al, 1
jmp 0x41b69a