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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a0a4
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x44ec90]
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 0x42cf05
cmp dword [ebp + 0xc], 0
je 0x42cf05
cmp dword [ebp + 0x10], 0
jne 0x42cf0d
mov al, byte [ebp - 0xd]
jmp 0x42d3c5
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x441668
lea ecx, [ebp - 0x3c]
call fcn.00404110
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00404220
push str.CURRENT_USER_
lea ecx, [ebp - 0x5c]
call fcn.00404110
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.004041f0
push 0x441700
lea ecx, [ebp - 0x5c]
call fcn.00404220
lea edx, [ebp - 0x14]
push edx
push 0xf003f
push 0
lea ecx, [ebp - 0x3c]
call fcn.00404280
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42d02f
mov dword [ebp - 0x60], 0
lea eax, [ebp - 0x60]
push eax
push 0x20019
push 0
push 0x441718
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42d025
mov edx, dword [ebp - 0x60]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x5c]
call fcn.00404280
push eax
lea ecx, [ebp - 0x64]
call fcn.00402790
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 fcn.00403240
push eax
call dword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x64]
call fcn.004032e0
push 0x441730
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x42d019
mov byte [ebp - 0x19], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.00407b20
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx ecx, byte [ebp - 0x19]
test ecx, ecx
jne 0x42d38b
mov dword [ebp - 0x68], 0
push 0x441748
lea ecx, [ebp - 0x3c]
call fcn.00404220
push 0
lea edx, [ebp - 0x68]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
lea ecx, [ebp - 0x3c]
call fcn.00404280
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42d109
cmp dword [ebp - 0x40], 0
je 0x42d0a3
push 0
mov eax, dword [ebp - 0x40]
push eax
push 0
push 0
push 4
push 4
push 0
lea ecx, [ebp - 0x5c]
call fcn.00404250
push eax
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00414847
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 0x42d0ff
mov edx, dword [ebp + 0x10]
push edx
call fcn.00414847
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 0x42d0ff
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]
call fcn.0042bb00
movzx ecx, al
test ecx, ecx
je 0x42d38b
push 0x44177c
mov edx, dword [ebp + 8]
push edx
call fcn.00414d0a
add esp, 8
test eax, eax
jne 0x42d38b
xor eax, eax
mov word [ebp - 0x274], ax
push 0x206
push 0
lea ecx, [ebp - 0x272]
push ecx
call fcn.004148c0
add esp, 0xc
push 0x441788
mov edx, dword [ebp + 0xc]
push edx
call fcn.0041493a
add esp, 8
test eax, eax
je 0x42d192
push str.SOFTWAREAdobeAcrobat_Reader
push 0x104
lea eax, [ebp - 0x274]
push eax
call fcn.00415313
add esp, 0xc
jmp 0x42d1c0
push 0x4417ec
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0041493a
add esp, 8
test eax, eax
je 0x42d1c0
push str.SOFTWAREAdobeAdobe_Acrobat
push 0x104
lea edx, [ebp - 0x274]
push edx
call fcn.00415313
add esp, 0xc
lea eax, [ebp - 0x274]
push eax
call fcn.00414847
add esp, 4
test eax, eax
je 0x42d38b
mov dword [ebp - 0x278], 0
lea ecx, [ebp - 0x278]
push ecx
push str.iSuppressToastMessage
lea edx, [ebp - 0x274]
push edx
push 0x80000002
call fcn.0042de70
add esp, 0x10
cmp dword [ebp - 0x278], 1
jae 0x42d38b
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x28c], eax
cmp dword [ebp - 0x28c], 0
je 0x42d23f
mov eax, dword [ebp - 0x28c]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 0x298], eax
jmp 0x42d249
mov dword [ebp - 0x298], 0
mov ecx, dword [ebp - 0x298]
mov dword [ebp - 0x288], ecx
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x288], 0
je 0x42d276
mov edx, dword [ebp - 0x288]
push edx
call dword [sym.imp.USER32.dll_SetCursor]
lea ecx, [ebp - 0x5c]
call fcn.00404280
push eax
lea ecx, [ebp - 0x280]
call fcn.00402790
mov byte [ebp - 4], 3
push str.HKEY_CURRENT_USER_
lea ecx, [ebp - 0x27c]
call fcn.00402790
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x27c]
call fcn.004032a0
push eax
push 0
lea ecx, [ebp - 0x280]
call fcn.00404020
lea ecx, [ebp - 0x284]
call fcn.00401850
mov byte [ebp - 4], 5
lea eax, [ebp - 0x284]
push eax
push str.ProgID
lea ecx, [ebp - 0x280]
call fcn.004031c0
push eax
push 0x80000001
call fcn.0042e2b0
add esp, 0x10
lea ecx, [ebp - 0x284]
call fcn.004031c0
push eax
call fcn.00414847
add esp, 4
test eax, eax
je 0x42d35e
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x284]
call fcn.004031c0
push eax
call fcn.00414d0a
add esp, 8
test eax, eax
je 0x42d35e
push str.ownership_is_not_confirmed
lea ecx, [ebp - 0x290]
call fcn.00402790
mov byte [ebp - 4], 6
push 0
lea edx, [ebp - 0x290]
push edx
push 2
call fcn.00438620
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x290]
call fcn.00407b20
call fcn.0042ca40
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x284]
call fcn.00407b20
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x27c]
call fcn.00407b20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x280]
call fcn.00407b20
cmp dword [ebp - 0x18], 0
je 0x42d39b
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov cl, byte [ebp - 0xd]
mov byte [ebp - 0x291], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.00404190
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00404190
mov al, byte [ebp - 0x291]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00414838
mov esp, ebp
pop ebp
ret