Function at 0x47f420
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d82e0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x663a90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
push str.MasterPDF
lea ecx, [ebp - 0x14]
call fcn.004035d0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x18]
call fcn.0047fd00
add esp, 4
push 0
mov edx, str.SoftwareClasses.pdf
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.0047f750
add esp, 4
lea ecx, [ebp - 0x24]
push eax
call fcn.004035d0
mov byte [ebp - 4], 2
mov ecx, esi
mov edx, dword [ebp - 0x18]
push str.previous.pdf
call fcn.0047f750
add esp, 4
lea ecx, [ebp - 0x20]
push eax
call fcn.004035d0
mov byte [ebp - 4], 3
or edi, 0xffffffff
mov ecx, dword [ebp - 0x24]
cmp dword [ecx - 0xc], 0
je 0x47f6c1
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x47f4d2
push 0x80004005
call fcn.004037b0
push eax
push ecx
call fcn.005ac88b
add esp, 8
test eax, eax
jne 0x47f6c1
mov eax, dword [ebp - 0x20]
mov ebx, dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
cmp dword [eax - 0xc], 0
je 0x47f501
push eax
push ecx
mov ecx, esi
call fcn.0047f810
add esp, 8
jmp 0x47f50b
push 0
push str.SoftwareClasses.pdf
push esi
call ebx
push str.ProgId
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdf
mov ecx, reloc.WS2_32.dll_accept
call fcn.0047f750
add esp, 4
lea ecx, [ebp - 0x10]
push eax
call fcn.004035d0
mov byte [ebp - 4], 4
push str.MasterPDF
push dword [ebp - 0x10]
call fcn.005ac88b
add esp, 8
test eax, eax
jne 0x47f554
push str.ProgId
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdf
push reloc.WS2_32.dll_accept
call ebx
call fcn.00402f90
mov ecx, eax
test ecx, ecx
jne 0x47f569
push 0x80004005
call fcn.004037b0
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.00407e20
push str.Application
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdf
mov ecx, reloc.WS2_32.dll_accept
call fcn.0047f750
mov edx, eax
add esp, 0x14
test edx, edx
jne 0x47f5af
xor ecx, ecx
jmp 0x47f5c3
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47f5b4
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x10]
call fcn.004034d0
mov esi, dword [ebp - 0x1c]
test esi, esi
jne 0x47f5de
push 0x80004005
call fcn.004037b0
push esi
push dword [ebp - 0x10]
call fcn.005ac88b
add esp, 8
test eax, eax
jne 0x47f5ff
push str.Application
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdf
push reloc.WS2_32.dll_accept
call ebx
mov edx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x28]
call fcn.0047f850
add esp, 4
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdfUserChoice
mov ecx, reloc.WS2_32.dll_accept
push str.ProgId
call fcn.0047f750
mov edx, eax
add esp, 4
test edx, edx
jne 0x47f62f
xor ecx, ecx
jmp 0x47f643
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47f634
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x10]
call fcn.004034d0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x47f65e
push 0x80004005
call fcn.004037b0
push eax
push dword [ebp - 0x10]
call fcn.005ac88b
add esp, 8
test eax, eax
jne 0x47f681
push ecx
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdfUserChoice
mov ecx, reloc.WS2_32.dll_accept
call fcn.0047f850
add esp, 4
mov ebx, 1
mov byte [ebp - 4], 4
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x47f6a1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, edi
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47f6c3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x47f6c3
xor ebx, ebx
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47f6e1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47f6ff
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47f71d
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], edi
dec edi
test edi, edi
jg 0x47f73c
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret