Function at 0x10002e6f
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xb0]
sub esp, 0x130
mov eax, dword [0x1003a560]
xor eax, ebp
mov dword [ebp + 0xac], eax
mov eax, dword [ebp + 0xb8]
push ebx
push esi
mov esi, dword [ebp + 0xbc]
xor ebx, ebx
cmp esi, ebx
push edi
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x70], ebx
je 0x100031ed
push 0x1002cb68
push eax
call fcn.10001000
test eax, eax
pop ecx
pop ecx
je 0x10002ee3
push str.0___Use_OBJECT_ENTRY_NON_CREATEABLE_EX_macro_if_you_want_to_register_class_categories_for_non_creatable_objects._
push ebx
push 0x19d9
push 0x10029838
push 2
call fcn.1000d400
add esp, 0x14
cmp eax, 1
jne 0x100031e0
int3
lea ecx, [ebp - 0x70]
call fcn.1000159b
push eax
push 0x1002a01c
push 1
push ebx
push 0x1002cb78
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x100031e0
cmp dword [esi], ebx
mov eax, esi
mov dword [ebp - 0x6c], eax
jne 0x10002f8a
cmp dword [ebp + 0xc0], ebx
jne 0x100031e0
push 0x40
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x68]
call dword [sym.imp.ole32.dll_StringFromGUID2]
call dword [0x1003a504]
mov edi, eax
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x7c], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push 2
push eax
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x74]
push eax
call fcn.10001045
add esp, 0xc
test eax, eax
jl 0x100031d8
mov esi, dword [ebp - 0x74]
cmp esi, 0x400
jg 0x1000307b
push esi
call fcn.100016c7
test al, al
pop ecx
je 0x1000307b
mov eax, esi
call fcn.1000ec30
mov eax, esp
jmp 0x10003084
mov eax, dword [ebp - 0x6c]
mov esi, dword [eax + 4]
mov eax, dword [eax]
lea edi, [ebp - 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
inc esi
cmp dword [ebp + 0xc0], ebx
je 0x10003011
cmp eax, esi
jne 0x10002fbd
lea ecx, [ebp - 0x70]
call fcn.100015c8
mov ecx, dword [eax]
lea edx, [ebp - 0x64]
push edx
push esi
push dword [ebp - 0x68]
push eax
call dword [ecx + 0x14]
jmp 0x10002ff7
cmp eax, 2
je 0x10002fe1
push str.pEntry__iType__2
push ebx
push 0x19f8
push 0x10029838
push 2
call fcn.1000d400
add esp, 0x14
cmp eax, esi
jne 0x10002fe1
int3
lea ecx, [ebp - 0x70]
call fcn.100015c8
mov ecx, dword [eax]
lea edx, [ebp - 0x64]
push edx
push esi
push dword [ebp - 0x68]
push eax
call dword [ecx + 0x1c]
mov esi, eax
cmp esi, ebx
jge 0x10003067
mov eax, dword [ebp - 0x70]
cmp eax, ebx
je 0x1000300a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x100031ef
cmp eax, esi
jne 0x1000302d
lea ecx, [ebp - 0x70]
call fcn.100015c8
mov ecx, dword [eax]
lea edx, [ebp - 0x64]
push edx
push esi
push dword [ebp - 0x68]
push eax
call dword [ecx + 0x18]
jmp 0x10003067
cmp eax, 2
je 0x10003051
push str.pEntry__iType__2
push ebx
push 0x1a09
push 0x10029838
push 2
call fcn.1000d400
add esp, 0x14
cmp eax, esi
jne 0x10003051
int3
lea ecx, [ebp - 0x70]
call fcn.100015c8
mov ecx, dword [eax]
lea edx, [ebp - 0x64]
push edx
push esi
push dword [ebp - 0x68]
push eax
call dword [ecx + 0x20]
add dword [ebp - 0x6c], 8
mov eax, dword [ebp - 0x6c]
cmp dword [eax], ebx
jne 0x10002f87
jmp 0x10002f10
push esi
lea ecx, [ebp - 0x7c]
call fcn.10001876
push edi
push esi
lea ecx, [ebp - 0x54]
push ecx
push eax
call fcn.10001102
cmp eax, ebx
mov dword [ebp - 0x78], eax
je 0x100031d8
push str.CLSID_
mov esi, 0x80
lea eax, [ebp + 0x2c]
push esi
push eax
call fcn.1000dc60
push eax
call fcn.1000124f
push dword [ebp - 0x78]
lea eax, [ebp + 0x2c]
push esi
push eax
call fcn.1000e340
push eax
call fcn.1000124f
push str.Required_Categories
lea eax, [ebp + 0x2c]
push esi
push eax
call fcn.1000e340
push eax
call fcn.1000124f
add esp, 0x30
push 0x20019
lea eax, [ebp + 0x2c]
mov edi, SysReAllocString
push eax
push edi
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x6c], ebx
call fcn.100013ca
test eax, eax
jne 0x1000313c
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x6c]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x80], eax
call fcn.100013b3
cmp dword [ebp - 0x80], ebx
jne 0x1000313c
cmp dword [ebp - 0x6c], ebx
jne 0x1000313c
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x74]
call fcn.1000137a
push str.CLSID_
lea eax, [ebp + 0x2c]
push esi
push eax
call fcn.1000dc60
push eax
call fcn.1000124f
push dword [ebp - 0x78]
lea eax, [ebp + 0x2c]
push esi
push eax
call fcn.1000e340
push eax
call fcn.1000124f
push str.Implemented_Categories
lea eax, [ebp + 0x2c]
push esi
push eax
call fcn.1000e340
push eax
call fcn.1000124f
add esp, 0x30
push 0x20019
lea eax, [ebp + 0x2c]
push eax
push edi
lea ecx, [ebp - 0x68]
call fcn.100013ca
test eax, eax
jne 0x100031c8
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x6c]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
lea ecx, [ebp - 0x68]
mov esi, eax
call fcn.100013b3
cmp esi, ebx
jne 0x100031c8
cmp dword [ebp - 0x6c], ebx
jne 0x100031c8
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x74]
call fcn.1000137a
lea ecx, [ebp - 0x68]
call fcn.100013b3
lea ecx, [ebp - 0x74]
call fcn.100013b3
lea ecx, [ebp - 0x7c]
call fcn.1000150e
mov eax, dword [ebp - 0x70]
cmp eax, ebx
je 0x100031ed
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xac]
xor ecx, ebp
call fcn.1000f1e0
add ebp, 0xb0
leave
ret 0xc