Function at 0x436d4e
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x24
mov eax, 0x4afa7f
call fcn.004764b0
mov edi, dword [ebp + 0x810]
mov dword [ebp - 0x10], ecx
xor ebx, ebx
mov ecx, 0x4f7c20
mov dword [ebp - 0x24], edi
mov dword [edi], ebx
mov dword [ebp - 0x14], ebx
call fcn.0043a044
cmp eax, ebx
je 0x436db1
mov ecx, eax
call fcn.0045e700
test eax, eax
je 0x436db1
push ebx
push ebx
push 0x90
call fcn.00402eb7
mov ecx, eax
call fcn.00402f48
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x80c]
call fcn.00433451
mov esi, 0x8ca1
mov dword [ebp - 0x30], eax
sub eax, esi
je 0x436eb1
dec eax
je 0x436e77
dec eax
je 0x436dfe
dec eax
jne 0x436e1c
push ebx
push ebx
push 0xc6
call fcn.00402eb7
mov ecx, eax
call fcn.00402f48
mov dword [edi], 1
jmp 0x436e8a
push ebx
push ebx
push 0xc5
call fcn.00402eb7
mov ecx, eax
call fcn.00402f48
push str.Close_SelfProtect_Failed_By_Sptool___r_n
call fcn.00404d2e
pop ecx
push ebx
push ebx
push 0xc7
call fcn.00402eb7
mov ecx, eax
call fcn.00402f48
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 8], ebx
je 0x436e8a
call fcn.00430655
mov edi, eax
cmp edi, ebx
je 0x436e8a
mov esi, 0x4f9e00
push esi
lea ecx, [ebp - 0x20]
call fcn.0040293e
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ebx
call fcn.004600b7
test eax, eax
jne 0x436f24
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00402963
jmp 0x436e8a
push ebx
push ebx
push 0x92
call fcn.00402eb7
mov ecx, eax
call fcn.00402f48
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.0047548a
add ebp, 0x804
leave
ret 8
push ebx
push ebx
push 0x91
call fcn.00402eb7
mov ecx, eax
call fcn.00402f48
xor edi, edi
inc edi
mov ecx, dword [ebp - 0x10]
push ebx
push ebx
push 1
push esi
push edi
call fcn.00436b26
test eax, eax
je 0x436ee8
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
call fcn.0045e832
test eax, eax
je 0x436efe
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 5
jle 0x436ec7
jmp 0x436e1c
push ebx
push ebx
push 0xc4
call fcn.00402eb7
mov ecx, eax
call fcn.00402f48
push str.Close_SelfProtect_Success_By_Sptool___r_n
call fcn.00404d2e
xor eax, eax
pop ecx
inc eax
jmp 0x436e8c
push 0x800
lea eax, [ebp]
push ebx
push eax
call fcn.00475410
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 0x436f67
mov dword [ebp - 0x1c], 1
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ebx
mov dword [ecx], 1
cmp eax, ebx
je 0x43704b
push esi
lea ecx, [ebp - 0x14]
call fcn.0040293e
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x80c]
mov byte [ebp - 4], 1
call fcn.00433412
or dword [ebp - 0x1c], 2
mov esi, 0x4f7c78
mov ecx, esi
call fcn.0046a327
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 + 0x28]
test eax, eax
je 0x43702d
push dword [ebp - 0x18]
push str.Close_SelfProtect_By_Tray_Return__d__r_n
call fcn.00404d2e
cmp dword [ebp - 0x18], 1
pop ecx
pop ecx
jne 0x436feb
push ebx
push ebx
push 0x70
call fcn.00402eb7
mov ecx, eax
call fcn.00402f48
cmp dword [ebp - 0x18], 0xffffffff
jne 0x437036
push ebx
push ebx
push 0xc8
call fcn.00402eb7
mov ecx, eax
call fcn.00402f48
mov ecx, esi
call fcn.0046a362
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov dword [eax], ebx
call fcn.00402963
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00402963
mov eax, ebx
jmp 0x436e8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
mov ecx, esi
call fcn.0046a362
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00402963
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.00436b26
test eax, eax
je 0x437075
mov ecx, dword [edi + 8]
call fcn.0045e832
test eax, eax
je 0x437088
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 5
jle 0x43704e
jmp 0x4370b2
push ebx
push ebx
push 0xc9
call fcn.00402eb7
mov ecx, eax
call fcn.00402f48
push str.Close_SelfProtect_Success_By_Tray___r_n
call fcn.00404d2e
mov eax, dword [ebp - 0x24]
pop ecx
mov dword [eax], ebx
mov dword [ebp - 0x28], 1
mov ebx, dword [ebp - 0x28]
jmp 0x43701b