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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c1d2
mov eax, dword fs:[0]
push eax
sub esp, 0xb98
mov eax, dword [0x475080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xba4], ecx
lea eax, [ebp - 0x514]
push eax
mov ecx, dword [ebp - 0xba4]
call sym.Install_vip.exe_public:_bool___thiscall_CNsInstaller::GetCollectionInfo_struct_tagCollectionInfo__
movzx ecx, al
test ecx, ecx
jne 0x44a78c
push 0
push 0xffffffffffffffff
push 0x7e9
mov edx, dword [ebp - 0xba4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor al, al
jmp 0x44ade5
lea ecx, [ebp - 0x500]
push ecx
push str.install_collection
push str.http:__hofosoft.cn_api_report.asp
call sym.Install_vip.exe_void___cdecl_DoReport_wchar_t_const___wchar_t_const___wchar_t_const__
add esp, 0xc
push 0x46823c
push 0x1f63
call sym.Install_vip.exe_int___cdecl_NsResSize_int__wchar_t_const__
add esp, 8
mov dword [ebp - 0x528], eax
cmp dword [ebp - 0x528], 0
jg 0x44a7e6
push 0
push 0xffffffffffffffff
push 0x7e9
mov edx, dword [ebp - 0xba4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor al, al
jmp 0x44ade5
mov ecx, dword [ebp - 0x528]
push ecx
call fcn.00432394
add esp, 4
mov dword [ebp - 0xb00], eax
mov edx, dword [ebp - 0xb00]
mov dword [ebp - 0x518], edx
mov eax, dword [ebp - 0x518]
push eax
push 0x468244
push 0x1f63
call sym.Install_vip.exe_int___cdecl_NsResGetBuff_int__wchar_t_const___void__
add esp, 0xc
mov dword [ebp - 0x220], 0
mov ecx, dword [ebp - 0x518]
mov dword [ebp - 0x51c], ecx
push 4
mov edx, dword [ebp - 0x51c]
push edx
lea eax, [ebp - 0x220]
push eax
call fcn.0041f250
add esp, 0xc
mov ecx, dword [ebp - 0x51c]
add ecx, 4
mov dword [ebp - 0x51c], ecx
lea edx, [ebp - 0x520]
push edx
push 0x46824c
push 0x1f41
call sym.Install_vip.exe_int___cdecl_NsResGetBuff_int__wchar_t_const___void__
add esp, 0xc
mov dword [ebp - 0x524], eax
cmp dword [ebp - 0x524], 0
jne 0x44a8a5
push 0
push 0xffffffffffffffff
push 0x7e9
mov eax, dword [ebp - 0xba4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
xor al, al
jmp 0x44ade5
push 0x208
push 0
lea edx, [ebp - 0x434]
push edx
call fcn.0041eb30
add esp, 0xc
push 0x104
lea eax, [ebp - 0x434]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x468254
lea ecx, [ebp - 0x434]
push ecx
call fcn.0043408e
add esp, 8
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
jne 0x44a912
push 0
push 0xffffffffffffffff
push 0x7e9
mov edx, dword [ebp - 0xba4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor al, al
jmp 0x44ade5
push 0
mov ecx, dword [ebp - 0x520]
push ecx
mov edx, dword [ebp - 0x228]
push edx
call fcn.004356d4
add esp, 0xc
mov dword [ebp - 0x224], 0
mov eax, dword [ebp - 0x228]
push eax
push 1
push 4
lea ecx, [ebp - 0x224]
push ecx
call fcn.004350a2
add esp, 0x10
cmp dword [ebp - 0x224], 0
je 0x44aa02
mov edx, dword [ebp - 0x228]
push edx
call fcn.0042802a
add esp, 4
lea eax, [ebp - 0x52c]
push eax
lea ecx, [ebp - 0x434]
call fcn.00405940
mov dword [ebp - 4], 0
lea edi, [ebp - 0x52c]
call fcn.00409d60
push 0x46825c
push 0x468264
lea ecx, [ebp - 0x52c]
push ecx
call fcn.00409a50
push 0x468270
lea eax, [ebp - 0x52c]
call fcn.00405aa0
push eax
call fcn.0043408e
add esp, 8
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
jne 0x44a9f0
mov byte [ebp - 0xb01], 0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x52c]
call fcn.00405b50
mov al, byte [ebp - 0xb01]
jmp 0x44ade5
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x52c]
call fcn.00405b50
push 0x208
push 0
lea edx, [ebp - 0x21c]
push edx
call fcn.0041eb30
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
movzx edx, word [ebp + eax*2 - 0x21e]
cmp edx, 0x5c
jne 0x44aa58
push 0x468278
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x44aa6a
push str.hf_collection_setup.exe
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [ebp - 0x530], 0
jmp 0x44aa85
mov edx, dword [ebp - 0x530]
add edx, 1
mov dword [ebp - 0x530], edx
mov eax, dword [ebp - 0x530]
cmp eax, dword [ebp - 0x220]
jge 0x44ad9d
push 0x5b8
mov ecx, dword [ebp - 0x51c]
push ecx
lea edx, [ebp - 0xaec]
push edx
call fcn.0041f250
add esp, 0xc
mov eax, dword [ebp - 0x51c]
add eax, 0x5b8
mov dword [ebp - 0x51c], eax
cmp dword [ebp - 0x504], 0
jne 0x44ab51
mov ecx, dword [ebp - 0x530]
push ecx
lea edx, [ebp - 0xb0c]
push edx
mov ecx, dword [ebp - 0xba4]
add ecx, 0xc4c
call fcn.00418d80
mov ecx, eax
call fcn.00419090
movzx eax, al
test eax, eax
jne 0x44ab51
cmp dword [ebp - 0xa24], 0
jne 0x44ab4c
mov dword [ebp - 0xaf4], 0
mov dword [ebp - 0xaf0], 0
mov ecx, dword [ebp - 0x228]
push ecx
push 1
push 8
lea edx, [ebp - 0xaf4]
push edx
call fcn.004350a2
add esp, 0x10
push 1
mov eax, dword [ebp - 0xaf4]
push eax
mov ecx, dword [ebp - 0x228]
push ecx
call fcn.004356d4
add esp, 0xc
jmp 0x44aa76
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esi, [ebp - 0x534]
call fcn.00405900
mov dword [ebp - 4], 1
lea eax, [ebp - 0x78c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x44abba
lea edx, [ebp - 0x21c]
lea edi, [ebp - 0x534]
call fcn.00405a60
push 0x4682dc
push str..exe
lea ecx, [ebp - 0x534]
push ecx
call fcn.00409a50
lea eax, [ebp - 0x534]
call fcn.00405aa0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0xa24], 0
je 0x44ac47
push 1
push sym.Install_vip.exe_private:_static_void___stdcall_CNsInstaller::DownNotify2_int__wchar_t_const___long_long___int64___long_long___int64___double_
push 0
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x9e4]
push eax
call sym.Install_vip.exe_public:_static_class_CNsDownload____cdecl_CNsDownload::Instance_void_
mov ecx, eax
call sym.Install_vip.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 eax, [ebp - 0x534]
call fcn.0040e950
movzx ecx, al
test ecx, ecx
jne 0x44ac24
push 1
push sym.Install_vip.exe_private:_static_void___stdcall_CNsInstaller::DownNotify2_int__wchar_t_const___long_long___int64___long_long___int64___double_
push 0
lea eax, [ebp - 0x534]
call fcn.00405aa0
push eax
lea edx, [ebp - 0x9e4]
push edx
call sym.Install_vip.exe_public:_static_class_CNsDownload____cdecl_CNsDownload::Instance_void_
mov ecx, eax
call sym.Install_vip.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 eax, dword [ebp - 0x530]
push eax
push 0xfffffffffffffffe
push 0x7e9
mov ecx, dword [ebp - 0xba4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x44ad26
mov eax, dword [ebp - 0x530]
push eax
push 0xfffffffffffffffe
push 0x7e9
mov ecx, dword [ebp - 0xba4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebp - 0xafc], 0
mov dword [ebp - 0xaf8], 0
mov eax, dword [ebp - 0x228]
push eax
push 1
push 8
lea ecx, [ebp - 0xafc]
push ecx
call fcn.004350a2
add esp, 0x10
mov edx, dword [ebp - 0x228]
push edx
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0xaf8]
push ecx
mov edx, dword [ebp - 0xafc]
push edx
mov ecx, dword [ebp - 0xba4]
call sym.Install_vip.exe_private:_bool___thiscall_CNsInstaller::ExtractCollection_long_long___int64___wchar_t_const___struct__iobuf__
lea eax, [ebp - 0x534]
call fcn.0040e950
movzx eax, al
test eax, eax
jne 0x44ad26
mov dword [ebp - 0xafc], 0
mov dword [ebp - 0xaf8], 0
mov ecx, dword [ebp - 0x228]
push ecx
push 1
push 8
lea edx, [ebp - 0xafc]
push edx
call fcn.004350a2
add esp, 0x10
mov eax, dword [ebp - 0x228]
push eax
lea eax, [ebp - 0x534]
call fcn.00405aa0
push eax
mov ecx, dword [ebp - 0xaf8]
push ecx
mov edx, dword [ebp - 0xafc]
push edx
mov ecx, dword [ebp - 0xba4]
call sym.Install_vip.exe_private:_bool___thiscall_CNsInstaller::ExtractCollection_long_long___int64___wchar_t_const___struct__iobuf__
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44ad86
push 5
push 1
lea ecx, [ebp - 0xa20]
push ecx
lea edx, [ebp - 0x21c]
push edx
call sym.Install_vip.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x534]
call fcn.00405aa0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44ad86
lea eax, [ebp - 0x534]
call fcn.00405aa0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x534]
call fcn.00405b50
jmp 0x44aa76
mov ecx, dword [ebp - 0x518]
mov dword [ebp - 0xb10], ecx
mov edx, dword [ebp - 0xb10]
push edx
call fcn.00433fc5
add esp, 4
mov eax, dword [ebp - 0x228]
push eax
call fcn.0042802a
add esp, 4
push 0
push 0x2710
push 0x7e9
mov ecx, dword [ebp - 0xba4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041d97a
mov esp, ebp
pop ebp
ret