Function at 0x4630f0
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x540
mov eax, dword [0x49c00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x524], ecx
push 0x48a21c
push 0x1f57
call sym.Install_rocket.exe_int___cdecl_NsResSize_int__wchar_t_const__
add esp, 8
mov dword [ebp - 0x534], eax
cmp dword [ebp - 0x534], 0
jg 0x46312f
jmp 0x46337c
mov eax, dword [ebp - 0x534]
push eax
call fcn.0045073d
add esp, 4
mov dword [ebp - 0x53c], eax
mov ecx, dword [ebp - 0x53c]
mov dword [ebp - 0x530], ecx
mov edx, dword [ebp - 0x530]
push edx
push 0x48a224
push 0x1f57
call sym.Install_rocket.exe_int___cdecl_NsResGetBuff_int__wchar_t_const___void__
add esp, 0xc
mov dword [ebp - 0x538], 0
mov eax, dword [ebp - 0x530]
mov dword [ebp - 0x528], eax
push 4
mov ecx, dword [ebp - 0x528]
push ecx
lea edx, [ebp - 0x538]
push edx
call fcn.0042ba00
add esp, 0xc
mov eax, dword [ebp - 0x528]
add eax, 4
mov dword [ebp - 0x528], eax
push 0x20a
push 0
lea ecx, [ebp - 0x210]
push ecx
call fcn.0042b580
add esp, 0xc
push 0
push 0x1c
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.hfinstall_
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x210]
push ecx
call sym.Install_rocket.exe_int___cdecl_CreateDirTree_wchar_t_const__
add esp, 4
push 0x48a244
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [ebp - 0x52c], 0
jmp 0x46321d
mov eax, dword [ebp - 0x52c]
add eax, 1
mov dword [ebp - 0x52c], eax
mov ecx, dword [ebp - 0x52c]
cmp ecx, dword [ebp - 0x538]
jge 0x463361
push 0x310
mov edx, dword [ebp - 0x528]
push edx
lea eax, [ebp - 0x520]
push eax
call fcn.0042ba00
add esp, 0xc
mov ecx, dword [ebp - 0x528]
add ecx, 0x310
mov dword [ebp - 0x528], ecx
lea edx, [ebp - 0x520]
push edx
call sym.Install_rocket.exe_int___cdecl_CheckInstalled_wchar_t_const__
add esp, 4
test eax, eax
jne 0x46335c
lea eax, [ebp - 0x520]
push eax
mov ecx, dword [ebp - 0x524]
add ecx, 0xbf2
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4632bc
push str.nscomponent_setup.exe
call sym.Install_rocket.exe_public:_static_class_CNsProcess____cdecl_CNsProcess::Instance_void_
mov ecx, eax
call sym.Install_rocket.exe_public:_void___thiscall_CNsProcess::KillProcess_wchar_t_const__
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x524]
mov dword [ecx + 0xb4c], 0xfffffffe
mov edx, dword [ebp - 0x524]
cmp dword [edx + 4], 0
je 0x4632f1
push 0
push 0xfffffffffffffffe
push 0x7ea
mov eax, dword [ebp - 0x524]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [ebp - 0x524]
mov byte [edx + 0xb45], 1
push 1
push sym.Install_rocket.exe_private:_static_void___stdcall_CNsInstaller::DownNotify_int__wchar_t_const___long_long___int64___long_long___int64___double_
push 0
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x458]
push ecx
call sym.Install_rocket.exe_public:_static_class_CNsDownload____cdecl_CNsDownload::Instance_void_
mov ecx, eax
call sym.Install_rocket.exe_public:_int___thiscall_CNsDownload::GetHttpFile_wchar_t_const___wchar_t_const___int__void____stdcall___int__wchar_t_const___long_long___int64___long_long___int64___double___int_
mov edx, dword [ebp - 0x524]
movzx eax, byte [edx + 0xb46]
test eax, eax
je 0x46335c
cmp dword [ebp - 0x214], 0
je 0x46334f
lea ecx, [ebp - 0x250]
push ecx
mov ecx, dword [ebp - 0x524]
call sym.Install_rocket.exe_private:_void___thiscall_CNsInstaller::DoSetup_wchar_t_const__
jmp 0x46335c
push 0
mov ecx, dword [ebp - 0x524]
call sym.Install_rocket.exe_private:_void___thiscall_CNsInstaller::DoSetup_wchar_t_const__
jmp 0x46320e
mov edx, dword [ebp - 0x530]
mov dword [ebp - 0x540], edx
mov eax, dword [ebp - 0x540]
push eax
call fcn.00450738
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004298d0
mov esp, ebp
pop ebp
ret