Function at 0x1400fe5d4
Capabilities:
Schedule task via itaskscheduler

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x1401e7e78]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov r15, r9
mov r14, r8
mov bl, dl
mov rdi, rcx
mov r12, qword [rbp + 0x110]
mov rsi, qword [rbp + 0x118]
lea r13, [rcx + 0x10]
lea rdx, str._NetSchedulerTask_
mov rcx, r13
call fcn.14013825c
lea rcx, [rdi + 0x18]
mov rdx, r15
call fcn.14013825c
lea rcx, [rdi + 0x20]
mov rdx, r12
call fcn.14013825c
lea rcx, [rdi + 0x28]
mov rdx, rsi
call fcn.14013825c
test bl, bl
jne 0x1400fe664
lea rdx, str.TaskScheduler_v1.0_must_not_be_user_to_run_process_demoted_
jmp 0x1400fe95b
mov edx, 1
mov rcx, qword [0x14021c740]
call fcn.140087888
test eax, eax
je 0x1400fe6eb
lea rax, [0x1401681a8]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rsi
lea rax, str.__Dir:__
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
lea rax, str.___Args:
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, str.___Exe:__
mov r8, r14
lea rdx, str.Scheduler:_Creating_Task:__
lea rcx, [rsp + 0x58]
call fcn.140120be0
nop
lea rcx, [rsp + 0x58]
call fcn.140058574
mov rcx, rax
mov r8b, 1
mov dl, r8b
call fcn.14002b004
nop
lea rcx, [rsp + 0x58]
call fcn.140120ddc
mov ecx, 0x10
call fcn.14011ff78
mov qword [rsp + 0x50], rax
xor esi, esi
test rax, rax
je 0x1400fe715
lea rdx, str.Netapi32.dll
mov rcx, rax
call fcn.1401238d8
mov rbx, rax
jmp 0x1400fe718
mov rbx, rsi
mov qword [rdi + 0x48], rbx
test rbx, rbx
je 0x1400fe954
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400fe747
lea rdx, str.NetScheduleJobAdd
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x50], rax
test rax, rax
je 0x1400fe74b
mov eax, esi
jmp 0x1400fe751
mov qword [rdi + 0x50], rsi
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0xc], eax
cmp qword [rdi + 0x50], rsi
je 0x1400fe954
mov rbx, qword [rdi + 0x48]
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400fe784
lea rdx, str.NetScheduleJobDel
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x58], rax
test rax, rax
je 0x1400fe788
mov eax, esi
jmp 0x1400fe78e
mov qword [rdi + 0x58], rsi
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0xc], eax
cmp qword [rdi + 0x58], rsi
je 0x1400fe954
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [rdi + 8], eax
test eax, eax
jns 0x1400fe7b8
lea rdx, str.CoInitializeEx_failed.
jmp 0x1400fe95b
mov byte [rdi + 0xc], 1
lea r14, [rdi + 0x30]
mov qword [rsp + 0x20], r14
lea r9, [0x1401ae750]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1401ae770]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rdi + 8], eax
test eax, eax
jns 0x1400fe7f2
lea rdx, str.Failed_to_CoCreate_an_instance_of_the_TaskService_class.
jmp 0x1400fe95b
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r12
lea r9, [0x14016b500]
mov r8, r15
lea rdx, [0x14016b508]
lea rcx, [rsp + 0x58]
call fcn.140120be0
nop
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x78], rax
or r15d, 0xffffffff
mov dword [rsp + 0x50], r15d
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x68]
xor ecx, ecx
call qword [rdi + 0x50]
test eax, eax
je 0x1400fe88f
mov r8d, eax
lea rdx, str.NetScheduleJobAdd_failed__rc_u
lea rcx, [rbp - 0x50]
call fcn.140003da0
or dword [rdi + 8], 0xffffffff
lea rdx, [rbp - 0x50]
mov rcx, rdi
call fcn.1400ff3b8
nop
lea rcx, [rsp + 0x58]
call fcn.140120ddc
jmp 0x1400fe963
mov r8d, dword [rsp + 0x50]
lea rdx, str.At_u
lea rcx, [rbp - 0x80]
call fcn.140001138
lea rdx, [rbp - 0x80]
mov rcx, r13
call fcn.14013825c
mov r8d, dword [rsp + 0x50]
lea rdx, str.Scheduler:_NetScheduleJobAdd_succeeded__jobId_u
lea rcx, [rbp - 0x50]
call fcn.140003da0
mov r8b, 1
mov dl, r8b
lea rcx, [rbp - 0x50]
call fcn.14002b004
lea rsi, [rdi + 0x38]
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400fe8ea
mov rax, qword [rcx]
call qword [rax + 0x10]
and qword [rsi], 0
mov rbx, qword [r14]
test rbx, rbx
je 0x1400fe922
mov rbx, qword [rbx]
mov rcx, r13
call fcn.140058574
mov rdx, rax
mov r9, rsi
lea r8, [0x1401ae740]
mov rcx, qword [r14]
call qword [rbx + 0x30]
mov dword [rdi + 8], eax
test eax, eax
js 0x1400fe929
cmp qword [rsi], 0
je 0x1400fe929
jmp 0x1400fe880
mov dword [rdi + 8], 0x80004003
mov r8d, dword [rsp + 0x50]
lea rdx, str.NetScheduleJobAdd_succeeded__jobId_u__but_ITask_is_not_found
lea rcx, [rbp - 0x50]
call fcn.140003da0
mov edx, dword [rsp + 0x50]
mov r8d, edx
xor ecx, ecx
call qword [rdi + 0x58]
mov dword [rsp + 0x50], r15d
jmp 0x1400fe873
lea rdx, str.Failed_to_initialize_Netapi32_library_
mov rcx, rdi
call fcn.1400ff3b8
mov eax, dword [rdi + 8]
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.140139b10
mov rbx, qword [rsp + 0x1f8]
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret