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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0194
mov eax, dword fs:[0]
push eax
sub esp, 0xafc
mov eax, dword [0x4ea00c]
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 0x48d74a
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 0x48dd57
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 0x4cca1c
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 0x48d7a4
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 0x48dd57
mov ecx, dword [ebp - 0xae0]
push ecx
call fcn.00479dbd
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 0x4cca74
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.004332a0
add esp, 0xc
mov ecx, dword [ebp - 0xac8]
add ecx, 4
mov dword [ebp - 0xac8], ecx
lea edx, [ebp - 0xaf4]
push edx
push 0x4cca7c
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 0x48d863
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 0x48dd57
push 0x208
push 0
lea edx, [ebp - 0x420]
push edx
call fcn.00432e20
add esp, 0xc
push 0x104
lea eax, [ebp - 0x420]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x4cca84
lea ecx, [ebp - 0x420]
push ecx
call fcn.0043c019
add esp, 8
mov dword [ebp - 0xab8], eax
cmp dword [ebp - 0xab8], 0
jne 0x48d8d0
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 0x48dd57
push 0
mov ecx, dword [ebp - 0xaf4]
push ecx
mov edx, dword [ebp - 0xab8]
push edx
call fcn.0043ec00
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.0043e7a4
add esp, 0x10
cmp dword [ebp - 0xae4], 0
je 0x48d9bf
mov edx, dword [ebp - 0xab8]
push edx
call fcn.0043c10f
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.0040dd70
push 0x4cca8c
push 0x4cca24
lea ecx, [ebp - 0xad0]
call fcn.00418c00
push 0x4cca94
lea ecx, [ebp - 0xad0]
call sym.Install_rocket.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call fcn.0043c019
add esp, 8
mov dword [ebp - 0xab8], eax
cmp dword [ebp - 0xab8], 0
jne 0x48d9ad
mov byte [ebp - 0xac1], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xad0]
call fcn.00409680
mov al, byte [ebp - 0xac1]
jmp 0x48dd57
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xad0]
call fcn.00409680
push 0x208
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.00432e20
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 0x48da15
mov ecx, dword [ebp - 0xacc]
add ecx, 1
mov dword [ebp - 0xacc], ecx
mov edx, dword [ebp - 0xacc]
cmp edx, dword [ebp - 0xae8]
jge 0x48dd0f
push 0x5b8
mov eax, dword [ebp - 0xac8]
push eax
lea ecx, [ebp - 0xab4]
push ecx
call fcn.004332a0
add esp, 0xc
mov edx, dword [ebp - 0xac8]
add edx, 0x5b8
mov dword [ebp - 0xac8], edx
cmp dword [ebp - 0x4ec], 0
jne 0x48dad5
mov eax, dword [ebp - 0xacc]
push eax
lea ecx, [ebp - 0xb08]
push ecx
mov ecx, dword [ebp - 0xabc]
add ecx, 0x1784
call fcn.0041ece0
mov ecx, eax
call fcn.0041ec70
movzx edx, al
test edx, edx
jne 0x48dad5
cmp dword [ebp - 0x9ec], 0
jne 0x48dad0
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.0043e7a4
add esp, 0x10
push 1
mov edx, dword [ebp - 0xb00]
push edx
mov eax, dword [ebp - 0xab8]
push eax
call fcn.0043ec00
add esp, 0xc
jmp 0x48da06
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 0x48db3e
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0xac0]
call fcn.004095c0
push 0x4cca9c
push 0x4ccaa4
lea ecx, [ebp - 0xac0]
call fcn.00418c00
lea ecx, [ebp - 0xac0]
call sym.Install_rocket.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 0x48dbcb
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.004116c0
movzx eax, al
test eax, eax
jne 0x48dba8
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 sym.Install_rocket.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
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 0x48dc98
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.0043e7a4
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.004116c0
movzx edx, al
test edx, edx
jne 0x48dc98
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.0043e7a4
add esp, 0x10
mov edx, dword [ebp - 0xab8]
push edx
lea ecx, [ebp - 0xac0]
call sym.Install_rocket.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_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 0x48dcf8
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 sym.Install_rocket.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 0x48dcf8
lea ecx, [ebp - 0xac0]
call sym.Install_rocket.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 0x48da06
mov eax, dword [ebp - 0xad4]
mov dword [ebp - 0xaf8], eax
mov ecx, dword [ebp - 0xaf8]
push ecx
call fcn.00479db8
add esp, 4
mov edx, dword [ebp - 0xab8]
push edx
call fcn.0043c10f
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.0042e29e
mov esp, ebp
pop ebp
ret