Function at 0x10006ecd
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x7c8]
sub esp, 0x848
mov eax, dword [0x1002b19c]
xor eax, ebp
mov dword [ebp + 0x7c4], eax
push ebx
push esi
push edi
call fcn.1000589b
xor ebx, ebx
mov esi, 0x20019
push esi
push 0x100243a4
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
call fcn.1001dca7
test eax, eax
jne 0x100070d1
push esi
push 0x100243b0
push dword [ebp - 0x80]
lea ecx, [ebp - 0x74]
call fcn.1001dca7
lea ecx, [ebp - 0x68]
test eax, eax
jne 0x100070d4
push esi
push 0x100243bc
push dword [ebp - 0x74]
call fcn.1001dca7
test eax, eax
jne 0x100070d1
mov esi, 0x3ff
push esi
lea eax, [ebp + 0x3c5]
push ebx
push eax
mov dword [ebp - 0x5c], ebx
mov byte [ebp + 0x3c4], bl
call fcn.1000c3a0
push esi
lea eax, [ebp - 0x3b]
push ebx
push eax
mov byte [ebp - 0x3c], bl
call fcn.1000c3a0
add esp, 0x18
lea edi, [esi + 1]
push edi
lea eax, [ebp + 0x3c4]
push eax
push ebx
jmp 0x100070c0
lea eax, [ebp + 0x3c4]
mov dword [ebp - 0x58], ebx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10006fa9
sub eax, esi
lea ecx, [ebp - 0x3c]
mov edx, dword [ebp - 0x58]
mov dl, byte [ebp + edx + 0x3c4]
cmp dl, 0x2e
je 0x10006fc7
mov byte [ecx], dl
inc ecx
inc dword [ebp - 0x58]
cmp dword [ebp - 0x58], eax
jbe 0x10006fb5
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x54], str.NODOTVERSION
call dword [sym.imp.kernel32.dll_lstrlenA]
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x10006ff6
xor eax, eax
jmp 0x1000700d
lea eax, [esi + esi]
call fcn.1000c860
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x3c]
push ecx
push eax
call fcn.1001dca7
push str.5852F5ED_8BF4_11D4_A245_0080C6F74284
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], str.CLSID_STRING
call dword [sym.imp.kernel32.dll_lstrlenA]
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x10007031
xor eax, eax
jmp 0x10007049
lea eax, [esi + esi]
call fcn.1000c860
mov eax, esp
push 3
push esi
push str.5852F5ED_8BF4_11D4_A245_0080C6F74284
push eax
call fcn.1001dca7
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
call fcn.1001dca7
test eax, eax
je 0x1000706d
lea eax, [ebp - 0x54]
push eax
push 1
push 0x67
push 0x1002c600
call fcn.10004942
call fcn.1001dca7
test eax, eax
je 0x1000707e
cmp dword [ebp + 0x7d0], ebx
je 0x10007090
lea eax, [ebp - 0x54]
push eax
push 1
push 0x68
push 0x1002c600
call fcn.10004942
call dword [sym.imp.ole32.dll_CoUninitialize]
push edi
lea eax, [ebp + 0x3c4]
push ebx
push eax
call fcn.1000c3a0
push edi
lea eax, [ebp - 0x3c]
push ebx
push eax
call fcn.1000c3a0
add esp, 0x18
inc dword [ebp - 0x5c]
push edi
lea eax, [ebp + 0x3c4]
push eax
push dword [ebp - 0x5c]
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x10006f9d
lea ecx, [ebp - 0x68]
call fcn.1000133f
lea ecx, [ebp - 0x74]
call fcn.1000133f
lea ecx, [ebp - 0x80]
call fcn.1000133f
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x7c4]
xor ecx, ebp
call fcn.1000c2c7
add ebp, 0x7c8
leave
ret