Function at 0x40caf9
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6ac
and word [ebp - 0x298], 0
push ebx
push esi
push edi
mov ebx, ecx
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x296]
mov esi, 0x80
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x298]
push esi
push eax
mov ecx, ebx
call fcn.0040c821
and word [ebp - 0x39c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x39a]
push esi
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x39c]
mov ecx, ebx
push eax
call fcn.0040c77c
and word [ebp - 0x6ac], 0
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x6aa]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x6ac]
push 0x104
push eax
mov ecx, ebx
call fcn.0040c8c6
mov eax, dword [ebx + 4]
test eax, eax
jne 0x40cc16
and word [ebp - 0x4a0], ax
push 0x40
pop ecx
lea edi, [ebp - 0x49e]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x4a0]
push esi
push eax
mov ecx, ebx
call fcn.0040c96b
and word [ebp - 0x194], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x192]
push esi
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x194]
mov ecx, ebx
push eax
call fcn.0040ca10
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x4a0]
push eax
lea eax, [ebp - 0x6ac]
push eax
lea eax, [ebp - 0x39c]
push eax
lea eax, [ebp - 0x298]
push eax
lea eax, [ebx + 0x210]
push dword [ebp + 8]
push dword [ebp + 0xc]
push str.http:__st.se.360.cn_push.html_ver_sname_sid120_s_s_s_s_s
push 0x800
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x28
jmp 0x40cd56
cmp eax, 1
jne 0x40cc4b
push 0
mov ecx, ebx
call fcn.0040c556
lea ecx, [ebp - 0x6ac]
push ecx
push eax
push str.http:__cseupdate.360safe.com_safenotify_safenotify.htm_a_d_s
lea eax, [ebx + 0x210]
push 0x800
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
jmp 0x40cd56
and byte [ebp - 0x90], 0
push 0x1f
pop ecx
xor eax, eax
lea edi, [ebp - 0x8f]
push esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x90]
push eax
call fcn.00408590
pop ecx
pop ecx
push 1
push 2
lea ecx, [ebp - 0x118]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_ostringstream_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_int_]
lea eax, [ebp - 0x90]
test eax, eax
jne 0x40cc8f
xor edi, edi
jmp 0x40ccc6
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.0040cdd0
mov edi, esp
push esi
push edi
lea ecx, [ebp - 0x90]
xor eax, eax
push 0xffffffffffffffff
push ecx
push eax
push eax
mov word [edi], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x292]
mov esi, dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int______cdecl_std::operator___class_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int_____unsigned_short_int_const__]
push eax
push 0x419438
push edi
push str.appvermid
push dword [0x41c5d0]
lea eax, [ebp - 0x118]
push str.http:__seapp.stat.360safe.com_q.html_namecsesleepsever
push eax
call esi
pop ecx
pop ecx
push eax
call esi
pop ecx
pop ecx
push eax
call esi
pop ecx
pop ecx
push eax
call esi
pop ecx
pop ecx
push eax
call esi
pop ecx
pop ecx
push eax
call esi
pop ecx
lea eax, [ebp - 0x10]
pop ecx
push eax
lea ecx, [ebp - 0x114]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____thiscall_std::basic_stringbuf_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::str_void_]
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x40cd29
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push 0x800
push eax
lea eax, [ebx + 0x210]
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
lea ecx, [ebp - 0x10]
push 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
lea ecx, [ebp - 0x118]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_ostringstream_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::vbase_dtor_void_]
push ebx
call fcn.0040cd75
add ebx, 8
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esp, [ebp - 0x6b8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8