Function at 0x41dcf0
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x457d21
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push ebx
push ebp
push esi
mov eax, dword [0x471df4]
xor ebp, ebp
mov dword [esp + 0x140], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
mov eax, dword [ecx]
mov byte [esp + 0x140], 4
cmp eax, ebp
push 0x104
je 0x41dd7a
mov eax, dword [esp + 0x150]
mov ecx, dword [esp + 0x14c]
push eax
push str.AttachedTo
push ecx
push 0x80000002
call fcn.00430370
add esp, 0x14
test eax, eax
jne 0x41dfd5
mov dword [esp + 0x1c], 1
jmp 0x41dfd5
mov eax, dword [esp + 0x14c]
lea edx, [esp + 0x38]
push edx
push str.MatchingDeviceId
push eax
push 0x80000002
call fcn.00430370
add esp, 0x14
test eax, eax
jne 0x41dfd5
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x28]
call fcn.0044a442
mov esi, eax
push str.Enum_
lea ecx, [esp + 0x24]
mov byte [esp + 0x144], 5
call fcn.0044a442
push esi
lea edx, [esp + 0x2c]
mov bl, 6
push eax
push edx
mov byte [esp + 0x14c], bl
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x144], 7
call fcn.0044a4c1
lea ecx, [esp + 0x28]
mov byte [esp + 0x140], bl
call fcn.0044a3d4
lea ecx, [esp + 0x20]
mov byte [esp + 0x140], 5
call fcn.0044a3d4
lea ecx, [esp + 0x24]
mov byte [esp + 0x140], 4
call fcn.0044a3d4
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x2c]
push eax
push 0x20019
push ebp
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41dfd5
mov eax, dword [esp + 0x2c]
push edi
lea edx, [esp + 0x38]
push 0x104
push edx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
push eax
mov edi, 1
call ebp
test eax, eax
jne 0x41dfc9
mov bl, 0xa
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x38]
call fcn.0044a442
mov esi, eax
push 0x46a404
lea ecx, [esp + 0x30]
mov byte [esp + 0x148], 8
call fcn.0044a442
push eax
lea edx, [esp + 0x20]
lea eax, [esp + 0x28]
push edx
push eax
mov byte [esp + 0x150], 9
call fcn.0044a5b7
push esi
lea ecx, [esp + 0x2c]
push eax
push ecx
mov byte [esp + 0x150], bl
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x148], 0xb
call fcn.0044a4c1
lea ecx, [esp + 0x28]
mov byte [esp + 0x144], bl
call fcn.0044a3d4
lea ecx, [esp + 0x24]
mov byte [esp + 0x144], 9
call fcn.0044a3d4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x144], 8
call fcn.0044a3d4
lea ecx, [esp + 0x34]
mov byte [esp + 0x144], 4
call fcn.0044a3d4
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x38]
push 0x104
push edx
push str.Driver
push eax
push 0x80000002
call fcn.00430370
add esp, 0x14
test eax, eax
jne 0x41dfa2
lea ecx, [esp + 0x14c]
push ecx
lea ecx, [esp + 0x14]
call fcn.0044a4c1
lea ecx, [esp + 0x10]
call fcn.0044a88a
lea edx, [esp + 0x38]
lea ecx, [esp + 0x18]
push edx
call fcn.0044a511
lea ecx, [esp + 0x18]
call fcn.0044a88a
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
call fcn.00449464
cmp eax, 0xffffffff
je 0x41dfa2
mov ecx, dword [esp + 0x150]
mov edx, dword [esp + 0x14]
push 0x104
push ecx
push str.PORTNAME
push edx
push 0x80000002
call fcn.00430370
add esp, 0x14
test eax, eax
je 0x41dfc1
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x38]
mov eax, edi
push 0x104
push ecx
push eax
push edx
inc edi
call ebp
test eax, eax
je 0x41de6b
jmp 0x41dfc9
mov dword [esp + 0x20], 1
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x140], 3
call fcn.0044a3d4
lea ecx, [esp + 0xc]
mov byte [esp + 0x140], 2
call fcn.0044a3d4
lea ecx, [esp + 0x10]
mov byte [esp + 0x140], 1
call fcn.0044a3d4
lea ecx, [esp + 0x18]
mov byte [esp + 0x140], 0
call fcn.0044a3d4
lea ecx, [esp + 0x148]
mov dword [esp + 0x140], 0xffffffff
call fcn.0044a3d4
mov ecx, dword [esp + 0x138]
mov eax, dword [esp + 0x1c]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x138
ret 8