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

Disassembly:
push ebp
sub esp, 0x110
lea ebp, [esp - 4]
mov eax, dword [0x10068510]
xor eax, ebp
mov dword [ebp + 0x110], eax
push 0x24
mov eax, 0x10051ab5
call fcn.10037f36
mov eax, dword [ebp + 0x11c]
mov esi, dword [ebp + 0x120]
xor ebx, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ebx
xor edi, edi
inc edi
mov dword [ebp - 4], edi
cmp esi, ebx
jne 0x10017864
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1001e586
xor eax, eax
lea esp, [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x110]
xor ecx, ebp
call fcn.10037f27
add ebp, 0x114
leave
ret 0xc
push 0x10059824
push eax
call fcn.10015e80
pop ecx
pop ecx
test eax, eax
jne 0x1001782e
lea eax, [ebp - 0x14]
push eax
push 0x10056ad0
push edi
push ebx
push 0x100598b4
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x1001789f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1001e586
mov eax, ebx
jmp 0x1001783c
mov eax, esi
mov dword [ebp - 0x10], eax
cmp dword [esi], ebx
jne 0x1001790f
cmp dword [ebp + 0x124], ebx
jne 0x1001788f
push 0x40
lea eax, [ebp + 0x10]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_StringFromGUID2]
mov dword [ebp - 0x24], ebx
mov byte [ebp - 4], 2
lea eax, [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push 2
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.10015ead
add esp, 0xc
test eax, eax
jl 0x10017afb
mov esi, dword [ebp - 0x10]
cmp esi, 0x400
jg 0x1001796b
push esi
call fcn.10016aa9
pop ecx
test al, al
je 0x1001796b
mov eax, esi
call fcn.1003aee0
mov eax, esp
jmp 0x10017974
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 4]
lea edi, [ebp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edx, [ebp]
movsd dword es:[edi], dword [esi]
push edx
push 1
push dword [ebp - 0x18]
movsd dword es:[edi], dword [esi]
cmp dword [ebp + 0x124], ebx
je 0x10017948
cmp dword [eax], 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
jne 0x1001793a
call dword [ecx + 0x14]
jmp 0x1001793d
call dword [ecx + 0x1c]
cmp eax, ebx
jge 0x1001795b
mov ebx, eax
jmp 0x1001788f
cmp dword [eax], 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
jne 0x10017958
call dword [ecx + 0x18]
jmp 0x1001795b
call dword [ecx + 0x20]
add dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x10]
cmp dword [eax], ebx
jne 0x1001790c
jmp 0x100178a8
push esi
lea ecx, [ebp - 0x24]
call fcn.10016e1c
push 3
push esi
lea ecx, [ebp + 0x10]
push ecx
push eax
call fcn.100047ab
mov dword [ebp - 0x18], eax
cmp eax, ebx
je 0x10017afb
push str.CLSID_
mov esi, 0x80
lea eax, [ebp + 0x90]
push esi
push eax
call fcn.1003c5ef
push eax
call fcn.100018ae
push dword [ebp - 0x18]
lea eax, [ebp + 0x90]
push esi
push eax
call fcn.1003c72a
push eax
call fcn.100018ae
push str.Required_Categories
lea eax, [ebp + 0x90]
push esi
push eax
call fcn.1003c72a
push eax
call fcn.100018ae
mov edi, SysReAllocString
add esp, 0x30
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 4], 3
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 4
push 0x20019
lea eax, [ebp + 0x90]
push eax
push edi
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], ebx
call fcn.100161ad
test eax, eax
jne 0x10017a49
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x28], eax
call fcn.10016144
cmp dword [ebp - 0x28], ebx
jne 0x10017a49
cmp dword [ebp - 0x10], ebx
jne 0x10017a49
lea eax, [ebp + 0x90]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push str.CLSID_
lea eax, [ebp + 0x90]
push esi
push eax
call fcn.1003c5ef
push eax
call fcn.100018ae
push dword [ebp - 0x18]
lea eax, [ebp + 0x90]
push esi
push eax
call fcn.1003c72a
push eax
call fcn.100018ae
push str.Implemented_Categories
lea eax, [ebp + 0x90]
push esi
push eax
call fcn.1003c72a
push eax
call fcn.100018ae
add esp, 0x30
push 0x20019
lea eax, [ebp + 0x90]
push eax
push edi
lea ecx, [ebp - 0x20]
call fcn.100161ad
cmp eax, ebx
jne 0x10017ae3
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.10016144
cmp esi, ebx
jne 0x10017ae3
cmp dword [ebp - 0x10], ebx
jne 0x10017ae3
lea eax, [ebp + 0x90]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.10016144
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.10016144
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.10004ba1
jmp 0x1001788f