Function at 0x485bc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa5f9
mov eax, dword fs:[0]
push eax
sub esp, 0x990
mov eax, dword [0x4e3074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x978], ecx
push 0x4c58a4
push 0x1f54
call sym.Install_silent.exe_int___cdecl_NsResSize_int__wchar_t_const__
add esp, 8
mov dword [ebp - 0x990], eax
cmp dword [ebp - 0x990], 0
jg 0x485c17
jmp 0x485ffe
mov eax, dword [ebp - 0x990]
push eax
call fcn.00430705
add esp, 4
mov dword [ebp - 0x998], eax
mov ecx, dword [ebp - 0x998]
mov dword [ebp - 0x98c], ecx
mov edx, dword [ebp - 0x98c]
push edx
push 0x4c58ac
push 0x1f54
call sym.Install_silent.exe_int___cdecl_NsResGetBuff_int__wchar_t_const___void__
add esp, 0xc
mov dword [ebp - 0x994], 0
mov eax, dword [ebp - 0x98c]
mov dword [ebp - 0x97c], eax
push 4
mov ecx, dword [ebp - 0x97c]
push ecx
lea edx, [ebp - 0x994]
push edx
call fcn.004569e0
add esp, 0xc
mov eax, dword [ebp - 0x97c]
add eax, 4
mov dword [ebp - 0x97c], eax
mov ecx, dword [ebp - 0x978]
add ecx, 0x15fc
call fcn.00416da0
mov dword [ebp - 0x988], 0
jmp 0x485cba
mov ecx, dword [ebp - 0x988]
add ecx, 1
mov dword [ebp - 0x988], ecx
mov edx, dword [ebp - 0x988]
cmp edx, dword [ebp - 0x994]
jge 0x485fe3
push 0x540
mov eax, dword [ebp - 0x97c]
push eax
lea ecx, [ebp - 0x550]
push ecx
call fcn.004569e0
add esp, 0xc
mov edx, dword [ebp - 0x97c]
add edx, 0x540
mov dword [ebp - 0x97c], edx
lea eax, [ebp - 0x4d8]
push eax
lea ecx, [ebp - 0x970]
call fcn.00405080
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x3ac]
push ecx
lea ecx, [ebp - 0x980]
call fcn.00405080
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x970]
call fcn.004097b0
lea ecx, [ebp - 0x980]
call fcn.004097b0
lea ecx, [ebp - 0x970]
call fcn.004172b0
lea ecx, [ebp - 0x980]
call fcn.004172b0
mov byte [ebp - 0x969], 0
push 0
push 0x4c58b4
lea ecx, [ebp - 0x970]
call fcn.00404fb0
test eax, eax
jne 0x485d78
mov byte [ebp - 0x969], 1
lea edx, [ebp - 0x970]
push edx
mov ecx, dword [ebp - 0x978]
call sym.Install_silent.exe_private:_void___thiscall_CNsInstaller::ReplaceSysPath_class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____
lea eax, [ebp - 0x980]
push eax
mov ecx, dword [ebp - 0x978]
call sym.Install_silent.exe_private:_void___thiscall_CNsInstaller::ReplaceSysPath_class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____
push 0x4c58c8
lea ecx, [ebp - 0x970]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov ecx, dword [ebp - 0x978]
call sym.Install_silent.exe_public:_void___thiscall_CNsInstaller::CheckDir_wchar_t_const___wchar_t_const__
lea ecx, [ebp - 0x974]
call fcn.00405120
mov byte [ebp - 4], 2
push 0
push 0x4c58cc
lea ecx, [ebp - 0x970]
call fcn.00404fb0
test eax, eax
jne 0x485e6e
lea ecx, [ebp - 0x550]
push ecx
mov edx, dword [ebp - 0x970]
push edx
push str._s_s.url
lea eax, [ebp - 0x974]
push eax
call fcn.00405800
add esp, 0x10
lea ecx, [ebp - 0x980]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
lea ecx, [ebp - 0x974]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_silent.exe_int___cdecl_CreateUrlShortcut_wchar_t_const___wchar_t_const__
add esp, 8
movzx ecx, byte [ebp - 0x969]
test ecx, ecx
je 0x485e69
mov dword [ebp - 0x75c], 1
lea ecx, [ebp - 0x974]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
lea edx, [ebp - 0x758]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x75c]
push eax
mov ecx, dword [ebp - 0x978]
add ecx, 0x15fc
call fcn.00416e80
jmp 0x485f21
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x980]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
lea ecx, [ebp - 0x550]
push ecx
lea ecx, [ebp - 0x970]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_silent.exe_int___cdecl_CreateShortcut_wchar_t_const___wchar_t_const___wchar_t_const___wchar_t_const___unsigned_short_int__wchar_t_const___int_
add esp, 0x1c
lea edx, [ebp - 0x550]
push edx
mov eax, dword [ebp - 0x970]
push eax
push 0x4c58f0
lea ecx, [ebp - 0x974]
push ecx
call fcn.00405800
add esp, 0x10
movzx edx, byte [ebp - 0x969]
test edx, edx
je 0x485f05
mov dword [ebp - 0x968], 1
lea ecx, [ebp - 0x974]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
lea eax, [ebp - 0x964]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [ebp - 0x968]
push ecx
mov ecx, dword [ebp - 0x978]
add ecx, 0x15fc
call fcn.00416e80
cmp dword [ebp - 0x78], 0
je 0x485f21
push 1
lea ecx, [ebp - 0x974]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_silent.exe_int___cdecl_SetShortcutAsAdmin_wchar_t_const___int_
add esp, 8
lea edx, [ebp - 0x280]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x485fae
lea ecx, [ebp - 0x984]
call fcn.00405120
mov byte [ebp - 4], 3
lea eax, [ebp - 0x280]
push eax
mov ecx, dword [ebp - 0x978]
mov edx, dword [ecx + 0x16b0]
push edx
push 0x4c5904
lea eax, [ebp - 0x984]
push eax
call fcn.00405800
add esp, 0x10
lea ecx, [ebp - 0x984]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x485f9f
lea ecx, [ebp - 0x984]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
lea ecx, [ebp - 0x974]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_silent.exe_int___cdecl_SetShortcutIcon_wchar_t_const___wchar_t_const__
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x984]
call fcn.00405060
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x974]
call fcn.00405060
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x980]
call fcn.00405060
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x970]
call fcn.00405060
jmp 0x485cab
mov ecx, dword [ebp - 0x98c]
mov dword [ebp - 0x99c], ecx
mov edx, dword [ebp - 0x99c]
push edx
call fcn.004303f9
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042fc0d
mov esp, ebp
pop ebp
ret