Function at 0x10006ed0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x124
push ebx
mov ebx, dword [ebp + 0x78]
push esi
push edi
mov dword [ebp + 0x68], 0
test ebx, ebx
je 0x100071c3
mov edi, dword [ebp + 0x74]
mov eax, dword [edi]
cmp eax, dword [0x10043578]
jne 0x10006f22
mov ecx, dword [edi + 4]
cmp ecx, dword [0x1004357c]
jne 0x10006f22
mov edx, dword [edi + 8]
cmp edx, dword [0x10043580]
jne 0x10006f22
mov eax, dword [edi + 0xc]
cmp eax, dword [0x10043584]
je 0x100071c3
lea ecx, [ebp + 0x68]
push ecx
push 0x1003ba68
push 1
push 0
push 0x100435e8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x10006f65
mov eax, dword [ebp + 0x68]
test eax, eax
je 0x100071c3
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
xor eax, eax
lea esp, [ebp - 0xc4]
pop edi
pop esi
pop ebx
add ebp, 0x6c
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx], 0
je 0x10006fe6
cmp dword [ebp + 0x7c], 0
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
mov dword [ebp + 0x48], ecx
mov edx, dword [eax + 4]
mov dword [ebp + 0x4c], edx
mov ecx, dword [eax + 8]
mov dword [ebp + 0x50], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [ebp + 0x68]
mov dword [ebp + 0x54], edx
mov ecx, dword [eax]
lea edx, [ebp + 0x48]
push edx
push 1
push edi
push eax
je 0x10006fcf
cmp dword [ebx], 1
jne 0x10006fa1
mov eax, dword [ecx + 0x14]
jmp 0x10006fa4
mov eax, dword [ecx + 0x1c]
call eax
mov esi, eax
test esi, esi
jge 0x10006fde
mov eax, dword [ebp + 0x68]
test eax, eax
je 0x10006fbb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
lea esp, [ebp - 0xc4]
pop edi
pop esi
pop ebx
add ebp, 0x6c
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx], 1
jne 0x10006fd9
mov eax, dword [ecx + 0x18]
jmp 0x10006fdc
mov eax, dword [ecx + 0x20]
call eax
add ebx, 8
cmp dword [ebx], 0
jne 0x10006f6a
cmp dword [ebp + 0x7c], 0
jne 0x100071b4
push 0x40
lea eax, [ebp - 0xb8]
push eax
push edi
call dword [sym.imp.ole32.dll_StringFromGUID2]
lea ecx, [ebp - 0xb8]
push ecx
mov dword [ebp + 0x78], 0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push 2
push eax
lea edx, [ebp + 0x7c]
push edx
mov dword [ebp + 0x7c], eax
call fcn.10002460
add esp, 0xc
test eax, eax
jl 0x100071ac
mov esi, dword [ebp + 0x7c]
cmp esi, 0x400
jg 0x10007052
push esi
call fcn.100032c0
add esp, 4
test al, al
je 0x10007052
mov eax, esi
call fcn.10024ce0
mov eax, esp
jmp 0x1000705b
push esi
lea ecx, [ebp + 0x78]
call fcn.100035f0
push 3
push esi
lea ecx, [ebp - 0xb8]
push ecx
push eax
call fcn.100024f0
mov esi, eax
test esi, esi
je 0x100071ac
push str.CLSID_
lea edx, [ebp - 0x38]
push 0x80
push edx
call fcn.10006ab0
push esi
lea eax, [ebp - 0x38]
push 0x80
push eax
call fcn.10006ad0
push str.Required_Categories
lea ecx, [ebp - 0x38]
push 0x80
push ecx
call fcn.10006ad0
add esp, 0x24
push 0x20019
lea edx, [ebp - 0x38]
xor edi, edi
push edx
push SysReAllocStringLen
lea ecx, [ebp + 0x60]
mov dword [ebp + 0x58], SysReAllocStringLen
mov dword [ebp + 0x5c], edi
mov dword [ebp + 0x60], edi
mov dword [ebp + 0x64], edi
mov dword [ebp + 0x7c], edi
call fcn.10002780
test eax, eax
jne 0x10007113
mov ecx, dword [ebp + 0x60]
push edi
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp + 0x7c]
push eax
push edi
push edi
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
lea ecx, [ebp + 0x60]
mov ebx, eax
call fcn.10002750
cmp ebx, edi
jne 0x10007113
cmp dword [ebp + 0x7c], edi
jne 0x10007113
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp + 0x58]
call fcn.100026f0
push str.CLSID_
lea eax, [ebp - 0x38]
push 0x80
push eax
call fcn.10006ab0
push esi
lea ecx, [ebp - 0x38]
push 0x80
push ecx
call fcn.10006ad0
push str.Implemented_Categories
lea edx, [ebp - 0x38]
push 0x80
push edx
call fcn.10006ad0
add esp, 0x24
push 0x20019
lea eax, [ebp - 0x38]
push eax
push SysReAllocStringLen
lea ecx, [ebp + 0x60]
call fcn.10002780
test eax, eax
jne 0x1000719c
mov edx, dword [ebp + 0x60]
push edi
push edi
push edi
push edi
push edi
push edi
push edi
lea ecx, [ebp + 0x7c]
push ecx
push edi
push edi
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
lea ecx, [ebp + 0x60]
mov esi, eax
call fcn.10002750
cmp esi, edi
jne 0x1000719c
cmp dword [ebp + 0x7c], edi
jne 0x1000719c
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp + 0x58]
call fcn.100026f0
lea ecx, [ebp + 0x60]
call fcn.100033e0
lea ecx, [ebp + 0x58]
call fcn.100033e0
lea ecx, [ebp + 0x78]
call fcn.100031f0
mov eax, dword [ebp + 0x68]
test eax, eax
je 0x100071c3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
lea esp, [ebp - 0xc4]
pop edi
pop esi
pop ebx
add ebp, 0x6c
mov esp, ebp
pop ebp
ret 0xc