Function at 0x41704c
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 [0x4d4218]
xor eax, ebp
mov dword [ebp + 0x2a8], eax
push 0x14
mov eax, 0x4a7e32
call fcn.00471cf0
mov esi, ecx
push 0x4ab7b8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea edi, [esi + 0x354]
push str.icon
mov ecx, edi
call fcn.0042cd64
push str.text
mov ecx, edi
mov dword [esi + 0x2fc], eax
call fcn.0042cd64
push str.btnInstall
mov ecx, edi
mov dword [esi + 0x300], eax
call fcn.0042cd64
push str.confirm_tip
mov ecx, edi
mov dword [esi + 0x30c], eax
call fcn.0042cd64
push str.InstallPath
mov ecx, edi
mov dword [esi + 0x304], eax
call fcn.0042cd64
push str.richProtocal
mov ecx, edi
mov dword [esi + 0x34c], eax
call fcn.0042cd64
push str.confirm_checkbox
mov ecx, edi
mov dword [esi + 0x350], eax
call fcn.0042cd64
push str.HideCustomInstall
mov ecx, edi
mov dword [esi + 0x308], eax
call fcn.0042cd64
push str.ShowCustomInstall
mov ecx, edi
mov dword [esi + 0x314], eax
call fcn.0042cd64
push str.BottomUI
mov ecx, edi
mov dword [esi + 0x318], eax
call fcn.0042cd64
push str.CommonInstallUI
mov ecx, edi
mov dword [esi + 0x31c], eax
call fcn.0042cd64
push str.CustomIntallUI
mov ecx, edi
mov dword [esi + 0x320], eax
call fcn.0042cd64
push str.InstallProgressUI
mov ecx, edi
mov dword [esi + 0x324], eax
call fcn.0042cd64
push str.InstallFailedUI
mov ecx, edi
mov dword [esi + 0x328], eax
call fcn.0042cd64
push str.InstallSuccedUI
mov ecx, edi
mov dword [esi + 0x32c], eax
call fcn.0042cd64
push str.UpgradeInstallUI
mov ecx, edi
mov dword [esi + 0x330], eax
call fcn.0042cd64
push str.InstallView
mov ecx, edi
mov dword [esi + 0x334], eax
call fcn.0042cd64
push str.ProtocalView
mov ecx, edi
mov dword [esi + 0x338], eax
call fcn.0042cd64
push str.ReplaceExplorerCheckBox
mov ecx, edi
mov dword [esi + 0x33c], eax
call fcn.0042cd64
mov dword [esi + 0x340], eax
push str.installProgress
mov ecx, edi
call fcn.0042cd64
push str.installProgressText
mov ecx, edi
mov dword [esi + 0x348], eax
call fcn.0042cd64
push str.closebtn
mov ecx, edi
mov dword [esi + 0x344], eax
call fcn.0042cd64
push 0x4ab7c8
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 0x417232
mov dword [esi + 0x590], 1
xor eax, eax
push 0x4e
mov word [ebp + 0x258], ax
xor edi, edi
lea eax, [ebp + 0x25a]
push edi
push eax
call fcn.00472400
add esp, 0xc
push 0x4d7a48
lea ecx, [ebp - 0x10]
call fcn.0040b5f9
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360FileBrowser.exe
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
call fcn.0040b983
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.0040c8c2
test eax, eax
jne 0x41730c
push 0x206
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
call fcn.00472400
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.0040c903
test eax, eax
jne 0x41730c
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41730c
push 0x28
lea eax, [ebp + 0x258]
push eax
lea eax, [ebp]
push eax
call fcn.0040ccae
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.0040b8d1
cmp dword [esi + 0x584], edi
jne 0x417350
xor eax, eax
push 0x206
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
call fcn.00472400
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.0040b8d1
mov ecx, dword [esi + 0x34c]
mov ebx, dword [ebp - 0x10]
cmp ecx, edi
je 0x417363
mov eax, dword [ecx]
push ebx
call dword [eax + 0x30]
cmp dword [esi + 0x584], edi
jne 0x417377
mov ecx, esi
call fcn.00416129
jmp 0x41743f
mov ecx, dword [esi + 0x31c]
cmp ecx, edi
je 0x41738a
mov eax, dword [ecx]
push edi
call dword [eax + 0xc8]
mov ecx, dword [esi + 0x320]
cmp ecx, edi
je 0x41739d
mov eax, dword [ecx]
push edi
call dword [eax + 0xc8]
xor eax, eax
push 0x4e
mov word [ebp + 0x208], ax
lea eax, [ebp + 0x20a]
push edi
push eax
call fcn.00472400
xor eax, eax
push 0x206
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
call fcn.00472400
add esp, 0x18
push 0x104
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x28
lea eax, [ebp + 0x208]
push eax
lea eax, [ebp]
push eax
call fcn.0040ccae
lea eax, [ebp + 0x258]
push eax
lea eax, [ebp + 0x208]
push eax
call fcn.004162d7
add esp, 0x14
test eax, eax
jge 0x41742b
mov ecx, dword [esi + 0x32c]
cmp ecx, edi
je 0x41741d
mov eax, dword [ecx]
push 1
call dword [eax + 0xc8]
cmp dword [esi + 0x590], edi
je 0x41749d
push edi
push edi
push 0x10
jmp 0x417496
mov ecx, dword [esi + 0x334]
cmp ecx, edi
je 0x41743f
mov eax, dword [ecx]
push 1
call dword [eax + 0xc8]
cmp dword [esi + 0x590], edi
jne 0x41744f
cmp dword [esi + 0x584], edi
je 0x417460
mov ecx, dword [esi + 0x308]
cmp ecx, edi
je 0x417460
push 1
call fcn.0043e870
cmp dword [esi + 0x590], edi
je 0x417471
push edi
push edi
push 0x2400
jmp 0x417496
cmp dword [esi + 0x584], edi
je 0x41749d
push str._Force
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x41749d
push edi
push edi
push 0x2401
mov ecx, esi
call fcn.0042afa9
lea ecx, [ebp - 0x1c]
call fcn.0040c84d
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040b453
lea ecx, [ebx - 0x10]
call fcn.0040b453
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.004717cc
add ebp, 0x2ac
leave
ret