Function at 0x454870
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x467356
mov eax, dword fs:[0]
push eax
sub esp, 0x990
mov eax, dword [0x48600c]
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 0x476064
push 0x1f54
call sym.Install_rocket.exe_int___cdecl_NsResSize_int__wchar_t_const__
add esp, 8
mov dword [ebp - 0x990], eax
cmp dword [ebp - 0x990], 0
jg 0x4548c7
jmp 0x454cae
mov eax, dword [ebp - 0x990]
push eax
call fcn.00444b4d
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 0x47606c
push 0x1f54
call sym.Install_rocket.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.00424cd0
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.004157e0
mov dword [ebp - 0x988], 0
jmp 0x45496a
mov ecx, dword [ebp - 0x988]
add ecx, 1
mov dword [ebp - 0x988], ecx
mov edx, dword [ebp - 0x988]
cmp edx, dword [ebp - 0x994]
jge 0x454c93
push 0x540
mov eax, dword [ebp - 0x97c]
push eax
lea ecx, [ebp - 0x550]
push ecx
call fcn.00424cd0
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.00409280
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x3ac]
push ecx
lea ecx, [ebp - 0x980]
call fcn.00409280
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x970]
call fcn.0040db70
lea ecx, [ebp - 0x980]
call fcn.0040db70
lea ecx, [ebp - 0x970]
call fcn.0041ed60
lea ecx, [ebp - 0x980]
call fcn.0041ed60
mov byte [ebp - 0x969], 0
push 0
push 0x476074
lea ecx, [ebp - 0x970]
call fcn.0040dbd0
test eax, eax
jne 0x454a28
mov byte [ebp - 0x969], 1
lea edx, [ebp - 0x970]
push edx
mov ecx, dword [ebp - 0x978]
call sym.Install_rocket.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_rocket.exe_private:_void___thiscall_CNsInstaller::ReplaceSysPath_class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____
push 0x476088
lea ecx, [ebp - 0x970]
call fcn.004093e0
push eax
mov ecx, dword [ebp - 0x978]
call sym.Install_rocket.exe_public:_void___thiscall_CNsInstaller::CheckDir_wchar_t_const___wchar_t_const__
lea ecx, [ebp - 0x974]
call fcn.004093a0
mov byte [ebp - 4], 2
push 0
push 0x47608c
lea ecx, [ebp - 0x970]
call fcn.0040dbd0
test eax, eax
jne 0x454b1e
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.00409950
add esp, 0x10
lea ecx, [ebp - 0x980]
call fcn.004093e0
push eax
lea ecx, [ebp - 0x974]
call fcn.004093e0
push eax
call sym.Install_rocket.exe_int___cdecl_CreateUrlShortcut_wchar_t_const___wchar_t_const__
add esp, 8
movzx ecx, byte [ebp - 0x969]
test ecx, ecx
je 0x454b19
mov dword [ebp - 0x75c], 1
lea ecx, [ebp - 0x974]
call fcn.004093e0
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.0041e9d0
jmp 0x454bd1
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x980]
call fcn.004093e0
push eax
lea ecx, [ebp - 0x550]
push ecx
lea ecx, [ebp - 0x970]
call fcn.004093e0
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
lea edx, [ebp - 0x550]
push edx
mov eax, dword [ebp - 0x970]
push eax
push 0x4760b0
lea ecx, [ebp - 0x974]
push ecx
call fcn.00409950
add esp, 0x10
movzx edx, byte [ebp - 0x969]
test edx, edx
je 0x454bb5
mov dword [ebp - 0x968], 1
lea ecx, [ebp - 0x974]
call fcn.004093e0
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.0041e9d0
cmp dword [ebp - 0x78], 0
je 0x454bd1
push 1
lea ecx, [ebp - 0x974]
call fcn.004093e0
push eax
call sym.Install_rocket.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 0x454c5e
lea ecx, [ebp - 0x984]
call fcn.004093a0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x280]
push eax
mov ecx, dword [ebp - 0x978]
mov edx, dword [ecx + 0x16b0]
push edx
push 0x4760c4
lea eax, [ebp - 0x984]
push eax
call fcn.00409950
add esp, 0x10
lea ecx, [ebp - 0x984]
call fcn.004093e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x454c4f
lea ecx, [ebp - 0x984]
call fcn.004093e0
push eax
lea ecx, [ebp - 0x974]
call fcn.004093e0
push eax
call sym.Install_rocket.exe_int___cdecl_SetShortcutIcon_wchar_t_const___wchar_t_const__
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x984]
call fcn.00409260
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x974]
call fcn.00409260
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x980]
call fcn.00409260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x970]
call fcn.00409260
jmp 0x45495b
mov ecx, dword [ebp - 0x98c]
mov dword [ebp - 0x99c], ecx
mov edx, dword [ebp - 0x99c]
push edx
call fcn.00444b48
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.00422b91
mov esp, ebp
pop ebp
ret