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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439c57
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 0x42ce95
cmp dword [ebp + 0xc], 0
je 0x42ce95
cmp dword [ebp + 0x10], 0
jne 0x42ce9d
mov al, byte [ebp - 0xd]
jmp 0x42d355
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x441648
lea ecx, [ebp - 0x3c]
call fcn.004040b0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004041c0
push str.CURRENT_USER_
lea ecx, [ebp - 0x5c]
call fcn.004040b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.00404190
push 0x4416e0
lea ecx, [ebp - 0x5c]
call fcn.004041c0
lea edx, [ebp - 0x14]
push edx
push 0xf003f
push 0
lea ecx, [ebp - 0x3c]
call fcn.00404220
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42cfbf
mov dword [ebp - 0x60], 0
lea eax, [ebp - 0x60]
push eax
push 0x20019
push 0
push 0x4416f8
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42cfb5
mov edx, dword [ebp - 0x60]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x5c]
call fcn.00404220
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 0x441710
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x42cfa9
mov byte [ebp - 0x19], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.00407ae0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx ecx, byte [ebp - 0x19]
test ecx, ecx
jne 0x42d31b
mov dword [ebp - 0x68], 0
push 0x441728
lea ecx, [ebp - 0x3c]
call fcn.004041c0
push 0
lea edx, [ebp - 0x68]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
lea ecx, [ebp - 0x3c]
call fcn.00404220
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42d099
cmp dword [ebp - 0x40], 0
je 0x42d033
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.004041f0
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 0x42d08f
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 0x42d08f
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.0042ba90
movzx ecx, al
test ecx, ecx
je 0x42d31b
push 0x44175c
mov edx, dword [ebp + 8]
push edx
call fcn.00414cd5
add esp, 8
test eax, eax
jne 0x42d31b
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 0x441768
mov edx, dword [ebp + 0xc]
push edx
call fcn.004148b4
add esp, 8
test eax, eax
je 0x42d122
push str.SOFTWAREAdobeAcrobat_Reader
push 0x104
lea eax, [ebp - 0x274]
push eax
call fcn.004152de
add esp, 0xc
jmp 0x42d150
push 0x4417cc
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004148b4
add esp, 8
test eax, eax
je 0x42d150
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 0x42d31b
mov dword [ebp - 0x278], 0
lea ecx, [ebp - 0x278]
push ecx
push str.iSuppressToastMessage
lea edx, [ebp - 0x274]
push edx
push 0x80000002
call fcn.0042de00
add esp, 0x10
cmp dword [ebp - 0x278], 1
jae 0x42d31b
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x28c], eax
cmp dword [ebp - 0x28c], 0
je 0x42d1cf
mov eax, dword [ebp - 0x28c]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 0x298], eax
jmp 0x42d1d9
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 0x42d206
mov edx, dword [ebp - 0x288]
push edx
call dword [sym.imp.USER32.dll_SetCursor]
lea ecx, [ebp - 0x5c]
call fcn.00404220
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.00403fc0
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.0042e380
add esp, 0x10
lea ecx, [ebp - 0x284]
call fcn.004031f0
push eax
call fcn.0041489a
add esp, 4
test eax, eax
je 0x42d2ee
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 0x42d2ee
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.004381a0
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x290]
call fcn.00407ae0
call fcn.0042c9d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x284]
call fcn.00407ae0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x27c]
call fcn.00407ae0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x280]
call fcn.00407ae0
cmp dword [ebp - 0x18], 0
je 0x42d32b
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.00404130
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00404130
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