Function at 0x42ce80
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 0x42cec5
cmp dword [ebp + 0xc], 0
je 0x42cec5
cmp dword [ebp + 0x10], 0
jne 0x42cecd
mov al, byte [ebp - 0xd]
jmp 0x42d385
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x441660
lea ecx, [ebp - 0x3c]
call fcn.00404060
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00404170
push str.CURRENT_USER_
lea ecx, [ebp - 0x5c]
call fcn.00404060
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.00404140
push 0x4416f8
lea ecx, [ebp - 0x5c]
call fcn.00404170
lea edx, [ebp - 0x14]
push edx
push 0xf003f
push 0
lea ecx, [ebp - 0x3c]
call fcn.004041d0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42cfef
mov dword [ebp - 0x60], 0
lea eax, [ebp - 0x60]
push eax
push 0x20019
push 0
push 0x441710
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42cfe5
mov edx, dword [ebp - 0x60]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x5c]
call fcn.004041d0
push eax
lea ecx, [ebp - 0x64]
call fcn.004026b0
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.00403190
push eax
call dword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x64]
call fcn.00403240
push 0x441728
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x42cfd9
mov byte [ebp - 0x19], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.00407a90
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx ecx, byte [ebp - 0x19]
test ecx, ecx
jne 0x42d34b
mov dword [ebp - 0x68], 0
push 0x441740
lea ecx, [ebp - 0x3c]
call fcn.00404170
push 0
lea edx, [ebp - 0x68]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
lea ecx, [ebp - 0x3c]
call fcn.004041d0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42d0c9
cmp dword [ebp - 0x40], 0
je 0x42d063
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.004041a0
push eax
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004148ba
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 0x42d0bf
mov edx, dword [ebp + 0x10]
push edx
call fcn.004148ba
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 0x42d0bf
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.0042bac0
movzx ecx, al
test ecx, ecx
je 0x42d34b
push 0x441774
mov edx, dword [ebp + 8]
push edx
call fcn.00414cf5
add esp, 8
test eax, eax
jne 0x42d34b
xor eax, eax
mov word [ebp - 0x274], ax
push 0x206
push 0
lea ecx, [ebp - 0x272]
push ecx
call fcn.00414840
add esp, 0xc
push 0x441780
mov edx, dword [ebp + 0xc]
push edx
call fcn.004148d4
add esp, 8
test eax, eax
je 0x42d152
push str.SOFTWAREAdobeAcrobat_Reader
push 0x104
lea eax, [ebp - 0x274]
push eax
call fcn.004152fe
add esp, 0xc
jmp 0x42d180
push 0x4417e4
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004148d4
add esp, 8
test eax, eax
je 0x42d180
push str.SOFTWAREAdobeAdobe_Acrobat
push 0x104
lea edx, [ebp - 0x274]
push edx
call fcn.004152fe
add esp, 0xc
lea eax, [ebp - 0x274]
push eax
call fcn.004148ba
add esp, 4
test eax, eax
je 0x42d34b
mov dword [ebp - 0x278], 0
lea ecx, [ebp - 0x278]
push ecx
push str.iSuppressToastMessage
lea edx, [ebp - 0x274]
push edx
push 0x80000002
call fcn.0042de30
add esp, 0x10
cmp dword [ebp - 0x278], 1
jae 0x42d34b
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x28c], eax
cmp dword [ebp - 0x28c], 0
je 0x42d1ff
mov eax, dword [ebp - 0x28c]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 0x298], eax
jmp 0x42d209
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 0x42d236
mov edx, dword [ebp - 0x288]
push edx
call dword [sym.imp.USER32.dll_SetCursor]
lea ecx, [ebp - 0x5c]
call fcn.004041d0
push eax
lea ecx, [ebp - 0x280]
call fcn.004026b0
mov byte [ebp - 4], 3
push str.HKEY_CURRENT_USER_
lea ecx, [ebp - 0x27c]
call fcn.004026b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x27c]
call fcn.004031f0
push eax
push 0
lea ecx, [ebp - 0x280]
call fcn.00403f70
lea ecx, [ebp - 0x284]
call fcn.00402690
mov byte [ebp - 4], 5
lea eax, [ebp - 0x284]
push eax
push str.ProgID
lea ecx, [ebp - 0x280]
call fcn.00403210
push eax
push 0x80000001
call fcn.0042e3b0
add esp, 0x10
lea ecx, [ebp - 0x284]
call fcn.00403210
push eax
call fcn.004148ba
add esp, 4
test eax, eax
je 0x42d31e
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x284]
call fcn.00403210
push eax
call fcn.00414cf5
add esp, 8
test eax, eax
je 0x42d31e
push str.ownership_is_not_confirmed
lea ecx, [ebp - 0x290]
call fcn.004026b0
mov byte [ebp - 4], 6
push 0
lea edx, [ebp - 0x290]
push edx
push 2
call fcn.004381d0
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x290]
call fcn.00407a90
call fcn.0042ca00
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x284]
call fcn.00407a90
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x27c]
call fcn.00407a90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x280]
call fcn.00407a90
cmp dword [ebp - 0x18], 0
je 0x42d35b
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.004040e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004040e0
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.00414831
mov esp, ebp
pop ebp
ret