Function at 0x48ebd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9d86
mov eax, dword fs:[0]
push eax
sub esp, 0x990
mov eax, dword [0x4e100c]
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 0x4c5424
push 0x1f54
call sym.Install_adv.exe_int___cdecl_NsResSize_int__wchar_t_const__
add esp, 8
mov dword [ebp - 0x990], eax
cmp dword [ebp - 0x990], 0
jg 0x48ec27
jmp 0x48f00e
mov eax, dword [ebp - 0x990]
push eax
call fcn.0047912d
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 0x4c542c
push 0x1f54
call sym.Install_adv.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.00430c50
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.00416970
mov dword [ebp - 0x988], 0
jmp 0x48ecca
mov ecx, dword [ebp - 0x988]
add ecx, 1
mov dword [ebp - 0x988], ecx
mov edx, dword [ebp - 0x988]
cmp edx, dword [ebp - 0x994]
jge 0x48eff3
push 0x540
mov eax, dword [ebp - 0x97c]
push eax
lea ecx, [ebp - 0x550]
push ecx
call fcn.00430c50
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.004093e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x3ac]
push ecx
lea ecx, [ebp - 0x980]
call fcn.004093e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x970]
call fcn.0040dab0
lea ecx, [ebp - 0x980]
call fcn.0040dab0
lea ecx, [ebp - 0x970]
call fcn.0041fd70
lea ecx, [ebp - 0x980]
call fcn.0041fd70
mov byte [ebp - 0x969], 0
push 0
push 0x4c5434
lea ecx, [ebp - 0x970]
call fcn.0040f3c0
test eax, eax
jne 0x48ed88
mov byte [ebp - 0x969], 1
lea edx, [ebp - 0x970]
push edx
mov ecx, dword [ebp - 0x978]
call sym.Install_adv.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_adv.exe_private:_void___thiscall_CNsInstaller::ReplaceSysPath_class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____
push 0x4c5448
lea ecx, [ebp - 0x970]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov ecx, dword [ebp - 0x978]
call sym.Install_adv.exe_public:_void___thiscall_CNsInstaller::CheckDir_wchar_t_const___wchar_t_const__
lea ecx, [ebp - 0x974]
call fcn.00409500
mov byte [ebp - 4], 2
push 0
push 0x4c544c
lea ecx, [ebp - 0x970]
call fcn.0040f3c0
test eax, eax
jne 0x48ee7e
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.00409ab0
add esp, 0x10
lea ecx, [ebp - 0x980]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
lea ecx, [ebp - 0x974]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_adv.exe_int___cdecl_CreateUrlShortcut_wchar_t_const___wchar_t_const__
add esp, 8
movzx ecx, byte [ebp - 0x969]
test ecx, ecx
je 0x48ee79
mov dword [ebp - 0x75c], 1
lea ecx, [ebp - 0x974]
call sym.Install_adv.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.0041f9e0
jmp 0x48ef31
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x980]
call sym.Install_adv.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_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_adv.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 0x4c5470
lea ecx, [ebp - 0x974]
push ecx
call fcn.00409ab0
add esp, 0x10
movzx edx, byte [ebp - 0x969]
test edx, edx
je 0x48ef15
mov dword [ebp - 0x968], 1
lea ecx, [ebp - 0x974]
call sym.Install_adv.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.0041f9e0
cmp dword [ebp - 0x78], 0
je 0x48ef31
push 1
lea ecx, [ebp - 0x974]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_adv.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 0x48efbe
lea ecx, [ebp - 0x984]
call fcn.00409500
mov byte [ebp - 4], 3
lea eax, [ebp - 0x280]
push eax
mov ecx, dword [ebp - 0x978]
mov edx, dword [ecx + 0x16b0]
push edx
push 0x4c5484
lea eax, [ebp - 0x984]
push eax
call fcn.00409ab0
add esp, 0x10
lea ecx, [ebp - 0x984]
call sym.Install_adv.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 0x48efaf
lea ecx, [ebp - 0x984]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
lea ecx, [ebp - 0x974]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_adv.exe_int___cdecl_SetShortcutIcon_wchar_t_const___wchar_t_const__
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x984]
call fcn.004093c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x974]
call fcn.004093c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x980]
call fcn.004093c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x970]
call fcn.004093c0
jmp 0x48ecbb
mov ecx, dword [ebp - 0x98c]
mov dword [ebp - 0x99c], ecx
mov edx, dword [ebp - 0x99c]
push edx
call fcn.00479128
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.0042eb1e
mov esp, ebp
pop ebp
ret