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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x561180
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x5a6124]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
movups xmm0, xmmword [str.SoftwareClasses_]
mov eax, dword [0x584ce4]
test edx, edx
mov dword [ebp - 0x58], eax
mov ecx, str.PdfRecommand
mov eax, dword [0x584c84]
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x24]
movups xmm0, xmmword [0x584cd4]
cmove eax, ecx
lea ecx, [ebp - 0x30]
push eax
movups xmmword [ebp - 0x68], xmm0
movups xmm0, xmmword [str.MasterPDF]
movups xmmword [ebp - 0x24], xmm0
call fcn.00407b50
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
push eax
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x34]
call fcn.0047c1a0
push 0
mov edx, str.SoftwareClasses.pdf
mov byte [ebp - 4], 1
mov ecx, edi
call fcn.00477910
add esp, 8
lea ecx, [ebp - 0x40]
push eax
call fcn.00407b50
mov byte [ebp - 4], 2
mov ecx, edi
mov edx, dword [ebp - 0x34]
push str.previous.pdf
call fcn.00477910
add esp, 4
lea ecx, [ebp - 0x3c]
push eax
call fcn.00407b50
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x40]
cmp dword [ecx - 0xc], 0
je 0x477787
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x477539
push 0x80004005
call fcn.00407c80
push eax
push ecx
call fcn.00533c15
add esp, 8
test eax, eax
jne 0x477787
mov eax, dword [ebp - 0x3c]
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
cmp dword [eax - 0xc], 0
je 0x477586
mov edx, eax
lea ebx, [edx + 2]
nop
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x477560
sub edx, ebx
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push 0
push str.SoftwareClasses.pdf
push edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
jmp 0x477590
push 0
push str.SoftwareClasses.pdf
push edi
call esi
push str.ProgId
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdf
mov ecx, SysReAllocString
call fcn.00477910
add esp, 4
lea ecx, [ebp - 0x2c]
push eax
call fcn.00407b50
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 4
push eax
push dword [ebp - 0x2c]
call fcn.00533c15
add esp, 8
test eax, eax
jne 0x4775d8
push str.ProgId
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdf
push SysReAllocString
call esi
call fcn.00408130
mov ecx, eax
test ecx, ecx
jne 0x4775ed
push 0x80004005
call fcn.00407c80
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x477602
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x477604
call edx
add eax, 0x10
mov dword [ebp - 0x28], eax
push 0x583cc4
mov byte [ebp - 4], 5
lea eax, [ebp - 0x28]
push dword [ebp - 0x30]
push 0x585364
push eax
call fcn.0042ff80
push str.Application
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdf
mov ecx, SysReAllocString
call fcn.00477910
mov edx, eax
add esp, 0x14
test edx, edx
jne 0x477645
xor ecx, ecx
jmp 0x47765f
mov ecx, edx
lea ebx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x477650
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00407990
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x47767a
push 0x80004005
call fcn.00407c80
push eax
push dword [ebp - 0x2c]
call fcn.00533c15
add esp, 8
test eax, eax
jne 0x47769b
push str.Application
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdf
push SysReAllocString
call esi
mov esi, dword [ebp - 0x34]
mov ecx, edi
mov edx, esi
call fcn.00478800
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push edi
call esi
push str.ProgId
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdfUserChoice
mov ecx, SysReAllocString
call fcn.00477910
mov edx, eax
add esp, 4
test edx, edx
jne 0x4776d2
xor ecx, ecx
jmp 0x4776e6
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4776d7
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00407990
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x477701
push 0x80004005
call fcn.00407c80
push eax
push dword [ebp - 0x2c]
call fcn.00533c15
add esp, 8
test eax, eax
jne 0x477770
lea eax, [ebp - 0x38]
push eax
push 0x40000
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdfUserChoice
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x477764
push 1
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 1
push 0
push 1
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [ebp - 0x54]
push eax
push 4
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdfUserChoice
push SysReAllocString
call esi
lea ecx, [ebp - 0x28]
mov ebx, 1
call fcn.00407c20
lea ecx, [ebp - 0x2c]
call fcn.00407c20
jmp 0x477789
xor ebx, ebx
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov ecx, dword [ebp - 0x3c]
mov eax, esi
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
jg 0x4777ed
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
mov dword [ebp - 0x28], edi
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4777e8
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
mov dword [ebp - 0x28], edi
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4777e1
push 0
push dword [edx + 4]
call edi
jmp 0x4777ed
mov ecx, edx
call dword [ebp - 0x28]
jmp 0x4777ed
mov ecx, edx
call dword [ebp - 0x28]
mov byte [ebp - 4], 1
mov eax, esi
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x477848
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
mov dword [ebp - 0x28], edi
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x477843
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
mov dword [ebp - 0x28], edi
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x47783c
push 0
push dword [edx + 4]
call edi
jmp 0x477848
mov ecx, edx
call dword [ebp - 0x28]
jmp 0x477848
mov ecx, edx
call dword [ebp - 0x28]
mov byte [ebp - 4], 0
mov eax, esi
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4778a3
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
mov dword [ebp - 0x28], edi
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x47789e
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
mov dword [ebp - 0x28], edi
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x477897
push 0
push dword [edx + 4]
call edi
jmp 0x4778a3
mov ecx, edx
call dword [ebp - 0x28]
jmp 0x4778a3
mov ecx, edx
call dword [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], esi
dec esi
test esi, esi
jg 0x4778e5
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4778e1
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4778e1
push 0
push dword [edx + 4]
call edi
jmp 0x4778e5
mov ecx, edx
call esi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00502bf3
mov esp, ebp
pop ebp
ret