Function at 0x41708a
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, 0x4a88d2
call fcn.0047276e
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.0042d65d
push str.text
mov ecx, edi
mov dword [esi + 0x2fc], eax
call fcn.0042d65d
push str.btnInstall
mov ecx, edi
mov dword [esi + 0x300], eax
call fcn.0042d65d
push str.confirm_tip
mov ecx, edi
mov dword [esi + 0x30c], eax
call fcn.0042d65d
push str.InstallPath
mov ecx, edi
mov dword [esi + 0x304], eax
call fcn.0042d65d
push str.richProtocal
mov ecx, edi
mov dword [esi + 0x34c], eax
call fcn.0042d65d
push str.confirm_checkbox
mov ecx, edi
mov dword [esi + 0x350], eax
call fcn.0042d65d
push str.HideCustomInstall
mov ecx, edi
mov dword [esi + 0x308], eax
call fcn.0042d65d
push str.ShowCustomInstall
mov ecx, edi
mov dword [esi + 0x314], eax
call fcn.0042d65d
push str.BottomUI
mov ecx, edi
mov dword [esi + 0x318], eax
call fcn.0042d65d
push str.CommonInstallUI
mov ecx, edi
mov dword [esi + 0x31c], eax
call fcn.0042d65d
push str.CustomIntallUI
mov ecx, edi
mov dword [esi + 0x320], eax
call fcn.0042d65d
push str.InstallProgressUI
mov ecx, edi
mov dword [esi + 0x324], eax
call fcn.0042d65d
push str.InstallFailedUI
mov ecx, edi
mov dword [esi + 0x328], eax
call fcn.0042d65d
push str.InstallSuccedUI
mov ecx, edi
mov dword [esi + 0x32c], eax
call fcn.0042d65d
push str.UpgradeInstallUI
mov ecx, edi
mov dword [esi + 0x330], eax
call fcn.0042d65d
push str.InstallView
mov ecx, edi
mov dword [esi + 0x334], eax
call fcn.0042d65d
push str.ProtocalView
mov ecx, edi
mov dword [esi + 0x338], eax
call fcn.0042d65d
push str.ReplaceExplorerCheckBox
mov ecx, edi
mov dword [esi + 0x33c], eax
call fcn.0042d65d
mov dword [esi + 0x340], eax
push str.installProgress
mov ecx, edi
call fcn.0042d65d
push str.installProgressText
mov ecx, edi
mov dword [esi + 0x348], eax
call fcn.0042d65d
push str.closebtn
mov ecx, edi
mov dword [esi + 0x344], eax
call fcn.0042d65d
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 0x417270
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.00472c30
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 0x41734a
push 0x206
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
call fcn.00472c30
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 0x41734a
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41734a
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 0x41738e
xor eax, eax
push 0x206
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
call fcn.00472c30
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 0x4173a1
mov eax, dword [ecx]
push ebx
call dword [eax + 0x30]
cmp dword [esi + 0x584], edi
jne 0x4173b5
mov ecx, esi
call fcn.00416169
jmp 0x4174a4
mov ecx, dword [esi + 0x31c]
cmp ecx, edi
je 0x4173c8
mov eax, dword [ecx]
push edi
call dword [eax + 0xc8]
mov ecx, dword [esi + 0x320]
cmp ecx, edi
je 0x4173db
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.00472c30
xor eax, eax
push 0x206
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
call fcn.00472c30
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.004162f9
add esp, 0x14
test eax, eax
jge 0x417470
mov ecx, dword [esi + 0x32c]
cmp ecx, edi
je 0x41745b
mov eax, dword [ecx]
push 1
call dword [eax + 0xc8]
cmp dword [esi + 0x590], edi
je 0x417502
push edi
push edi
push 0x10
jmp 0x4174fb
mov ecx, dword [esi + 0x334]
cmp ecx, edi
je 0x417484
mov eax, dword [ecx]
push 1
call dword [eax + 0xc8]
lea eax, [ebp + 0x258]
push str.1.0.0.1100
push eax
call fcn.004162f9
pop ecx
pop ecx
xor ecx, ecx
test eax, eax
setl cl
mov dword [esi + 0x594], ecx
cmp dword [esi + 0x590], edi
jne 0x4174b4
cmp dword [esi + 0x584], edi
je 0x4174c5
mov ecx, dword [esi + 0x308]
cmp ecx, edi
je 0x4174c5
push 1
call fcn.0043f1f7
cmp dword [esi + 0x590], edi
je 0x4174d6
push edi
push edi
push 0x2400
jmp 0x4174fb
cmp dword [esi + 0x584], edi
je 0x417502
push str._Force
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x417502
push edi
push edi
push 0x2401
mov ecx, esi
call fcn.0042b52b
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.00472031
add ebp, 0x2ac
leave
ret