Function at 0x10081940
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_wcscpy_s]
add esp, 0x18
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
cmp eax, edi
jl 0x10081da0
call fcn.10082890
test eax, eax
je 0x10081dc6
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 0x10081b76
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 0x10081b86
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 0x10081da0
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 0x10081bb2
mov ecx, dword [eax]
jmp 0x10081bb4
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.10081150
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 0x10081b76
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 0x10081b76
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 0x10081c4f
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 0x10081da0
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 0x10081d8c
jmp 0x10081c98
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 0x10081d7e
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 0x10081d67
mov edx, dword [esp + 0x24]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10081d28
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 0x10081d67
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 0x10081d8c
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 0x10081c96
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.1012d370
mov esp, ebp
pop ebp
ret 4
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 0x10081b76
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 0x10081e3e
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 0x10081da0
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 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
cmp esi, edi
jge 0x10081d98
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
jmp 0x10081da0