Function at 0x10050220
Capabilities:
Schedule task via itaskservice

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010f298
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
push esi
push edi
mov eax, dword [0x1015746c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
je 0x10050911
cmp dword [ebp + 0xc], 0
je 0x10050911
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 0x1012624c
push 0x17
push 0
push 0x1012cdc8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x100502a5
push eax
push str.Cant_CoCreateInstance_:_x
call fcn.10051270
add esp, 8
xor esi, esi
jmp 0x100508e8
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 0x10050306
push eax
push str.Cant_Connect_:_x
call fcn.10051270
add esp, 8
xor esi, esi
jmp 0x100508e2
mov dword [ebp - 0x28], 0
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x38]
push 0x10118d3c
mov byte [ebp - 4], 2
call fcn.10041e90
mov eax, dword [eax]
mov byte [ebp - 4], 3
test eax, eax
je 0x1005032f
mov ecx, dword [eax]
jmp 0x10050331
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.100422c0
test esi, esi
jns 0x1005035f
push esi
push str.Cant_GetFolder_:_x
call fcn.10051270
add esp, 8
xor esi, esi
jmp 0x100508d1
mov dword [ebp - 0x24], 0
mov esi, dword [ebp - 0x28]
lea ecx, [ebp - 0x38]
push str.360safe
mov byte [ebp - 4], 4
call fcn.10041e90
mov eax, dword [eax]
mov byte [ebp - 4], 5
test eax, eax
je 0x10050388
mov ecx, dword [eax]
jmp 0x1005038a
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.100422c0
test esi, esi
jns 0x100503f1
push esi
push str.360safe
push str.Cant_GetFolder_:_s___x
call fcn.10051270
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 str.360safe
push eax
movups xmmword [ecx], xmm0
call dword [edx + 0x2c]
test eax, eax
jns 0x100503f1
push eax
push str.Cant_CreateFolder_:_x
call fcn.10051270
add esp, 8
xor esi, esi
jmp 0x100508c0
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 0x10050424
push eax
push str.Cant_NewTask_:_x
call fcn.10051270
add esp, 8
xor esi, esi
jmp 0x100508af
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 0x10050455
push eax
push str.Cant_get_Settings:__x
call fcn.10051270
add esp, 8
xor esi, esi
jmp 0x1005089e
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.10050120
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 0x100504a4
push esi
push str.Cant_put_DisallowStartIfOnBatteries:__x
call fcn.10051270
add esp, 8
xor esi, esi
jmp 0x1005089e
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.10050120
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 0x100504f3
push esi
push str.Cant_put_StopIfGoingOnBatteries:__x
call fcn.10051270
add esp, 8
xor esi, esi
jmp 0x1005089e
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 0x10050524
push eax
push str.Cant_get_Triggers_:_x
call fcn.10051270
add esp, 8
xor esi, esi
jmp 0x1005088d
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 0x10050557
push eax
push str.Cant_CreateTask_:_x
call fcn.10051270
add esp, 8
xor esi, esi
jmp 0x1005087c
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 0x10050588
push eax
push str.Cant_get_Actions_:_x
call fcn.10051270
add esp, 8
xor esi, esi
jmp 0x1005086b
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 0x100505bb
push eax
push str.Cant_Create_action_:_x
call fcn.10051270
add esp, 8
xor esi, esi
jmp 0x1005085a
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x1c]
call fcn.1004fd90
push dword [ebp + 0xc]
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xe
call fcn.1004fdd0
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 0x1005060e
push esi
push str.Cant_put_Path:_x
call fcn.10051270
add esp, 8
xor esi, esi
jmp 0x10050843
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x10050651
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp + 0xc]
push eax
call fcn.1004fdd0
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 0x10050651
push esi
push str.Cant_put_Arguments:_x
call fcn.10051270
add esp, 8
xor esi, esi
jmp 0x10050843
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10050690
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp + 0xc]
push eax
call fcn.1004fdd0
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 0x10050690
push esi
push str.Cant_put_WorkingDirectory:_x
call fcn.10051270
add esp, 8
xor esi, esi
jmp 0x10050843
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 0x100506c1
push eax
push str.Cant_get_Principal:_x
call fcn.10051270
add esp, 8
xor esi, esi
jmp 0x10050832
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 0x10050933
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 0x10050713
push eax
push str.Cant_put_GroupId:_x
call fcn.10051270
add esp, 8
xor esi, esi
jmp 0x10050832
mov eax, dword [ebp - 0x18]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
test eax, eax
jns 0x10050737
push eax
push str.Cant_put_RunLevel:_x
call fcn.10051270
add esp, 8
xor esi, esi
jmp 0x10050832
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.1004fdd0
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 0x1005081c
push eax
push str.Cant_RegisterTaskDefinition:_x
call fcn.10051270
add esp, 8
xor esi, esi
jmp 0x10050821
mov esi, 1
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 0x12
test eax, eax
je 0x10050832
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0xe
test eax, eax
je 0x10050843
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x10050854
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 0x1005086b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x1005087c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x1005088d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 7
test eax, eax
je 0x1005089e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 6
test eax, eax
je 0x100508af
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 4
test eax, eax
je 0x100508c0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 2
test eax, eax
je 0x100508d1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 1
test eax, eax
je 0x100508e2
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 0x100508fc
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.10051270
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.10004170
int3