Function at 0x442090
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4517ed
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x464080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x22c], ecx
push str.http:__hofosoft.com_hofosoft_Components_
lea ecx, [ebp - 0x228]
call fcn.00406320
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x228]
call fcn.00414f30
xor ecx, ecx
mov word [ebp - 0x224], cx
push 0x208
push 0
lea edx, [ebp - 0x222]
push edx
call fcn.00421340
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
movzx edx, word [ebp + eax*2 - 0x226]
cmp edx, 0x5c
jne 0x442146
push 0x456e8c
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x442158
push 0x456f0c
lea ecx, [ebp - 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x456f3c
call sym.Install_style.exe_public:_static_class_CNsProcess____cdecl_CNsProcess::Instance_void_
mov ecx, eax
call sym.Install_style.exe_public:_void___thiscall_CNsProcess::KillProcess_wchar_t_const__
mov edx, dword [ebp - 0x22c]
cmp dword [edx + 4], 0
jne 0x4421b5
push 0
push 0
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x228]
call fcn.00414010
push eax
call sym.Install_style.exe_public:_static_class_CNsDownload____cdecl_CNsDownload::Instance_void_
mov ecx, eax
call sym.Install_style.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__
push 0
push 1
push 0x456f68
lea ecx, [ebp - 0x224]
push ecx
call sym.Install_style.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
jmp 0x442236
push 0
mov edx, dword [ebp - 0x22c]
mov eax, dword [edx + 0xb54]
push eax
push 0x7ea
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp - 0x22c]
mov byte [eax + 0xb4d], 1
mov ecx, dword [ebp - 0x22c]
mov dword [ecx + 0xb50], 0x258
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 1
push sym.Install_style.exe_private:_static_void___stdcall_CNsInstaller::DownNotify_int__wchar_t_const___long_long___int64___long_long___int64___double_
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x228]
call fcn.00414010
push eax
call sym.Install_style.exe_public:_static_class_CNsDownload____cdecl_CNsDownload::Instance_void_
mov ecx, eax
call sym.Install_style.exe_public:_void___thiscall_CNsDownload::StartDownload_wchar_t_const___wchar_t_const___void____stdcall___int__wchar_t_const___long_long___int64___long_long___int64___double___int_
push 0
mov ecx, dword [ebp - 0x22c]
call sym.Install_style.exe_private:_void___thiscall_CNsInstaller::WaitInstall_wchar_t_const__
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.004063a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042047a
mov esp, ebp
pop ebp
ret 4