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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x588088
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x60e9b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x10], ecx
lea eax, [ebp + 8]
mov dword [ebp - 4], 2
push eax
mov edx, str.MasterPDF.
lea ecx, [ebp - 0x48]
call fcn.0040e810
add esp, 4
mov byte [ebp - 4], 3
call fcn.00402a90
mov ecx, eax
test ecx, ecx
jne 0x42b332
push 0x80004005
call fcn.00402b10
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
or edi, 0xffffffff
mov eax, dword [ebp + 0x14]
cmp dword [eax - 0xc], 0
je 0x42b35b
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp - 0x14]
call fcn.00405dc0
jmp 0x42b39d
lea ecx, [ebp - 0x44]
call fcn.00428e90
push str.MasterPDF
mov byte [ebp - 4], 5
push dword [eax]
lea eax, [ebp - 0x14]
push str._s_s.exe
push eax
call fcn.00406550
mov byte [ebp - 4], 4
add esp, 0x10
mov edx, dword [ebp - 0x44]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42b39d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42b3b2
xor ebx, ebx
jmp 0x42ba0b
call fcn.00402a90
mov ecx, eax
test ecx, ecx
jne 0x42b3c7
push 0x80004005
call fcn.00402b10
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 6
push esi
push str._s__d
push eax
call fcn.00406550
mov ecx, dword [ebp - 0x48]
add esp, 0x10
lea ecx, [ecx - 0x10]
call fcn.00407c00
mov dword [ebp - 0x50], eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x54], ebx
mov byte [ebp - 4], 7
call fcn.00402a90
mov ecx, eax
test ecx, ecx
jne 0x42b418
push 0x80004005
call fcn.00402b10
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push str.MasterPDF
push ebx
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 8
push str.SoftwareClients_s_s.exe
push eax
call fcn.00406550
mov ecx, ebx
add esp, 0x10
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42b443
mov esi, dword [ebp - 0x18]
sub ecx, edx
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push ebx
push 1
push 0
push esi
push dword [ebp - 0x10]
call edi
push 0x5ea238
lea ecx, [ebp - 0x38]
call fcn.004078d0
mov byte [ebp - 4], 9
call fcn.00402a90
mov ecx, eax
test ecx, ecx
jne 0x42b490
push 0x80004005
call fcn.00402b10
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x34], eax
push esi
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0xa
push str._sCapabilities
push eax
call fcn.00406550
mov eax, dword [ebp - 0x38]
add esp, 0xc
mov edx, eax
lea esi, [edx + 2]
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x42b4c0
sub edx, esi
mov esi, dword [ebp - 0x34]
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push str.ApplicationDescription
push esi
push dword [ebp - 0x10]
call edi
mov eax, dword [ebp - 0x1c]
mov edx, eax
lea edi, [edx + 2]
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x42b4f0
sub edx, edi
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push str.ApplicationIcon
push esi
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [ebp - 0x38]
mov edx, eax
lea edi, [edx + 2]
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x42b520
sub edx, edi
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push str.ApplicationName
push esi
push dword [ebp - 0x10]
call edi
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42b550
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push esi
push 1
push ebx
push str.SOFTWARERegisteredApplications
push dword [ebp - 0x10]
call edi
call fcn.00402a90
mov ecx, eax
test ecx, ecx
jne 0x42b586
push 0x80004005
call fcn.00402b10
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
push esi
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xb
push str._sFileAssociations
push eax
call fcn.00406550
mov eax, dword [ebp - 0x40]
add esp, 0xc
mov edi, dword [eax + 4]
mov esi, dword [eax]
cmp esi, edi
je 0x42b5eb
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42b5c0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push ebx
push 1
push dword [esi]
push dword [ebp - 0x30]
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
add esi, 4
cmp esi, edi
jne 0x42b5b3
call fcn.00402a90
mov ecx, eax
test ecx, ecx
jne 0x42b600
push 0x80004005
call fcn.00402b10
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x18]
push edi
push str._sInstallInfo
push eax
call fcn.00406550
add esp, 0xc
call fcn.00402a90
mov ecx, eax
test ecx, ecx
jne 0x42b639
push 0x80004005
call fcn.00402b10
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x14]
push esi
push str.__s___HideShortcuts
push eax
call fcn.00406550
mov eax, dword [ebp - 0x28]
add esp, 0xc
mov edx, eax
lea ebx, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x42b665
sub edx, ebx
mov ebx, dword [ebp - 0x2c]
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push str.HideIconsCommand
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 4
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 1
push eax
push 4
push str.IconsVisible
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
call fcn.00402a90
mov ecx, eax
test ecx, ecx
jne 0x42b6c0
push 0x80004005
call fcn.00402b10
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
push esi
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0xe
push str.__s___SetAsDefaultAppGlobal
push eax
call fcn.00406550
mov eax, dword [ebp - 0x24]
add esp, 0xc
mov edx, eax
lea ecx, [edx + 2]
mov dword [ebp - 0x44], ecx
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x42b6f0
sub edx, dword [ebp - 0x44]
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push str.ReinstallCommand
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
call fcn.00402a90
mov ecx, eax
test ecx, ecx
jne 0x42b72b
push 0x80004005
call fcn.00402b10
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
push esi
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xf
push str.__s___ShowShortcuts
push eax
call fcn.00406550
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov edx, eax
lea ecx, [edx + 2]
mov dword [ebp - 0x44], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x42b757
sub edx, dword [ebp - 0x44]
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push str.ShowIconsCommand
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
call fcn.00402a90
mov ecx, eax
test ecx, ecx
jne 0x42b792
push 0x80004005
call fcn.00402b10
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x3c], eax
push edi
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x10
push str._sDefaultIcon
push eax
call fcn.00406550
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov edx, eax
lea ebx, [edx + 2]
nop dword [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x42b7c0
sub edx, ebx
mov ebx, dword [ebp - 0x3c]
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push 0
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
call fcn.00402a90
mov ecx, eax
test ecx, ecx
jne 0x42b7fa
push 0x80004005
call fcn.00402b10
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x40]
push dword [ebp + 8]
push esi
push str.__s____s____1____
push eax
call fcn.00406550
add esp, 0x10
call fcn.00402a90
mov ecx, eax
test ecx, ecx
jne 0x42b833
push 0x80004005
call fcn.00402b10
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x44], eax
push edi
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x12
push str._s_shellopencommand
push eax
call fcn.00406550
mov edi, dword [ebp - 0x40]
add esp, 0xc
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42b860
mov esi, dword [ebp - 0x44]
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edi
push 1
push 0
push esi
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov byte [ebp - 4], 0x11
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42b8a1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
mov byte [ebp - 4], 0x10
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42b8bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xf
add ebx, 0xfffffff0
mov eax, edi
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x42b8da
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xe
mov eax, edi
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42b8f8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov eax, edi
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42b916
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
mov eax, edi
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42b934
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 - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42b952
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov eax, edi
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42b970
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
mov eax, edi
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42b98e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov eax, edi
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42b9ac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov eax, edi
mov esi, dword [ebp - 0x18]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42b9ca
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x50]
mov eax, edi
mov byte [ebp - 4], 6
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42b9e5
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 - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42ba03
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x14]
mov ebx, 1
mov byte [ebp - 4], 3
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42ba26
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x48]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42ba44
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 + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42ba62
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 + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42ba80
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 0x42ba9f
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