Function at 0x1401e01a0
Capabilities:
Schedule task via itaskscheduler

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xe0
mov qword [rbp + 0x37], 0xfffffffffffffffe
mov qword [rsp + 0x100], rbx
mov rdi, rcx
xor esi, esi
mov qword [rbp + 0x7f], rsi
mov qword [rbp - 0x49], rsi
lea rax, [0x140348ca0]
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x51], rsi
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x20], rax
lea r9, [0x140302da0]
xor edx, edx
lea r8d, [rsi + 1]
lea rcx, [0x140302db0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1401e0216
mov edx, eax
lea rcx, str.CLSID_CTaskScheduler__08x_r_n
call fcn.1402ba358
jmp 0x1401e053c
mov rcx, qword [rbp + 0x7f]
mov rax, qword [rcx]
lea rdx, [rbp - 0x49]
call qword [rax + 0x28]
test eax, eax
js 0x1401e053c
call fcn.1400ec320
mov qword [rbp + 0x6f], rsi
lea rcx, [rbp + 0x6f]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftSchedulingAgent
mov rcx, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401e02bb
lea ecx, [rax + 0x10]
call fcn.1402b968c
mov rbx, rax
test rax, rax
je 0x1401e02bb
mov rcx, qword [rbp + 0x6f]
lea rax, vtable.Core::Win32::RegistryKey.0
mov qword [rbx], rax
mov qword [rbx + 8], rcx
lea r8, [rbp - 0x59]
lea rdx, str.TasksFolder
mov rcx, rbx
call fcn.1400d8b50
test al, al
je 0x1401e02ae
lea rdx, [rbp - 0x59]
call fcn.1401d64e0
mov rdx, qword [rbp - 0x59]
lea rcx, str.TaskFolder:__ls_r_n
call fcn.1402ba358
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
cmp dword [rbp - 0x4d], 0
jne 0x1401e02d2
lea rcx, str.Unable_to_resolve_TaskFolder_r_n
call fcn.1402ba358
jmp 0x1401e053c
mov qword [rbp + 0x77], rsi
mov dword [rbp + 0x6f], esi
mov rcx, qword [rbp - 0x49]
mov rax, qword [rcx]
lea r9, [rbp + 0x6f]
lea r8, [rbp + 0x77]
mov edx, 1
call qword [rax + 0x18]
test eax, eax
jne 0x1401e053c
mov rdx, qword [rbp + 0x77]
test rdx, rdx
je 0x1401e02d2
cmp dword [rbp + 0x6f], eax
jbe 0x1401e02d2
mov qword [rbp - 0x39], rsi
mov rcx, qword [rbp + 0x7f]
mov rax, qword [rcx]
lea r9, [rbp - 0x31]
lea r8, [0x140302d90]
mov rdx, qword [rdx]
call qword [rax + 0x30]
test eax, eax
js 0x1401e0520
mov qword [rbp - 0x41], rsi
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
lea rdx, [rbp - 0x41]
call qword [rax + 0x108]
test eax, eax
js 0x1401e03de
mov rdx, qword [rbp - 0x41]
lea rcx, [rbp - 0x29]
call fcn.1401fd200
nop
lea rdx, [rbp - 0x29]
call fcn.1401d64e0
mov r8b, 1
lea rdx, [rbp - 0x29]
mov rcx, qword [rdi + 8]
call fcn.1400f92f0
mov rbx, rax
test rax, rax
je 0x1401e03c4
mov rdx, qword [rbp + 0x77]
mov rdx, qword [rdx]
lea rcx, [rbp + 7]
call fcn.1401fd200
nop
lea r8, [rbp + 7]
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x19]
call fcn.1400d2bd0
nop
cmp dword [rbp + 0xf], 0
jle 0x1401e03a8
mov rcx, qword [rbp + 7]
call fcn.1402b9c20
lea rdx, [rbp - 0x19]
mov rcx, rbx
call fcn.1400ec540
nop
cmp dword [rbp - 0x11], 0
jle 0x1401e03c4
mov rcx, qword [rbp - 0x19]
call fcn.1402b9c20
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
cmp dword [rbp - 0x21], 0
jle 0x1401e03de
mov rcx, qword [rbp - 0x29]
call fcn.1402b9c20
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
lea rdx, [rbp - 0x39]
call qword [rax + 0x118]
test eax, eax
js 0x1401e0520
mov rdx, qword [rbp - 0x39]
lea rcx, [rbp - 0x69]
call fcn.1401fd200
nop
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 0x69]
call fcn.140201cc0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rbp - 0x69]
call fcn.1401ff260
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [rbp - 0x61]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [rbp - 0x69]
call fcn.1402bd21c
mov edx, dword [rbx + 0xc]
lea rcx, [rbp - 0x69]
call fcn.140200570
nop
cmp dword [rbp + 0x2f], 0
jle 0x1401e0455
mov rcx, qword [rbp + 0x27]
call fcn.1402b9c20
lea rdx, [rbp - 0x69]
call fcn.1401d64e0
cmp dword [rbp - 0x5d], 0
je 0x1401e0506
mov r8d, 1
lea rdx, [0x14034f004]
lea rcx, [rbp - 0x69]
call fcn.1402019e0
test al, al
jne 0x1401e0506
mov r8d, 1
lea rdx, [0x140350f5c]
lea rcx, [rbp - 0x69]
call fcn.1402019e0
test al, al
jne 0x1401e0506
mov r8b, 1
lea rdx, [rbp - 0x69]
mov rcx, qword [rdi + 8]
call fcn.1400f92f0
mov rbx, rax
test rax, rax
je 0x1401e0506
mov rdx, qword [rbp + 0x77]
mov rdx, qword [rdx]
lea rcx, [rbp - 9]
call fcn.1401fd200
nop
lea r8, [rbp - 9]
lea rdx, [rbp - 0x59]
lea rcx, [rbp + 0x17]
call fcn.1400d2bd0
nop
cmp dword [rbp - 1], 0
jle 0x1401e04ea
mov rcx, qword [rbp - 9]
call fcn.1402b9c20
lea rdx, [rbp + 0x17]
mov rcx, rbx
call fcn.1400ec540
nop
cmp dword [rbp + 0x1f], 0
jle 0x1401e0506
mov rcx, qword [rbp + 0x17]
call fcn.1402b9c20
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
cmp dword [rbp - 0x61], 0
jle 0x1401e0520
mov rcx, qword [rbp - 0x69]
call fcn.1402b9c20
mov rcx, qword [rbp + 0x77]
mov rcx, qword [rcx]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rbp + 0x77]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x1401e02d2
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x1401e054b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x1401e055b
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
cmp dword [rbp - 0x51], 0
jle 0x1401e056a
mov rcx, qword [rbp - 0x59]
call fcn.1402b9c20
mov al, 1
mov rbx, qword [rsp + 0x100]
add rsp, 0xe0
pop rdi
pop rsi
pop rbp
ret