Function at 0x4021c0
Capabilities:
Check if file exists
Create process on windows
Get common file path
Read .ini file
Schedule task via schtasks

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5437c2
mov eax, dword fs:[0]
push eax
mov eax, 0x2928
call fcn.00525f50
mov eax, dword [0x5acd88]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
push eax
push str.NotificationActivator::Activate
push str.__S__The_user_clicked_on_the_toast._appUserModelId___s
call fcn.0040bef0
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x28ec], 7
mov dword [ebp - 0x28f0], 0
mov word [ebp - 0x2900], ax
cmp word [esi], ax
jne 0x402230
xor ecx, ecx
jmp 0x402244
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402235
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2900]
call fcn.0040a630
xor eax, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x2874], 7
mov dword [ebp - 0x2878], 0
mov word [ebp - 0x2888], ax
mov dword [ebp - 0x288c], 7
mov dword [ebp - 0x2890], eax
mov word [ebp - 0x28a0], ax
cmp dword [ebp - 0x28ec], 8
lea eax, [ebp - 0x2900]
cmovae eax, dword [ebp - 0x2900]
push eax
push str.NotificationActivator::Activate
push str.__S__arguments___s
mov byte [ebp - 4], 2
call fcn.0040bef0
add esp, 0xc
lea ecx, [ebp - 0x2900]
push 1
push 0
push 0x5552f0
call fcn.0040a990
mov esi, eax
test esi, esi
js 0x4023c8
push esi
push 0
lea eax, [ebp - 0x2918]
push eax
lea ecx, [ebp - 0x2900]
call fcn.0040ac00
mov edi, eax
lea eax, [ebp - 0x2888]
cmp eax, edi
je 0x402336
cmp dword [ebp - 0x2874], 8
jb 0x40230d
push dword [ebp - 0x2888]
call fcn.00414c8d
add esp, 4
xor eax, eax
push edi
lea ecx, [ebp - 0x2888]
mov dword [ebp - 0x2874], 7
mov dword [ebp - 0x2878], 0
mov word [ebp - 0x2888], ax
call fcn.00409a40
cmp dword [ebp - 0x2904], 8
jb 0x40234d
push dword [ebp - 0x2918]
call fcn.00414c8d
add esp, 4
push 0xffffffffffffffff
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x2918]
push eax
lea ecx, [ebp - 0x2900]
call fcn.0040ac00
mov esi, eax
lea eax, [ebp - 0x28a0]
cmp eax, esi
je 0x4023b1
cmp dword [ebp - 0x288c], 8
jb 0x402388
push dword [ebp - 0x28a0]
call fcn.00414c8d
add esp, 4
xor eax, eax
push esi
lea ecx, [ebp - 0x28a0]
mov dword [ebp - 0x288c], 7
mov dword [ebp - 0x2890], 0
mov word [ebp - 0x28a0], ax
call fcn.00409a40
cmp dword [ebp - 0x2904], 8
jb 0x4023c8
push dword [ebp - 0x2918]
call fcn.00414c8d
add esp, 4
cmp dword [ebp - 0x2874], 8
lea eax, [ebp - 0x2888]
cmovae eax, dword [ebp - 0x2888]
push eax
push str.NotificationActivator::Activate
push 0x5552f4
call fcn.0040bef0
cmp dword [ebp - 0x288c], 8
lea eax, [ebp - 0x28a0]
cmovae eax, dword [ebp - 0x28a0]
push eax
push str.NotificationActivator::Activate
push str.__S__wszToastIndex___s
call fcn.0040bef0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x1460], ax
lea eax, [ebp - 0x145e]
push eax
call fcn.005265d0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.005265d0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xe48], ax
lea eax, [ebp - 0xe46]
push eax
call fcn.005265d0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x1870], ax
lea eax, [ebp - 0x186e]
push eax
call fcn.005265d0
add esp, 0x48
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call fcn.005265d0
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x2870], ax
lea eax, [ebp - 0x286e]
push eax
call fcn.005265d0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x626]
push eax
call fcn.005265d0
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x2070], ax
lea eax, [ebp - 0x206e]
push eax
call fcn.005265d0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x830], ax
lea eax, [ebp - 0x82e]
push eax
call fcn.005265d0
xor eax, eax
mov word [ebp - 0x1258], ax
push 0x206
push eax
lea eax, [ebp - 0x1256]
push eax
call fcn.005265d0
add esp, 0x48
lea eax, [ebp - 0x1460]
push 1
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x1460]
push eax
push str._sCyberLinkCLToastCLToast.ini
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00525204
cmp dword [ebp - 0x2874], 8
lea eax, [ebp - 0x2888]
cmovae eax, dword [ebp - 0x2888]
push eax
push 0x55539c
lea eax, [ebp - 0xe48]
push 0x104
push eax
call fcn.00525204
cmp dword [ebp - 0x288c], 8
lea eax, [ebp - 0x28a0]
cmovae eax, dword [ebp - 0x28a0]
push eax
push 0x55539c
lea eax, [ebp - 0x1258]
push 0x104
push eax
call fcn.00525204
cmp dword [ebp - 0x2874], 8
lea eax, [ebp - 0x2888]
cmovae eax, dword [ebp - 0x2888]
push 0x55514c
push eax
call fcn.00525079
add esp, 0x38
test eax, eax
je 0x402649
cmp dword [ebp - 0x288c], 8
lea eax, [ebp - 0x28a0]
cmovae eax, dword [ebp - 0x28a0]
push 0x55514c
push eax
call fcn.00525079
add esp, 8
test eax, eax
je 0x402649
push 0xe
push 0
push str.CLToastContext
lea ecx, [ebp - 0x2888]
call fcn.0040a990
test eax, eax
lea eax, [ebp - 0x218]
push eax
js 0x4026ef
push 0x5553c4
lea eax, [ebp - 0x1258]
push eax
push 0x5553c8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x1258]
push eax
push str.NotificationActivator::Activate
push str.__S__Disable_toast_for_product__s
call fcn.0040bef0
add esp, 0xc
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
cmp dword [ebp - 0x288c], 8
jb 0x402668
push dword [ebp - 0x28a0]
call fcn.00414c8d
add esp, 4
xor eax, eax
cmp dword [ebp - 0x2874], 8
mov dword [ebp - 0x288c], 7
mov dword [ebp - 0x2890], 0
mov word [ebp - 0x28a0], ax
jb 0x40269c
push dword [ebp - 0x2888]
call fcn.00414c8d
add esp, 4
xor eax, eax
cmp dword [ebp - 0x28ec], 8
mov dword [ebp - 0x2874], 7
mov dword [ebp - 0x2878], 0
mov word [ebp - 0x2888], ax
jb 0x4026d0
push dword [ebp - 0x2900]
call fcn.00414c8d
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00525af7
mov esp, ebp
pop ebp
ret 0x14
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40291b
cmp dword [ebp - 0x2874], 8
lea eax, [ebp - 0x2888]
cmovae eax, dword [ebp - 0x2888]
push 0x55514c
push eax
call fcn.00525079
add esp, 8
test eax, eax
je 0x40291b
cmp dword [ebp - 0x288c], 8
lea eax, [ebp - 0x28a0]
cmovae eax, dword [ebp - 0x28a0]
push 0x55514c
push eax
call fcn.00525079
add esp, 8
test eax, eax
je 0x40291b
cmp dword [ebp - 0x288c], 8
lea eax, [ebp - 0x28a0]
cmovae eax, dword [ebp - 0x28a0]
push eax
push str.ACTIONTYPE__s
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.00525204
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0x10
cmp dword [ebp - 0x2874], 8
lea ecx, [ebp - 0x218]
push ecx
push 0x104
lea ecx, [ebp - 0x1870]
push ecx
push 0x55514c
lea ecx, [ebp - 0x420]
lea eax, [ebp - 0x2888]
cmovae eax, dword [ebp - 0x2888]
push ecx
push eax
call esi
cmp dword [ebp - 0x288c], 8
lea eax, [ebp - 0x28a0]
cmovae eax, dword [ebp - 0x28a0]
push eax
push str.ACTIONURL__s
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.00525204
add esp, 0x10
cmp dword [ebp - 0x2874], 8
lea ecx, [ebp - 0x218]
push ecx
push 0x400
lea ecx, [ebp - 0x2870]
push ecx
push 0x55514c
lea ecx, [ebp - 0x420]
lea eax, [ebp - 0x2888]
cmovae eax, dword [ebp - 0x2888]
push ecx
push eax
call esi
cmp dword [ebp - 0x288c], 8
lea eax, [ebp - 0x28a0]
cmovae eax, dword [ebp - 0x28a0]
push eax
push str.ACTIONREMIND__s
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.00525204
add esp, 0x10
cmp dword [ebp - 0x2874], 8
lea ecx, [ebp - 0x218]
push ecx
push 0x104
lea ecx, [ebp - 0x628]
push ecx
push 0x55514c
lea ecx, [ebp - 0x420]
lea eax, [ebp - 0x2888]
cmovae eax, dword [ebp - 0x2888]
push ecx
push eax
call esi
cmp dword [ebp - 0x288c], 8
lea eax, [ebp - 0x28a0]
cmovae eax, dword [ebp - 0x28a0]
push eax
push str.ACTIONIMP__s
lea eax, [ebp - 0x420]
push 0x400
push eax
call fcn.00525204
add esp, 0x10
lea eax, [ebp - 0x2888]
cmp dword [ebp - 0x2874], 8
lea ecx, [ebp - 0x218]
cmovae eax, dword [ebp - 0x2888]
push ecx
push 0x400
lea ecx, [ebp - 0x2070]
push ecx
push 0x55514c
lea ecx, [ebp - 0x420]
push ecx
push eax
call esi
cmp dword [ebp - 0x2874], 8
lea ecx, [ebp - 0x218]
push ecx
push 0x104
lea ecx, [ebp - 0x830]
push ecx
push 0x55514c
lea eax, [ebp - 0x2888]
cmovae eax, dword [ebp - 0x2888]
push str.PushTime
push eax
call esi
lea eax, [ebp - 0x1870]
push eax
lea ecx, [ebp - 0x28b8]
call fcn.00401bc0
mov edx, dword [ebp - 0x28a4]
mov esi, dword [ebp - 0x28b8]
mov eax, dword [ebp - 0x28a8]
cmp edx, 8
lea ecx, [ebp - 0x28b8]
cmovae ecx, esi
lea edi, [ebp - 0x28b8]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x28b8]
cmovae ecx, esi
cmovae edi, esi
mov byte [ebp - 4], 3
cmp ecx, eax
je 0x40298b
push fcn.00524539
push edi
push eax
push ecx
lea eax, [ebp - 0x2934]
push eax
call fcn.004019d0
mov edx, dword [ebp - 0x28a4]
mov esi, dword [ebp - 0x28b8]
add esp, 0x14
cmp edx, 8
lea eax, [ebp - 0x28b8]
cmovae eax, esi
push eax
push str.NotificationActivator::Activate
push str.__S__wszActionTypeLower___s
call fcn.0040bef0
cmp dword [ebp - 0x28a4], 8
lea eax, [ebp - 0x28b8]
cmovae eax, dword [ebp - 0x28b8]
push str.openap
push eax
call fcn.00525079
add esp, 0x14
test eax, eax
je 0x402eee
cmp dword [ebp - 0x28a4], 8
lea eax, [ebp - 0x28b8]
cmovae eax, dword [ebp - 0x28b8]
push str.openurl
push eax
call fcn.00525079
add esp, 8
test eax, eax
je 0x402eee
cmp dword [ebp - 0x28a4], 8
lea eax, [ebp - 0x28b8]
cmovae eax, dword [ebp - 0x28b8]
push str.timevalue
push eax
call fcn.00525079
add esp, 8
test eax, eax
jne 0x402eb5
lea eax, [ebp - 0x628]
push eax
push str.NotificationActivator::Activate
push str.__S__remind_me_later__s
call fcn.0040bef0
lea eax, [ebp - 0x628]
push 0x55514c
push eax
call fcn.00525079
add esp, 0x14
test eax, eax
je 0x402f4d
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x28e8]
call fcn.00401bc0
xor eax, eax
mov dword [ebp - 0x28bc], 7
mov dword [ebp - 0x28c0], 0
mov word [ebp - 0x28d0], ax
push eax
push 0x5555e4
lea ecx, [ebp - 0x28e8]
mov byte [ebp - 4], 5
call fcn.0040a940
mov esi, eax
test esi, esi
js 0x402afe
push esi
push 0
lea eax, [ebp - 0x2930]
push eax
lea ecx, [ebp - 0x28e8]
call fcn.0040ac00
push eax
lea ecx, [ebp - 0x28d0]
call fcn.00401fa0
lea ecx, [ebp - 0x2930]
call fcn.00401ec0
push 0xffffffffffffffff
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x2930]
push eax
lea ecx, [ebp - 0x28e8]
call fcn.0040ac00
push eax
lea ecx, [ebp - 0x28e8]
call fcn.00401fa0
lea ecx, [ebp - 0x2930]
call fcn.00401ec0
jmp 0x402b24
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28e8]
push eax
lea ecx, [ebp - 0x28d0]
call fcn.0040a4c0
push 0x55514c
lea ecx, [ebp - 0x28e8]
call fcn.0040a5e0
cmp dword [ebp - 0x28bc], 8
lea eax, [ebp - 0x28d0]
cmovae eax, dword [ebp - 0x28d0]
push eax
push str.NotificationActivator::Activate
push 0x5555e8
call fcn.0040bef0
cmp dword [ebp - 0x28d4], 8
lea eax, [ebp - 0x28e8]
cmovae eax, dword [ebp - 0x28e8]
push eax
push str.NotificationActivator::Activate
push str.__S__wszActionRemind___s
call fcn.0040bef0
cmp dword [ebp - 0x28bc], 8
lea eax, [ebp - 0x28d0]
cmovae eax, dword [ebp - 0x28d0]
push eax
call fcn.0052532f
mov esi, eax
lea eax, [ebp - 0x218]
push eax
push str.RemindList
lea eax, [ebp - 0xe48]
push str.Setting
push eax
call fcn.0040c1b0
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xe48]
push eax
push str.DisplayedList
push str.Setting
call fcn.0040df30
cmp dword [ebp - 0x288c], 8
lea eax, [ebp - 0x28a0]
cmovae eax, dword [ebp - 0x28a0]
push eax
push str.ACTIONREMIND__s
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.00525204
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esp, 0x4c
cmp dword [ebp - 0x28d4], 8
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x28e8]
cmovae ecx, dword [ebp - 0x28e8]
cmp dword [ebp - 0x2874], 8
push ecx
lea ecx, [ebp - 0x420]
lea eax, [ebp - 0x2888]
cmovae eax, dword [ebp - 0x2888]
push ecx
push eax
call edi
lea eax, [ebp - 0x2888]
cmp esi, 0x18
jle 0x402c49
lea ecx, [ebp - 0x218]
push ecx
push 0x55569c
jmp 0x402c65
cmp dword [ebp - 0x28bc], 8
lea ecx, [ebp - 0x28d0]
cmovae ecx, dword [ebp - 0x28d0]
lea edx, [ebp - 0x218]
push edx
push ecx
cmp dword [ebp - 0x2874], 8
push str.LatestDelayHour
cmovae eax, dword [ebp - 0x2888]
push eax
call edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x1050], ax
lea eax, [ebp - 0x104e]
push eax
call fcn.005265d0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xc40], ax
lea eax, [ebp - 0xc3e]
push eax
call fcn.005265d0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x1668], ax
lea eax, [ebp - 0x1666]
push eax
call fcn.005265d0
add esp, 0x24
lea eax, [ebp - 0xc40]
push 0x208
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0xc40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0xc40]
push eax
push str._sCLToast.exe
lea eax, [ebp - 0x1668]
push 0x104
push eax
call fcn.00525204
lea eax, [ebp - 0x830]
push esi
push eax
call fcn.00410ae0
cmp dword [ebp - 0x2874], 8
lea esi, [ebp - 0x2888]
cmovae esi, dword [ebp - 0x2888]
push esi
lea eax, [ebp - 0x1668]
push eax
lea eax, [ebp - 0x830]
push eax
lea edx, [ebp - 0x2888]
cmovae edx, dword [ebp - 0x2888]
push edx
push str._Create__SC_DAILY__TN___s___ST__s__F__TR___s__showtoast__remind__TN:_s_
lea eax, [ebp - 0x1050]
push 0x104
push eax
call fcn.00525204
add esp, 0x34
lea eax, [ebp - 0x1050]
push 0
push 0
push eax
push str.SCHTASKS
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp - 0x2874], 8
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x830]
lea eax, [ebp - 0x2888]
cmovae eax, dword [ebp - 0x2888]
push ecx
push str.PushTime
push eax
call edi
lea eax, [ebp - 0x2910]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x2910]
push eax
call fcn.0040f010
lea ecx, [eax + eax*2]
movzx eax, word [ebp - 0x2908]
push 0x206
lea esi, [eax + ecx*8]
xor eax, eax
push eax
mov word [ebp - 0xa38], ax
lea eax, [ebp - 0xa36]
push eax
call fcn.005265d0
push esi
push 0x555144
lea eax, [ebp - 0xa38]
push 0x104
push eax
call fcn.00525204
add esp, 0x20
cmp dword [ebp - 0x2874], 8
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0xa38]
push ecx
lea eax, [ebp - 0x2888]
cmovae eax, dword [ebp - 0x2888]
push str.LastShowUpHour
push eax
call edi
movzx eax, word [ebp - 0x2906]
push eax
push 0x555144
lea eax, [ebp - 0xa38]
push 0x104
push eax
call fcn.00525204
add esp, 0x10
cmp dword [ebp - 0x2874], 8
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0xa38]
push ecx
lea eax, [ebp - 0x2888]
cmovae eax, dword [ebp - 0x2888]
push str.LastShowUpMin
push eax
call edi
lea eax, [ebp - 0x1050]
push eax
push str.__tWinMain____Update_new_schedule___s_
call fcn.0040bef0
add esp, 8
lea ecx, [ebp - 0x28d0]
call fcn.00401ec0
lea ecx, [ebp - 0x28e8]
mov byte [ebp - 4], 3
call fcn.00401ec0
jmp 0x402f4d
cmp dword [ebp - 0x28a4], 8
lea eax, [ebp - 0x28b8]
cmovae eax, dword [ebp - 0x28b8]
push str.close
push eax
call fcn.00525079
add esp, 8
push str.NotificationActivator::Activate
test eax, eax
jne 0x402ee7
push str.__S__close_toast
jmp 0x402f45
push str.__S__invalid_arguments
jmp 0x402f45
lea eax, [ebp - 0x2870]
push 0x55514c
push eax
call fcn.00525079
add esp, 8
test eax, eax
je 0x402f3b
lea eax, [ebp - 0x2870]
push eax
push str.NotificationActivator::Activate
push str.__S__activate_command___s
call fcn.0040bef0
add esp, 0xc
lea eax, [ebp - 0x2870]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x402f4d
push str.NotificationActivator::Activate
push str.__S__invalid_action_arguments
call fcn.0040bef0
add esp, 8
cmp dword [ebp - 0x28a4], 8
lea eax, [ebp - 0x28b8]
cmovae eax, dword [ebp - 0x28b8]
push str.openurl
push eax
call fcn.00525079
add esp, 8
test eax, eax
je 0x402f9a
lea eax, [ebp - 0x2070]
push 0x55514c
push eax
call fcn.00525079
add esp, 8
test eax, eax
je 0x402f9a
lea eax, [ebp - 0x2070]
push eax
call fcn.00410170
add esp, 4
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
cmp dword [ebp - 0x28a4], 8
jb 0x402fb9
push dword [ebp - 0x28b8]
call fcn.00414c8d
add esp, 4
xor eax, eax
mov dword [ebp - 0x28a4], 7
mov dword [ebp - 0x28a8], 0
mov word [ebp - 0x28b8], ax
jmp 0x402651