Function at 0x41f5d0
Capabilities:
Check if file exists
Create shortcut via ishelllink
Persist via app paths registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x45b41e
push eax
mov eax, 0x1c30
mov dword fs:[0], esp
call fcn.00456620
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString_4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c48], 0
call sub.MFC42u.DLL_CString::CString_4
mov ax, word [0x473258]
mov ecx, 0x81
mov word [esp + 0x238], ax
xor eax, eax
lea edi, [esp + 0x23a]
push 0x104
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x23c]
mov byte [esp + 0x1c4c], 1
push ecx
push 0
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x20]
call fcn.00453d20
lea ecx, [esp + 0x20]
mov byte [esp + 0x1c48], 2
call fcn.004542f0
test eax, eax
jne 0x41f695
lea ecx, [esp + 0x20]
call fcn.004548b0
test eax, eax
jne 0x41f695
push 1
lea ecx, [esp + 0x24]
call fcn.00453d60
push 0
lea ecx, [esp + 0x24]
call fcn.00454910
mov esi, dword [sym.imp.MSVCRT.dll_wcslen]
lea edx, [esp + 0x238]
push edx
call esi
add esp, 4
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
shl eax, 1
push eax
lea eax, [esp + 0x23c]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x41f81f
lea ecx, [esp + 0x238]
push ecx
lea ecx, [esp + 0x14]
call fcn.00456320
push 0x5c
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::ReverseFind
lea edx, [esp + 0x14]
push eax
push edx
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c4c], 3
call sub.MFC42u.DLL_CString::operator
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c48], 2
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x10]
push eax
mov ebx, eax
call esi
add esp, 4
shl eax, 1
push eax
push ebx
push 1
push str.path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x41f81f
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
lea ecx, [esp + 0x20]
call fcn.00456320
push 0x80
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::CString_1
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1c4c], 4
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c48], 2
call sub.MFC42u.DLL_CString::CString
push str.uninst.exe
lea eax, [esp + 0x18]
push 0
push eax
call fcn.00414870
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c4c], 5
call sub.MFC42u.DLL_CString::operator
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c48], 2
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
push eax
mov ebp, eax
call esi
add esp, 4
shl eax, 1
push eax
push ebp
push 1
push str.UninstallString
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x41f81f
lea ecx, [esp + 0x238]
push ecx
lea ecx, [esp + 0x14]
call fcn.00456320
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x1c]
push eax
mov ebx, eax
call esi
add esp, 4
shl eax, 1
push eax
push ebx
push 1
push 0x46e828
push ebp
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
je 0x41f85c
lea ecx, [esp + 0x20]
mov byte [esp + 0x1c48], 1
call fcn.00453d50
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c48], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c48], 0xffffffff
call sub.MFC42u.DLL_CString::CString
xor eax, eax
jmp 0x420104
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x80
lea ecx, [esp + 0x30]
call sub.MFC42u.DLL_CString::CString_1
lea edx, [esp + 0x24]
mov byte [esp + 0x1c48], 6
push edx
push 0x464330
push 1
push 0
push 0x464340
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4200b3
lea eax, [esp + 0x238]
lea ecx, [esp + 0x10]
push eax
call fcn.00456320
push 0x5c
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::ReverseFind
lea ecx, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c4c], 7
call sub.MFC42u.DLL_CString::operator
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c48], 6
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x24]
push 0x46e824
lea ecx, [esp + 0x14]
call fcn.00456320
lea edx, [esp + 0x238]
lea ecx, [esp + 0x10]
push edx
call fcn.004562cc
push 0x46e824
lea ecx, [esp + 0x14]
call fcn.004562cc
mov eax, dword [esp + 0x24]
push 0
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x50]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
push ecx
push 0x464320
mov edx, dword [eax]
push eax
call dword [edx]
test eax, eax
jl 0x41fe10
mov dx, word [0x473258]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x32]
mov word [esp + 0x30], dx
push 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x34]
push 0x10
push eax
push 0
push 0x4732d0
call fcn.00423860
lea ecx, [esp + 0x14]
lea edx, [esp + 0x30]
push ecx
push 0x82
push edx
call fcn.0041f150
test eax, eax
jl 0x41f9c0
mov eax, dword [esp + 0x14]
mov ecx, 0x82
sub ecx, eax
push 0x46d988
lea edx, [esp + eax*2 + 0x34]
push ecx
push edx
call fcn.004046e0
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
push 0x82
push ecx
call fcn.0041f150
test eax, eax
jl 0x41f9f3
mov eax, dword [esp + 0x14]
mov edx, 0x82
sub edx, eax
push esi
lea eax, [esp + eax*2 + 0x34]
push edx
push eax
call fcn.004046e0
lea ecx, [esp + 0x14]
lea edx, [esp + 0x30]
push ecx
push 0x82
push edx
call fcn.0041f150
test eax, eax
jl 0x41fa26
mov eax, dword [esp + 0x14]
mov ecx, 0x82
sub ecx, eax
push str..lnk
lea edx, [esp + eax*2 + 0x34]
push ecx
push edx
call fcn.004046e0
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x30]
push 0
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [esp + 0x28]
neg esi
mov ecx, dword [eax]
push eax
sbb esi, esi
inc esi
call dword [ecx + 8]
test esi, esi
je 0x4200a7
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
push ecx
push 0x464320
mov edx, dword [eax]
push eax
call dword [edx]
test eax, eax
jl 0x41fe10
mov dx, word [0x473258]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x32]
mov word [esp + 0x30], dx
push 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x34]
push 2
push eax
push 0
push 0x4732d0
call fcn.00423860
lea ecx, [esp + 0x14]
lea edx, [esp + 0x30]
push ecx
push 0x82
push edx
call fcn.0041f150
test eax, eax
jl 0x41face
mov eax, dword [esp + 0x14]
mov ecx, 0x82
sub ecx, eax
push 0x46d988
lea edx, [esp + eax*2 + 0x34]
push ecx
push edx
call fcn.004046e0
mov ecx, 0x82
lea eax, [esp + 0x30]
cmp word [eax], 0
je 0x41fae5
add eax, 2
dec ecx
jne 0x41fad7
jmp 0x41fb15
test ecx, ecx
je 0x41fb15
lea eax, [esp + 0x14]
test eax, eax
je 0x41fafa
mov eax, 0x82
sub eax, ecx
jmp 0x41fafe
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov edx, 0x82
sub edx, eax
push ecx
lea eax, [esp + eax*2 + 0x34]
push edx
push eax
call fcn.004046e0
mov ebp, dword [sym.imp.MSVCRT.dll_wcsncpy]
lea ecx, [esp + 0x30]
test ecx, ecx
je 0x41fcda
lea edx, [esp + 0x440]
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x440]
test edx, edx
rep stosd dword es:[edi], eax
je 0x41fcda
mov ecx, 0x400
lea edi, [esp + 0xc40]
mov word [esp + 0x440], ax
rep stosd dword es:[edi], eax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x41fbc0
lea ecx, [esp + 0xc40]
push 0x800
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0xc40]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [esp + 0x30]
lea ecx, [esp + 0xc40]
push eax
lea edx, [esp + 0xc44]
push ecx
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0xc40]
push 0x400
lea ecx, [esp + 0x444]
push eax
push ecx
jmp 0x41fbd2
lea edx, [esp + 0x30]
push 0x400
lea eax, [esp + 0x444]
push edx
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x440]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41fcda
mov ecx, 0x82
lea eax, [esp + 0x30]
cmp word [eax], 0
je 0x41fc04
add eax, 2
dec ecx
jne 0x41fbf6
jmp 0x41fc34
test ecx, ecx
je 0x41fc34
lea edx, [esp + 0x14]
test edx, edx
je 0x41fc19
mov eax, 0x82
sub eax, ecx
jmp 0x41fc1d
mov eax, dword [esp + 0x14]
mov ecx, 0x82
push 0x46d988
sub ecx, eax
lea edx, [esp + eax*2 + 0x34]
push ecx
push edx
call fcn.004046e0
mov ecx, 0x82
lea eax, [esp + 0x30]
cmp word [eax], 0
je 0x41fc4b
add eax, 2
dec ecx
jne 0x41fc3d
jmp 0x41fc7b
test ecx, ecx
je 0x41fc7b
lea eax, [esp + 0x14]
test eax, eax
je 0x41fc60
mov eax, 0x82
sub eax, ecx
jmp 0x41fc64
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov edx, 0x82
sub edx, eax
push ecx
lea eax, [esp + eax*2 + 0x34]
push edx
push eax
call fcn.004046e0
mov ecx, 0x82
lea eax, [esp + 0x30]
cmp word [eax], 0
je 0x41fc92
add eax, 2
dec ecx
jne 0x41fc84
jmp 0x41fcc2
test ecx, ecx
je 0x41fcc2
lea edx, [esp + 0x14]
test edx, edx
je 0x41fca7
mov eax, 0x82
sub eax, ecx
jmp 0x41fcab
mov eax, dword [esp + 0x14]
mov ecx, 0x82
push str..lnk
sub ecx, eax
lea edx, [esp + eax*2 + 0x34]
push ecx
push edx
call fcn.004046e0
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x30]
push 0
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, eax
neg esi
sbb esi, esi
inc esi
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test esi, esi
je 0x4200a7
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::CString_4
lea edx, [esp + 0x238]
mov bl, 8
push edx
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c4c], bl
call fcn.00456320
push 0x5c
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::ReverseFind
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c4c], 9
call sub.MFC42u.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x1c48], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::operator
push 0x46e800
lea ecx, [esp + 0x18]
call fcn.004562cc
push 0x46e824
lea ecx, [esp + 0x14]
call fcn.00456320
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42u.DLL_CString::operator_1
push 0x46e824
lea ecx, [esp + 0x14]
call fcn.004562cc
mov eax, dword [esp + 0x24]
push 0
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x50]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
push ecx
push 0x464320
mov edx, dword [eax]
push eax
call dword [edx]
test eax, eax
jl 0x420094
mov dx, word [0x473258]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x32]
mov word [esp + 0x30], dx
push 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x34]
push 2
push eax
push 0
push 0x4732d0
call fcn.00423860
mov ecx, 0x82
lea eax, [esp + 0x30]
cmp word [eax], 0
je 0x41fe21
add eax, 2
dec ecx
jne 0x41fe02
jmp 0x41fe51
mov eax, dword [esp + 0x24]
xor esi, esi
push eax
mov edx, dword [eax]
call dword [edx + 8]
jmp 0x4200b5
test ecx, ecx
je 0x41fe51
lea edx, [esp + 0x18]
test edx, edx
je 0x41fe36
mov eax, 0x82
sub eax, ecx
jmp 0x41fe3a
mov eax, dword [esp + 0x18]
mov ecx, 0x82
push 0x46d988
sub ecx, eax
lea edx, [esp + eax*2 + 0x34]
push ecx
push edx
call fcn.004046e0
mov ecx, 0x82
lea eax, [esp + 0x30]
cmp word [eax], 0
je 0x41fe68
add eax, 2
dec ecx
jne 0x41fe5a
jmp 0x41fe98
test ecx, ecx
je 0x41fe98
lea eax, [esp + 0x18]
test eax, eax
je 0x41fe7d
mov eax, 0x82
sub eax, ecx
jmp 0x41fe81
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
mov edx, 0x82
sub edx, eax
push ecx
lea eax, [esp + eax*2 + 0x34]
push edx
push eax
call fcn.004046e0
lea ecx, [esp + 0x30]
test ecx, ecx
je 0x420088
lea edx, [esp + 0x440]
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x440]
test edx, edx
rep stosd dword es:[edi], eax
je 0x420088
mov ecx, 0x400
lea edi, [esp + 0xc40]
mov word [esp + 0x440], ax
rep stosd dword es:[edi], eax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x41ff3d
lea ecx, [esp + 0xc40]
push 0x800
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0xc40]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [esp + 0x30]
lea ecx, [esp + 0xc40]
push eax
lea edx, [esp + 0xc44]
push ecx
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0xc40]
push 0x400
lea ecx, [esp + 0x444]
push eax
push ecx
jmp 0x41ff4f
lea edx, [esp + 0x30]
push 0x400
lea eax, [esp + 0x444]
push edx
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x440]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x420088
mov ecx, 0x82
lea eax, [esp + 0x30]
cmp word [eax], 0
je 0x41ff81
add eax, 2
dec ecx
jne 0x41ff73
jmp 0x41ffb1
test ecx, ecx
je 0x41ffb1
lea edx, [esp + 0x18]
test edx, edx
je 0x41ff96
mov eax, 0x82
sub eax, ecx
jmp 0x41ff9a
mov eax, dword [esp + 0x18]
mov ecx, 0x82
push 0x46d988
sub ecx, eax
lea edx, [esp + eax*2 + 0x34]
push ecx
push edx
call fcn.004046e0
push 0xef78
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::CString_1
mov esi, dword [eax]
mov ecx, 0x82
lea eax, [esp + 0x30]
cmp word [eax], 0
je 0x41ffd8
add eax, 2
dec ecx
jne 0x41ffca
jmp 0x420020
test ecx, ecx
je 0x420020
lea eax, [esp + 0x18]
test eax, eax
je 0x41ffed
mov eax, 0x82
sub eax, ecx
jmp 0x41fff1
mov eax, dword [esp + 0x18]
mov edx, 0x82
sub edx, eax
lea eax, [esp + eax*2 + 0x30]
je 0x420020
sub esi, eax
mov cx, word [esi + eax]
test cx, cx
je 0x420014
mov word [eax], cx
add eax, 2
dec edx
jne 0x420000
jmp 0x420018
test edx, edx
jne 0x42001b
sub eax, 2
mov word [eax], 0
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::CString
mov ecx, 0x82
lea eax, [esp + 0x30]
cmp word [eax], 0
je 0x420040
add eax, 2
dec ecx
jne 0x420032
jmp 0x420070
test ecx, ecx
je 0x420070
lea edx, [esp + 0x18]
test edx, edx
je 0x420055
mov eax, 0x82
sub eax, ecx
jmp 0x420059
mov eax, dword [esp + 0x18]
mov ecx, 0x82
push str..lnk
sub ecx, eax
lea edx, [esp + eax*2 + 0x34]
push ecx
push edx
call fcn.004046e0
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x30]
push 0
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, eax
neg esi
sbb esi, esi
inc esi
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x420096
xor esi, esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c48], 6
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x24]
push eax
mov edx, dword [eax]
call dword [edx + 8]
jmp 0x4200b5
xor esi, esi
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c48], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x1c48], 1
call fcn.00453d50
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c48], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c48], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov eax, esi
mov ecx, dword [esp + 0x1c40]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c3c
ret