Function at 0x417dc0
Capabilities:
Check if file exists
Create process on windows
Link many functions at runtime
Query or enumerate registry value
Terminate process

Disassembly:
mov eax, 0x180c
call fcn.004999f0
push ebp
push esi
push edi
mov esi, ecx
call fcn.004180f0
mov ebp, dword [esp + 0x181c]
lea eax, [esp + 0xc]
push eax
push 0
push 1
push ebp
mov dword [esp + 0x1c], 0
call fcn.004071b0
test eax, eax
jne 0x417fd0
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x417fcc
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x818]
push 0x800
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x81c]
push 0x4b8a78
push ecx
call dword [sym.imp.MSVCRT.dll_wcsncpy]
mov esi, dword [sym.imp.MSVCRT.dll_wcsncat]
push 0x800
lea edx, [esp + 0x828]
push 0x4b8e08
push edx
call esi
push 0x800
lea eax, [esp + 0x834]
push 0x4b8a4c
push eax
call esi
push 0x800
lea ecx, [esp + 0x840]
push 0x4b8e08
push ecx
call esi
push 0x800
lea edx, [esp + 0x84c]
push str.vL
push edx
call esi
push 0x800
lea eax, [esp + 0x858]
push ebp
push eax
call esi
add esp, 0x48
lea ecx, [esp + 0x818]
push 0x800
push 0x4b8a0c
push ecx
call esi
add esp, 0xc
lea edx, [esp + 0x818]
push 0x14
push 0x4b8e08
push edx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x417fc4
push 0xc8
push 0x4b89c8
push 0x4b8fa0
call dword [sym.imp.MSVCRT.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x417fac
mov ecx, 0x1ff
lea edi, [esp + 0x1a]
mov word [esp + 0x18], ax
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push ecx
push edx
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], 0x800
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x417f9f
lea eax, [esp + 0x18]
push str.360ver.dll
lea ecx, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x417f9f
lea eax, [esp + 0x18]
push 0
push eax
call fcn.00410460
add esp, 8
test eax, eax
je 0x417f9f
lea ecx, [esp + 0x18]
push ecx
call fcn.004187c0
mov esi, eax
test esi, esi
je 0x417f9f
push str.IsBetaVersion
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je 0x417fac
push 5
push 0
push 0
push 0x4b9138
jmp 0x417fb7
push 5
push 0
push 0
push 0x4b8fa0
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
call dword [sym.imp.MSVCRT.dll_exit]
xor eax, eax
jmp 0x417fd7
push ebp
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [esi + 0x60], eax
jne 0x417fec
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x180c
ret 4
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HttpCreateDownloadObj
push eax
mov byte [esi + 0x68], 0
call edi
mov edx, dword [esi + 0x60]
push str.HttpDeleteDownloadObj
push edx
mov dword [esi + 8], eax
call edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x60]
push str.HttpInitDownPara
push eax
call edi
mov ecx, dword [esi + 0x60]
push str.HttpDownload
push ecx
mov dword [esi + 0x10], eax
call edi
mov edx, dword [esi + 0x60]
push str.HttpCancel
push edx
mov dword [esi + 0x14], eax
call edi
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x60]
push str.HttpWait
push eax
call edi
mov ecx, dword [esi + 0x60]
push str.HttpResetAll
push ecx
mov dword [esi + 0x1c], eax
call edi
mov edx, dword [esi + 0x60]
push str.HttpGetState
push edx
mov dword [esi + 0x20], eax
call edi
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x60]
push str.HttpGetConnectState
push eax
call edi
mov ecx, dword [esi + 0x60]
push str.HttpGetContentLength
push ecx
mov dword [esi + 0x28], eax
call edi
mov edx, dword [esi + 0x60]
push str.HttpGetReceivedLength
push edx
mov dword [esi + 0x2c], eax
call edi
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x60]
push str.HttpGetLastError
push eax
call edi
mov ecx, dword [esi + 0x60]
push str.HttpDownloadExW
push ecx
mov dword [esi + 0x34], eax
call edi
mov edx, dword [esi + 0x60]
push str.HttpGetResumedLength
push edx
mov dword [esi + 0x38], eax
call edi
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x60]
push str.HttpGetCurrentSpeed
push eax
call edi
mov ecx, dword [esi + 0x60]
push str.HttpGetLastErrorW
push ecx
mov dword [esi + 0x3c], eax
call edi
mov dword [esi + 0x34], eax
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x180c
ret 4