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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
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 3
push edi
mov ebx, ecx
call fcn.004e74f0
push str.TASK_UPDATE_PACKAGE_MANUAL
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4e8854
push 0xd0
push eax
lea eax, [ebp - 0xd4]
push eax
call fcn.0051d250
mov eax, dword [ebx + 0x1c]
sub eax, 0x10
push eax
mov dword [ebp - 0xd4], 0xd0
mov dword [ebp - 8], 1
call fcn.0041eae0
mov esi, eax
add esp, 0x10
add esi, 0x10
push esi
mov dword [ebp - 0xdc], esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4e8838
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 - 0xd8], esi
jge 0x4e878d
push 0x3e8
lea ecx, [ebp - 0xd8]
call fcn.0043a120
mov esi, dword [ebp - 0xd8]
mov eax, dword [ebp - 0xdc]
push eax
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 0x4e89c7
cmp eax, dword [esi - 8]
jg 0x4e89c7
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], ecx
je 0x4e8816
push esi
push 0xc8
lea edx, [ebp - 0xd0]
push edx
call fcn.00436cb0
push 0
push 0
push 0
push 0x1388
push 0xd0
lea eax, [ebp - 0xd4]
push eax
push 0x43505552
push str.Q360SafeMonClass
call fcn.004b1cf0
add esp, 0x20
add esi, 0xfffffff0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e8832
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov esi, dword [ebp - 0xdc]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4e8854
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
push str.UPDATE_TASK_ID_PACKAGE_MANUAL_CHECK
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4e89af
push 0xd0
push eax
lea ecx, [ebp - 0xd4]
push ecx
call fcn.0051d250
mov ebx, dword [ebx + 0x20]
sub ebx, 0x10
push ebx
mov dword [ebp - 0xd4], 0xd0
mov dword [ebp - 8], 1
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 0x4e8993
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 - 0xd8], esi
jge 0x4e88f4
push 0x3e8
lea ecx, [ebp - 0xd8]
call fcn.0043a120
mov esi, dword [ebp - 0xd8]
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 0x4e89c7
cmp eax, dword [esi - 8]
jg 0x4e89c7
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], ecx
je 0x4e8977
push esi
push 0xc8
lea edx, [ebp - 0xd0]
push edx
call fcn.00436cb0
push 0
push 0
push 0
push 0x1388
push 0xd0
lea eax, [ebp - 0xd4]
push eax
push 0x43504d52
push str.Q360SafeMonClass
call fcn.004b1cf0
add esp, 0x20
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e8993
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e89af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0051d23b
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00414840
int3