Function at 0x498500
Capabilities:
Check if file exists
Create process on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x58f860]
xor eax, ebp
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x90], ecx
cmp dword [ebp - 0x90], 0
je 0x498535
mov eax, dword [ebp - 0x90]
sub eax, 0x2d8
mov dword [ebp - 0x94], eax
jmp 0x49853f
mov dword [ebp - 0x94], 0
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 8], ecx
push 0
push str.MyTime_Plugin_Remind
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x49858f
push 0
push 0
push 0x541
mov edx, dword [0x5912f8]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
push 5
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x498851
lea ecx, [ebp - 0x24]
call fcn.0042e670
push ecx
mov ecx, esp
push 0x55a5b0
call fcn.0041c8a0
push ecx
mov ecx, esp
push 0x591308
call fcn.0041c880
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 0x24]
call fcn.0042e910
lea ecx, [ebp - 0xc]
call fcn.0041cb20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x498692
cmp dword [ebp + 0xc], 0
jne 0x49867d
push str.plugins_text_plugin_remind
mov ecx, dword [ebp - 8]
add ecx, 0x20
call fcn.004dd71b
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x498609
push 0
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x28]
mov eax, dword [edx + 0x180]
call eax
push str.plugins_progress_plugin_remind
mov ecx, dword [ebp - 8]
add ecx, 0x20
call fcn.004dd71b
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x498634
push 1
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x28]
mov eax, dword [edx + 0x180]
call eax
push 0
push 0
push str._plugin_remind__notice__silent__from:_Pcmaster_LunarCalendar
push ecx
mov ecx, esp
push str._rmup.exe
call fcn.0041c8a0
push ecx
mov ecx, esp
push 0x591300
call fcn.0041c880
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x24]
call fcn.0042e910
mov ecx, eax
call fcn.0041cb20
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x80]
call fcn.0040f740
lea ecx, [ebp - 0xc]
call fcn.0040f740
lea ecx, [ebp - 0x24]
call fcn.0042e690
jmp 0x498878
mov edx, dword [ebp - 0x90]
cmp dword [edx + 4], 0
jne 0x4986b6
lea ecx, [ebp - 0xc]
call fcn.0041cb20
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0x90]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x90]
cmp dword [edx + 4], 0
je 0x498841
push 0x564680
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x498841
lea ecx, [ebp - 0x44]
call fcn.0040efc0
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x48], eax
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x48]
cdq
sub eax, edx
sar eax, 1
sub eax, 0x177
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
add edx, 0x2ee
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x30]
cdq
sub eax, edx
sar eax, 1
sub eax, 0x110
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add eax, 0x221
mov dword [ebp - 0x38], eax
cmp dword [ebp + 0xc], 2
jne 0x49875c
push 0
lea ecx, [ebp - 0x44]
push ecx
push 0
push 0x80020000
push 0x564678
push 0
call dword [ebp - 0x2c]
jmp 0x498773
push 0
lea edx, [ebp - 0x44]
push edx
push 0
push 0x90020000
push 0x564678
push 0
call dword [ebp - 0x2c]
lea ecx, [ebp - 0x60]
call fcn.0042e050
push 1
push ecx
mov ecx, esp
push 0x55a860
call fcn.0041c8a0
push SysReAllocString
lea ecx, [ebp - 0x60]
call fcn.0042e1a0
push 0
push ecx
mov ecx, esp
push 0x564658
call fcn.0041c8a0
lea ecx, [ebp - 0x60]
call fcn.0042ef30
test eax, eax
setne al
mov byte [ebp - 0x61], al
movzx ecx, byte [ebp - 0x61]
test ecx, ecx
jne 0x498823
push 1
push ecx
mov ecx, esp
push 0x564658
call fcn.0041c8a0
lea ecx, [ebp - 0x60]
call fcn.0045be50
mov dword [ebp - 0x68], 0
cmp dword [ebp - 0x68], 0x3e8
jge 0x498823
push 0
push str.MyTime_Plugin_Remind
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x498810
push 0
push 0
push 0x65a
mov edx, dword [ebp - 0x6c]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x498823
mov eax, dword [ebp - 0x68]
add eax, 1
mov dword [ebp - 0x68], eax
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4987dc
push 0
push 0
push 0x541
mov ecx, dword [0x5912f8]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 0x60]
call fcn.0042e110
lea ecx, [ebp - 0xc]
call fcn.0040f740
lea ecx, [ebp - 0x24]
call fcn.0042e690
movzx edx, byte [0x591053]
test edx, edx
je 0x498878
mov byte [0x591053], 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0x658
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 0x34]
xor ecx, ebp
call fcn.00512610
mov esp, ebp
pop ebp
ret 8