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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439a07
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x44eca0]
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 0x42cc95
cmp dword [ebp + 0xc], 0
je 0x42cc95
cmp dword [ebp + 0x10], 0
jne 0x42cc9d
mov al, byte [ebp - 0xd]
jmp 0x42d155
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x441580
lea ecx, [ebp - 0x3c]
call fcn.00404040
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00404150
push str.CURRENT_USER_
lea ecx, [ebp - 0x5c]
call fcn.00404040
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.00404120
push 0x441618
lea ecx, [ebp - 0x5c]
call fcn.00404150
lea edx, [ebp - 0x14]
push edx
push 0xf003f
push 0
lea ecx, [ebp - 0x3c]
call fcn.004041b0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42cdbf
mov dword [ebp - 0x60], 0
lea eax, [ebp - 0x60]
push eax
push 0x20019
push 0
push 0x441630
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42cdb5
mov edx, dword [ebp - 0x60]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x5c]
call fcn.004041b0
push eax
lea ecx, [ebp - 0x64]
call fcn.00402690
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.00403170
push eax
call dword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x64]
call fcn.00403220
push 0x441648
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x42cda9
mov byte [ebp - 0x19], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.00407a70
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx ecx, byte [ebp - 0x19]
test ecx, ecx
jne 0x42d11b
mov dword [ebp - 0x68], 0
push 0x441660
lea ecx, [ebp - 0x3c]
call fcn.00404150
push 0
lea edx, [ebp - 0x68]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
lea ecx, [ebp - 0x3c]
call fcn.004041b0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42ce99
cmp dword [ebp - 0x40], 0
je 0x42ce33
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.00404180
push eax
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0041489a
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 0x42ce8f
mov edx, dword [ebp + 0x10]
push edx
call fcn.0041489a
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 0x42ce8f
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.0042b890
movzx ecx, al
test ecx, ecx
je 0x42d11b
push 0x441694
mov edx, dword [ebp + 8]
push edx
call fcn.00414cd5
add esp, 8
test eax, eax
jne 0x42d11b
xor eax, eax
mov word [ebp - 0x274], ax
push 0x206
push 0
lea ecx, [ebp - 0x272]
push ecx
call fcn.00414820
add esp, 0xc
push 0x4416a0
mov edx, dword [ebp + 0xc]
push edx
call fcn.004148b4
add esp, 8
test eax, eax
je 0x42cf22
push str.SOFTWAREAdobeAcrobat_Reader
push 0x104
lea eax, [ebp - 0x274]
push eax
call fcn.004152de
add esp, 0xc
jmp 0x42cf50
push 0x441704
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004148b4
add esp, 8
test eax, eax
je 0x42cf50
push str.SOFTWAREAdobeAdobe_Acrobat
push 0x104
lea edx, [ebp - 0x274]
push edx
call fcn.004152de
add esp, 0xc
lea eax, [ebp - 0x274]
push eax
call fcn.0041489a
add esp, 4
test eax, eax
je 0x42d11b
mov dword [ebp - 0x278], 0
lea ecx, [ebp - 0x278]
push ecx
push str.iSuppressToastMessage
lea edx, [ebp - 0x274]
push edx
push 0x80000002
call fcn.0042dc00
add esp, 0x10
cmp dword [ebp - 0x278], 1
jae 0x42d11b
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x28c], eax
cmp dword [ebp - 0x28c], 0
je 0x42cfcf
mov eax, dword [ebp - 0x28c]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 0x298], eax
jmp 0x42cfd9
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 0x42d006
mov edx, dword [ebp - 0x288]
push edx
call dword [sym.imp.USER32.dll_SetCursor]
lea ecx, [ebp - 0x5c]
call fcn.004041b0
push eax
lea ecx, [ebp - 0x280]
call fcn.00402690
mov byte [ebp - 4], 3
push str.HKEY_CURRENT_USER_
lea ecx, [ebp - 0x27c]
call fcn.00402690
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x27c]
call fcn.004031d0
push eax
push 0
lea ecx, [ebp - 0x280]
call fcn.00403f50
lea ecx, [ebp - 0x284]
call fcn.00402670
mov byte [ebp - 4], 5
lea eax, [ebp - 0x284]
push eax
push str.ProgID
lea ecx, [ebp - 0x280]
call fcn.004031f0
push eax
push 0x80000001
call fcn.0042e180
add esp, 0x10
lea ecx, [ebp - 0x284]
call fcn.004031f0
push eax
call fcn.0041489a
add esp, 4
test eax, eax
je 0x42d0ee
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x284]
call fcn.004031f0
push eax
call fcn.00414cd5
add esp, 8
test eax, eax
je 0x42d0ee
push str.ownership_is_not_confirmed
lea ecx, [ebp - 0x290]
call fcn.00402690
mov byte [ebp - 4], 6
push 0
lea edx, [ebp - 0x290]
push edx
push 2
call fcn.00437fa0
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x290]
call fcn.00407a70
call fcn.0042c7d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x284]
call fcn.00407a70
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x27c]
call fcn.00407a70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x280]
call fcn.00407a70
cmp dword [ebp - 0x18], 0
je 0x42d12b
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.004040c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004040c0
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.0041480e
mov esp, ebp
pop ebp
ret