Function at 0x425439
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x24
mov eax, 0x48803b
call fcn.004677c7
mov edi, dword [ebp + 0x810]
and dword [edi], 0
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x80c]
mov ebx, ecx
mov dword [ebp - 0x18], ebx
call fcn.004235a5
mov esi, 0x8ca1
mov dword [ebp - 0x2c], eax
sub eax, esi
je 0x425652
dec eax
je 0x42564e
dec eax
dec eax
je 0x425648
cmp dword [ebx + 8], 0
je 0x42564e
mov ecx, ebx
call fcn.0041f7f0
mov ebx, eax
test ebx, ebx
je 0x42564e
mov esi, 0x4c4f30
push esi
lea ecx, [ebp - 0x14]
call fcn.00401ce4
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 8]
call fcn.0044d477
test eax, eax
jne 0x4254ed
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004023e9
jmp 0x42564e
push 0x800
lea eax, [ebp]
push 0
push eax
call fcn.004670a0
add esp, 0xc
push str.safemon360tray.exe
push dword [ebp - 0x14]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x10], ecx
je 0x425536
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], ecx
mov dword [edi], 1
cmp eax, ecx
je 0x4255e0
push esi
lea ecx, [ebp - 0x24]
call fcn.00401ce4
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 0x80c]
mov byte [ebp - 4], 1
call fcn.00423566
or dword [ebp - 0x1c], 2
mov esi, 0x4c3840
mov ecx, esi
call fcn.00452a10
mov eax, dword [ebx]
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
push ecx
push 1
push 1
push 5
push dword [ebp - 0x24]
lea ecx, [ebp]
push ecx
push ebx
call dword [eax + 0x24]
test eax, eax
je 0x4255c1
xor eax, eax
inc eax
cmp dword [ebp - 0x20], eax
jne 0x4255a1
and dword [edi], 0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x4255ca
mov ecx, esi
call fcn.00452a4b
mov ecx, dword [ebp - 0x24]
and dword [edi], 0
add ecx, 0xfffffff0
call fcn.004023e9
jmp 0x4254dd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x28], eax
mov ecx, esi
call fcn.00452a4b
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.004023e9
xor esi, esi
inc esi
push dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push dword [ebp - 0x2c]
push esi
call fcn.0042522a
test eax, eax
jne 0x42560d
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 5
jle 0x4255e3
cmp dword [ebp - 0x30], 0
jne 0x42561f
mov ecx, dword [ebp - 0x18]
call fcn.0042084d
test eax, eax
je 0x42562e
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 8]
call fcn.0044c7de
test eax, eax
jne 0x425638
and dword [edi], 0
mov dword [ebp - 0x10], 1
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004023e9
mov eax, dword [ebp - 0x10]
jmp 0x42567c
mov dword [edi], 1
xor eax, eax
jmp 0x42567c
xor edi, edi
inc edi
push 0
push 0
push 1
push esi
push edi
mov ecx, ebx
call fcn.0042522a
test eax, eax
jne 0x425679
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 5
jle 0x425655
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.0046711a
add ebp, 0x804
leave
ret 8