Function at 0x7c124e34
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
mov eax, dword [0x7c133774]
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
cmp esi, ebx
mov dword [ebp - 4], eax
mov dword [ebp - 0x198], ebx
je 0x7c124e97
push 0x7c12fd84
push dword [ebp + 8]
call fcn.7c121000
test eax, eax
pop ecx
pop ecx
jne 0x7c124e97
lea eax, [ebp - 0x198]
push eax
push 0x7c12e7d8
push 1
push ebx
push 0x7c12fd94
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x7c124e9e
mov eax, dword [ebp - 0x198]
cmp eax, ebx
je 0x7c124e97
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x7c125022
cmp dword [esi], ebx
mov eax, esi
push edi
mov dword [ebp - 0x19c], eax
jne 0x7c125036
cmp dword [ebp + 0x10], ebx
jne 0x7c12500f
push 0x40
lea eax, [ebp - 0x194]
push eax
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_StringFromGUID2]
call dword [0x7c132050]
push str.CLSID_
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x1a0], ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x114]
push eax
call esi
push str.Required_Categories
lea eax, [ebp - 0x114]
push eax
call esi
push 0x20019
lea eax, [ebp - 0x114]
mov edi, 0x80000000
push eax
push edi
lea ecx, [ebp + 8]
mov dword [ebp - 0x19c], edi
mov dword [ebp + 8], ebx
mov dword [ebp + 0x10], ebx
call fcn.7c122ce6
test eax, eax
jne 0x7c124f70
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 + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
lea ecx, [ebp + 8]
mov dword [ebp + 0xc], eax
call fcn.7c122ccf
cmp dword [ebp + 0xc], ebx
jne 0x7c124f70
cmp dword [ebp + 0x10], ebx
jne 0x7c124f70
lea eax, [ebp - 0x114]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push str.CLSID_
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x114]
push eax
call esi
push str.Implemented_Categories
lea eax, [ebp - 0x114]
push eax
call esi
push 0x20019
lea eax, [ebp - 0x114]
push eax
push edi
lea ecx, [ebp + 8]
call fcn.7c122ce6
test eax, eax
jne 0x7c124ff1
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 + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
lea ecx, [ebp + 8]
mov esi, eax
call fcn.7c122ccf
cmp esi, ebx
jne 0x7c124ff1
cmp dword [ebp + 0x10], ebx
jne 0x7c124ff1
lea eax, [ebp - 0x114]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp + 8]
call fcn.7c122ccf
lea ecx, [ebp - 0x19c]
call fcn.7c122ccf
lea ecx, [ebp - 0x1a0]
call fcn.7c1217b2
mov eax, dword [ebp - 0x198]
cmp eax, ebx
je 0x7c12501f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.7c12c444
leave
ret 0xc
mov eax, dword [ebp - 0x19c]
cmp dword [ebp + 0x10], ebx
mov esi, dword [eax + 4]
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
push edx
push 1
push dword [ebp + 8]
movsd dword es:[edi], dword [esi]
je 0x7c12507e
cmp dword [eax], 1
mov eax, dword [ebp - 0x198]
mov ecx, dword [eax]
push eax
jne 0x7c125061
call dword [ecx + 0x14]
jmp 0x7c125064
call dword [ecx + 0x1c]
mov esi, eax
cmp esi, ebx
jge 0x7c125094
mov eax, dword [ebp - 0x198]
cmp eax, ebx
je 0x7c12507a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x7c125021
cmp dword [eax], 1
mov eax, dword [ebp - 0x198]
mov ecx, dword [eax]
push eax
jne 0x7c125091
call dword [ecx + 0x18]
jmp 0x7c125094
call dword [ecx + 0x20]
add dword [ebp - 0x19c], 8
mov eax, dword [ebp - 0x19c]
cmp dword [eax], ebx
jne 0x7c125030
jmp 0x7c124eaf