Function at 0x40e880
Capabilities:
Schedule task via itaskservice

Disassembly:
push 0xffffffffffffffff
push 0x4b073e
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ca1d0]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov dword [esp + 0x1c], ecx
xor esi, esi
mov dword [esp + 0x14], esi
lea eax, [esp + 0x14]
push eax
push 0x4bf048
push 1
push esi
push 0x4bf238
mov dword [esp + 0xb0], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jl 0x40eaf2
cmp dword [esp + 0x14], esi
je 0x40eaf2
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [esp + 0x74]
push ecx
call esi
mov edx, dword [esp + 0x80]
mov edi, dword [esp + 0x74]
mov ebp, dword [esp + 0x78]
mov ebx, dword [esp + 0x7c]
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0x94], edx
call esi
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x70]
lea edx, [esp + 0x54]
push edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
call esi
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
call esi
mov esi, dword [esp + 0x90]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], ebp
mov dword [eax + 8], ebx
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0x34]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x48]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x4c]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x50]
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0x54]
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x68]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x6c]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x70]
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0x74]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x88]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x8c]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x90]
mov dword [eax + 0xc], esi
mov eax, dword [edx + 0x28]
push ecx
mov byte [esp + 0xe0], 4
call eax
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x44]
push ecx
mov edi, eax
call esi
lea edx, [esp + 0x54]
push edx
call esi
lea eax, [esp + 0x64]
push eax
call esi
lea ecx, [esp + 0x74]
push ecx
call esi
test edi, edi
jge 0x40ea52
push edi
push str.ITaskService::Connect_failed:__x
call fcn.00495765
mov eax, dword [esp + 0x1c]
add esp, 8
mov dword [esp + 0x9c], 0xffffffff
test eax, eax
je 0x40eb1b
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x40eb1b
mov dword [esp + 0x18], 0
mov edi, dword [esp + 0x14]
mov bl, 5
push 0x4b3cd0
mov byte [esp + 0xa0], bl
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [esp + 0x20], esi
test esi, esi
jne 0x40ea86
push 0x8007000e
call fcn.004010b0
mov ecx, dword [edi]
mov eax, dword [ecx + 0x1c]
lea edx, [esp + 0x18]
push edx
push esi
push edi
mov byte [esp + 0xa8], 6
call eax
push esi
mov edi, eax
mov byte [esp + 0xa0], bl
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
jl 0x40eae2
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40eae2
mov ecx, dword [esp + 0x1c]
push eax
call fcn.0040dd40
mov eax, dword [esp + 0x18]
mov byte [esp + 0x9c], 0
test eax, eax
je 0x40eada
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x40eb06
push edi
push str.Cannot_get_Root_Folder_pointer:__x
call fcn.00495765
add esp, 8
jmp 0x40eac2
push eax
push str.Failed_to_CoCreate_an_instance_of_the_TaskService_class:__x
call fcn.00495765
mov eax, dword [esp + 0x1c]
add esp, 8
cmp eax, esi
mov dword [esp + 0x9c], 0xffffffff
je 0x40eb1b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret