Function at 0x4369a8
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x24
mov eax, 0x4aa755
call fcn.004711ef
mov edi, dword [ebp + 0x810]
mov dword [ebp - 0x10], ecx
xor ebx, ebx
mov ecx, 0x4f1850
mov dword [ebp - 0x24], edi
mov dword [edi], ebx
mov dword [ebp - 0x14], ebx
call fcn.00439cc6
cmp eax, ebx
je 0x436a0b
mov ecx, eax
call fcn.0045b9d7
test eax, eax
je 0x436a0b
push ebx
push ebx
push 0x90
call fcn.00402e62
mov ecx, eax
call fcn.00402ef3
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x80c]
call fcn.00433063
mov esi, 0x8ca1
mov dword [ebp - 0x30], eax
sub eax, esi
je 0x436b0b
dec eax
je 0x436ad1
dec eax
je 0x436a58
dec eax
jne 0x436a76
push ebx
push ebx
push 0xc6
call fcn.00402e62
mov ecx, eax
call fcn.00402ef3
mov dword [edi], 1
jmp 0x436ae4
push ebx
push ebx
push 0xc5
call fcn.00402e62
mov ecx, eax
call fcn.00402ef3
push str.Close_SelfProtect_Failed_By_Sptool___r_n
call fcn.00404d3e
pop ecx
push ebx
push ebx
push 0xc7
call fcn.00402e62
mov ecx, eax
call fcn.00402ef3
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 8], ebx
je 0x436ae4
call fcn.004301e5
mov edi, eax
cmp edi, ebx
je 0x436ae4
mov esi, 0x4f39f8
push esi
lea ecx, [ebp - 0x20]
call fcn.004028e9
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ebx
call fcn.0045da4b
test eax, eax
jne 0x436b7e
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040290e
jmp 0x436ae4
push ebx
push ebx
push 0x92
call fcn.00402e62
mov ecx, eax
call fcn.00402ef3
xor eax, 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.0047021a
add ebp, 0x804
leave
ret 8
push ebx
push ebx
push 0x91
call fcn.00402e62
mov ecx, eax
call fcn.00402ef3
xor edi, edi
inc edi
mov ecx, dword [ebp - 0x10]
push ebx
push ebx
push 1
push esi
push edi
call fcn.00436780
test eax, eax
je 0x436b42
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
call fcn.0045bb48
test eax, eax
je 0x436b58
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 5
jle 0x436b21
jmp 0x436a76
push ebx
push ebx
push 0xc4
call fcn.00402e62
mov ecx, eax
call fcn.00402ef3
push str.Close_SelfProtect_Success_By_Sptool___r_n
call fcn.00404d3e
xor eax, eax
pop ecx
inc eax
jmp 0x436ae6
push 0x800
lea eax, [ebp]
push ebx
push eax
call fcn.004701a0
add esp, 0xc
push str.safemon360tray.exe
push dword [ebp - 0x20]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x14], ebx
je 0x436bc1
mov dword [ebp - 0x1c], 1
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ebx
mov dword [ecx], 1
cmp eax, ebx
je 0x436ca5
push esi
lea ecx, [ebp - 0x14]
call fcn.004028e9
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x80c]
mov byte [ebp - 4], 1
call fcn.00433024
or dword [ebp - 0x1c], 2
mov esi, 0x4f18a0
mov ecx, esi
call fcn.004673b9
mov eax, dword [edi]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
push ecx
push 1
push ebx
push 5
push dword [ebp - 0x14]
lea ecx, [ebp]
push ecx
push edi
call dword [eax + 0x24]
test eax, eax
je 0x436c87
push dword [ebp - 0x18]
push str.Close_SelfProtect_By_Tray_Return__d__r_n
call fcn.00404d3e
cmp dword [ebp - 0x18], 1
pop ecx
pop ecx
jne 0x436c45
push ebx
push ebx
push 0x70
call fcn.00402e62
mov ecx, eax
call fcn.00402ef3
cmp dword [ebp - 0x18], 0xffffffff
jne 0x436c90
push ebx
push ebx
push 0xc8
call fcn.00402e62
mov ecx, eax
call fcn.00402ef3
mov ecx, esi
call fcn.004673f4
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov dword [eax], ebx
call fcn.0040290e
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040290e
mov eax, ebx
jmp 0x436ae6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
mov ecx, esi
call fcn.004673f4
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.0040290e
xor esi, esi
inc esi
push dword [ebp - 0x2c]
mov edi, dword [ebp - 0x10]
push dword [ebp - 0x18]
mov ecx, edi
push dword [ebp - 0x1c]
push dword [ebp - 0x30]
push esi
call fcn.00436780
test eax, eax
je 0x436ccf
mov ecx, dword [edi + 8]
call fcn.0045bb48
test eax, eax
je 0x436ce2
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 5
jle 0x436ca8
jmp 0x436d0c
push ebx
push ebx
push 0xc9
call fcn.00402e62
mov ecx, eax
call fcn.00402ef3
push str.Close_SelfProtect_Success_By_Tray___r_n
call fcn.00404d3e
mov eax, dword [ebp - 0x24]
pop ecx
mov dword [eax], ebx
mov dword [ebp - 0x28], 1
mov ebx, dword [ebp - 0x28]
jmp 0x436c75