Function at 0x403abb
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
push 0x40e500
mov eax, dword [str.Enum_]
push eax
push 0x40e504
lea ecx, [ebp - 0x318]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [ebp - 0x434]
push edx
lea eax, [ebp - 0x318]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x403b06
jmp 0x403eab
mov dword [ebp - 0x438], 0
mov dword [ebp - 4], 0
push 0x104
lea ecx, [ebp - 0x430]
push ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x440], edx
mov eax, dword [ebp - 0x440]
push eax
mov ecx, dword [ebp - 0x434]
push ecx
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x403e92
cmp dword [ebp - 0x438], 4
jge 0x403e92
lea eax, [ebp - 0x430]
push eax
push str.PCI_s
lea ecx, [ebp - 0x318]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [ebp - 0x318]
push edx
call fcn.004018fc
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
shr eax, 0x10
mov word [ebp - 0x320], ax
mov ecx, dword [ebp - 0x320]
and ecx, 0xffff
cmp ecx, 0x1393
je 0x403bb2
jmp 0x403b17
mov edx, dword [ebp - 8]
and edx, 0xffff
mov word [ebp - 0x31c], dx
mov dword [ebp - 0x328], 0
jmp 0x403bdd
mov eax, dword [ebp - 0x328]
add eax, 1
mov dword [ebp - 0x328], eax
cmp dword [ebp - 0x328], 0x17
jge 0x403c18
mov ecx, dword [ebp - 0x31c]
and ecx, 0xffff
mov edx, dword [ebp - 0x328]
shl edx, 4
xor eax, eax
mov ax, word [edx + 0x40ecc8]
cmp ecx, eax
jne 0x403c16
mov ecx, dword [ebp - 0x328]
mov dword [ebp - 0x324], ecx
jmp 0x403c18
jmp 0x403bce
cmp dword [ebp - 0x328], 0x17
jne 0x403c26
jmp 0x403b17
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x430]
push eax
mov ecx, dword [ebp - 0x434]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x403c47
jmp 0x403b17
mov dword [ebp - 0x43c], 0
push 0x104
lea edx, [ebp - 0x214]
push edx
mov eax, dword [ebp - 0x43c]
mov dword [ebp - 0x444], eax
mov ecx, dword [ebp - 0x444]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x43c]
add eax, 1
mov dword [ebp - 0x43c], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x403e83
cmp dword [ebp - 0x438], 4
jge 0x403e83
lea ecx, [ebp - 0x32c]
push ecx
lea edx, [ebp - 0x214]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x403cbc
jmp 0x403c51
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x430]
push edx
push str.PCI_s_s
mov eax, dword [ebp - 0x438]
imul eax, eax, 0x104
add eax, 0x41960c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov ecx, dword [ebp - 0x438]
imul ecx, ecx, 0x504
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 0x10], 1
mov eax, dword [ebp - 0x438]
imul eax, eax, 0x504
mov ecx, dword [ebp + 8]
mov dx, word [ebp - 0x31c]
mov word [ecx + eax + 0x400], dx
mov eax, dword [ebp - 0x324]
shl eax, 4
mov ecx, dword [ebp - 0x438]
imul ecx, ecx, 0x504
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x40eccc]
mov dword [edx + ecx + 0x2b8], eax
mov ecx, dword [ebp - 0x324]
shl ecx, 4
mov edx, dword [ebp - 0x438]
imul edx, edx, 0x504
mov eax, dword [ebp + 8]
mov cx, word [ecx + 0x40ecca]
mov word [eax + edx + 8], cx
mov edx, dword [ebp - 0x438]
imul edx, edx, 0x104
add edx, 0x41960c
push edx
call fcn.004019d0
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
shr eax, 8
mov ecx, dword [ebp - 0x438]
imul ecx, ecx, 0x504
mov edx, dword [ebp + 8]
mov word [edx + ecx + 0x402], ax
mov eax, dword [ebp - 8]
and eax, 0xff
mov ecx, dword [ebp - 0x438]
imul ecx, ecx, 0x504
mov edx, dword [ebp + 8]
mov word [edx + ecx + 0x404], ax
mov eax, dword [ebp - 0x438]
imul eax, eax, 0x104
add eax, 0x41960c
push eax
mov ecx, dword [ebp - 0x438]
imul ecx, ecx, 0x504
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x406]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [ebp - 0x438]
imul edx, edx, 0x104
add edx, 0x41960c
push edx
call fcn.00401c82
add esp, 8
mov eax, dword [ebp - 0x438]
imul eax, eax, 0x504
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax + 8]
push edx
lea eax, [ebp - 0x110]
push eax
call fcn.004021dc
add esp, 8
test eax, eax
jne 0x403e3f
jmp 0x403c51
mov ecx, dword [ebp - 0x438]
imul ecx, ecx, 0x504
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 8]
push eax
lea ecx, [ebp - 0x110]
push ecx
call fcn.0040632a
add esp, 8
mov edx, dword [ebp - 0x438]
add edx, 1
mov dword [ebp - 0x438], edx
mov eax, dword [ebp - 0x32c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x403c51
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x403b17
mov edx, dword [ebp - 0x434]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x438]
mov dword [eax + 4], ecx
mov esp, ebp
pop ebp
ret