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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c61ef
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
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 ebx, ecx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x94], 0
mov dword [ebp - 4], 0
movups xmm0, xmmword [str.MasterPDF]
mov eax, dword [0x624e64]
mov dword [ebp - 0x34], eax
mov ax, word [0x629e4c]
movups xmmword [ebp - 0x44], xmm0
mov word [ebp - 0x48], ax
movups xmm0, xmmword [str.PdfRecommand]
movups xmmword [ebp - 0x60], xmm0
movq xmm0, qword [0x629e44]
movq qword [ebp - 0x50], xmm0
call fcn.00402810
mov ecx, eax
test ecx, ecx
jne 0x473451
push 0x80004005
call fcn.004022b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 1
or edi, 0xffffffff
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
je 0x473480
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x9c]
call fcn.00404320
jmp 0x4734ca
lea ecx, [ebp - 0x94]
call fcn.00471ef0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
push ecx
push dword [eax]
lea eax, [ebp - 0x9c]
push str._s_s.exe
push eax
call fcn.004043e0
mov byte [ebp - 4], 1
add esp, 0x10
mov edx, dword [ebp - 0x94]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4734ca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x9c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4734e2
xor ebx, ebx
jmp 0x473ce5
call fcn.00402810
mov ecx, eax
test ecx, ecx
jne 0x4734f7
push 0x80004005
call fcn.004022b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xb8], eax
push esi
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 3
push str._s_1
push eax
call fcn.004043e0
add esp, 0xc
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x98]
push eax
call fcn.004032f0
mov byte [ebp - 4], 4
call fcn.00402810
mov ecx, eax
test ecx, ecx
jne 0x473546
push 0x80004005
call fcn.004022b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 5
mov eax, dword [0x62a134]
movups xmm0, xmmword [str.SoftwareClients_]
mov dword [ebp - 0x64], eax
mov ax, word [0x62a110]
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x98]
push eax
push eax
movups xmmword [ebp - 0x84], xmm0
lea eax, [ebp - 0x84]
movups xmm0, xmmword [0x62a124]
push eax
lea eax, [ebp - 0x90]
movups xmmword [ebp - 0x74], xmm0
push str._s_s_s_s
movq xmm0, qword [str..exe]
push eax
movq qword [ebp - 0x24], xmm0
call fcn.004043e0
mov eax, dword [ebp - 0x98]
add esp, 0x18
mov edx, eax
lea edi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4735c2
sub edx, edi
mov edi, dword [ebp - 0x90]
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push 0
push edi
push ebx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ax, word [0x629e30]
lea ecx, [ebp - 0xa0]
movq xmm0, qword [str..pdf]
mov word [ebp - 0x28], ax
mov eax, dword [0x62a150]
mov dword [ebp - 0x18], eax
mov eax, dword [0x62a154]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xcc]
push eax
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0xcc], 0x8fc5
mov dword [ebp - 0xbc], 0x8bfb
call fcn.004032f0
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 6
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x473642
sub ecx, edx
lea eax, [ebp - 0xbc]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa0]
call fcn.00421a50
lea ecx, [ebp - 0x18]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x473670
sub ecx, edx
lea eax, [ebp - 0x18]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa0]
call fcn.00421a50
mov ecx, dword [ebp - 0xa0]
lea ecx, [ecx - 0x10]
call fcn.00403970
add eax, 0x10
mov dword [ebp - 0xc8], eax
add eax, 0xfffffff0
mov byte [ebp - 4], 7
mov ecx, eax
mov dword [ebp - 0x94], 1
mov dword [ebp - 0x8c], eax
call fcn.00403970
mov dword [ebp - 0x94], eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0xd0], ebx
mov dword [ebp - 4], 0xb
or eax, 0xffffffff
mov edx, dword [ebp - 0x8c]
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4736f5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00402810
mov ecx, eax
test ecx, ecx
jne 0x47370a
push 0x80004005
call fcn.004022b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xb4], eax
push edi
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 0xc
push str._sCapabilities
push eax
call fcn.004043e0
mov ecx, ebx
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x473736
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push ebx
mov ebx, dword [ebp - 0xb4]
push 1
push str.ApplicationDescription
push ebx
push dword [ebp - 0x88]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov edi, dword [ebp - 0xb8]
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x473770
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edi
push 1
push str.ApplicationIcon
push ebx
push dword [ebp - 0x88]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [ebp - 0x94]
add eax, 0x10
mov edx, eax
lea ecx, [edx + 2]
mov dword [ebp - 0x8c], ecx
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4737b0
sub edx, dword [ebp - 0x8c]
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push str.ApplicationName
push ebx
push dword [ebp - 0x88]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4737e1
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push ebx
push 1
push dword [ebp - 0x98]
push str.SOFTWARERegisteredApplications
push dword [ebp - 0x88]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
call fcn.00402810
mov ecx, eax
test ecx, ecx
jne 0x473823
push 0x80004005
call fcn.004022b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xb0], eax
push ebx
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 0xd
push str._sFileAssociations
push eax
call fcn.004043e0
mov eax, dword [ebp - 0x98]
add esp, 0xc
mov edx, eax
lea ebx, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x473855
sub edx, ebx
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0xb0]
push dword [ebp - 0x88]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
call fcn.00402810
mov ecx, eax
test ecx, ecx
jne 0x473896
push 0x80004005
call fcn.004022b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0xc0]
push dword [ebp - 0x90]
push str._sInstallInfo
push eax
call fcn.004043e0
add esp, 0xc
call fcn.00402810
mov ecx, eax
test ecx, ecx
jne 0x4738d7
push 0x80004005
call fcn.004022b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xac], eax
push esi
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 0xf
push str.__s___HideShortcuts
push eax
call fcn.004043e0
mov eax, dword [ebp - 0xac]
add esp, 0xc
mov edx, eax
lea ebx, [edx + 2]
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x473910
sub edx, ebx
mov ebx, dword [ebp - 0xc0]
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push str.HideIconsCommand
push ebx
push dword [ebp - 0x88]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 4
lea eax, [ebp - 0xc8]
mov dword [ebp - 0xc8], 1
push eax
push 4
push str.IconsVisible
push ebx
push dword [ebp - 0x88]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
call fcn.00402810
mov ecx, eax
test ecx, ecx
jne 0x47397a
push 0x80004005
call fcn.004022b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa8], eax
push esi
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 0x10
push str.__s___SetAsDefaultAppGlobal
push eax
call fcn.004043e0
mov eax, dword [ebp - 0xa8]
add esp, 0xc
mov edx, eax
lea ecx, [edx + 2]
mov dword [ebp - 0x8c], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4739b2
sub edx, dword [ebp - 0x8c]
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push str.ReinstallCommand
push ebx
push dword [ebp - 0x88]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
call fcn.00402810
mov ecx, eax
test ecx, ecx
jne 0x4739f3
push 0x80004005
call fcn.004022b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa4], eax
push esi
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0x11
push str.__s___ShowShortcuts
push eax
call fcn.004043e0
mov eax, dword [ebp - 0xa4]
add esp, 0xc
mov edx, eax
lea ecx, [edx + 2]
mov dword [ebp - 0x8c], ecx
nop dword [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x473a30
sub edx, dword [ebp - 0x8c]
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push str.ShowIconsCommand
push ebx
push dword [ebp - 0x88]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
call fcn.00402810
mov ecx, eax
test ecx, ecx
jne 0x473a71
push 0x80004005
call fcn.004022b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xc4], eax
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0xc4]
push dword [ebp - 0x90]
push str._sDefaultIcon
push eax
call fcn.004043e0
mov ecx, edi
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x473aa2
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edi
mov edi, dword [ebp - 0xc4]
push 1
push 0
push edi
push dword [ebp - 0x88]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
call fcn.00402810
mov ecx, eax
test ecx, ecx
jne 0x473ae2
push 0x80004005
call fcn.004022b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x8c]
push dword [ebp - 0x90]
push str._s_shellopencommand
push eax
call fcn.004043e0
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x473b13
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push esi
mov esi, dword [ebp - 0x8c]
push 1
push 0
push esi
push dword [ebp - 0x88]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov byte [ebp - 4], 0x12
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x473b5a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
mov byte [ebp - 4], 0x11
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x473b78
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x10
mov eax, edi
mov edx, dword [ebp - 0xa4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x473b99
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xf
mov eax, edi
mov edx, dword [ebp - 0xa8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x473bba
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xe
mov eax, edi
mov edx, dword [ebp - 0xac]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x473bdb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
add ebx, 0xfffffff0
mov eax, edi
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x473bf6
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
mov eax, edi
mov edx, dword [ebp - 0xb0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x473c17
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xb
mov eax, edi
mov edx, dword [ebp - 0xb4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x473c38
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov eax, edi
mov edx, dword [ebp - 0x94]
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x473c56
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov eax, edi
mov edx, dword [ebp - 0xa0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x473c77
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov eax, edi
mov edx, dword [ebp - 0x90]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x473c98
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, edi
mov edx, dword [ebp - 0x98]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x473cb9
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 - 0xb8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x473cda
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x9c]
mov ebx, 1
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x473d00
mov ecx, dword [esi]
push esi
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], edi
dec edi
test edi, edi
jg 0x473d1f
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 ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057b967
mov esp, ebp
pop ebp
ret