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

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x124
mov eax, dword [0x1004caec]
push ebx
push esi
push edi
lea ecx, [ebp - 0xb0]
mov dword [ebp + 0x68], eax
call fcn.10003152
mov esi, dword [ebp + 0x78]
xor ebx, ebx
cmp esi, ebx
je 0x10010bee
push 0x10042ea8
push dword [ebp + 0x74]
call fcn.1000ef02
test eax, eax
pop ecx
pop ecx
jne 0x10010bee
lea eax, [ebp - 0xb0]
push eax
push 0x10042ae4
push 1
push ebx
push 0x10042f18
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x10010bee
cmp dword [esi], ebx
mov eax, esi
mov dword [ebp - 0xac], eax
jne 0x10010a47
cmp dword [ebp + 0x7c], ebx
jne 0x10010bee
push 0x40
lea eax, [ebp - 0xa8]
push eax
push dword [ebp + 0x74]
call dword [sym.imp.ole32.dll_StringFromGUID2]
call dword [0x1004c0c0]
mov edi, eax
lea eax, [ebp - 0xa8]
push eax
mov dword [ebp + 0x78], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [eax + eax + 2]
cmp esi, 0x400
jg 0x10010aac
push esi
call fcn.10007118
test al, al
pop ecx
je 0x10010aac
mov eax, esi
add eax, 3
and eax, 0xfffffffc
call fcn.10031bb0
mov eax, esp
jmp 0x10010ab5
mov eax, dword [ebp - 0xac]
cmp dword [ebp + 0x7c], ebx
mov esi, dword [eax + 4]
lea edi, [ebp + 0x58]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edx, [ebp + 0x58]
movsd dword es:[edi], dword [esi]
push edx
push 1
push dword [ebp + 0x74]
movsd dword es:[edi], dword [esi]
je 0x10010a80
cmp dword [eax], 1
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax]
push eax
jne 0x10010a72
call dword [ecx + 0x14]
jmp 0x10010a75
call dword [ecx + 0x1c]
cmp eax, ebx
jge 0x10010a96
mov ebx, eax
jmp 0x10010bee
cmp dword [eax], 1
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax]
push eax
jne 0x10010a93
call dword [ecx + 0x18]
jmp 0x10010a96
call dword [ecx + 0x20]
add dword [ebp - 0xac], 8
mov eax, dword [ebp - 0xac]
cmp dword [eax], ebx
jne 0x10010a41
jmp 0x100109e2
push esi
lea ecx, [ebp + 0x78]
call fcn.1000ff27
push edi
push esi
lea ecx, [ebp - 0xa8]
push ecx
push eax
call fcn.1000ef2f
cmp eax, ebx
mov dword [ebp - 0xac], eax
je 0x10010be6
push str.CLSID_
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp - 0xac]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x28]
push eax
call esi
push str.Required_Categories
lea eax, [ebp - 0x28]
push eax
call esi
push 0x20019
lea eax, [ebp - 0x28]
mov edi, SysReAllocString
push eax
push edi
lea ecx, [ebp + 0x74]
mov dword [ebp - 0xb4], edi
mov dword [ebp + 0x74], ebx
mov dword [ebp + 0x7c], ebx
call fcn.100024fb
test eax, eax
jne 0x10010b62
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 - 0xb8], eax
call fcn.10002496
cmp dword [ebp - 0xb8], ebx
jne 0x10010b62
cmp dword [ebp + 0x7c], ebx
jne 0x10010b62
lea eax, [ebp - 0x28]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push str.CLSID_
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp - 0xac]
lea eax, [ebp - 0x28]
push eax
call esi
push str.Implemented_Categories
lea eax, [ebp - 0x28]
push eax
call esi
push 0x20019
lea eax, [ebp - 0x28]
push eax
push edi
lea ecx, [ebp + 0x74]
call fcn.100024fb
test eax, eax
jne 0x10010bd3
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.10002496
cmp esi, ebx
jne 0x10010bd3
cmp dword [ebp + 0x7c], ebx
jne 0x10010bd3
lea eax, [ebp - 0x28]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea ecx, [ebp + 0x74]
call fcn.10002496
lea ecx, [ebp - 0xb4]
call fcn.10002496
lea ecx, [ebp + 0x78]
call fcn.10007171
lea ecx, [ebp - 0xb0]
call fcn.1000696f
mov eax, ebx
lea esp, [ebp - 0xc4]
mov ecx, dword [ebp + 0x68]
call fcn.10030334
pop edi
pop esi
pop ebx
add ebp, 0x6c
leave
ret 0xc