Function at 0x48e8c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9d32
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
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 - 0x220], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x48e904
jmp 0x48eba8
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x208
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.004307d0
add esp, 0xc
lea ecx, [ebp - 0x21c]
call fcn.00409500
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
add edx, 0x8fc
push edx
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax + 0x16b0]
push ecx
push 0x4c5490
lea edx, [ebp - 0x21c]
push edx
call fcn.00409ab0
add esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1584], 0
je 0x48ea0f
lea ecx, [ebp - 0x218]
push ecx
call sym.Install_adv.exe_int___cdecl_GetDesktopPath_wchar_t__
add esp, 4
push 1
mov edx, dword [ebp + 8]
add edx, 0xb54
push edx
push 0
push 0
lea ecx, [ebp - 0x21c]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x218]
push ecx
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
mov edx, dword [ebp - 0x220]
cmp dword [edx + 0x1648], 0
je 0x48ea0f
lea ecx, [ebp - 0x224]
call fcn.00409500
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x218]
push ecx
push str._s_s.lnk
lea edx, [ebp - 0x224]
push edx
call fcn.00409ab0
add esp, 0x10
push 1
lea ecx, [ebp - 0x224]
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
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.004093c0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1580], 0
je 0x48eb85
lea ecx, [ebp - 0x218]
push ecx
call sym.Install_adv.exe_int___cdecl_GetProgramsPath_wchar_t__
add esp, 4
push 0x4c54b0
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, dword [ebp + 8]
add eax, 0xce4
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48ea76
lea eax, [ebp - 0x218]
push eax
call sym.Install_adv.exe_int___cdecl_CreateFolder_wchar_t_const__
add esp, 4
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x21c]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x218]
push edx
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
mov eax, dword [ebp - 0x220]
cmp dword [eax + 0x1648], 0
je 0x48eaff
lea ecx, [ebp - 0x228]
call fcn.00409500
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x218]
push edx
push 0x4c54b4
lea eax, [ebp - 0x228]
push eax
call fcn.00409ab0
add esp, 0x10
push 1
lea ecx, [ebp - 0x228]
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
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.004093c0
mov ecx, dword [ebp + 8]
add ecx, 0x708
push ecx
mov edx, dword [ebp - 0x220]
mov eax, dword [edx + 0x16b0]
push eax
push 0x4c54c8
lea ecx, [ebp - 0x21c]
push ecx
call fcn.00409ab0
add esp, 0x10
call sym.Install_adv.exe_int___cdecl_isEnglish_void_
test eax, eax
je 0x48eb5d
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x21c]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push str.Uninstall
lea edx, [ebp - 0x218]
push edx
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
jmp 0x48eb85
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x21c]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push 0x4c54e8
lea eax, [ebp - 0x218]
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
mov ecx, dword [ebp - 0x220]
call sym.Install_adv.exe_private:_void___thiscall_CNsInstaller::CreateUserShortcuts_void_
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.004093c0
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 4