Function at 0x48f2e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b03b2
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x4ea00c]
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 0x48f324
jmp 0x48f5c8
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x208
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.00432e20
add esp, 0xc
lea ecx, [ebp - 0x21c]
call fcn.004097c0
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 0x4cc4d0
lea edx, [ebp - 0x21c]
push edx
call fcn.00409d70
add esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1584], 0
je 0x48f42f
lea ecx, [ebp - 0x218]
push ecx
call sym.Install_rocket.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_rocket.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_rocket.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 0x48f42f
lea ecx, [ebp - 0x224]
call fcn.004097c0
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.00409d70
add esp, 0x10
push 1
lea ecx, [ebp - 0x224]
call sym.Install_rocket.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_rocket.exe_int___cdecl_SetShortcutAsAdmin_wchar_t_const___int_
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.00409680
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1580], 0
je 0x48f5a5
lea ecx, [ebp - 0x218]
push ecx
call sym.Install_rocket.exe_int___cdecl_GetProgramsPath_wchar_t__
add esp, 4
push 0x4cc4f0
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 0x48f496
lea eax, [ebp - 0x218]
push eax
call sym.Install_rocket.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_rocket.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_rocket.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 0x48f51f
lea ecx, [ebp - 0x228]
call fcn.004097c0
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x218]
push edx
push 0x4cc4f4
lea eax, [ebp - 0x228]
push eax
call fcn.00409d70
add esp, 0x10
push 1
lea ecx, [ebp - 0x228]
call sym.Install_rocket.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_rocket.exe_int___cdecl_SetShortcutAsAdmin_wchar_t_const___int_
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.00409680
mov ecx, dword [ebp + 8]
add ecx, 0x708
push ecx
mov edx, dword [ebp - 0x220]
mov eax, dword [edx + 0x16b0]
push eax
push 0x4cc508
lea ecx, [ebp - 0x21c]
push ecx
call fcn.00409d70
add esp, 0x10
call sym.Install_rocket.exe_int___cdecl_isEnglish_void_
test eax, eax
je 0x48f57d
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x21c]
call sym.Install_rocket.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_rocket.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 0x48f5a5
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x21c]
call sym.Install_rocket.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push 0x4cc528
lea eax, [ebp - 0x218]
push eax
call sym.Install_rocket.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_rocket.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.00409680
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042e29e
mov esp, ebp
pop ebp
ret 4