Function at 0x556980
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fa174
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0xe4], 0
mov ebx, dword [ebp + 0xc]
jne 0x5569c0
xor eax, eax
jmp 0x556bb9
test ebx, ebx
je 0x5569ca
mov dword [ebx], 0
push str.Updating_Avast__Browser_cleanup...
push 0xffffffffffffffff
call fcn.0057b610
push 0
push 1
mov ecx, esi
call fcn.005494d0
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x34]
movq qword [ebp - 0x34], xmm0
call fcn.005dc5e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x28], xmm0
call fcn.005dc5e0
sub esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [esi + 0xe4]
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str._avast_BC.exe
call fcn.005dc190
push eax
lea ecx, [ebp - 0x1c]
call fcn.005dc520
push str.https:__files.avast.com_files_tools_avast_browser_cleanup.exe
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 2
push eax
push str.AvastBCUrl
mov ecx, esi
call fcn.005403a0
push 0x62439c
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
push str.AvastBCLnk
call fcn.005403a0
lea ecx, [ebp - 0x28]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x34]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
mov ecx, esi
call fcn.005795d0
cmp eax, 0xffffffff
je 0x556bd7
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x556afe
push str.Running_Avast__Browser_cleanup...
push 0xffffffffffffffff
mov ecx, esi
call fcn.0057b610
push 0
push 1
mov ecx, esi
call fcn.005494d0
mov ecx, dword [esi + 0xe4]
push 5
call fcn.005dc190
push eax
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
mov ecx, esi
call fcn.00579420
mov edi, eax
test edi, edi
jne 0x556b05
xor edi, edi
jmp 0x556b9f
test ebx, ebx
je 0x556b0b
mov dword [ebx], edi
test dword [ebp + 8], 0x800
je 0x556b2d
push 0
push 0
push 0
push str.Successfully_started_Avast__Browser_Cleanup._Monitoring_is_skipped_by_user_request.
mov ecx, esi
call fcn.0057b7e0
mov edi, 1
jmp 0x556b9f
push 1
lea ecx, [ebp - 0x50]
call fcn.005d0610
mov ecx, edi
call fcn.005cc910
test al, al
je 0x556b60
push 0
push 0
mov ecx, esi
call fcn.005494d0
test eax, eax
jne 0x556bd7
mov ecx, edi
call fcn.005cc910
test al, al
jne 0x556b42
test ebx, ebx
je 0x556b6a
mov dword [ebx], 0
xorps xmm1, xmm1
lea ecx, [ebp - 0x50]
call fcn.005d05a0
divsd xmm0, qword [0x6edbb8]
push 0
push 0x624288
lea edx, [ebp - 0x28]
cvttsd2si edi, xmm0
mov ecx, edi
call fcn.005cf990
push eax
push str.Successfully_executed_avast__Browser_cleanup._Running_time:
mov ecx, esi
call fcn.0057b7e0
lea ecx, [ebp - 0x1c]
call fcn.005dc430
lea ecx, [ebp - 0x28]
call fcn.005dc430
lea ecx, [ebp - 0x34]
call fcn.005dc430
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 8
or edi, 0xffffffff
jmp 0x556b9f