Function at 0x415e20
Capabilities:
Check os version
Schedule task via itaskscheduler
Schedule task via itaskservice

Disassembly:
push 0xffffffffffffffff
push 0x4be4d2
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
mov eax, dword [0x4f55dc]
xor eax, esp
mov dword [esp + 0x19c], eax
push ebx
push esi
push edi
mov eax, dword [0x4f55dc]
xor eax, esp
push eax
lea eax, [esp + 0x1b4]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x1c4]
lea eax, [esp + 0x98]
push 0x110
push 0
push eax
mov dword [esp + 0xa0], 0x114
call fcn.004a1910
add esp, 0xc
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41619a
cmp dword [esp + 0x98], 6
jb 0x41619a
mov dword [esp + 0x8c], 0
mov dword [esp + 0x1bc], 1
lea eax, [esp + 0x8c]
push eax
push 0x4d598c
push 1
push 0
push 0x4d5b9c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x416186
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [esp + 0x34]
push eax
call esi
mov byte [esp + 0x1bc], 3
lea eax, [esp + 0x24]
movdqu xmm0, xmmword [esp + 0x34]
push eax
movdqu xmmword [esp + 0x78], xmm0
call esi
mov byte [esp + 0x1bc], 4
lea eax, [esp + 0x14]
movdqu xmm0, xmmword [esp + 0x24]
push eax
movdqu xmmword [esp + 0x68], xmm0
call esi
mov byte [esp + 0x1bc], 5
lea eax, [esp + 0x44]
movdqu xmm0, xmmword [esp + 0x14]
push eax
movdqu xmmword [esp + 0x58], xmm0
call esi
mov byte [esp + 0x1bc], 6
sub esp, 0x10
movdqu xmm0, xmmword [esp + 0x84]
mov eax, dword [esp + 0x9c]
mov ecx, esp
sub esp, 0x10
mov edx, dword [eax]
movdqu xmmword [ecx], xmm0
mov ecx, esp
sub esp, 0x10
movdqu xmm0, xmmword [esp + 0x94]
movdqu xmmword [ecx], xmm0
mov ecx, esp
sub esp, 0x10
movdqu xmm0, xmmword [esp + 0x94]
movdqu xmmword [ecx], xmm0
mov ecx, esp
movdqu xmm0, xmmword [esp + 0x84]
push eax
movdqu xmmword [ecx], xmm0
call dword [edx + 0x28]
mov edi, eax
mov byte [esp + 0x1bc], 5
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x44]
push eax
call esi
mov byte [esp + 0x1bc], 4
lea eax, [esp + 0x14]
push eax
call esi
mov byte [esp + 0x1bc], 3
lea eax, [esp + 0x24]
push eax
call esi
mov byte [esp + 0x1bc], 1
lea eax, [esp + 0x34]
push eax
call esi
test edi, edi
js 0x416186
mov dword [esp + 0x88], 0
mov byte [esp + 0x1bc], 9
lea ecx, [esp + 0x10]
mov esi, dword [esp + 0x8c]
push 0x4d6684
call fcn.00415170
mov byte [esp + 0x1bc], 0xa
mov eax, dword [eax]
test eax, eax
je 0x416022
mov ecx, dword [eax]
jmp 0x416024
xor ecx, ecx
mov eax, dword [esi]
lea edx, [esp + 0x88]
push edx
push ecx
push esi
call dword [eax + 0x1c]
mov dword [esp + 0x90], eax
mov byte [esp + 0x1bc], 9
mov esi, dword [esp + 0x10]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
je 0x4160a0
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x416091
test esi, esi
je 0x416091
mov eax, dword [esi]
test eax, eax
je 0x416071
push eax
call edi
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x416088
push eax
call fcn.0049ce1c
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.0049c766
add esp, 4
mov eax, dword [esp + 0x90]
mov dword [esp + 0x10], 0
test eax, eax
js 0x41616d
cmp dword [ebx + 0x14], 8
mov esi, dword [esp + 0x88]
jb 0x4160b7
mov ebx, dword [ebx]
push ebx
lea ecx, [esp + 0x14]
call fcn.00415170
mov byte [esp + 0x1bc], 0xd
mov ecx, dword [eax]
test ecx, ecx
je 0x4160d3
mov ecx, dword [ecx]
jmp 0x4160d5
xor ecx, ecx
mov eax, dword [esi]
push 0
push ecx
push esi
call dword [eax + 0x3c]
mov ebx, eax
mov byte [esp + 0x1bc], 9
mov esi, dword [esp + 0x10]
test esi, esi
je 0x416139
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x416131
test esi, esi
je 0x416131
mov eax, dword [esi]
test eax, eax
je 0x416111
push eax
call edi
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x416128
push eax
call fcn.0049ce1c
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.0049c766
add esp, 4
mov dword [esp + 0x10], 0
test ebx, ebx
js 0x41616d
mov byte [esp + 0x1bc], 1
mov eax, dword [esp + 0x88]
test eax, eax
je 0x416156
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x1bc], 0xffffffff
mov eax, dword [esp + 0x8c]
jmp 0x41625e
mov byte [esp + 0x1bc], 1
mov eax, dword [esp + 0x88]
test eax, eax
je 0x416186
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x1bc], 0xffffffff
mov eax, dword [esp + 0x8c]
jmp 0x416217
mov dword [esp + 0x88], 0
mov dword [esp + 0x1bc], 0x13
lea eax, [esp + 0x88]
push eax
push 0x4d5c30
push 1
push 0
push 0x4d5c40
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x416205
mov dword [esp + 0x90], 0
mov byte [esp + 0x1bc], 0x16
cmp dword [ebx + 0x14], 8
jb 0x4161eb
mov ebx, dword [ebx]
mov eax, dword [esp + 0x88]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
jns 0x41624c
mov byte [esp + 0x1bc], 0x13
mov dword [esp + 0x1bc], 0xffffffff
mov eax, dword [esp + 0x88]
test eax, eax
je 0x416221
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor al, al
mov ecx, dword [esp + 0x1b4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x19c]
xor ecx, esp
call fcn.0049bfa3
add esp, 0x1b0
ret 4
mov dword [esp + 0x1bc], 0xffffffff
mov eax, dword [esp + 0x88]
test eax, eax
je 0x416268
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, 1
jmp 0x416223