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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b11e4
mov eax, dword fs:[0]
push eax
sub esp, 0xafc
mov eax, dword [0x4ec00c]
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_adv.exe_public:_bool___thiscall_CNsInstaller::GetCollectionInfo_struct_tagCollectionInfo__
movzx ecx, al
test ecx, ecx
jne 0x48e5ca
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 0x48ebd7
lea ecx, [ebp - 0x4e8]
push ecx
push str.install_collection
push str.http:__hofosoft.cn_api_report.asp
call sym.Install_adv.exe_void___cdecl_DoReport_wchar_t_const___wchar_t_const___wchar_t_const__
add esp, 0xc
push 0x4cda5c
push 0x1f63
call sym.Install_adv.exe_int___cdecl_NsResSize_int__wchar_t_const__
add esp, 8
mov dword [ebp - 0xae0], eax
cmp dword [ebp - 0xae0], 0
jg 0x48e624
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 0x48ebd7
mov ecx, dword [ebp - 0xae0]
push ecx
call fcn.0047ac4d
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 0x4cdab4
push 0x1f63
call sym.Install_adv.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.00434120
add esp, 0xc
mov ecx, dword [ebp - 0xac8]
add ecx, 4
mov dword [ebp - 0xac8], ecx
lea edx, [ebp - 0xaf4]
push edx
push 0x4cdabc
push 0x1f41
call sym.Install_adv.exe_int___cdecl_NsResGetBuff_int__wchar_t_const___void__
add esp, 0xc
mov dword [ebp - 0xaf0], eax
cmp dword [ebp - 0xaf0], 0
jne 0x48e6e3
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 0x48ebd7
push 0x208
push 0
lea edx, [ebp - 0x420]
push edx
call fcn.00433ca0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x420]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x4cdac4
lea ecx, [ebp - 0x420]
push ecx
call fcn.0043ce99
add esp, 8
mov dword [ebp - 0xab8], eax
cmp dword [ebp - 0xab8], 0
jne 0x48e750
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 0x48ebd7
push 0
mov ecx, dword [ebp - 0xaf4]
push ecx
mov edx, dword [ebp - 0xab8]
push edx
call fcn.0043fa80
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.0043f624
add esp, 0x10
cmp dword [ebp - 0xae4], 0
je 0x48e83f
mov edx, dword [ebp - 0xab8]
push edx
call fcn.0043cf8f
add esp, 4
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xad0]
call fcn.004096a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xad0]
call fcn.0040dba0
push 0x4cdacc
push 0x4cda64
lea ecx, [ebp - 0xad0]
call fcn.0040dc00
push 0x4cdad4
lea ecx, [ebp - 0xad0]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call fcn.0043ce99
add esp, 8
mov dword [ebp - 0xab8], eax
cmp dword [ebp - 0xab8], 0
jne 0x48e82d
mov byte [ebp - 0xac1], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xad0]
call fcn.00409680
mov al, byte [ebp - 0xac1]
jmp 0x48ebd7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xad0]
call fcn.00409680
push 0x208
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.00433ca0
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 0x48e895
mov ecx, dword [ebp - 0xacc]
add ecx, 1
mov dword [ebp - 0xacc], ecx
mov edx, dword [ebp - 0xacc]
cmp edx, dword [ebp - 0xae8]
jge 0x48eb8f
push 0x5b8
mov eax, dword [ebp - 0xac8]
push eax
lea ecx, [ebp - 0xab4]
push ecx
call fcn.00434120
add esp, 0xc
mov edx, dword [ebp - 0xac8]
add edx, 0x5b8
mov dword [ebp - 0xac8], edx
cmp dword [ebp - 0x4ec], 0
jne 0x48e955
mov eax, dword [ebp - 0xacc]
push eax
lea ecx, [ebp - 0xb08]
push ecx
mov ecx, dword [ebp - 0xabc]
add ecx, 0x1784
call fcn.0041fb50
mov ecx, eax
call fcn.0041fae0
movzx edx, al
test edx, edx
jne 0x48e955
cmp dword [ebp - 0x9ec], 0
jne 0x48e950
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.0043f624
add esp, 0x10
push 1
mov edx, dword [ebp - 0xb00]
push edx
mov eax, dword [ebp - 0xab8]
push eax
call fcn.0043fa80
add esp, 0xc
jmp 0x48e886
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0xac0]
call fcn.004097c0
mov dword [ebp - 4], 1
lea edx, [ebp - 0x754]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x48e9be
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0xac0]
call fcn.004095c0
push 0x4cdadc
push 0x4cdae4
lea ecx, [ebp - 0xac0]
call fcn.0040dc00
lea ecx, [ebp - 0xac0]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x9ec], 0
je 0x48ea4b
push 1
push sym.Install_adv.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_adv.exe_public:_static_class_CNsDownload____cdecl_CNsDownload::Instance_void_
mov ecx, eax
call sym.Install_adv.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.00412880
movzx eax, al
test eax, eax
jne 0x48ea28
push 1
push sym.Install_adv.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 sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
lea ecx, [ebp - 0x9ac]
push ecx
call sym.Install_adv.exe_public:_static_class_CNsDownload____cdecl_CNsDownload::Instance_void_
mov ecx, eax
call sym.Install_adv.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 0x48eb18
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.0043f624
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_adv.exe_private:_bool___thiscall_CNsInstaller::ExtractCollection_long_long___int64___wchar_t_const___struct__iobuf__
lea ecx, [ebp - 0xac0]
call fcn.00412880
movzx edx, al
test edx, edx
jne 0x48eb18
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.0043f624
add esp, 0x10
mov edx, dword [ebp - 0xab8]
push edx
lea ecx, [ebp - 0xac0]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov eax, dword [ebp - 0xad8]
push eax
mov ecx, dword [ebp - 0xadc]
push ecx
mov ecx, dword [ebp - 0xabc]
call sym.Install_adv.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 0x48eb78
push 5
push 1
lea eax, [ebp - 0x9e8]
push eax
lea ecx, [ebp - 0x218]
push ecx
call sym.Install_adv.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 sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48eb78
lea ecx, [ebp - 0xac0]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac0]
call fcn.00409680
jmp 0x48e886
mov eax, dword [ebp - 0xad4]
mov dword [ebp - 0xaf8], eax
mov ecx, dword [ebp - 0xaf8]
push ecx
call fcn.0047ac48
add esp, 4
mov edx, dword [ebp - 0xab8]
push edx
call fcn.0043cf8f
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.0042f10e
mov esp, ebp
pop ebp
ret