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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45fb41
mov eax, dword fs:[0]
push eax
sub esp, 0xafc
mov eax, dword [0x47e014]
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_silent.exe_public:_bool___thiscall_CNsInstaller::GetCollectionInfo_struct_tagCollectionInfo__
movzx ecx, al
test ecx, ecx
jne 0x447faa
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 0x4485b7
lea ecx, [ebp - 0x4e8]
push ecx
push str.install_collection
push str.http:__hofosoft.cn_api_report.asp
call sym.Install_silent.exe_void___cdecl_DoReport_wchar_t_const___wchar_t_const___wchar_t_const__
add esp, 0xc
push 0x46e81c
push 0x1f63
call sym.Install_silent.exe_int___cdecl_NsResSize_int__wchar_t_const__
add esp, 8
mov dword [ebp - 0xae0], eax
cmp dword [ebp - 0xae0], 0
jg 0x448004
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 0x4485b7
mov ecx, dword [ebp - 0xae0]
push ecx
call fcn.004220a8
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 0x46e874
push 0x1f63
call sym.Install_silent.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.004272d0
add esp, 0xc
mov ecx, dword [ebp - 0xac8]
add ecx, 4
mov dword [ebp - 0xac8], ecx
lea edx, [ebp - 0xaf4]
push edx
push 0x46e87c
push 0x1f41
call sym.Install_silent.exe_int___cdecl_NsResGetBuff_int__wchar_t_const___void__
add esp, 0xc
mov dword [ebp - 0xaf0], eax
cmp dword [ebp - 0xaf0], 0
jne 0x4480c3
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 0x4485b7
push 0x208
push 0
lea edx, [ebp - 0x420]
push edx
call fcn.00427170
add esp, 0xc
push 0x104
lea eax, [ebp - 0x420]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x46e884
lea ecx, [ebp - 0x420]
push ecx
call fcn.0042f9b9
add esp, 8
mov dword [ebp - 0xab8], eax
cmp dword [ebp - 0xab8], 0
jne 0x448130
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 0x4485b7
push 0
mov ecx, dword [ebp - 0xaf4]
push ecx
mov edx, dword [ebp - 0xab8]
push edx
call fcn.0043037f
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.0042fbe3
add esp, 0x10
cmp dword [ebp - 0xae4], 0
je 0x44821f
mov edx, dword [ebp - 0xab8]
push edx
call fcn.0043001a
add esp, 4
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xad0]
call fcn.00405020
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xad0]
call fcn.004091d0
push 0x46e88c
push 0x46e824
lea ecx, [ebp - 0xad0]
call fcn.00409490
push 0x46e894
lea ecx, [ebp - 0xad0]
call fcn.00405110
push eax
call fcn.0042f9b9
add esp, 8
mov dword [ebp - 0xab8], eax
cmp dword [ebp - 0xab8], 0
jne 0x44820d
mov byte [ebp - 0xac1], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xad0]
call fcn.00404fe0
mov al, byte [ebp - 0xac1]
jmp 0x4485b7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xad0]
call fcn.00404fe0
push 0x208
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.00427170
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 0x448275
mov ecx, dword [ebp - 0xacc]
add ecx, 1
mov dword [ebp - 0xacc], ecx
mov edx, dword [ebp - 0xacc]
cmp edx, dword [ebp - 0xae8]
jge 0x44856f
push 0x5b8
mov eax, dword [ebp - 0xac8]
push eax
lea ecx, [ebp - 0xab4]
push ecx
call fcn.004272d0
add esp, 0xc
mov edx, dword [ebp - 0xac8]
add edx, 0x5b8
mov dword [ebp - 0xac8], edx
cmp dword [ebp - 0x4ec], 0
jne 0x448335
mov eax, dword [ebp - 0xacc]
push eax
lea ecx, [ebp - 0xb08]
push ecx
mov ecx, dword [ebp - 0xabc]
add ecx, 0xcbc
call fcn.00414730
mov ecx, eax
call fcn.004146c0
movzx edx, al
test edx, edx
jne 0x448335
cmp dword [ebp - 0x9ec], 0
jne 0x448330
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.0042fbe3
add esp, 0x10
push 1
mov edx, dword [ebp - 0xb00]
push edx
mov eax, dword [ebp - 0xab8]
push eax
call fcn.0043037f
add esp, 0xc
jmp 0x448266
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0xac0]
call fcn.004050d0
mov dword [ebp - 4], 1
lea edx, [ebp - 0x754]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x44839e
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0xac0]
call fcn.00405230
push 0x46e89c
push str..exe
lea ecx, [ebp - 0xac0]
call fcn.00409490
lea ecx, [ebp - 0xac0]
call fcn.00405110
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x9ec], 0
je 0x44842b
push 1
push sym.Install_silent.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_silent.exe_public:_static_class_CNsDownload____cdecl_CNsDownload::Instance_void_
mov ecx, eax
call sym.Install_silent.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.00414ed0
movzx eax, al
test eax, eax
jne 0x448408
push 1
push sym.Install_silent.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.00405110
push eax
lea ecx, [ebp - 0x9ac]
push ecx
call sym.Install_silent.exe_public:_static_class_CNsDownload____cdecl_CNsDownload::Instance_void_
mov ecx, eax
call sym.Install_silent.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 0x4484f8
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.0042fbe3
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_silent.exe_private:_bool___thiscall_CNsInstaller::ExtractCollection_long_long___int64___wchar_t_const___struct__iobuf__
lea ecx, [ebp - 0xac0]
call fcn.00414ed0
movzx edx, al
test edx, edx
jne 0x4484f8
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.0042fbe3
add esp, 0x10
mov edx, dword [ebp - 0xab8]
push edx
lea ecx, [ebp - 0xac0]
call fcn.00405110
push eax
mov eax, dword [ebp - 0xad8]
push eax
mov ecx, dword [ebp - 0xadc]
push ecx
mov ecx, dword [ebp - 0xabc]
call sym.Install_silent.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 0x448558
push 5
push 1
lea eax, [ebp - 0x9e8]
push eax
lea ecx, [ebp - 0x218]
push ecx
call sym.Install_silent.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.00405110
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x448558
lea ecx, [ebp - 0xac0]
call fcn.00405110
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac0]
call fcn.00404fe0
jmp 0x448266
mov eax, dword [ebp - 0xad4]
mov dword [ebp - 0xaf8], eax
mov ecx, dword [ebp - 0xaf8]
push ecx
call fcn.00421ea8
add esp, 4
mov edx, dword [ebp - 0xab8]
push edx
call fcn.0043001a
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.004216bd
mov esp, ebp
pop ebp
ret