Function at 0x452960
Capabilities:
Check if file exists
Delete file
Get common file path
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4670e4
mov eax, dword fs:[0]
push eax
sub esp, 0xafc
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 - 0xabc], ecx
lea eax, [ebp - 0x4fc]
push eax
mov ecx, dword [ebp - 0xabc]
call sym.Install_rocket.exe_public:_bool___thiscall_CNsInstaller::GetCollectionInfo_struct_tagCollectionInfo__
movzx ecx, al
test ecx, ecx
jne 0x4529ca
push 0
push 0xffffffffffffffff
push 0x7e9
mov edx, dword [ebp - 0xabc]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor al, al
jmp 0x452fd7
lea ecx, [ebp - 0x4e8]
push ecx
push str.install_collection
push str.http:__hofosoft.cn_api_report.asp
call sym.Install_rocket.exe_void___cdecl_DoReport_wchar_t_const___wchar_t_const___wchar_t_const__
add esp, 0xc
push 0x47661c
push 0x1f63
call sym.Install_rocket.exe_int___cdecl_NsResSize_int__wchar_t_const__
add esp, 8
mov dword [ebp - 0xae0], eax
cmp dword [ebp - 0xae0], 0
jg 0x452a24
push 0
push 0xffffffffffffffff
push 0x7e9
mov edx, dword [ebp - 0xabc]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor al, al
jmp 0x452fd7
mov ecx, dword [ebp - 0xae0]
push ecx
call fcn.00444b4d
add esp, 4
mov dword [ebp - 0xaec], eax
mov edx, dword [ebp - 0xaec]
mov dword [ebp - 0xad4], edx
mov eax, dword [ebp - 0xad4]
push eax
push 0x476674
push 0x1f63
call sym.Install_rocket.exe_int___cdecl_NsResGetBuff_int__wchar_t_const___void__
add esp, 0xc
mov dword [ebp - 0xae8], 0
mov ecx, dword [ebp - 0xad4]
mov dword [ebp - 0xac8], ecx
push 4
mov edx, dword [ebp - 0xac8]
push edx
lea eax, [ebp - 0xae8]
push eax
call fcn.00424cd0
add esp, 0xc
mov ecx, dword [ebp - 0xac8]
add ecx, 4
mov dword [ebp - 0xac8], ecx
lea edx, [ebp - 0xaf4]
push edx
push 0x47667c
push 0x1f41
call sym.Install_rocket.exe_int___cdecl_NsResGetBuff_int__wchar_t_const___void__
add esp, 0xc
mov dword [ebp - 0xaf0], eax
cmp dword [ebp - 0xaf0], 0
jne 0x452ae3
push 0
push 0xffffffffffffffff
push 0x7e9
mov eax, dword [ebp - 0xabc]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
xor al, al
jmp 0x452fd7
push 0x208
push 0
lea edx, [ebp - 0x420]
push edx
call fcn.00424850
add esp, 0xc
push 0x104
lea eax, [ebp - 0x420]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x476684
lea ecx, [ebp - 0x420]
push ecx
call fcn.0042c0fb
add esp, 8
mov dword [ebp - 0xab8], eax
cmp dword [ebp - 0xab8], 0
jne 0x452b50
push 0
push 0xffffffffffffffff
push 0x7e9
mov edx, dword [ebp - 0xabc]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor al, al
jmp 0x452fd7
push 0
mov ecx, dword [ebp - 0xaf4]
push ecx
mov edx, dword [ebp - 0xab8]
push edx
call fcn.0042eb5a
add esp, 0xc
mov dword [ebp - 0xae4], 0
mov eax, dword [ebp - 0xab8]
push eax
push 1
push 4
lea ecx, [ebp - 0xae4]
push ecx
call fcn.0042e744
add esp, 0x10
cmp dword [ebp - 0xae4], 0
je 0x452c3f
mov edx, dword [ebp - 0xab8]
push edx
call fcn.0042c1cf
add esp, 4
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xad0]
call fcn.00409280
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xad0]
call fcn.0040db70
push 0x47668c
push 0x476624
lea ecx, [ebp - 0xad0]
call fcn.004189d0
push 0x476694
lea ecx, [ebp - 0xad0]
call fcn.004093e0
push eax
call fcn.0042c0fb
add esp, 8
mov dword [ebp - 0xab8], eax
cmp dword [ebp - 0xab8], 0
jne 0x452c2d
mov byte [ebp - 0xac1], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xad0]
call fcn.00409260
mov al, byte [ebp - 0xac1]
jmp 0x452fd7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xad0]
call fcn.00409260
push 0x208
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.00424850
add esp, 0xc
push 0
push 0x1c
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.hfinstallhf_collection_setup.exe
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [ebp - 0xacc], 0
jmp 0x452c95
mov ecx, dword [ebp - 0xacc]
add ecx, 1
mov dword [ebp - 0xacc], ecx
mov edx, dword [ebp - 0xacc]
cmp edx, dword [ebp - 0xae8]
jge 0x452f8f
push 0x5b8
mov eax, dword [ebp - 0xac8]
push eax
lea ecx, [ebp - 0xab4]
push ecx
call fcn.00424cd0
add esp, 0xc
mov edx, dword [ebp - 0xac8]
add edx, 0x5b8
mov dword [ebp - 0xac8], edx
cmp dword [ebp - 0x4ec], 0
jne 0x452d55
mov eax, dword [ebp - 0xacc]
push eax
lea ecx, [ebp - 0xb08]
push ecx
mov ecx, dword [ebp - 0xabc]
add ecx, 0x1784
call fcn.0041e820
mov ecx, eax
call fcn.0041e7b0
movzx edx, al
test edx, edx
jne 0x452d55
cmp dword [ebp - 0x9ec], 0
jne 0x452d50
xorps xmm0, xmm0
movlpd qword [ebp - 0xb00], xmm0
mov eax, dword [ebp - 0xab8]
push eax
push 1
push 8
lea ecx, [ebp - 0xb00]
push ecx
call fcn.0042e744
add esp, 0x10
push 1
mov edx, dword [ebp - 0xb00]
push edx
mov eax, dword [ebp - 0xab8]
push eax
call fcn.0042eb5a
add esp, 0xc
jmp 0x452c86
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0xac0]
call fcn.004093a0
mov dword [ebp - 4], 1
lea edx, [ebp - 0x754]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x452dbe
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0xac0]
call fcn.004091a0
push 0x47669c
push str..exe
lea ecx, [ebp - 0xac0]
call fcn.004189d0
lea ecx, [ebp - 0xac0]
call fcn.004093e0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x9ec], 0
je 0x452e4b
push 1
push sym.Install_rocket.exe_private:_static_void___stdcall_CNsInstaller::DownNotify2_int__wchar_t_const___long_long___int64___long_long___int64___double_
push 0
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x9ac]
push edx
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_
lea ecx, [ebp - 0xac0]
call fcn.004114d0
movzx eax, al
test eax, eax
jne 0x452e28
push 1
push sym.Install_rocket.exe_private:_static_void___stdcall_CNsInstaller::DownNotify2_int__wchar_t_const___long_long___int64___long_long___int64___double_
push 0
lea ecx, [ebp - 0xac0]
call fcn.004093e0
push eax
lea ecx, [ebp - 0x9ac]
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 - 0xacc]
push edx
push 0xfffffffffffffffe
push 0x7e9
mov eax, dword [ebp - 0xabc]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x452f18
mov edx, dword [ebp - 0xacc]
push edx
push 0xfffffffffffffffe
push 0x7e9
mov eax, dword [ebp - 0xabc]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
xorps xmm0, xmm0
movlpd qword [ebp - 0xadc], xmm0
mov edx, dword [ebp - 0xab8]
push edx
push 1
push 8
lea eax, [ebp - 0xadc]
push eax
call fcn.0042e744
add esp, 0x10
mov ecx, dword [ebp - 0xab8]
push ecx
lea edx, [ebp - 0x218]
push edx
mov eax, dword [ebp - 0xad8]
push eax
mov ecx, dword [ebp - 0xadc]
push ecx
mov ecx, dword [ebp - 0xabc]
call sym.Install_rocket.exe_private:_bool___thiscall_CNsInstaller::ExtractCollection_long_long___int64___wchar_t_const___struct__iobuf__
lea ecx, [ebp - 0xac0]
call fcn.004114d0
movzx edx, al
test edx, edx
jne 0x452f18
xorps xmm0, xmm0
movlpd qword [ebp - 0xadc], xmm0
mov eax, dword [ebp - 0xab8]
push eax
push 1
push 8
lea ecx, [ebp - 0xadc]
push ecx
call fcn.0042e744
add esp, 0x10
mov edx, dword [ebp - 0xab8]
push edx
lea ecx, [ebp - 0xac0]
call fcn.004093e0
push eax
mov eax, dword [ebp - 0xad8]
push eax
mov ecx, dword [ebp - 0xadc]
push ecx
mov ecx, dword [ebp - 0xabc]
call sym.Install_rocket.exe_private:_bool___thiscall_CNsInstaller::ExtractCollection_long_long___int64___wchar_t_const___struct__iobuf__
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x452f78
push 5
push 1
lea eax, [ebp - 0x9e8]
push eax
lea ecx, [ebp - 0x218]
push ecx
call sym.Install_rocket.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0xac0]
call fcn.004093e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x452f78
lea ecx, [ebp - 0xac0]
call fcn.004093e0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac0]
call fcn.00409260
jmp 0x452c86
mov eax, dword [ebp - 0xad4]
mov dword [ebp - 0xaf8], eax
mov ecx, dword [ebp - 0xaf8]
push ecx
call fcn.00444b48
add esp, 4
mov edx, dword [ebp - 0xab8]
push edx
call fcn.0042c1cf
add esp, 4
push 0
push 0x2710
push 0x7e9
mov eax, dword [ebp - 0xabc]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov al, 1
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