Function at 0x10017073
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 0x100170b0
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 0x10020380
push 1
push esi
push 0x10020590
mov dword [esp + 0x20], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x100170fc
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 0x100171ca
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0xfffffffffffffffd
jmp 0x100170ec
lea edx, [esp + 0x18]
push edx
push 0x10020c48
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 0x100171f5
push 0xfffffffffffffffc
jmp 0x100170ec
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 0x10017221
push 0xfffffffffffffffb
jmp 0x100170ec
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 0x100172f7
jmp 0x10017244
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 0x100172e9
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 0x100172df
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 0x100172df
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 0x100172df
cmp dword [esp + 0x2c], esi
jne 0x100172f7
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 0x10017242
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [esp + 0x24]
jmp 0x100170ed