Function at 0x10081ac0
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 0x1010fbc2
mov eax, dword fs:[0]
push eax
sub esp, 0x3b0
mov eax, dword [0x1013b024]
xor eax, esp
mov dword [esp + 0x3a8], eax
push ebx
push esi
push edi
mov eax, dword [0x1013b024]
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_wcscpy_s]
add esp, 0x18
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
cmp eax, edi
jl 0x10081f20
call fcn.10082a10
test eax, eax
je 0x10081f46
lea edx, [esp + 0x18]
push edx
push 0x10119800
push 1
push edi
push 0x101199f0
mov dword [esp + 0x2c], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, edi
jl 0x10081cf6
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 edi, dword [esp + 0x34]
mov ebx, 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], edi
mov dword [eax + 4], ebx
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 esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x64]
push ecx
mov edi, eax
call esi
lea edx, [esp + 0x84]
push edx
call esi
lea eax, [esp + 0x74]
push eax
call esi
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x3cc], 0xffffffff
call esi
test edi, edi
jge 0x10081d06
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 0x10081f20
lea ecx, [esp + 0x10]
push ecx
mov edi, 0x1011da4c
mov dword [esp + 0x30], 0
call fcn.10081230
mov dword [esp + 0x3c8], 4
mov eax, dword [eax]
test eax, eax
je 0x10081d32
mov ecx, dword [eax]
jmp 0x10081d34
xor ecx, ecx
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
lea edi, [esp + 0x2c]
push edi
push ecx
push eax
mov eax, dword [edx + 0x1c]
call eax
lea edi, [esp + 0x10]
mov ebx, eax
mov dword [esp + 0x3c8], 0xffffffff
call fcn.100812d0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor edi, edi
cmp ebx, edi
jl 0x10081cf6
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 ebx, eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp ebx, edi
jl 0x10081cf6
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
jne 0x10081dcf
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 0x10081f20
push 0x103
lea eax, [esp + 0xa9]
push edi
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]
add esp, 0x18
xor eax, eax
cmp dword [esp + 0x20], edi
jle 0x10081f0c
jmp 0x10081e18
xor edi, edi
lea ecx, [eax + 1]
mov dword [esp + 0x10], edi
mov word [esp + 0x34], 3
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x3c8], 5
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
mov edi, dword [edx]
lea eax, [esp + 0x10]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esp + 0x4c]
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [edi + 0x20]
mov dword [eax + 0xc], ecx
call edx
mov edi, eax
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x3cc], 0xffffffff
call esi
test edi, edi
jl 0x10081efe
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
test eax, eax
jl 0x10081ee7
mov edx, dword [esp + 0x24]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10081ea8
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 0x10081ee7
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 0
push eax
call edx
test eax, eax
jge 0x10081f0c
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 0x10081e16
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]
xor eax, eax
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.1010dc50
mov esp, ebp
pop ebp
ret 4
lea eax, [esp + 0x30]
push eax
push 0x1012586c
push 1
push edi
push 0x1012588c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x10081cf6
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push 0x1012585c
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 0x10081fbe
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 0x10081f20
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x70]
push 4
push eax
call edx
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push 0x101197bc
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
cmp esi, edi
jge 0x10081f18
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
jmp 0x10081f20