Function at 0x4500e0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ae3f0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4dd070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
push str.MasterPDF
lea ecx, [ebp - 0x14]
call fcn.00404ff0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
mov edx, str.SoftwareClasses_
lea ecx, [ebp - 0x18]
call fcn.00451220
add esp, 4
push 0
mov edx, str.SoftwareClasses.pdf
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.00450440
add esp, 4
lea ecx, [ebp - 0x28]
push eax
call fcn.00404ff0
mov byte [ebp - 4], 2
mov ecx, esi
mov edx, dword [ebp - 0x18]
push str.previous.pdf
call fcn.00450440
add esp, 4
lea ecx, [ebp - 0x24]
push eax
call fcn.00404ff0
mov byte [ebp - 4], 3
or ebx, 0xffffffff
mov ecx, dword [ebp - 0x28]
cmp dword [ecx - 0xc], 0
je 0x4503a6
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x450197
push 0x80004005
call fcn.00403d30
push eax
push ecx
call fcn.00491fd5
add esp, 8
test eax, eax
jne 0x4503a6
mov eax, dword [ebp - 0x24]
mov edi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
cmp dword [eax - 0xc], 0
je 0x4501c6
push eax
push ecx
mov ecx, esi
call fcn.00450500
add esp, 8
jmp 0x4501d0
push 0
push str.SoftwareClasses.pdf
push esi
call edi
push str.ProgId
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdf
mov ecx, SysReAllocString
call fcn.00450440
add esp, 4
lea ecx, [ebp - 0x10]
push eax
call fcn.00404ff0
mov byte [ebp - 4], 4
push str.MasterPDF
push dword [ebp - 0x10]
call fcn.00491fd5
add esp, 8
test eax, eax
jne 0x450219
push str.ProgId
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdf
push SysReAllocString
call edi
call fcn.00403fd0
mov ecx, eax
test ecx, ecx
jne 0x45022e
push 0x80004005
call fcn.00403d30
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push str..exe
mov byte [ebp - 4], 5
lea eax, [ebp - 0x1c]
push dword [ebp - 0x14]
push str._s_s
push eax
call fcn.00402dd0
push str.Application
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdf
mov ecx, SysReAllocString
call fcn.00450440
mov edx, eax
add esp, 0x14
test edx, edx
jne 0x450274
xor ecx, ecx
jmp 0x45028f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x450280
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x10]
call fcn.00404ef0
mov esi, dword [ebp - 0x1c]
test esi, esi
jne 0x4502aa
push 0x80004005
call fcn.00403d30
push esi
push dword [ebp - 0x10]
call fcn.00491fd5
add esp, 8
test eax, eax
jne 0x4502cb
push str.Application
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdf
push SysReAllocString
call edi
mov edi, dword [ebp - 0x18]
mov edx, edi
mov ecx, dword [ebp - 0x20]
call fcn.00450540
push edi
push dword [ebp - 0x20]
mov edi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
call edi
push str.ProgId
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdfUserChoice
mov ecx, SysReAllocString
call fcn.00450440
mov edx, eax
add esp, 4
test edx, edx
jne 0x450305
xor ecx, ecx
jmp 0x450320
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x20], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x450310
sub ecx, dword [ebp - 0x20]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x10]
call fcn.00404ef0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x45033b
push 0x80004005
call fcn.00403d30
push eax
push dword [ebp - 0x10]
call fcn.00491fd5
add esp, 8
test eax, eax
jne 0x450366
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdfUserChoice
mov ecx, SysReAllocString
call fcn.00450540
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdfUserChoice
push SysReAllocString
call edi
mov edi, 1
mov byte [ebp - 4], 4
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x450386
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, ebx
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4503a8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4503a8
xor edi, edi
mov byte [ebp - 4], 2
mov eax, ebx
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4503c6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4503e4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x450402
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x450421
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret