Function at 0x10032559
Capabilities:
Delete registry key

Disassembly:
push ebp
lea ebp, [esp - 0x12c]
sub esp, 0x1ac
mov eax, dword [0x10071ef0]
xor eax, ebp
mov dword [ebp + 0x128], eax
mov eax, dword [ebp + 0x134]
push esi
mov esi, dword [ebp + 0x138]
push edi
xor edi, edi
cmp esi, edi
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x70], edi
jne 0x10032595
xor eax, eax
jmp 0x100327b2
push 0x10063860
push eax
call fcn.1000143a
test eax, eax
pop ecx
pop ecx
jne 0x1003258e
lea eax, [ebp - 0x70]
push eax
push 0x1005dc1c
push 1
push edi
push 0x10063840
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x100325d0
mov eax, dword [ebp - 0x70]
cmp eax, edi
je 0x1003258e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1003258e
cmp dword [esi], edi
push ebx
mov ebx, esi
je 0x10032635
cmp dword [ebp + 0x13c], 0
mov esi, dword [ebx + 4]
mov eax, dword [ebp - 0x70]
lea edi, [ebp - 0x68]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x68]
push edx
movsd dword es:[edi], dword [esi]
push 1
push dword [ebp - 0x6c]
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
push eax
je 0x10032620
cmp dword [ebx], 1
jne 0x10032603
call dword [ecx + 0x14]
jmp 0x10032606
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
jge 0x1003262d
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x10032619
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x100327b1
cmp dword [ebx], 1
jne 0x1003262a
call dword [ecx + 0x18]
jmp 0x1003262d
call dword [ecx + 0x20]
add ebx, 8
cmp dword [ebx], 0
jne 0x100325d7
cmp dword [ebp + 0x13c], 0
jne 0x100327a2
push 0x40
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x6c]
call dword [sym.imp.ole32.dll_StringFromGUID2]
call dword [0x10071f08]
and dword [ebp - 0x7c], 0
push str.CLSID_
mov esi, 0x80
lea eax, [ebp + 0x28]
push esi
push eax
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
push eax
call fcn.100028b9
mov edi, dword [sym.imp.MSVCR80.dll_wcscat_s]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp + 0x28]
push esi
push eax
call edi
push eax
call fcn.100028b9
push str.Required_Categories
lea eax, [ebp + 0x28]
push esi
push eax
call edi
push eax
call fcn.100028b9
and dword [ebp - 0x6c], 0
and dword [ebp - 0x74], 0
add esp, 0x30
push 0x20019
lea eax, [ebp + 0x28]
mov ebx, SysReAllocStringLen
push eax
push ebx
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x78], ebx
call fcn.100310f2
test eax, eax
jne 0x10032701
push eax
push eax
push eax
push eax
push eax
push eax
push eax
lea ecx, [ebp - 0x74]
push ecx
push eax
push eax
push eax
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x80], eax
call fcn.1003108d
cmp dword [ebp - 0x80], 0
jne 0x10032701
cmp dword [ebp - 0x74], 0
jne 0x10032701
lea eax, [ebp + 0x28]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push str.CLSID_
lea eax, [ebp + 0x28]
push esi
push eax
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
push eax
call fcn.100028b9
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp + 0x28]
push esi
push eax
call edi
push eax
call fcn.100028b9
push str.Implemented_Categories
lea eax, [ebp + 0x28]
push esi
push eax
call edi
push eax
call fcn.100028b9
add esp, 0x30
push 0x20019
lea eax, [ebp + 0x28]
push eax
push ebx
lea ecx, [ebp - 0x6c]
call fcn.100310f2
test eax, eax
jne 0x1003278a
xor esi, esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
push esi
push esi
push esi
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
lea ecx, [ebp - 0x6c]
mov edi, eax
call fcn.1003108d
cmp edi, esi
jne 0x1003278a
cmp dword [ebp - 0x74], esi
jne 0x1003278a
lea eax, [ebp + 0x28]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x6c]
call fcn.1003108d
lea ecx, [ebp - 0x78]
call fcn.1003108d
lea ecx, [ebp - 0x7c]
call fcn.1000bf7e
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x100327af
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
pop ebx
mov ecx, dword [ebp + 0x128]
pop edi
xor ecx, ebp
pop esi
call fcn.1003e70b
add ebp, 0x12c
leave
ret 0xc