Function at 0x40107d
Capabilities:
Check if file exists
Create shortcut via ishelllink
Get common file path
Get program files directory
Persist via app paths registry key
Persist via default file association registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x82c
push ebx
push esi
xor esi, esi
push edi
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_DefWindowProcW]
push esi
mov ecx, 0x409e08
push dword [ebp + 8]
push esi
call fcn.004013ef
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x82a]
mov word [ebp - 0x82c], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 4]
mov ebx, 0x80000002
push eax
lea eax, [ebp - 0x82c]
push eax
lea eax, [ebp - 8]
push eax
push str.UninstallString
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360
push ebx
mov dword [ebp - 8], 1
mov dword [ebp - 4], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x40115e
lea eax, [ebp - 0x82c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40115e
push esi
push str.Q360MonMutex
lea ecx, [ebp - 0x118]
call fcn.00401639
lea ecx, [ebp - 0x118]
call fcn.004016c4
test al, al
jne 0x40112b
push str.http:__stat.sd.360.cn_click.html_id101
jmp 0x401130
push str.http:__stat.sd.360.cn_click.html_id100
call fcn.00401000
cmp dword [ebp - 0x114], esi
pop ecx
jne 0x40115e
cmp dword [ebp - 0x118], esi
je 0x40115e
push dword [ebp - 0x118]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 0x118]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x41a]
mov word [ebp - 0x41c], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 4]
mov edi, 0x208
push eax
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 8]
push eax
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360sd.exe
push ebx
mov dword [ebp - 4], edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x41c]
push 0x5c
push eax
call fcn.004018e9
pop ecx
cmp eax, esi
pop ecx
je 0x4011be
push 0xe
push str.iexplore.exe
push eax
call fcn.004018ac
add esp, 0xc
lea eax, [ebp - 4]
mov ebx, 0x80000000
push eax
lea eax, [ebp - 0x82c]
push eax
lea eax, [ebp - 8]
push eax
push esi
push str.http_shellopencommand
push ebx
mov dword [ebp - 4], edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4013dc
lea eax, [ebp - 0x41c]
push eax
call fcn.0040188f
push eax
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x82a]
push eax
call fcn.00401797
add esp, 0x10
test eax, eax
jne 0x4013dc
push str.http:__stat.sd.360.cn_click.html_id102
call fcn.00401000
pop ecx
xor eax, eax
mov ecx, 0x81
lea edi, [ebp - 0x212]
mov word [ebp - 0x214], si
push esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x212]
push 0x26
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x214]
mov word [ebp - 0x214], 0x22
push eax
call fcn.0040188f
mov ecx, 0x103
sub ecx, eax
lea eax, [ebp - 0x214]
push ecx
push str.Internet_Exploreriexplore.exe___nohome
push eax
call fcn.00401757
lea eax, [ebp - 0x214]
push eax
call fcn.0040188f
add esp, 0x14
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
shl eax, 1
mov dword [ebp - 4], eax
push eax
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 8]
push esi
push str.http_shellopencommand
push ebx
call edi
push dword [ebp - 4]
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 8]
push esi
push str.https_shellopencommand
push ebx
call edi
push dword [ebp - 4]
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 8]
push esi
push str.htmlfile_shellopencommand
push ebx
call edi
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x4013dc
lea eax, [ebp - 0xc]
push eax
push 0x406130
push 1
push esi
push 0x406140
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4013d6
mov eax, dword [ebp - 0xc]
lea edx, [ebp + 8]
push edx
push 0x406150
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x4013cd
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x622]
mov word [ebp - 0x624], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push esi
lea eax, [ebp - 0x624]
push 0x19
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x624]
push eax
call fcn.0040188f
mov ecx, 0x103
sub ecx, eax
lea eax, [ebp - 0x624]
push ecx
push str.360
push eax
call fcn.00401757
mov eax, dword [ebp + 8]
add esp, 0x10
lea edx, [ebp - 0x624]
mov ecx, dword [eax]
push 1
push edx
push eax
call dword [ecx + 0x14]
test eax, eax
jl 0x4013c4
lea eax, [ebp - 0x41c]
push 0x5c
push eax
call fcn.004018e9
pop ecx
cmp eax, esi
pop ecx
je 0x4013a3
push 0xb
push str.360sd.exe
push eax
call fcn.004018ac
add esp, 0xc
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x41c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x624]
push esi
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, 0x409e08
call fcn.00401501
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10