Function at 0x10036a40
Capabilities:
Schedule task via itaskservice

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f48b8
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
push esi
push edi
mov eax, dword [0x101341c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
je 0x10037131
cmp dword [ebp + 0xc], 0
je 0x10037131
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
push 0x101052a0
push 0x17
push 0
push 0x10109e78
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x10036ac5
push eax
push str.Cant_CoCreateInstance_:_x
call fcn.10037a90
add esp, 8
xor esi, esi
jmp 0x10037108
lea eax, [ebp - 0x60]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x60], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
movups xmm0, xmmword [ebp - 0x60]
mov eax, dword [ebp - 0x14]
sub esp, 0x10
mov ecx, esp
mov byte [ebp - 4], 1
sub esp, 0x10
mov edx, dword [eax]
movups xmmword [ecx], xmm0
mov ecx, esp
sub esp, 0x10
movups xmmword [ecx], xmm0
mov ecx, esp
sub esp, 0x10
movups xmmword [ecx], xmm0
mov ecx, esp
push eax
movups xmmword [ecx], xmm0
call dword [edx + 0x28]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jns 0x10036b26
push eax
push str.Cant_Connect_:_x
call fcn.10037a90
add esp, 8
xor esi, esi
jmp 0x10037102
mov dword [ebp - 0x28], 0
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x38]
push 0x100fd860
mov byte [ebp - 4], 2
call fcn.10026dc0
mov eax, dword [eax]
mov byte [ebp - 4], 3
test eax, eax
je 0x10036b4f
mov ecx, dword [eax]
jmp 0x10036b51
xor ecx, ecx
mov eax, dword [esi]
lea edx, [ebp - 0x28]
push edx
push ecx
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x38]
mov esi, eax
call fcn.100271f0
test esi, esi
jns 0x10036b7f
push esi
push str.Cant_GetFolder_:_x
call fcn.10037a90
add esp, 8
xor esi, esi
jmp 0x100370f1
mov dword [ebp - 0x24], 0
mov esi, dword [ebp - 0x28]
lea ecx, [ebp - 0x38]
push 0x100fd860
mov byte [ebp - 4], 4
call fcn.10026dc0
mov eax, dword [eax]
mov byte [ebp - 4], 5
test eax, eax
je 0x10036ba8
mov ecx, dword [eax]
jmp 0x10036baa
xor ecx, ecx
mov eax, dword [esi]
lea edx, [ebp - 0x24]
push edx
push ecx
push esi
call dword [eax + 0x24]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
mov esi, eax
call fcn.100271f0
test esi, esi
jns 0x10036c11
push esi
push 0x100fd860
push str.Cant_GetFolder_:_s___x
call fcn.10037a90
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
movups xmm0, xmmword [ebp - 0x60]
add esp, 0xc
mov edx, dword [eax]
push ecx
sub esp, 0x10
mov ecx, esp
push 0x100fd860
push eax
movups xmmword [ecx], xmm0
call dword [edx + 0x2c]
test eax, eax
jns 0x10036c11
push eax
push str.Cant_CreateFolder_:_x
call fcn.10037a90
add esp, 8
xor esi, esi
jmp 0x100370e0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
push edx
push 0
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 6
call dword [ecx + 0x24]
test eax, eax
jns 0x10036c44
push eax
push str.Cant_NewTask_:_x
call fcn.10037a90
add esp, 8
xor esi, esi
jmp 0x100370cf
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x20]
push edx
push eax
mov byte [ebp - 4], 7
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
jns 0x10036c75
push eax
push str.Cant_get_Settings:__x
call fcn.10037a90
add esp, 8
xor esi, esi
jmp 0x100370be
mov esi, dword [ebp - 0x20]
mov eax, 0xb
mov word [ebp - 0x50], ax
xor eax, eax
mov word [ebp - 0x48], ax
mov edi, dword [esi]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 8
call fcn.10036940
movzx eax, ax
push eax
push esi
call dword [edi + 0x48]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, eax
lea eax, [ebp - 0x50]
push eax
call edi
test esi, esi
jns 0x10036cc4
push esi
push str.Cant_put_DisallowStartIfOnBatteries:__x
call fcn.10037a90
add esp, 8
xor esi, esi
jmp 0x100370be
mov esi, dword [ebp - 0x20]
mov eax, 0xb
mov word [ebp - 0x50], ax
xor eax, eax
mov word [ebp - 0x48], ax
mov edi, dword [esi]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 9
call fcn.10036940
movzx eax, ax
push eax
push esi
call dword [edi + 0x40]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, eax
lea eax, [ebp - 0x50]
push eax
call edi
test esi, esi
jns 0x10036d13
push esi
push str.Cant_put_StopIfGoingOnBatteries:__x
call fcn.10037a90
add esp, 8
xor esi, esi
jmp 0x100370be
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x34]
push edx
push eax
mov byte [ebp - 4], 0xa
mov ecx, dword [eax]
call dword [ecx + 0x24]
test eax, eax
jns 0x10036d44
push eax
push str.Cant_get_Triggers_:_x
call fcn.10037a90
add esp, 8
xor esi, esi
jmp 0x100370ad
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x40]
push edx
push 9
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0xb
call dword [ecx + 0x28]
test eax, eax
jns 0x10036d77
push eax
push str.Cant_CreateTask_:_x
call fcn.10037a90
add esp, 8
xor esi, esi
jmp 0x1003709c
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x30]
push edx
push eax
mov byte [ebp - 4], 0xc
mov ecx, dword [eax]
call dword [ecx + 0x44]
test eax, eax
jns 0x10036da8
push eax
push str.Cant_get_Actions_:_x
call fcn.10037a90
add esp, 8
xor esi, esi
jmp 0x1003708b
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
push edx
push 0
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0xd
call dword [ecx + 0x30]
test eax, eax
jns 0x10036ddb
push eax
push str.Cant_Create_action_:_x
call fcn.10037a90
add esp, 8
xor esi, esi
jmp 0x1003707a
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x1c]
call fcn.100365a0
push dword [ebp + 0xc]
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xe
call fcn.100365e0
push dword [eax]
mov ecx, dword [esi]
push esi
mov byte [ebp - 4], 0xf
call dword [ecx + 0x2c]
push dword [ebp + 0xc]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, eax
mov byte [ebp - 4], 0xe
call edi
test esi, esi
jns 0x10036e2e
push esi
push str.Cant_put_Path:_x
call fcn.10037a90
add esp, 8
xor esi, esi
jmp 0x10037063
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x10036e71
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp + 0xc]
push eax
call fcn.100365e0
push dword [eax]
mov ecx, dword [esi]
push esi
mov byte [ebp - 4], 0x10
call dword [ecx + 0x34]
push dword [ebp + 0xc]
mov esi, eax
mov byte [ebp - 4], 0xe
call edi
test esi, esi
jns 0x10036e71
push esi
push str.Cant_put_Arguments:_x
call fcn.10037a90
add esp, 8
xor esi, esi
jmp 0x10037063
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10036eb0
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp + 0xc]
push eax
call fcn.100365e0
push dword [eax]
mov ecx, dword [esi]
push esi
mov byte [ebp - 4], 0x11
call dword [ecx + 0x3c]
push dword [ebp + 0xc]
mov esi, eax
call edi
test esi, esi
jns 0x10036eb0
push esi
push str.Cant_put_WorkingDirectory:_x
call fcn.10037a90
add esp, 8
xor esi, esi
jmp 0x10037063
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x18]
push edx
push eax
mov byte [ebp - 4], 0x12
mov ecx, dword [eax]
call dword [ecx + 0x3c]
test eax, eax
jns 0x10036ee1
push eax
push str.Cant_get_Principal:_x
call fcn.10037a90
add esp, 8
xor esi, esi
jmp 0x10037052
mov eax, dword [ebp - 0x18]
push str.Users
mov dword [ebp + 0xc], eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp + 0x14], esi
test esi, esi
je 0x10037153
mov ecx, dword [ebp + 0xc]
push esi
push ecx
mov byte [ebp - 4], 0x13
mov eax, dword [ecx]
call dword [eax + 0x40]
push esi
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 0x12
call edi
mov eax, dword [ebp + 0xc]
test eax, eax
jns 0x10036f33
push eax
push str.Cant_put_GroupId:_x
call fcn.10037a90
add esp, 8
xor esi, esi
jmp 0x10037052
mov eax, dword [ebp - 0x18]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
test eax, eax
jns 0x10036f57
push eax
push str.Cant_put_RunLevel:_x
call fcn.10037a90
add esp, 8
xor esi, esi
jmp 0x10037052
mov dword [ebp - 0x3c], 0
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x80]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x80], xmm0
call esi
movups xmm0, xmmword [ebp - 0x80]
lea eax, [ebp - 0x70]
push eax
movups xmmword [ebp - 0x90], xmm0
xorps xmm0, xmm0
movups xmmword [ebp - 0x70], xmm0
call esi
movups xmm0, xmmword [ebp - 0x70]
lea eax, [ebp - 0x50]
push eax
movups xmmword [ebp - 0xa0], xmm0
xorps xmm0, xmm0
movups xmmword [ebp - 0x50], xmm0
call esi
movups xmm0, xmmword [ebp - 0x50]
mov esi, dword [ebp - 0x24]
lea ecx, [ebp + 0xc]
push dword [ebp + 8]
mov byte [ebp - 4], 0x17
movups xmmword [ebp - 0xb0], xmm0
call fcn.100365e0
mov ecx, dword [eax]
lea eax, [ebp - 0x3c]
movups xmm0, xmmword [ebp - 0x90]
push eax
mov edx, dword [esi]
sub esp, 0x10
mov eax, esp
mov byte [ebp - 4], 0x18
push 3
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebp - 0xa0]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0xb0]
push 6
push dword [ebp - 0x10]
movups xmmword [eax], xmm0
push ecx
push esi
call dword [edx + 0x44]
push dword [ebp + 0xc]
mov dword [ebp + 8], eax
call edi
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x50]
push eax
call esi
lea eax, [ebp - 0x70]
push eax
call esi
lea eax, [ebp - 0x80]
push eax
call esi
mov eax, dword [ebp + 8]
test eax, eax
jns 0x1003703c
push eax
push str.Cant_RegisterTaskDefinition:_x
call fcn.10037a90
add esp, 8
xor esi, esi
jmp 0x10037041
mov esi, 1
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 0x12
test eax, eax
je 0x10037052
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0xe
test eax, eax
je 0x10037063
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x10037074
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x1003708b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x1003709c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x100370ad
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 7
test eax, eax
je 0x100370be
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 6
test eax, eax
je 0x100370cf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 4
test eax, eax
je 0x100370e0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 2
test eax, eax
je 0x100370f1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 1
test eax, eax
je 0x10037102
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x60]
push eax
call edi
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x1003711c
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
push str.Name_or_Path_IsNULL
call fcn.10037a90
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
push 0x8007000e
call fcn.10003ad0
int3