Function at 0x1400f3940
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 [0x1401f5698]
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.14012a1c4
lea rcx, [rdi + 0x18]
mov rdx, r15
call fcn.14012a1c4
lea rcx, [rdi + 0x20]
mov rdx, r12
call fcn.14012a1c4
lea rcx, [rdi + 0x28]
mov rdx, rsi
call fcn.14012a1c4
test bl, bl
jne 0x1400f39d0
lea rdx, str.TaskScheduler_v1.0_must_not_be_user_to_run_process_demoted_
jmp 0x1400f3ca7
mov edx, 1
mov rcx, qword [0x14022ab50]
call fcn.14007f158
xor ebx, ebx
test eax, eax
je 0x1400f3a59
lea rax, [0x140175e48]
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.140114ba8
nop
lea rcx, [rsp + 0x58]
call fcn.140054ee8
mov rcx, rax
mov r8b, 1
mov dl, r8b
call fcn.1400296e4
nop
lea rcx, [rsp + 0x58]
call fcn.140114ca4
mov ecx, 0x10
call fcn.140113d08
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400f3a7e
lea rdx, str.Netapi32.dll
mov rcx, rax
call fcn.140116be8
jmp 0x1400f3a81
mov rax, rbx
mov qword [rdi + 0x48], rax
test rax, rax
je 0x1400f3ca0
mov rcx, qword [rax]
test rcx, rcx
je 0x1400f3c9c
lea rdx, str.NetScheduleJobAdd
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x50], rax
test rax, rax
je 0x1400f3ca0
mov rax, qword [rdi + 0x48]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400f3c96
lea rdx, str.NetScheduleJobDel
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x58], rax
test rax, rax
je 0x1400f3ca0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [rdi + 8], eax
test eax, eax
jns 0x1400f3afb
lea rdx, str.CoInitializeEx_failed.
jmp 0x1400f3ca7
mov byte [rdi + 0xc], 1
lea r14, [rdi + 0x30]
mov qword [rsp + 0x20], r14
lea r9, [0x1401bc230]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1401bc250]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rdi + 8], eax
test eax, eax
jns 0x1400f3b35
lea rdx, str.Failed_to_CoCreate_an_instance_of_the_TaskService_class.
jmp 0x1400f3ca7
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r12
lea r9, [0x140179210]
mov r8, r15
lea rdx, [0x140179218]
lea rcx, [rsp + 0x58]
call fcn.140114ba8
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 0x1400f3bd2
mov r8d, eax
lea rdx, str.NetScheduleJobAdd_failed__rc_u
lea rcx, [rbp - 0x50]
call fcn.140003ab0
or dword [rdi + 8], 0xffffffff
lea rdx, [rbp - 0x50]
mov rcx, rdi
call fcn.1400f473c
nop
lea rcx, [rsp + 0x58]
call fcn.140114ca4
jmp 0x1400f3caf
mov r8d, dword [rsp + 0x50]
lea rdx, str.At_u
lea rcx, [rbp - 0x80]
call fcn.140001148
lea rdx, [rbp - 0x80]
mov rcx, r13
call fcn.14012a1c4
mov r8d, dword [rsp + 0x50]
lea rdx, str.Scheduler:_NetScheduleJobAdd_succeeded__jobId_u
lea rcx, [rbp - 0x50]
call fcn.140003ab0
mov r8b, 1
mov dl, r8b
lea rcx, [rbp - 0x50]
call fcn.1400296e4
lea rsi, [rdi + 0x38]
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400f3c2c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsi], rbx
mov rbx, qword [r14]
test rbx, rbx
je 0x1400f3c64
mov rbx, qword [rbx]
mov rcx, r13
call fcn.140054ee8
mov rdx, rax
mov r9, rsi
lea r8, [0x1401bc220]
mov rcx, qword [r14]
call qword [rbx + 0x30]
mov dword [rdi + 8], eax
test eax, eax
js 0x1400f3c6b
cmp qword [rsi], 0
je 0x1400f3c6b
jmp 0x1400f3bc3
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.140003ab0
mov edx, dword [rsp + 0x50]
mov r8d, edx
xor ecx, ecx
call qword [rdi + 0x58]
mov dword [rsp + 0x50], r15d
jmp 0x1400f3bb6
mov qword [rdi + 0x58], rbx
jmp 0x1400f3ca0
mov qword [rdi + 0x50], rbx
lea rdx, str.Failed_to_initialize_Netapi32_library_
mov rcx, rdi
call fcn.1400f473c
mov eax, dword [rdi + 8]
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.14012bda0
mov rbx, qword [rsp + 0x1f8]
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret