Function at 0x10006b20
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 0x10006e13
mov edi, dword [ebp + 0x74]
mov eax, dword [edi]
cmp eax, dword [0x1003a808]
jne 0x10006b72
mov ecx, dword [edi + 4]
cmp ecx, dword [0x1003a80c]
jne 0x10006b72
mov edx, dword [edi + 8]
cmp edx, dword [0x1003a810]
jne 0x10006b72
mov eax, dword [edi + 0xc]
cmp eax, dword [0x1003a814]
je 0x10006e13
lea ecx, [ebp + 0x68]
push ecx
push 0x10037fe4
push 1
push 0
push 0x1003a878
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x10006bb5
mov eax, dword [ebp + 0x68]
test eax, eax
je 0x10006e13
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 0x10006c36
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 0x10006c1f
cmp dword [ebx], 1
jne 0x10006bf1
mov eax, dword [ecx + 0x14]
jmp 0x10006bf4
mov eax, dword [ecx + 0x1c]
call eax
mov esi, eax
test esi, esi
jge 0x10006c2e
mov eax, dword [ebp + 0x68]
test eax, eax
je 0x10006c0b
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 0x10006c29
mov eax, dword [ecx + 0x18]
jmp 0x10006c2c
mov eax, dword [ecx + 0x20]
call eax
add ebx, 8
cmp dword [ebx], 0
jne 0x10006bba
cmp dword [ebp + 0x7c], 0
jne 0x10006e04
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.10002a50
add esp, 0xc
test eax, eax
jl 0x10006dfc
mov esi, dword [ebp + 0x7c]
cmp esi, 0x400
jg 0x10006ca2
push esi
call fcn.10003860
add esp, 4
test al, al
je 0x10006ca2
mov eax, esi
call fcn.10022c20
mov eax, esp
jmp 0x10006cab
push esi
lea ecx, [ebp + 0x78]
call fcn.10003ba0
push 3
push esi
lea ecx, [ebp - 0xb8]
push ecx
push eax
call fcn.10002ae0
mov esi, eax
test esi, esi
je 0x10006dfc
push str.CLSID_
lea edx, [ebp - 0x38]
push 0x80
push edx
call fcn.10006700
push esi
lea eax, [ebp - 0x38]
push 0x80
push eax
call fcn.10006720
push str.Required_Categories
lea ecx, [ebp - 0x38]
push 0x80
push ecx
call fcn.10006720
add esp, 0x24
push 0x20019
lea edx, [ebp - 0x38]
xor edi, edi
push edx
push SysReAllocString
lea ecx, [ebp + 0x60]
mov dword [ebp + 0x58], SysStringLen
mov dword [ebp + 0x5c], edi
mov dword [ebp + 0x60], edi
mov dword [ebp + 0x64], edi
mov dword [ebp + 0x7c], edi
call fcn.10002d70
test eax, eax
jne 0x10006d63
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.10002d40
cmp ebx, edi
jne 0x10006d63
cmp dword [ebp + 0x7c], edi
jne 0x10006d63
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp + 0x58]
call fcn.10002ce0
push str.CLSID_
lea eax, [ebp - 0x38]
push 0x80
push eax
call fcn.10006700
push esi
lea ecx, [ebp - 0x38]
push 0x80
push ecx
call fcn.10006720
push str.Implemented_Categories
lea edx, [ebp - 0x38]
push 0x80
push edx
call fcn.10006720
add esp, 0x24
push 0x20019
lea eax, [ebp - 0x38]
push eax
push SysReAllocString
lea ecx, [ebp + 0x60]
call fcn.10002d70
test eax, eax
jne 0x10006dec
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.10002d40
cmp esi, edi
jne 0x10006dec
cmp dword [ebp + 0x7c], edi
jne 0x10006dec
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp + 0x58]
call fcn.10002ce0
lea ecx, [ebp + 0x60]
call fcn.10003990
lea ecx, [ebp + 0x58]
call fcn.10003990
lea ecx, [ebp + 0x78]
call fcn.10003790
mov eax, dword [ebp + 0x68]
test eax, eax
je 0x10006e13
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