Function at 0x40d6e0
Capabilities:
Check if file exists
Create process on windows
Delete file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x543d36
mov eax, dword fs:[0]
push eax
mov eax, 0x206c
call fcn.00525f50
mov eax, dword [0x5acd88]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
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 - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call fcn.005265d0
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x2030], ax
lea eax, [ebp - 0x202e]
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 - 0x1030], ax
lea eax, [ebp - 0x102e]
push eax
call fcn.005265d0
push esi
push 0x55539c
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00525204
add esp, 0x4c
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40dd2a
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x1830], ax
lea eax, [ebp - 0x182e]
push eax
call fcn.005265d0
push edi
push 0x55539c
lea eax, [ebp - 0x1830]
push 0x400
push eax
call fcn.00525204
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0x1c
lea eax, [ebp - 0x218]
push eax
push 0x400
lea eax, [ebp - 0x2030]
push eax
push 0x55514c
lea eax, [ebp - 0x1830]
push eax
push str.Setting
call ebx
lea eax, [ebp - 0x2030]
push eax
lea ecx, [ebp - 0x2060]
call fcn.00401bc0
xor eax, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x2034], 7
mov dword [ebp - 0x2038], 0
mov word [ebp - 0x2048], ax
push 0x206
push eax
mov word [ebp - 0x830], ax
lea eax, [ebp - 0x82e]
push eax
mov byte [ebp - 4], 1
call fcn.005265d0
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esp, 0xc
jmp 0x40d890
cmp dword [ebp - 0x204c], 8
lea eax, [ebp - 0x2060]
cmovae eax, dword [ebp - 0x2060]
push 0x55514c
push eax
call fcn.00525079
add esp, 8
test eax, eax
je 0x40dcbe
push 1
push 0
push 0x5552f0
lea ecx, [ebp - 0x2060]
call fcn.0040a990
mov edi, eax
test edi, edi
js 0x40dbee
push edi
push 0
lea eax, [ebp - 0x2078]
push eax
lea ecx, [ebp - 0x2060]
call fcn.0040ac00
mov esi, eax
lea eax, [ebp - 0x2048]
cmp eax, esi
je 0x40d985
cmp dword [ebp - 0x2034], 8
jb 0x40d914
push dword [ebp - 0x2048]
call fcn.00414c8d
add esp, 4
xor eax, eax
mov dword [ebp - 0x2034], 7
mov dword [ebp - 0x2038], 0
mov word [ebp - 0x2048], ax
cmp dword [esi + 0x14], 8
jae 0x40d952
mov eax, dword [esi + 0x10]
inc eax
je 0x40d960
add eax, eax
push eax
lea eax, [ebp - 0x2048]
push esi
push eax
call fcn.00524650
add esp, 0xc
jmp 0x40d960
mov eax, dword [esi]
mov dword [ebp - 0x2048], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x2038], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x2034], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [ebp - 0x2064], 8
jb 0x40d99c
push dword [ebp - 0x2078]
call fcn.00414c8d
add esp, 4
push 0xffffffffffffffff
lea eax, [edi + 1]
push eax
lea eax, [ebp - 0x2078]
push eax
lea ecx, [ebp - 0x2060]
call fcn.0040ac00
mov esi, eax
lea eax, [ebp - 0x2060]
cmp eax, esi
je 0x40da4c
cmp dword [ebp - 0x204c], 8
jb 0x40d9db
push dword [ebp - 0x2060]
call fcn.00414c8d
add esp, 4
xor eax, eax
mov dword [ebp - 0x204c], 7
mov dword [ebp - 0x2050], 0
mov word [ebp - 0x2060], ax
cmp dword [esi + 0x14], 8
jae 0x40da19
mov eax, dword [esi + 0x10]
inc eax
je 0x40da27
add eax, eax
push eax
lea eax, [ebp - 0x2060]
push esi
push eax
call fcn.00524650
add esp, 0xc
jmp 0x40da27
mov eax, dword [esi]
mov dword [ebp - 0x2060], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x2050], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x204c], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [ebp - 0x2064], 8
jb 0x40da63
push dword [ebp - 0x2078]
call fcn.00414c8d
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0x55514c
lea eax, [ebp - 0x628]
push 0x104
push eax
call fcn.00525204
add esp, 0xc
cmp dword [ebp - 0x2034], 8
lea ecx, [ebp - 0x218]
push ecx
push 0x104
lea ecx, [ebp - 0x628]
push ecx
push 0x55514c
lea eax, [ebp - 0x2048]
cmovae eax, dword [ebp - 0x2048]
push str.ExpiredDate
push eax
call ebx
lea eax, [ebp - 0x628]
push eax
call fcn.0040f990
add esp, 4
cmp eax, 1
jne 0x40dc45
cmp dword [ebp - 0x2034], 8
lea ecx, [ebp - 0x218]
push ecx
push 0x104
lea ecx, [ebp - 0x420]
push ecx
push 0x55514c
lea eax, [ebp - 0x2048]
cmovae eax, dword [ebp - 0x2048]
push str.BannerPath
push eax
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x420]
push eax
call edi
cmp dword [ebp - 0x2034], 8
lea ecx, [ebp - 0x218]
push ecx
push 0x104
lea ecx, [ebp - 0x420]
push ecx
push 0x55514c
lea eax, [ebp - 0x2048]
cmovae eax, dword [ebp - 0x2048]
push str.ICONPath
push eax
call ebx
lea eax, [ebp - 0x420]
push eax
call edi
cmp dword [ebp - 0x2034], 8
lea ecx, [ebp - 0x218]
push ecx
push 0
lea eax, [ebp - 0x2048]
cmovae eax, dword [ebp - 0x2048]
push 0
push eax
call esi
cmp dword [ebp - 0x2034], 8
lea eax, [ebp - 0x2048]
cmovae eax, dword [ebp - 0x2048]
push eax
push str._Delete__TN___s___F
lea eax, [ebp - 0x830]
push 0x104
push eax
call fcn.00525204
add esp, 0x10
lea eax, [ebp - 0x830]
push 0
push 0
push eax
push str.SCHTASKS
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp - 0x2034], 8
lea eax, [ebp - 0x2048]
cmovae eax, dword [ebp - 0x2048]
push eax
lea eax, [ebp - 0x1830]
push eax
push str.CleanOverdueScheduler
push str.__S___s__remove__s
call fcn.0040bef0
add esp, 0x10
jmp 0x40d890
cmp dword [ebp - 0x204c], 8
lea eax, [ebp - 0x2060]
cmovae eax, dword [ebp - 0x2060]
push 0x55514c
push eax
call fcn.00525079
add esp, 8
test eax, eax
je 0x40da69
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2060]
push eax
lea ecx, [ebp - 0x2048]
call fcn.0040a4c0
push 0
push 0x55514c
lea ecx, [ebp - 0x2060]
call fcn.0040a630
jmp 0x40da69
lea eax, [ebp - 0x1030]
push 0x55514c
push eax
call fcn.00525079
add esp, 8
test eax, eax
lea eax, [ebp - 0x2048]
jne 0x40dc90
cmp dword [ebp - 0x2034], 8
cmovae eax, dword [ebp - 0x2048]
push eax
push 0x55539c
lea eax, [ebp - 0x1030]
push 0x400
push eax
call fcn.00525204
add esp, 0x10
jmp 0x40d890
cmp dword [ebp - 0x2034], 8
cmovae eax, dword [ebp - 0x2048]
push eax
lea eax, [ebp - 0x1030]
push eax
push str._s__s
push 0x400
push eax
call fcn.00525204
add esp, 0x14
jmp 0x40d890
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x1030]
push eax
lea eax, [ebp - 0x1830]
push eax
push str.Setting
call esi
cmp dword [ebp - 0x2034], 8
jb 0x40dcf1
push dword [ebp - 0x2048]
call fcn.00414c8d
add esp, 4
xor eax, eax
cmp dword [ebp - 0x204c], 8
mov dword [ebp - 0x2034], 7
mov dword [ebp - 0x2038], 0
mov word [ebp - 0x2048], ax
jb 0x40dd25
push dword [ebp - 0x2060]
call fcn.00414c8d
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00525af7
mov esp, ebp
pop ebp
ret