Function at 0x411cd0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51dff0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x55d184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push str.CLSID_
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], eax
call fcn.0040b4a0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x44]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push 0xf013f
push 0
push eax
push SysReAllocString
call ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x411d78
push dword [ebp - 0x44]
mov ecx, edi
call fcn.004113b0
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x411d78
push eax
call esi
push str.SOFTWAREClassesCLSID_
lea ecx, [ebp - 0x28]
call fcn.0040b4a0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x48]
push ecx
push 0xf013f
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
jne 0x411dbb
push dword [ebp - 0x48]
mov ecx, edi
call fcn.004113b0
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x411dbb
push eax
call esi
push str.TypeLib_
lea ecx, [ebp - 0x28]
call fcn.0040b4a0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x4c]
push ecx
push 0xf013f
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push SysReAllocString
call ebx
test eax, eax
jne 0x411dfe
push dword [ebp - 0x4c]
mov ecx, edi
call fcn.00411520
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x411dfe
push eax
call esi
xor eax, eax
mov dword [ebp - 0x50], 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShellIconOverlayIdentifiers_
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.0040b4a0
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x50]
push ecx
push 0xf013f
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x40]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
jne 0x411e82
push 0x526bc0
lea ecx, [ebp - 0x40]
call fcn.0040b4a0
push 0xd
push str.HkWallPaperIO
lea ecx, [ebp - 0x40]
call fcn.0040b840
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0x50]
call esi
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x411eb8
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411eae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411f0a
push edx
push ecx
call fcn.0049bb5c
add esp, 8
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x411eee
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411ee4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411f0f
push edx
push ecx
call fcn.0049bb5c
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049be04
mov esp, ebp
pop ebp
ret
call fcn.004cf6b9
call fcn.004cf6b9
int3