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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436bcf
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x449ca0]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0xd], 0
mov byte [ebp - 0x19], 0
cmp dword [ebp + 8], 0
je 0x42b762
cmp dword [ebp + 0xc], 0
je 0x42b762
cmp dword [ebp + 0x10], 0
jne 0x42b76a
mov al, byte [ebp - 0xd]
jmp 0x42b9ab
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_
lea ecx, [ebp - 0x3c]
call main
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x3c]
call main
push str.CURRENT_USER_
lea ecx, [ebp - 0x5c]
call main
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x5c]
call main
push 0x43dda0
lea ecx, [ebp - 0x5c]
call main
lea edx, [ebp - 0x14]
push edx
push 0xf003f
push 0
lea ecx, [ebp - 0x3c]
call main
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42b88c
mov dword [ebp - 0x60], 0
lea eax, [ebp - 0x60]
push eax
push 0x20019
push 0
push 0x43ddb8
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42b882
mov edx, dword [ebp - 0x60]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x5c]
call main
push eax
lea ecx, [ebp - 0x64]
call main
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
push eax
push 0
lea ecx, [ebp - 0x40]
push ecx
push 0
push 0
push 4
push 4
lea ecx, [ebp - 0x64]
call main
push eax
call dword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x64]
call main
push 0x43ddd0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x42b876
mov byte [ebp - 0x19], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call main
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx ecx, byte [ebp - 0x19]
test ecx, ecx
jne 0x42b977
mov dword [ebp - 0x68], 0
push str.UserChoice
lea ecx, [ebp - 0x3c]
call main
push 0
lea edx, [ebp - 0x68]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
lea ecx, [ebp - 0x3c]
call main
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42b966
cmp dword [ebp - 0x40], 0
je 0x42b900
push 0
mov eax, dword [ebp - 0x40]
push eax
push 0
push 0
push 4
push 4
push 0
lea ecx, [ebp - 0x5c]
call main
push eax
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov ecx, dword [ebp + 0xc]
push ecx
call main
add esp, 4
lea edx, [eax + eax + 2]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 1
push 0
push str.Progid
mov ecx, dword [ebp - 0x68]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x42b95c
mov edx, dword [ebp + 0x10]
push edx
call main
add esp, 4
lea eax, [eax + eax + 2]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 1
push 0
push str.Hash
mov edx, dword [ebp - 0x68]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x42b95c
mov byte [ebp - 0xd], 1
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0
push 0
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
cmp dword [ebp - 0x18], 0
je 0x42b987
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.kernel32.dll_LocalFree]
mov dl, byte [ebp - 0xd]
mov byte [ebp - 0x69], dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call main
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call main
mov al, byte [ebp - 0x69]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0041422b
mov esp, ebp
pop ebp
ret