Function at 0x40d6d4
Capabilities:
Check os version

Disassembly:
push 0x16c
mov eax, 0x427b3e
call fcn.00410a3c
mov ebx, ecx
mov dword [ebp - 0x164], ebx
push 0x118
xor edi, edi
mov dword [ebp - 0x164], ebx
lea eax, [ebp - 0x15c]
push edi
push eax
call fcn.004123e0
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x160]
add esp, 0xc
mov dword [ebp - 0x160], 0x11c
push eax
call esi
test eax, eax
jne 0x40d74d
push 0x118
lea eax, [ebp - 0x15c]
push edi
push eax
call fcn.004123e0
add esp, 0xc
mov dword [ebp - 0x160], 0x114
lea eax, [ebp - 0x160]
push eax
call esi
cmp dword [ebp - 0x15c], 5
jbe 0x40d9b5
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], edi
push eax
push 0x438e5c
push 0x17
push edi
push 0x438e2c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x40d7a1
push 0x438d78
mov ecx, ebx
call fcn.004066a8
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x40d9c1
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
jmp 0x40d9c1
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
call fcn.0040c9a1
mov dword [ebp - 0x24], eax
test eax, eax
je 0x40da31
mov byte [ebp - 4], 1
lea esi, [ebp - 0x40]
sub esp, 0x10
mov eax, dword [ebp - 0x14]
mov edi, esp
sub esp, 0x10
mov ecx, dword [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x40]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x40]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x40]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x28]
test eax, eax
jns 0x40d82b
push 0x438da0
mov ecx, ebx
call fcn.004066a8
push dword [ebp - 0x24]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40d9c1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x40d9c1
xor edi, edi
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 2
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x24]
push edx
push esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test eax, eax
jns 0x40d869
push str.GetFolder
mov ecx, ebx
call fcn.004066a8
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40d866
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push esi
jmp 0x40d80b
mov dword [ebp - 0x1c], edi
push 3
pop eax
mov byte [ebp - 4], al
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
push edx
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
test eax, eax
jns 0x40d8a3
push str.GetTasks
mov ecx, ebx
call fcn.004066a8
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d855
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x40d855
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x2c], edi
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
jns 0x40d8be
push str.get_Count
jmp 0x40d889
mov eax, edi
cmp dword [ebp - 0x2c], eax
jle 0x40d97b
mov dword [ebp - 0x20], edi
push 3
inc eax
pop ecx
mov word [ebp - 0x178], cx
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x170], eax
lea edx, [ebp - 0x20]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1c]
lea esi, [ebp - 0x178]
push edx
sub esp, 0x10
mov edi, esp
mov ecx, dword [eax]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x20]
mov esi, eax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x178]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test esi, esi
js 0x40da23
xor edi, edi
mov dword [ebp - 0x28], edi
mov byte [ebp - 4], 6
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x20]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
js 0x40da1c
mov eax, dword [ebp - 0x18]
push edi
push dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
test eax, eax
js 0x40d9c9
push dword [ebp - 0x28]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 3
pop eax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40d969
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x164]
cmp eax, dword [ebp - 0x2c]
jl 0x40d8c9
mov esi, dword [ebp - 0x24]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d98c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40d99d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40d9b5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x433b18
mov ecx, ebx
call fcn.004066a8
mov eax, ebx
call fcn.004109e6
ret
push str.DeleteTask
mov ecx, ebx
call fcn.004066a8
push dword [ebp - 0x28]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 3
pop eax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40d9f1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40da02
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40d808
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x40d808
push str.get_Name
jmp 0x40d9ce
push str.get_Item
mov ecx, ebx
call fcn.004066a8
jmp 0x40d9de
push 0x8007000e
call fcn.0040ca00
int3