Function at 0x4e89e0
Capabilities:
Check if file exists
Delete file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e8
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 1
push 0
push 5
mov ebx, ecx
push edi
mov dword [ebp - 0x2e0], ebx
call fcn.004e74f0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.TASK_UPDATE_PACKAGE
push edi
call esi
test eax, eax
je 0x4e8a2b
push str.TASK_UPDATE_PACKAGE_MANUAL
push edi
call esi
test eax, eax
jne 0x4e8a7e
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.0051d250
add esp, 0xc
push str.modules360isafeup.exe
push 0x598518
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4e8a7e
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.TASK_UPDATE_PACKAGE_MANUAL
push edi
mov dword [ebp - 0x2e4], 1
call esi
test eax, eax
jne 0x4e8c21
push 0xd0
push eax
lea edx, [ebp - 0x2dc]
push edx
call fcn.0051d250
mov eax, dword [ebx + 0x1c]
add esp, 0xc
push eax
mov dword [ebp - 0x2dc], 0xd0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4e8bb6
mov eax, dword [0x599458]
mov edx, dword [eax + 0xc]
mov ecx, 0x599458
call edx
mov ebx, dword [ebx + 0x1c]
mov esi, eax
mov ecx, dword [esi + 8]
add esi, 0x10
mov eax, 1
sub eax, dword [esi - 4]
sub ecx, 0x3e8
or eax, ecx
mov dword [ebp - 0x2e8], esi
jge 0x4e8b11
push 0x3e8
lea ecx, [ebp - 0x2e8]
call fcn.0043a120
mov esi, dword [ebp - 0x2e8]
push ebx
push 0x3e8
push esi
push 0x576bd0
push 0x56b81c
push str.360isafeup.exe
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0051f6df
add esp, 8
test eax, eax
jl 0x4e8d9f
cmp eax, dword [esi - 8]
jg 0x4e8d9f
xor edx, edx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], dx
cmp dword [esi - 0xc], edx
je 0x4e8b94
push esi
push 0xc8
lea eax, [ebp - 0x2d8]
push eax
call fcn.00436cb0
push 0
push 0
push 0
push 0x1388
push 0xd0
lea ecx, [ebp - 0x2dc]
push ecx
push 0x43505552
push str.Q360SafeMonClass
call fcn.004b1cf0
add esp, 0x20
add esi, 0xfffffff0
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4e8bb0
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ebx, dword [ebp - 0x2e0]
mov ecx, dword [ebx + 0x3c]
lea esi, [ebx + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [ebx + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 0
push 0x1388
push 0xd0
lea eax, [ebp - 0x2dc]
push eax
push 0x4d504b47
push str.Q360LiveUpdateClass
call fcn.004b1cf0
add esp, 0x20
test eax, eax
je 0x4e8c17
push 0xffffffffffffffff
push 0
push esi
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 1
jne 0x4e8c21
mov dword [ebp - 0x2e4], 0
push str.UPDATE_TASK_ID_PACKAGE_MANUAL_CHECK
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4e8d86
push 0xd0
push eax
lea ecx, [ebp - 0x2dc]
push ecx
call fcn.0051d250
mov eax, dword [ebx + 0x20]
sub eax, 0x10
push eax
mov dword [ebp - 0x2dc], 0xd0
call fcn.0041eae0
mov edi, eax
add esp, 0x10
add edi, 0x10
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4e8d60
mov edx, dword [0x599458]
mov eax, dword [edx + 0xc]
mov ecx, 0x599458
call eax
mov esi, eax
mov edx, dword [esi + 8]
add esi, 0x10
mov ecx, 1
sub ecx, dword [esi - 4]
sub edx, 0x3e8
or ecx, edx
mov dword [ebp - 0x2e0], esi
jge 0x4e8cba
push 0x3e8
lea ecx, [ebp - 0x2e0]
call fcn.0043a120
mov esi, dword [ebp - 0x2e0]
push edi
push 0x3e8
push esi
push 0x576bd0
push 0x56b81c
push str.360isafeup.exe
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0051f6df
add esp, 8
test eax, eax
jl 0x4e8d9f
cmp eax, dword [esi - 8]
jg 0x4e8d9f
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], ecx
je 0x4e8d44
push esi
push 0xc8
lea edx, [ebp - 0x2d8]
push edx
call fcn.00436cb0
push 0
push 0
push 0
push 0x1388
push 0xd0
lea eax, [ebp - 0x2dc]
push eax
push 0x43504d52
push str.Q360SafeMonClass
call fcn.004b1cf0
add esp, 0x20
mov dword [ebx + 0x34], 1
add esi, 0xfffffff0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e8d60
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
add edi, 0xfffffff0
mov dword [ebp - 0x2e4], 0
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4e8d86
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x2e4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051d23b
mov esp, ebp
pop ebp
ret 8
push 0x80070057
call fcn.00414840
int3