Function at 0x41e971
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x178
push edi
mov dword [ebp - 0x174], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x130], 0
mov byte [ebp - 0x11c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x11b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x12c], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x120], ecx
lea edx, [ebp - 0x11c]
push edx
push 0x104
push str.Default.tsk
call fcn.0041f4d7
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x41e9f2
jmp 0x41f059
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x178], edx
cmp dword [ebp - 0x178], 6
ja case.default.0x41ea1e
mov eax, dword [ebp - 0x178]
jmp dword [eax*4 + 0x41f062]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
push edx
push 0x43851c
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0x438520
push 0x438528
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x41ea67
jmp 0x41f057
jmp 0x41edea
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x14c], 0
jmp 0x41ea91
mov eax, dword [ebp - 0x14c]
add eax, 1
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 7
jge 0x41eb41
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ebp - 0x14c]
sar edx, cl
mov dword [ebp - 0x134], edx
mov eax, dword [ebp - 0x134]
and eax, 1
mov dword [ebp - 0x134], eax
push 0x438534
lea ecx, [ebp - 0x148]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
mov edx, dword [ebp - 0x14c]
push edx
lea eax, [ebp - 0x148]
push eax
push 0x438540
lea ecx, [ebp - 0x148]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
mov edx, dword [ebp - 0x134]
push edx
push 0x438548
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x148]
push eax
push 0x43854c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x41eb3c
jmp 0x41f055
jmp 0x41ea82
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
push edx
push 0x438558
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x14]
push edx
push str.SkipNum
push 0x438564
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x41eb83
jmp 0x41f053
jmp 0x41edea
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
and ecx, 0xff00
test ecx, ecx
je 0x41ec92
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
sar eax, 8
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 0xff
jne 0x41ebc1
mov dword [ebp - 0x15c], 5
mov ecx, dword [ebp - 0x15c]
push ecx
push 0x438570
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x14]
push ecx
push str.WeekInMonth
push 0x438580
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x41ec03
jmp 0x41f051
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
and eax, 0xff
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp - 0x15c]
push ecx
push 0x43858c
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x14]
push ecx
push str.DayOfWeek
push 0x43859c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x41ec56
jmp 0x41f04f
push 0x4385a8
lea edx, [ebp - 0x14]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0x4385ac
push 0x4385c0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x41ec90
jmp 0x41f04d
jmp 0x41ed0e
push 0x4385cc
lea edx, [ebp - 0x14]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x14]
push ecx
push str.ScheduleDayOfMonth
push 0x4385e4
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x41eccc
jmp 0x41f04b
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
push eax
push 0x4385f0
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea edx, [ebp - 0x11c]
push edx
lea eax, [ebp - 0x14]
push eax
push str.DayOfMonth
push 0x438600
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x41ed0e
jmp 0x41f049
mov dword [ebp - 0x158], 0
jmp 0x41ed29
mov ecx, dword [ebp - 0x158]
add ecx, 1
mov dword [ebp - 0x158], ecx
cmp dword [ebp - 0x158], 0xc
jge 0x41edd9
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0x158]
sar eax, cl
mov dword [ebp - 0x154], eax
mov ecx, dword [ebp - 0x154]
and ecx, 1
mov dword [ebp - 0x154], ecx
push str.MonthOfYear
lea edx, [ebp - 0x170]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
mov eax, dword [ebp - 0x158]
push eax
lea ecx, [ebp - 0x170]
push ecx
push str._s_d
lea edx, [ebp - 0x170]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
mov eax, dword [ebp - 0x154]
push eax
push 0x438620
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea edx, [ebp - 0x11c]
push edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x170]
push ecx
push 0x438624
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x41edd4
jmp 0x41f047
jmp 0x41ed1a
jmp 0x41edea
jmp 0x41edea
jmp 0x41edea
jmp 0x41edea
jmp 0x41edea
xor eax, eax
jmp 0x41f05b
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push 0x438630
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea edx, [ebp - 0x11c]
push edx
lea eax, [ebp - 0x14]
push eax
push str.Enabled
push 0x43863c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x41ee2b
jmp 0x41f045
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
push 0x438648
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x14]
push edx
push str.ScheduleMode
push 0x43865c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x41ee6d
jmp 0x41f043
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.MSVCRT.dll_localtime]
add esp, 4
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
je 0x41ef36
mov ecx, dword [ebp - 0x128]
mov edx, dword [ecx + 0x14]
add edx, 0x76c
push edx
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x128]
mov eax, dword [edx + 0x10]
add eax, 1
push eax
push 0x438668
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x14
lea edx, [ebp - 0x11c]
push edx
lea eax, [ebp - 0x14]
push eax
push str.StartDate
push 0x438680
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x41eef2
jmp 0x41f041
mov ecx, dword [ebp - 0x128]
push ecx
push str._H:_M:_S
push 0x14
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.MSVCRT.dll_strftime]
add esp, 0x10
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x14]
push ecx
push str.StartTime
push 0x4386a4
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x41ef36
jmp 0x41f03f
mov edx, dword [ebp + 8]
add edx, 0xc
push edx
call dword [sym.imp.MSVCRT.dll_localtime]
add esp, 4
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x41efb7
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax + 0x14]
add ecx, 0x76c
push ecx
mov edx, dword [ebp - 0x12c]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ecx + 0x10]
add edx, 1
push edx
push str._d__d__d
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x14
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x14]
push edx
push str.EndDate
push 0x4386c4
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x41efb7
jmp 0x41f03d
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc], 0
je 0x41efcc
mov dword [ebp - 0x124], 1
jmp 0x41efd6
mov dword [ebp - 0x124], 0
mov ecx, dword [ebp - 0x124]
push ecx
push 0x4386d0
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x14]
push ecx
push str.EndDateEnabled
push str.Schedule
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x41f015
jmp 0x41f03b
mov dword [ebp - 0x130], 1
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x130]
jmp 0x41f05b
jmp 0x41f01f
jmp 0x41f01f
jmp 0x41f01f
jmp 0x41f01f
jmp 0x41f01f
jmp 0x41f01f
jmp 0x41f01f
jmp 0x41f01f
jmp 0x41f01f
jmp 0x41f01f
jmp 0x41f01f
jmp 0x41f01f
jmp 0x41f01f
jmp 0x41f01f
jmp 0x41f01f
jmp 0x41f01f
pop edi
mov esp, ebp
pop ebp
ret 4