Function at 0x441870
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4da0f0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x522638]
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 esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x4a], bl
mov byte [ebp - 0x49], bl
cmp esi, ebx
je 0x441b04
cmp edi, ebx
je 0x441b04
cmp eax, ebx
je 0x441b04
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x54], ebx
call fcn.00408720
mov eax, esi
mov dword [ebp - 4], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4418e5
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x48]
call fcn.0040d980
push str.CURRENT_USER_
lea ecx, [ebp - 0x2c]
call fcn.00408720
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0040d6b0
push 0xb
push str.UserChoice
lea ecx, [ebp - 0x2c]
call fcn.0040d980
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x441939
lea eax, [ebp - 0x48]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0x54]
push ecx
push 0xf003f
push ebx
push eax
push 0x80000001
call esi
test eax, eax
jne 0x4419d8
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x50]
push edx
push 0x20019
push ebx
push 0x4e5c40
push eax
mov dword [ebp - 0x50], ebx
call esi
test eax, eax
jne 0x4419be
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x2c]
mov esi, 8
cmp dword [ebp - 0x18], esi
jae 0x44198f
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x5c]
push edx
push ebx
lea ecx, [ebp - 0x58]
push ecx
push ebx
push ebx
push 4
push 4
push eax
call dword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
mov edx, dword [ebp - 0x54]
push 0x4e5c40
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x4419c3
mov byte [ebp - 0x49], 1
jmp 0x4419c3
mov esi, 8
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x49], bl
jne 0x441abf
jmp 0x4419dd
mov esi, 8
push 0xb
push str.UserChoice
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x50], ebx
call fcn.0040d980
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x4419fa
lea eax, [ebp - 0x48]
push ebx
lea ecx, [ebp - 0x50]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x441ab1
mov ecx, dword [ebp - 0x58]
cmp ecx, ebx
je 0x441a3d
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x441a2e
lea eax, [ebp - 0x2c]
push ebx
push ecx
push ebx
push ebx
push 4
push 4
push eax
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x441a42
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
mov eax, dword [ebp - 0x50]
push edx
push edi
push 1
push ebx
push str.Progid
push eax
call esi
test eax, eax
jne 0x441aa2
mov edi, dword [ebp - 0x60]
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x441a77
sub eax, edx
mov edx, dword [ebp - 0x50]
sar eax, 1
lea ecx, [eax + eax + 2]
push ecx
push edi
push 1
push ebx
push str.Hash
push edx
call esi
test eax, eax
jne 0x441aa2
mov byte [ebp - 0x4a], 1
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 8
push ebx
push ebx
push ebx
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov eax, dword [ebp - 0x5c]
cmp eax, ebx
je 0x441acd
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x18], esi
jb 0x441ade
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00406ca9
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
cmp dword [ebp - 0x34], esi
jb 0x441aff
mov eax, dword [ebp - 0x48]
push eax
call fcn.00406ca9
add esp, 4
mov al, byte [ebp - 0x4a]
jmp 0x441b06
xor al, al
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.00401306
mov esp, ebp
pop ebp
ret