Function at 0x10010686
Capabilities:
Schedule task via itaskservice

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x294
push ebx
push esi
push edi
push 0x100
lea eax, [esp + 0xa4]
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
xor esi, esi
push esi
push esi
mov dword [esp + 0x3c], esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
jle 0x100106c3
xor ecx, ecx
mov word [esp + eax*2 + 0xa0], cx
push esi
push esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
push esi
push esi
push esi
push 3
push 6
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [esp + 0xc]
push eax
push 0x1001c318
push 1
push esi
push 0x1001c528
mov dword [esp + 0x20], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1001070f
push 0xfffffffffffffffe
pop esi
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [esp + 0x40]
push eax
call ebx
lea esi, [esp + 0x40]
lea edi, [esp + 0x70]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x50]
push eax
movsd dword es:[edi], dword [esi]
call ebx
lea esi, [esp + 0x50]
lea edi, [esp + 0x90]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x60]
push eax
movsd dword es:[edi], dword [esi]
call ebx
lea esi, [esp + 0x60]
lea edi, [esp + 0x80]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x30]
push eax
movsd dword es:[edi], dword [esi]
call ebx
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x80]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0xb0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
mov eax, dword [esp + 0x3c]
lea esi, [esp + 0xb0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x70]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x28]
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edi, eax
lea eax, [esp + 0x30]
push eax
call ebx
lea eax, [esp + 0x60]
push eax
call ebx
lea eax, [esp + 0x50]
push eax
call ebx
lea eax, [esp + 0x40]
push eax
call ebx
mov eax, dword [esp + 0xc]
xor esi, esi
cmp edi, esi
jge 0x100107dd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0xfffffffffffffffd
jmp 0x100106ff
lea edx, [esp + 0x18]
push edx
push 0x1001cba0
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov edi, eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, esi
jge 0x10010808
push 0xfffffffffffffffc
jmp 0x100106ff
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
push 1
mov dword [esp + 0x1c], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x38]
mov edi, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, esi
jge 0x10010834
push 0xfffffffffffffffb
jmp 0x100106ff
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
xor eax, eax
cmp dword [esp + 0x1c], esi
jle 0x1001090a
jmp 0x10010857
xor esi, esi
push 3
pop ecx
mov dword [esp + 0x10], esi
lea edx, [esp + 0x10]
push edx
mov word [esp + 0x34], cx
inc eax
mov dword [esp + 0x3c], eax
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x44]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x20]
mov esi, eax
lea eax, [esp + 0x30]
push eax
call ebx
test esi, esi
js 0x100108fc
mov eax, dword [esp + 0x10]
and dword [esp + 0x20], 0
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
js 0x100108f2
push dword [esp + 0x20]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [esp + 0x20]
lea eax, [esp + 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x100108f2
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
xor esi, esi
push edx
inc esi
push eax
mov dword [esp + 0x2c], esi
call dword [ecx + 0x24]
test eax, eax
js 0x100108f2
cmp dword [esp + 0x2c], esi
jne 0x1001090a
and dword [esp + 0x24], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x1c]
jl 0x10010855
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [esp + 0x24]
jmp 0x10010700