Function at 0x10008b5e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push edx
push ecx
push edi
push esi
mov dword [ebp - 0x18], 0
lea eax, [ebp - 4]
push eax
push 1
push 0
push str.SYSTEMMountedDevices
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
or eax, eax
jne 0x10008caf
push dword [ebp + 8]
call fcn.100021a0
add eax, 0xd
push eax
push 0x40
call sub.kernel32.dll_GlobalAlloc
or eax, eax
je 0x10008ca7
mov dword [ebp - 0x14], eax
push str.DosDevices_
push dword [ebp - 0x14]
call sub.kernel32.dll_lstrcpyA
push dword [ebp + 8]
push dword [ebp - 0x14]
call sub.kernel32.dll_lstrcatA
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push dword [ebp - 0x14]
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA
mov eax, dword [ebp - 8]
add eax, 2
mov dword [ebp - 8], eax
push dword [ebp - 8]
lea eax, [ebp - 0x18]
push eax
call fcn.100037ed
cmp eax, 1
jne 0x10008c9f
lea eax, [ebp - 0x18]
push eax
call fcn.100036e2
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push edx
push 0
push 0
push dword [ebp - 0x14]
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA
or eax, eax
jne 0x10008c96
push 0
lea eax, [ebp - 0x18]
push eax
call fcn.10003eeb
lea eax, [ebp - 0x18]
push eax
call fcn.100036e2
mov edi, eax
add edi, edx
mov esi, edx
mov ecx, 2
mov edx, edi
sub edx, esi
push 0x23
push edx
push esi
call fcn.10002126
cmp eax, 0
je 0x10008c96
mov esi, eax
inc esi
loop 0x10008c3d
lea eax, [ebp - 0x18]
push eax
call fcn.100036e2
sub esi, edx
push 0
push esi
push 0
lea eax, [ebp - 0x18]
push eax
call fcn.10003cf8
lea eax, [ebp - 0x18]
push eax
call fcn.100036e2
mov edi, edx
mov edx, eax
push 0x23
push edx
push edi
call fcn.10002126
cmp eax, 0
je 0x10008c96
sub eax, edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.100037ed
jmp 0x10008c9f
lea eax, [ebp - 0x18]
push eax
call fcn.100040c5
push dword [ebp - 0x14]
call sub.kernel32.dll_GlobalFree
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey
mov eax, dword [ebp - 0x18]
pop esi
pop edi
pop ecx
pop edx
pop ebx
leave
ret 4

Function at 0x10008cbb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push edx
push ecx
push edi
push esi
push 0
pop dword [ebp - 8]
push dword [ebp + 0xc]
call fcn.100036e2
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
push str.ParentIdPrefix
push dword [ebp + 8]
call sub.advapi32.dll_RegQueryValueExA
mov eax, dword [ebp - 0xc]
add eax, 2
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
push 0x40
call sub.kernel32.dll_GlobalAlloc
or eax, eax
je 0x10008d4e
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
push 0
push 0
push str.ParentIdPrefix
push dword [ebp + 8]
call sub.advapi32.dll_RegQueryValueExA
or eax, eax
jne 0x10008d46
push dword [ebp - 0x10]
call fcn.100021a0
push eax
push dword [ebp - 0x10]
push dword [ebp - 4]
push dword [ebp - 0x14]
call fcn.1000245c
or eax, eax
je 0x10008d46
push 1
pop dword [ebp - 8]
push dword [ebp - 0x10]
call sub.kernel32.dll_GlobalFree
mov eax, dword [ebp - 8]
pop esi
pop edi
pop ecx
pop edx
pop ebx
leave
ret 8