Function at 0x5577d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fa2c2
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0xe4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x68], eax
jne 0x55781f
xor eax, eax
jmp 0x557a8e
push 2
call fcn.00554030
push str.Updating_PatchMyPC...
push 0xffffffffffffffff
mov ecx, edi
call fcn.0057b610
push 0
push 1
mov ecx, edi
call fcn.005494d0
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x44]
movq qword [ebp - 0x44], xmm0
call fcn.005dc5e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movq qword [ebp - 0x38], xmm0
call fcn.005dc5e0
sub esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [edi + 0xe4]
xorps xmm0, xmm0
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.PatchMyPC.exe
call fcn.005dc190
push eax
lea ecx, [ebp - 0x2c]
call fcn.005dc520
push str.https:__patchmypc.com_freeupdater_PatchMyPC.exe
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push eax
push str.PatchMyPCUrl
mov ecx, edi
call fcn.005403a0
push 0x62439c
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
push str.PatchMyPCLnk
call fcn.005403a0
lea ecx, [ebp - 0x38]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x44]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
mov ecx, edi
call fcn.005795d0
cmp eax, 0xffffffff
jne 0x55790f
or ebx, eax
jmp 0x557a74
push 1
lea ecx, [ebp - 0x5c]
call fcn.005d0610
lea ecx, [ebp - 0x2c]
xor ebx, ebx
call fcn.005dc190
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x557a62
push str.Running_PatchMyPC...
push 0xffffffffffffffff
mov ecx, edi
call fcn.0057b610
push ebx
push 1
mov ecx, edi
call fcn.005494d0
sub esp, 8
mov dword [ebp - 0x18], ebx
test byte [ebp - 0x64], 2
mov ecx, ebx
mov eax, str.__auto
xorps xmm0, xmm0
cmove eax, ecx
movq qword [ebp - 0x20], xmm0
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc520
mov byte [ebp - 4], 3
mov ecx, dword [edi + 0xe4]
push 5
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
mov ecx, edi
call fcn.005793c0
mov esi, eax
or eax, 0xffffffff
test esi, esi
cmove esi, eax
mov dword [ebp - 0x60], esi
mov byte [ebp - 4], 4
cmp esi, eax
je 0x557a56
test esi, esi
je 0x557a56
mov ebx, dword [ebp - 0x68]
push ebx
push 0x20
call fcn.005561f0
test dword [ebp - 0x64], 0x800
mov ecx, edi
push 0
je 0x5579ff
push 0
push 0
push str.Successfully_started_PatchMyPC._Monitoring_is_skipped_by_user_request.
call fcn.0057b7e0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x20]
call fcn.005dc430
mov ebx, 1
jmp 0x557a74
push esi
call fcn.0057a270
push ebx
push dword [ebp - 0x6c]
push ecx
push 0x20
mov ecx, edi
call fcn.00555df0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.005dc430
xorps xmm1, xmm1
lea ecx, [ebp - 0x5c]
call fcn.005d05a0
divsd xmm0, qword [0x6edbb8]
push 0
push 0x624288
lea edx, [ebp - 0x38]
cvttsd2si ebx, xmm0
mov ecx, ebx
call fcn.005cf990
push eax
push str.Successfully_executed_PatchMyPC._Running_time:
jmp 0x557a6d
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.005dc430
push 0
push 0
push 0
push str.Failed_to_execute_PatchMyPC.
mov ecx, edi
call fcn.0057b7e0
lea ecx, [ebp - 0x2c]
call fcn.005dc430
lea ecx, [ebp - 0x38]
call fcn.005dc430
lea ecx, [ebp - 0x44]
call fcn.005dc430
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 0xc