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

Disassembly:
push ebp
lea ebp, [esp - 0xb0]
sub esp, 0x130
mov eax, dword [0x1000c878]
xor eax, ebp
mov dword [ebp + 0xac], eax
mov eax, dword [ebp + 0xb8]
push ebx
push esi
mov esi, dword [ebp + 0xbc]
push edi
xor edi, edi
cmp esi, edi
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x6c], edi
je 0x10003186
push 0x100098f4
push eax
call fcn.10001000
test eax, eax
pop ecx
pop ecx
jne 0x10003186
lea eax, [ebp - 0x6c]
push eax
push 0x1000971c
push 1
push edi
push 0x10009904
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x10002f42
mov eax, dword [ebp - 0x6c]
cmp eax, edi
jmp 0x1000317e
cmp dword [esi], edi
mov ebx, esi
je 0x10002fa6
cmp dword [ebp + 0xc0], 0
mov esi, dword [ebx + 4]
mov eax, dword [ebp - 0x6c]
lea edi, [ebp - 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x64]
push edx
movsd dword es:[edi], dword [esi]
push 1
push dword [ebp - 0x68]
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
push eax
je 0x10002f91
cmp dword [ebx], 1
jne 0x10002f74
call dword [ecx + 0x14]
jmp 0x10002f77
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
jge 0x10002f9e
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x10002f8a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x10003188
cmp dword [ebx], 1
jne 0x10002f9b
call dword [ecx + 0x18]
jmp 0x10002f9e
call dword [ecx + 0x20]
add ebx, 8
cmp dword [ebx], 0
jne 0x10002f48
cmp dword [ebp + 0xc0], 0
jne 0x10003179
push 0x40
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x68]
call dword [sym.imp.ole32.dll_StringFromGUID2]
call dword [0x1000c82c]
and dword [ebp - 0x74], 0
mov edi, eax
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push 2
push eax
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x70]
push eax
call fcn.10001045
add esp, 0xc
test eax, eax
jl 0x10003171
mov esi, dword [ebp - 0x70]
cmp esi, 0x400
jg 0x10003014
push esi
call fcn.10001c53
test al, al
pop ecx
je 0x10003014
mov eax, esi
call fcn.100072c0
mov eax, esp
jmp 0x1000301d
push esi
lea ecx, [ebp - 0x74]
call fcn.1000246b
push edi
push esi
lea ecx, [ebp - 0x54]
push ecx
push eax
call fcn.10001126
test eax, eax
mov dword [ebp - 0x78], eax
je 0x10003171
push str.CLSID_
mov esi, 0x80
lea eax, [ebp + 0x2c]
push esi
push eax
call dword [sym.imp.MSVCR80.dll_strcpy_s]
push eax
call fcn.100011a9
push dword [ebp - 0x78]
mov edi, dword [sym.imp.MSVCR80.dll_strcat_s]
lea eax, [ebp + 0x2c]
push esi
push eax
call edi
push eax
call fcn.100011a9
push str.Required_Categories
lea eax, [ebp + 0x2c]
push esi
push eax
call edi
push eax
call fcn.100011a9
and dword [ebp - 0x68], 0
and dword [ebp - 0x70], 0
add esp, 0x30
push 0x20019
lea eax, [ebp + 0x2c]
mov ebx, SysReAllocString
push eax
push ebx
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x80], ebx
call fcn.10001492
test eax, eax
jne 0x100030d9
push eax
push eax
push eax
push eax
push eax
push eax
push eax
lea ecx, [ebp - 0x70]
push ecx
push eax
push eax
push eax
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x7c], eax
call fcn.1000142d
cmp dword [ebp - 0x7c], 0
jne 0x100030d9
cmp dword [ebp - 0x70], 0
jne 0x100030d9
lea eax, [ebp + 0x2c]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push str.CLSID_
lea eax, [ebp + 0x2c]
push esi
push eax
call dword [sym.imp.MSVCR80.dll_strcpy_s]
push eax
call fcn.100011a9
push dword [ebp - 0x78]
lea eax, [ebp + 0x2c]
push esi
push eax
call edi
push eax
call fcn.100011a9
push str.Implemented_Categories
lea eax, [ebp + 0x2c]
push esi
push eax
call edi
push eax
call fcn.100011a9
add esp, 0x30
push 0x20019
lea eax, [ebp + 0x2c]
push eax
push ebx
lea ecx, [ebp - 0x68]
call fcn.10001492
test eax, eax
jne 0x10003161
xor esi, esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x70]
push eax
push esi
push esi
push esi
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
lea ecx, [ebp - 0x68]
mov edi, eax
call fcn.1000142d
cmp edi, esi
jne 0x10003161
cmp dword [ebp - 0x70], esi
jne 0x10003161
lea eax, [ebp + 0x2c]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea ecx, [ebp - 0x68]
call fcn.1000142d
lea ecx, [ebp - 0x80]
call fcn.1000142d
lea ecx, [ebp - 0x74]
call fcn.10001ac2
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x10003186
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.10007218
add ebp, 0xb0
leave
ret 0xc