Function at 0x460d30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474b1f
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x49c00c]
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 0x460d74
jmp 0x461018
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x208
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.0042b580
add esp, 0xc
lea ecx, [ebp - 0x21c]
call fcn.004096c0
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
add edx, 0x4d8
push edx
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax + 0xbe8]
push ecx
push 0x48a7c4
lea edx, [ebp - 0x21c]
push edx
call fcn.00409d20
add esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax + 0xabc], 0
je 0x460e7f
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, 0x604
push edx
push 0
push 0
lea ecx, [ebp - 0x21c]
call fcn.00409710
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 + 0xb80], 0
je 0x460e7f
lea ecx, [ebp - 0x224]
call fcn.004096c0
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.00409d20
add esp, 0x10
push 1
lea ecx, [ebp - 0x224]
call fcn.00409710
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.004095a0
mov eax, dword [ebp + 8]
cmp dword [eax + 0xab8], 0
je 0x460ff5
lea ecx, [ebp - 0x218]
push ecx
call sym.Install_rocket.exe_int___cdecl_GetProgramsPath_wchar_t__
add esp, 4
push 0x48a7e4
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, dword [ebp + 8]
add eax, 0x6cc
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 0x460ee6
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 fcn.00409710
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 + 0xb80], 0
je 0x460f6f
lea ecx, [ebp - 0x228]
call fcn.004096c0
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x218]
push edx
push 0x48a7e8
lea eax, [ebp - 0x228]
push eax
call fcn.00409d20
add esp, 0x10
push 1
lea ecx, [ebp - 0x228]
call fcn.00409710
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.004095a0
mov ecx, dword [ebp + 8]
add ecx, 0x3ac
push ecx
mov edx, dword [ebp - 0x220]
mov eax, dword [edx + 0xbe8]
push eax
push 0x48a7fc
lea ecx, [ebp - 0x21c]
push ecx
call fcn.00409d20
add esp, 0x10
call sym.Install_rocket.exe_int___cdecl_isEnglish_void_
test eax, eax
je 0x460fcd
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x21c]
call fcn.00409710
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 0x460ff5
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x21c]
call fcn.00409710
push eax
push 0x48a81c
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.004095a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004298d0
mov esp, ebp
pop ebp
ret 4