Function at 0x472b80
Capabilities:
Check if file exists
Delete registry key
Delete registry value
Persist via default file association registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c60f5
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x64b9b0]
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 esi, ecx
mov dword [ebp - 0x21c], esi
mov dword [ebp - 4], 0
movups xmm0, xmmword [str.MasterPDF]
mov eax, dword [0x624e64]
mov dword [ebp - 0x38], eax
mov ax, word [0x629e4c]
movups xmmword [ebp - 0x48], xmm0
mov word [ebp - 0x94], ax
movups xmm0, xmmword [str.PdfRecommand]
movups xmmword [ebp - 0xac], xmm0
movq xmm0, qword [0x629e44]
movq qword [ebp - 0x9c], xmm0
call fcn.00402810
mov ecx, eax
test ecx, ecx
jne 0x472c10
push 0x80004005
call fcn.004022b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x23c], eax
mov byte [ebp - 4], 1
or ebx, 0xffffffff
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
je 0x472c3f
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x23c]
call fcn.00404320
jmp 0x472c89
lea ecx, [ebp - 0x230]
call fcn.00471ef0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
push ecx
push dword [eax]
lea eax, [ebp - 0x23c]
push str._s_s.exe
push eax
call fcn.004043e0
mov byte [ebp - 4], 1
add esp, 0x10
mov edx, dword [ebp - 0x230]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x472c89
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x23c]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x472ca1
xor esi, esi
jmp 0x473360
movups xmm0, xmmword [str.SoftwareClasses_]
mov eax, dword [0x629ed4]
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x48]
movups xmmword [ebp - 0x34], xmm0
push eax
movups xmm0, xmmword [0x629ec4]
movups xmmword [ebp - 0x24], xmm0
call fcn.004032f0
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x224]
call fcn.00414570
add esp, 4
mov byte [ebp - 4], 4
call fcn.00402810
mov ecx, eax
test ecx, ecx
jne 0x472d03
push 0x80004005
call fcn.004022b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x240], eax
mov byte [ebp - 4], 5
lea edx, [ebp - 0x90]
movups xmm0, xmmword [str.SoftwareClasses.pdf]
mov eax, dword [0x629eb0]
mov ecx, esi
push 0
movups xmmword [ebp - 0x90], xmm0
mov dword [ebp - 0x68], eax
movups xmm0, xmmword [0x629e98]
movups xmmword [ebp - 0x80], xmm0
movq xmm0, qword [0x629ea8]
movq qword [ebp - 0x70], xmm0
call fcn.00473d40
mov edx, eax
add esp, 4
test edx, edx
jne 0x472d5f
xor ecx, ecx
jmp 0x472d73
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x472d64
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x240]
call fcn.00403a30
mov esi, dword [ebp - 0x240]
cmp dword [esi - 0xc], 0
je 0x472e02
mov eax, dword [ebp - 0x22c]
test eax, eax
jne 0x472da0
push 0x80004005
call fcn.004022b0
push eax
push esi
call fcn.0059b7f6
add esp, 8
test eax, eax
je 0x472e02
movups xmm0, xmmword [str.previous.pdf]
mov ax, word [0x629e84]
mov ecx, esi
mov word [ebp - 0x14], ax
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [0x629e7c]
lea edx, [ecx + 2]
movq qword [ebp - 0x1c], xmm0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x472dd5
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push esi
push 1
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x224]
mov eax, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push dword [ebp - 0x21c]
call eax
movups xmm0, xmmword [str.PDF_Document]
mov ax, word [0x629e68]
lea ecx, [ebp - 0x64]
mov word [ebp - 0x4c], ax
lea edx, [ecx + 2]
movups xmmword [ebp - 0x64], xmm0
movq xmm0, qword [0x629e60]
movq qword [ebp - 0x54], xmm0
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x472e30
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x64]
push eax
push 1
push 0
push dword [ebp - 0x224]
push dword [ebp - 0x21c]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
call fcn.00402810
mov ecx, eax
test ecx, ecx
jne 0x472e72
push 0x80004005
call fcn.004022b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x230], eax
push edi
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 6
push str._s_1
push eax
call fcn.004043e0
push str.DefaultIcon
lea edx, [ebp - 0x224]
lea ecx, [ebp - 0x220]
call fcn.00407900
add esp, 0x10
mov eax, dword [eax]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x230]
mov edx, eax
lea ecx, [edx + 2]
mov dword [ebp - 0x218], ecx
nop dword [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x472ed0
sub edx, dword [ebp - 0x218]
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
mov eax, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 1
push 0
push dword [ebp - 0x234]
push dword [ebp - 0x21c]
call eax
mov edx, dword [ebp - 0x220]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x472f1c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str._shell
lea edx, [ebp - 0x224]
lea ecx, [ebp - 0x220]
call fcn.00407900
add esp, 4
push 8
push str.open
push 1
push 0
push dword [eax]
push dword [ebp - 0x21c]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov edx, dword [ebp - 0x220]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x472f6b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00402810
mov ecx, eax
test ecx, ecx
jne 0x472f80
push 0x80004005
call fcn.004022b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x218], eax
push edi
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 7
push str.__s_____1____
push eax
call fcn.004043e0
push str._shellopencommand
lea edx, [ebp - 0x224]
lea ecx, [ebp - 0x238]
call fcn.00407900
add esp, 0x10
mov eax, dword [eax]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x218]
mov edx, eax
lea ecx, [edx + 2]
mov dword [ebp - 0x220], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x472fd6
sub edx, dword [ebp - 0x220]
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push 0
push dword [ebp - 0x234]
push dword [ebp - 0x21c]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov edx, dword [ebp - 0x238]
test eax, eax
mov eax, ebx
sete byte [ebp - 0x225]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47302a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push edi
lea eax, [ebp - 0x218]
push str.__s___print_to_default____1_
push eax
call fcn.004043e0
push str._shellprintcommand
lea edx, [ebp - 0x224]
lea ecx, [ebp - 0x234]
call fcn.00407900
add esp, 0x10
mov eax, dword [eax]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x218]
mov edx, eax
lea ecx, [edx + 2]
mov dword [ebp - 0x238], ecx
nop
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x473070
sub edx, dword [ebp - 0x238]
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push 0
push dword [ebp - 0x220]
push dword [ebp - 0x21c]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov edx, dword [ebp - 0x234]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4730bb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push edi
lea eax, [ebp - 0x218]
push str.__s___print_to____2_____1_
push eax
call fcn.004043e0
push str._shellprinttocommand
lea edx, [ebp - 0x224]
lea ecx, [ebp - 0x220]
call fcn.00407900
mov ebx, dword [ebp - 0x218]
add esp, 0x10
mov ecx, ebx
mov edx, dword [eax]
lea eax, [ecx + 2]
mov dword [ebp - 0x238], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x473100
sub ecx, dword [ebp - 0x238]
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push ebx
push 1
push 0
push edx
push dword [ebp - 0x21c]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov edx, dword [ebp - 0x220]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x473147
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x225], 0
je 0x4732b4
movups xmm0, xmmword [str.SoftwareClasses.pdfOpenWithProgids]
mov eax, dword [0x62a0c0]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x22c]
mov edx, eax
movups xmmword [ebp - 0xf8], xmm0
movups xmm0, xmmword [0x62a088]
lea esi, [edx + 2]
movups xmmword [ebp - 0xe8], xmm0
movups xmm0, xmmword [0x62a098]
movups xmmword [ebp - 0xd8], xmm0
movups xmm0, xmmword [0x62a0a8]
movups xmmword [ebp - 0xc8], xmm0
movq xmm0, qword [0x62a0b8]
movq qword [ebp - 0xb8], xmm0
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4731b2
mov edi, dword [ebp - 0x21c]
sub edx, esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push 0
lea eax, [ebp - 0x90]
push eax
push edi
call esi
push 0
push 0x61e1b4
push 1
push dword [ebp - 0x22c]
lea eax, [ebp - 0xf8]
push eax
push edi
call esi
cmp dword [ebp - 0x21c], 0x80000001
lea edi, [ebp - 0x17c]
mov ecx, 0x20
mov esi, str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdf
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x26
movsw word es:[edi], word [esi]
mov esi, str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdfUserChoice
lea edi, [ebp - 0x214]
rep movsd dword es:[edi], dword [esi]
jne 0x47329c
mov eax, dword [ebp - 0x22c]
mov edx, eax
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x473236
sub edx, esi
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push str.Progid
lea eax, [ebp - 0x17c]
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push str.Application
lea eax, [ebp - 0x17c]
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
lea edx, [ebp - 0x214]
mov ecx, reloc.WS2_32.dll_accept
call fcn.00474860
lea eax, [ebp - 0x214]
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov esi, dword [ebp - 0x240]
mov edi, dword [ebp - 0x23c]
mov dword [ebp - 0x218], 1
jmp 0x4732be
mov dword [ebp - 0x218], 0
lea edx, [ebx - 0x10]
mov byte [ebp - 4], 6
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4732dc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov eax, ebx
mov edx, dword [ebp - 0x230]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4732fd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x473318
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 - 0x224]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x473339
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 - 0x22c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47335a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x218]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x47337b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x47339a
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
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.0057b967
mov esp, ebp
pop ebp
ret