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

Disassembly:
push ebp
lea ebp, [esp - 0xb0]
sub esp, 0x130
mov eax, dword [0x100862c4]
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 0x1000c191
push 0x1006c394
push eax
call fcn.10001f24
test eax, eax
pop ecx
pop ecx
jne 0x1000c191
lea eax, [ebp - 0x70]
push eax
push 0x10068b04
push 1
push ebx
push 0x1006c454
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x1000c184
cmp dword [esi], ebx
mov eax, esi
mov dword [ebp - 0x6c], eax
jne 0x1000bfb6
cmp dword [ebp + 0xc0], ebx
jne 0x1000c184
push 0x40
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x68]
call dword [sym.imp.ole32.dll_StringFromGUID2]
call dword [0x10086284]
mov edi, eax
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x74], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push 2
push eax
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x6c]
push eax
call fcn.10001f51
add esp, 0xc
test eax, eax
jl 0x1000c17c
mov esi, dword [ebp - 0x6c]
cmp esi, 0x400
jg 0x1000c021
push esi
call fcn.100025c1
test al, al
pop ecx
je 0x1000c021
mov eax, esi
call fcn.1004c100
mov eax, esp
jmp 0x1000c02a
mov eax, dword [ebp - 0x6c]
cmp dword [ebp + 0xc0], ebx
mov esi, dword [eax + 4]
lea edi, [ebp - 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x64]
movsd dword es:[edi], dword [esi]
push edx
push 1
push dword [ebp - 0x68]
movsd dword es:[edi], dword [esi]
je 0x1000bffe
cmp dword [eax], 1
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push eax
jne 0x1000bfe1
call dword [ecx + 0x14]
jmp 0x1000bfe4
call dword [ecx + 0x1c]
mov esi, eax
cmp esi, ebx
jge 0x1000c011
mov eax, dword [ebp - 0x70]
cmp eax, ebx
je 0x1000bff7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x1000c193
cmp dword [eax], 1
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push eax
jne 0x1000c00e
call dword [ecx + 0x18]
jmp 0x1000c011
call dword [ecx + 0x20]
add dword [ebp - 0x6c], 8
mov eax, dword [ebp - 0x6c]
cmp dword [eax], ebx
jne 0x1000bfb3
jmp 0x1000bf43
push esi
lea ecx, [ebp - 0x74]
call fcn.1000293f
push edi
push esi
lea ecx, [ebp - 0x54]
push ecx
push eax
call fcn.10009d6d
cmp eax, ebx
mov dword [ebp - 0x78], eax
je 0x1000c17c
push str.CLSID_
mov esi, 0x80
lea eax, [ebp + 0x2c]
push esi
push eax
call fcn.1004b764
push eax
call fcn.10001fcd
push dword [ebp - 0x78]
lea eax, [ebp + 0x2c]
push esi
push eax
call fcn.1004e1be
push eax
call fcn.10001fcd
push str.Required_Categories
lea eax, [ebp + 0x2c]
push esi
push eax
call fcn.1004e1be
push eax
call fcn.10001fcd
add esp, 0x30
push 0x20019
lea eax, [ebp + 0x2c]
mov edi, SysReAllocString
push eax
push edi
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x6c], ebx
call fcn.10006590
test eax, eax
jne 0x1000c0e1
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 - 0x7c], eax
call fcn.10006579
cmp dword [ebp - 0x7c], ebx
jne 0x1000c0e1
cmp dword [ebp - 0x6c], ebx
jne 0x1000c0e1
lea eax, [ebp + 0x2c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push str.CLSID_
lea eax, [ebp + 0x2c]
push esi
push eax
call fcn.1004b764
push eax
call fcn.10001fcd
push dword [ebp - 0x78]
lea eax, [ebp + 0x2c]
push esi
push eax
call fcn.1004e1be
push eax
call fcn.10001fcd
push str.Implemented_Categories
lea eax, [ebp + 0x2c]
push esi
push eax
call fcn.1004e1be
push eax
call fcn.10001fcd
add esp, 0x30
push 0x20019
lea eax, [ebp + 0x2c]
push eax
push edi
lea ecx, [ebp - 0x68]
call fcn.10006590
test eax, eax
jne 0x1000c16c
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.10006579
cmp esi, ebx
jne 0x1000c16c
cmp dword [ebp - 0x6c], ebx
jne 0x1000c16c
lea eax, [ebp + 0x2c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea ecx, [ebp - 0x68]
call fcn.10006579
lea ecx, [ebp - 0x80]
call fcn.10006579
lea ecx, [ebp - 0x74]
call fcn.10002406
mov eax, dword [ebp - 0x70]
cmp eax, ebx
je 0x1000c191
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.1004ada8
add ebp, 0xb0
leave
ret 0xc