Function at 0x100813e0
Capabilities:
Resolve function by parsing pe exports
Schedule task via itaskscheduler
Schedule task via itaskservice

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1013bf62
mov eax, dword fs:[0]
push eax
sub esp, 0x3b0
mov eax, dword [0x10170024]
xor eax, esp
mov dword [esp + 0x3a8], eax
push ebx
push esi
push edi
mov eax, dword [0x10170024]
xor eax, esp
push eax
lea eax, [esp + 0x3c0]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
push 0x206
lea eax, [esp + 0x1b2]
push edi
push eax
mov word [esp + 0x1b8], di
call sub.MSVCR80.dll_memset
push esi
lea ecx, [esp + 0x1bc]
push 0x104
push ecx
call dword [sym.imp.MSVCR80.dll_wcscat_s]
add esp, 0x18
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
cmp eax, edi
jl 0x10081916
call fcn.10082890
test eax, eax
je 0x1008184a
lea edx, [esp + 0x18]
push edx
push 0x10146980
push 1
push edi
push 0x10146b70
mov dword [esp + 0x2c], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, edi
jl 0x10081616
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [esp + 0x34]
push eax
call esi
mov dword [esp + 0x3c8], edi
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
lea eax, [esp + 0x74]
push eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
call esi
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x80]
lea edx, [esp + 0x84]
push edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
call esi
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0x64]
push ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
call esi
mov byte [esp + 0x3c8], 3
mov esi, dword [esp + 0x9c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], edi
mov dword [eax + 8], esi
mov esi, dword [esp + 0xb0]
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0x64]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x78]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x7c]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x80]
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0x64]
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x78]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x7c]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x80]
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0x94]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0xa8]
mov dword [eax + 4], esi
mov esi, dword [esp + 0xac]
mov dword [eax + 8], esi
mov esi, dword [esp + 0xb0]
mov dword [eax + 0xc], esi
mov eax, dword [edx + 0x28]
push ecx
call eax
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x64]
push ecx
mov edi, eax
call ebx
lea edx, [esp + 0x84]
push edx
call ebx
lea eax, [esp + 0x74]
push eax
call ebx
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x3cc], 0xffffffff
call ebx
test edi, edi
jge 0x10081626
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
jmp 0x10081916
lea ecx, [esp + 0x10]
push ecx
mov edi, 0x1014bdb4
mov dword [esp + 0x30], 0
call fcn.100810b0
mov dword [esp + 0x3c8], 4
mov eax, dword [eax]
test eax, eax
je 0x10081652
mov ecx, dword [eax]
jmp 0x10081654
xor ecx, ecx
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
lea esi, [esp + 0x2c]
push esi
push ecx
push eax
mov eax, dword [edx + 0x1c]
call eax
lea edi, [esp + 0x10]
mov esi, eax
mov dword [esp + 0x3c8], 0xffffffff
call fcn.10081150
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor edi, edi
cmp esi, edi
jl 0x10081616
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], edi
mov ecx, dword [eax]
push edi
push eax
mov eax, dword [ecx + 0x38]
call eax
mov esi, eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, edi
jl 0x10081616
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
mov dword [esp + 0x20], edi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
cmp dword [esp + 0x20], edi
mov esi, eax
jne 0x100816f1
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [edi + 1]
jmp 0x10081916
push 0x103
lea eax, [esp + 0xa9]
push 0
push eax
mov byte [esp + 0xb0], 0
call sub.MSVCR80.dll_memset
push 0x104
lea ecx, [esp + 0x1bc]
push ecx
lea edx, [esp + 0xb8]
push edx
call dword [sym.imp.MSVCR80.dll_wcstombs]
xor eax, eax
add esp, 0x18
cmp dword [esp + 0x20], eax
jle 0x10081841
lea ecx, [eax + 1]
mov dword [esp + 0x10], 0
mov word [esp + 0x34], 3
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x3c8], 5
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
mov esi, dword [edx]
lea eax, [esp + 0x10]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x4c]
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esi + 0x20]
mov dword [eax + 0xc], ecx
call edx
mov esi, eax
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x3cc], 0xffffffff
call ebx
test esi, esi
jl 0x10081828
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x24]
mov dword [esp + 0x24], 0
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov esi, eax
test esi, esi
jl 0x10081811
mov edx, dword [esp + 0x24]
mov eax, edx
lea edi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100817d0
sub eax, edi
push eax
push edx
lea ecx, [esp + 0xac]
push ecx
call dword [sym.imp.MSVCR80.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x10081811
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push 1
push eax
call edx
mov esi, eax
test esi, esi
jge 0x1008183f
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x20]
jl 0x10081737
mov eax, dword [esp + 0x14]
jmp 0x10081906
xor esi, esi
mov eax, dword [esp + 0x14]
jmp 0x10081906
lea eax, [esp + 0x30]
push eax
push 0x10153ba4
push 1
push edi
push 0x10153bc4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x10081616
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push 0x10153b94
lea edx, [esp + 0x1b4]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov esi, eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, edi
jge 0x100818bf
mov edi, dword [sym.imp.MSVCR80.dll_wprintf]
push str.Failed_calling_ITaskScheduler::Activate:
call edi
push esi
push str.error__0x_x_n
call edi
add esp, 0xc
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
jmp 0x10081916
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x70]
push 0x2000
push eax
call edx
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push 0x1014693c
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push 1
push edi
push eax
call edx
mov esi, eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
mov ecx, dword [esp + 0x3c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3a8]
xor ecx, esp
call fcn.1012d370
mov esp, ebp
pop ebp
ret 4