Function at 0x41ccd0
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x1b0
mov eax, dword [0x42d018]
xor eax, esp
mov dword [esp + 0x1ac], eax
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov edi, edx
cmp edi, ebp
mov esi, ecx
mov dword [esp + 0x10], ebp
je 0x41cfa7
mov eax, dword [esi]
cmp eax, dword [0x4223c0]
jne 0x41cd29
mov ecx, dword [esi + 4]
cmp ecx, dword [0x4223c4]
jne 0x41cd29
mov edx, dword [esi + 8]
cmp edx, dword [0x4223c8]
jne 0x41cd29
mov eax, dword [esi + 0xc]
cmp eax, dword [0x4223cc]
je 0x41cfa7
lea ecx, [esp + 0x10]
push ecx
push 0x428934
push 1
push ebp
push 0x4223a0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x41cf97
cmp dword [edi], ebp
mov ebx, edi
je 0x41cdc8
nop
cmp dword [esp + 0x1c4], ebp
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x34], edx
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push 1
push esi
push eax
je 0x41cdb2
cmp dword [ebx], 1
jne 0x41cd90
mov eax, dword [ecx + 0x14]
jmp 0x41cd93
mov eax, dword [ecx + 0x1c]
call eax
mov edi, eax
cmp edi, ebp
jge 0x41cdc1
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x41cdab
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, edi
jmp 0x41cfa9
cmp dword [ebx], 1
jne 0x41cdbc
mov eax, dword [ecx + 0x18]
jmp 0x41cdbf
mov eax, dword [ecx + 0x20]
call eax
add ebx, 8
cmp dword [ebx], ebp
jne 0x41cd50
cmp dword [esp + 0x1c4], ebp
jne 0x41cf97
push 0x40
lea eax, [esp + 0x13c]
push eax
push esi
call dword [sym.imp.ole32.dll_StringFromGUID2]
call dword [0x42d030]
mov edi, dword [sym.imp.MSVCR80.dll_wcscpy_s]
push str.CLSID_
lea ecx, [esp + 0x3c]
push 0x80
push ecx
mov dword [esp + 0x30], ebp
call edi
push eax
call fcn.00408c10
lea eax, [esp + 0x148]
lea ecx, [esp + 0x48]
call fcn.0041cfd0
mov ebx, dword [sym.imp.MSVCR80.dll_wcscat_s]
push str.Required_Categories
lea edx, [esp + 0x4c]
push 0x80
push edx
call ebx
push eax
call fcn.00408c10
add esp, 0x20
lea eax, [esp + 0x18]
push eax
push 0x20019
push ebp
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push Ordinal_1
mov dword [esp + 0x34], Ordinal_1
call ebp
test eax, eax
jne 0x41cec8
lea edx, [esp + 0x18]
push edx
lea esi, [esp + 0x18]
call fcn.00408f60
test eax, eax
jne 0x41cec8
push eax
mov ecx, dword [esp + 0x18]
push eax
push eax
push eax
push eax
push eax
push eax
lea eax, [esp + 0x38]
push eax
push 0
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [esp + 0x18], eax
call fcn.00408ef0
cmp dword [esp + 0x18], 0
jne 0x41cec8
cmp dword [esp + 0x1c], 0
jne 0x41cec8
lea edx, [esp + 0x38]
push edx
push Ordinal_1
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push str.CLSID_
lea eax, [esp + 0x3c]
push 0x80
push eax
call edi
push eax
call fcn.00408c10
lea eax, [esp + 0x148]
lea ecx, [esp + 0x48]
call fcn.0041cfd0
push str.Implemented_Categories
lea ecx, [esp + 0x4c]
push 0x80
push ecx
call ebx
push eax
call fcn.00408c10
add esp, 0x20
lea edx, [esp + 0x18]
push edx
push 0x20019
push 0
lea eax, [esp + 0x44]
push eax
push Ordinal_1
mov dword [esp + 0x2c], 0
call ebp
test eax, eax
jne 0x41cf7a
lea ecx, [esp + 0x18]
push ecx
lea esi, [esp + 0x18]
call fcn.00408f60
test eax, eax
jne 0x41cf7a
push eax
push eax
push eax
push eax
push eax
push eax
push eax
lea edx, [esp + 0x38]
push edx
push eax
push eax
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, eax
call fcn.00408ef0
test edi, edi
jne 0x41cf7a
cmp dword [esp + 0x1c], edi
jne 0x41cf7a
lea ecx, [esp + 0x38]
push ecx
push Ordinal_1
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea esi, [esp + 0x14]
call fcn.00408ed0
lea esi, [esp + 0x20]
call fcn.00408ed0
lea esi, [esp + 0x24]
call fcn.004130a0
xor ebp, ebp
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x41cfa7
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
xor eax, eax
mov ecx, dword [esp + 0x1bc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041f208
add esp, 0x1b0
ret 4