Function at 0x10002874
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x11c
push ebx
push esi
mov esi, dword [ebp + 0x78]
xor ebx, ebx
cmp esi, ebx
push edi
mov dword [ebp + 0x68], ebx
je 0x10002a41
push 0x1000bb5c
push dword [ebp + 0x74]
call fcn.100011a6
test eax, eax
pop ecx
pop ecx
jne 0x10002a41
lea eax, [ebp + 0x68]
push eax
push 0x1000b5c8
push 1
push ebx
push 0x1000bb4c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x10002a34
cmp dword [esi], ebx
mov eax, esi
mov dword [ebp + 0x78], eax
jne 0x10002a56
cmp dword [ebp + 0x7c], ebx
jne 0x10002a34
push 0x40
lea eax, [ebp - 0xb0]
push eax
push dword [ebp + 0x74]
call dword [sym.imp.ole32.dll_StringFromGUID2]
call dword [0x1000d020]
mov edi, eax
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [eax + eax + 2]
mov eax, esi
add eax, 3
and eax, 0xfffffffc
call fcn.10009ba0
mov eax, esp
push edi
push esi
lea ecx, [ebp - 0xb0]
push ecx
push eax
call fcn.10001410
cmp eax, ebx
mov dword [ebp + 0x78], eax
je 0x10002a34
push str.CLSID_
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp + 0x78]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x30]
push eax
call esi
push str.Required_Categories
lea eax, [ebp - 0x30]
push eax
call esi
push 0x20019
lea eax, [ebp - 0x30]
mov edi, SysReAllocString
push eax
push edi
lea ecx, [ebp + 0x74]
mov dword [ebp + 0x64], edi
mov dword [ebp + 0x74], ebx
mov dword [ebp + 0x7c], ebx
call fcn.10001765
test eax, eax
jne 0x100029b6
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp + 0x7c]
push eax
push ebx
push ebx
push ebx
push dword [ebp + 0x74]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
lea ecx, [ebp + 0x74]
mov dword [ebp + 0x60], eax
call fcn.100016e6
cmp dword [ebp + 0x60], ebx
jne 0x100029b6
cmp dword [ebp + 0x7c], ebx
jne 0x100029b6
lea eax, [ebp - 0x30]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push str.CLSID_
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp + 0x78]
lea eax, [ebp - 0x30]
push eax
call esi
push str.Implemented_Categories
lea eax, [ebp - 0x30]
push eax
call esi
push 0x20019
lea eax, [ebp - 0x30]
push eax
push edi
lea ecx, [ebp + 0x74]
call fcn.10001765
test eax, eax
jne 0x10002a24
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp + 0x7c]
push eax
push ebx
push ebx
push ebx
push dword [ebp + 0x74]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
lea ecx, [ebp + 0x74]
mov esi, eax
call fcn.100016e6
cmp esi, ebx
jne 0x10002a24
cmp dword [ebp + 0x7c], ebx
jne 0x10002a24
lea eax, [ebp - 0x30]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea ecx, [ebp + 0x74]
call fcn.100016e6
lea ecx, [ebp + 0x64]
call fcn.100016e6
mov eax, dword [ebp + 0x68]
cmp eax, ebx
je 0x10002a41
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
lea esp, [ebp - 0xbc]
pop edi
pop esi
pop ebx
add ebp, 0x6c
leave
ret 0xc
mov eax, dword [ebp + 0x78]
cmp dword [ebp + 0x7c], ebx
mov esi, dword [eax + 4]
lea edi, [ebp + 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edx, [ebp + 0x50]
movsd dword es:[edi], dword [esi]
push edx
push 1
push dword [ebp + 0x74]
movsd dword es:[edi], dword [esi]
je 0x10002a98
cmp dword [eax], 1
mov eax, dword [ebp + 0x68]
mov ecx, dword [eax]
push eax
jne 0x10002a7e
call dword [ecx + 0x14]
jmp 0x10002a81
call dword [ecx + 0x1c]
mov esi, eax
cmp esi, ebx
jge 0x10002aab
mov eax, dword [ebp + 0x68]
cmp eax, ebx
je 0x10002a94
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x10002a43
cmp dword [eax], 1
mov eax, dword [ebp + 0x68]
mov ecx, dword [eax]
push eax
jne 0x10002aa8
call dword [ecx + 0x18]
jmp 0x10002aab
call dword [ecx + 0x20]
add dword [ebp + 0x78], 8
mov eax, dword [ebp + 0x78]
cmp dword [eax], ebx
jne 0x10002a53
jmp 0x100028d5