Function at 0x416fb9
Capabilities:
Accept command line arguments
Check if file exists
Get common file path

Disassembly:
push ebp
sub esp, 0x2a8
lea ebp, [esp - 4]
mov eax, dword [0x4d4268]
xor eax, ebp
mov dword [ebp + 0x2a8], eax
push 0x14
mov eax, 0x4a8762
call fcn.004726b8
mov esi, ecx
push 0x4ab6c8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea edi, [esi + 0x354]
push str.icon
mov ecx, edi
call fcn.0042d5a9
push str.text
mov ecx, edi
mov dword [esi + 0x2fc], eax
call fcn.0042d5a9
push str.btnInstall
mov ecx, edi
mov dword [esi + 0x300], eax
call fcn.0042d5a9
push str.confirm_tip
mov ecx, edi
mov dword [esi + 0x30c], eax
call fcn.0042d5a9
push str.InstallPath
mov ecx, edi
mov dword [esi + 0x304], eax
call fcn.0042d5a9
push str.richProtocal
mov ecx, edi
mov dword [esi + 0x34c], eax
call fcn.0042d5a9
push str.confirm_checkbox
mov ecx, edi
mov dword [esi + 0x350], eax
call fcn.0042d5a9
push str.HideCustomInstall
mov ecx, edi
mov dword [esi + 0x308], eax
call fcn.0042d5a9
push str.ShowCustomInstall
mov ecx, edi
mov dword [esi + 0x314], eax
call fcn.0042d5a9
push str.BottomUI
mov ecx, edi
mov dword [esi + 0x318], eax
call fcn.0042d5a9
push str.CommonInstallUI
mov ecx, edi
mov dword [esi + 0x31c], eax
call fcn.0042d5a9
push str.CustomIntallUI
mov ecx, edi
mov dword [esi + 0x320], eax
call fcn.0042d5a9
push str.InstallProgressUI
mov ecx, edi
mov dword [esi + 0x324], eax
call fcn.0042d5a9
push str.InstallFailedUI
mov ecx, edi
mov dword [esi + 0x328], eax
call fcn.0042d5a9
push str.InstallSuccedUI
mov ecx, edi
mov dword [esi + 0x32c], eax
call fcn.0042d5a9
push str.UpgradeInstallUI
mov ecx, edi
mov dword [esi + 0x330], eax
call fcn.0042d5a9
push str.InstallView
mov ecx, edi
mov dword [esi + 0x334], eax
call fcn.0042d5a9
push str.ProtocalView
mov ecx, edi
mov dword [esi + 0x338], eax
call fcn.0042d5a9
push str.ReplaceExplorerCheckBox
mov ecx, edi
mov dword [esi + 0x33c], eax
call fcn.0042d5a9
mov dword [esi + 0x340], eax
push str.installProgress
mov ecx, edi
call fcn.0042d5a9
push str.installProgressText
mov ecx, edi
mov dword [esi + 0x348], eax
call fcn.0042d5a9
push str.closebtn
mov ecx, edi
mov dword [esi + 0x344], eax
call fcn.0042d5a9
push 0x4ab6d8
mov dword [esi + 0x310], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x41719f
mov dword [esi + 0x590], 1
xor eax, eax
push 0x4e
mov word [ebp + 0x208], ax
xor edi, edi
lea eax, [ebp + 0x20a]
push edi
push eax
call fcn.00472b80
add esp, 0xc
push 0x4d7a78
lea ecx, [ebp - 0x10]
call fcn.0040cb1b
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360FileBrowser.exe
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
call fcn.00414fa4
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
push 0x20019
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push 0x80000001
mov byte [ebp - 4], 2
call fcn.0040c0ed
test eax, eax
jne 0x417279
push 0x206
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
call fcn.00472b80
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp]
push eax
push edi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], 0x103
call fcn.0040c166
test eax, eax
jne 0x417279
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x417279
push 0x28
lea eax, [ebp + 0x208]
push eax
lea eax, [ebp]
push eax
call fcn.0040c567
mov ebx, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
add esp, 0xc
lea eax, [ebp]
push eax
mov dword [esi + 0x584], 1
call ebx
lea eax, [ebp]
push eax
call ebx
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040db82
cmp dword [esi + 0x584], edi
jne 0x4172bd
xor eax, eax
push 0x206
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
call fcn.00472b80
add esp, 0xc
push edi
push 0x1a
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040db82
mov ecx, dword [esi + 0x34c]
mov ebx, dword [ebp - 0x10]
cmp ecx, edi
je 0x4172d0
mov eax, dword [ecx]
push ebx
call dword [eax + 0x30]
cmp dword [esi + 0x584], edi
jne 0x4172e4
mov ecx, esi
call fcn.00416169
jmp 0x4173d3
mov ecx, dword [esi + 0x31c]
cmp ecx, edi
je 0x4172f7
mov eax, dword [ecx]
push edi
call dword [eax + 0xc8]
mov ecx, dword [esi + 0x320]
cmp ecx, edi
je 0x41730a
mov eax, dword [ecx]
push edi
call dword [eax + 0xc8]
xor eax, eax
push 0x4e
mov word [ebp + 0x258], ax
lea eax, [ebp + 0x25a]
push edi
push eax
call fcn.00472b80
xor eax, eax
push 0x206
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
call fcn.00472b80
add esp, 0x18
push 0x104
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x28
lea eax, [ebp + 0x258]
push eax
lea eax, [ebp]
push eax
call fcn.0040c567
lea eax, [ebp + 0x208]
push eax
lea eax, [ebp + 0x258]
push eax
call fcn.004162df
add esp, 0x14
test eax, eax
jge 0x41739f
mov ecx, dword [esi + 0x32c]
cmp ecx, edi
je 0x41738a
mov eax, dword [ecx]
push 1
call dword [eax + 0xc8]
cmp dword [esi + 0x590], edi
je 0x417431
push edi
push edi
push 0x10
jmp 0x41742a
mov ecx, dword [esi + 0x334]
cmp ecx, edi
je 0x4173b3
mov eax, dword [ecx]
push 1
call dword [eax + 0xc8]
lea eax, [ebp + 0x258]
push str.1.0.0.1100
push eax
call fcn.004162df
pop ecx
pop ecx
xor ecx, ecx
test eax, eax
setl cl
mov dword [esi + 0x594], ecx
cmp dword [esi + 0x590], edi
jne 0x4173e3
cmp dword [esi + 0x584], edi
je 0x4173f4
mov ecx, dword [esi + 0x308]
cmp ecx, edi
je 0x4173f4
push 1
call fcn.0043f148
cmp dword [esi + 0x590], edi
je 0x417405
push edi
push edi
push 0x2400
jmp 0x41742a
cmp dword [esi + 0x584], edi
je 0x417431
push str._Force
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x417431
push edi
push edi
push 0x2401
mov ecx, esi
call fcn.0042b477
lea ecx, [ebp - 0x1c]
call fcn.0040c078
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040c248
lea ecx, [ebx - 0x10]
call fcn.0040c248
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2a8]
xor ecx, ebp
call fcn.00471f7b
add ebp, 0x2ac
leave
ret