Function at 0x1401e23d0
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, [0x14034d1a0]
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x51], rsi
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x20], rax
lea r9, [0x140306e00]
xor edx, edx
lea r8d, [rsi + 1]
lea rcx, [0x140306e10]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1401e2446
mov edx, eax
lea rcx, str.CLSID_CTaskScheduler__08x_r_n
call fcn.1402bd818
jmp 0x1401e276c
mov rcx, qword [rbp + 0x7f]
mov rax, qword [rcx]
lea rdx, [rbp - 0x49]
call qword [rax + 0x28]
test eax, eax
js 0x1401e276c
call fcn.1400ed890
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 0x1401e24eb
lea ecx, [rax + 0x10]
call fcn.1402bcb4c
mov rbx, rax
test rax, rax
je 0x1401e24eb
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.1400d9fd0
test al, al
je 0x1401e24de
lea rdx, [rbp - 0x59]
call fcn.1401d86e0
mov rdx, qword [rbp - 0x59]
lea rcx, str.TaskFolder:__ls_r_n
call fcn.1402bd818
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
cmp dword [rbp - 0x4d], 0
jne 0x1401e2502
lea rcx, str.Unable_to_resolve_TaskFolder_r_n
call fcn.1402bd818
jmp 0x1401e276c
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 0x1401e276c
mov rdx, qword [rbp + 0x77]
test rdx, rdx
je 0x1401e2502
cmp dword [rbp + 0x6f], eax
jbe 0x1401e2502
mov qword [rbp - 0x39], rsi
mov rcx, qword [rbp + 0x7f]
mov rax, qword [rcx]
lea r9, [rbp - 0x31]
lea r8, [0x140306df0]
mov rdx, qword [rdx]
call qword [rax + 0x30]
test eax, eax
js 0x1401e2750
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 0x1401e260e
mov rdx, qword [rbp - 0x41]
lea rcx, [rbp - 0x29]
call fcn.140200840
nop
lea rdx, [rbp - 0x29]
call fcn.1401d86e0
mov r8b, 1
lea rdx, [rbp - 0x29]
mov rcx, qword [rdi + 8]
call fcn.1400fa8d0
mov rbx, rax
test rax, rax
je 0x1401e25f4
mov rdx, qword [rbp + 0x77]
mov rdx, qword [rdx]
lea rcx, [rbp + 7]
call fcn.140200840
nop
lea r8, [rbp + 7]
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x19]
call fcn.1400d4050
nop
cmp dword [rbp + 0xf], 0
jle 0x1401e25d8
mov rcx, qword [rbp + 7]
call fcn.1402bd0e0
lea rdx, [rbp - 0x19]
mov rcx, rbx
call fcn.1400edab0
nop
cmp dword [rbp - 0x11], 0
jle 0x1401e25f4
mov rcx, qword [rbp - 0x19]
call fcn.1402bd0e0
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
cmp dword [rbp - 0x21], 0
jle 0x1401e260e
mov rcx, qword [rbp - 0x29]
call fcn.1402bd0e0
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
lea rdx, [rbp - 0x39]
call qword [rax + pe_nt_image_headers64]
test eax, eax
js 0x1401e2750
mov rdx, qword [rbp - 0x39]
lea rcx, [rbp - 0x69]
call fcn.140200840
nop
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 0x69]
call fcn.140205300
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rbp - 0x69]
call fcn.1402028a0
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.1402c06dc
mov edx, dword [rbx + 0xc]
lea rcx, [rbp - 0x69]
call fcn.140203bb0
nop
cmp dword [rbp + 0x2f], 0
jle 0x1401e2685
mov rcx, qword [rbp + 0x27]
call fcn.1402bd0e0
lea rdx, [rbp - 0x69]
call fcn.1401d86e0
cmp dword [rbp - 0x5d], 0
je 0x1401e2736
mov r8d, 1
lea rdx, [0x140352e14]
lea rcx, [rbp - 0x69]
call fcn.140205020
test al, al
jne 0x1401e2736
mov r8d, 1
lea rdx, [0x140354db0]
lea rcx, [rbp - 0x69]
call fcn.140205020
test al, al
jne 0x1401e2736
mov r8b, 1
lea rdx, [rbp - 0x69]
mov rcx, qword [rdi + 8]
call fcn.1400fa8d0
mov rbx, rax
test rax, rax
je 0x1401e2736
mov rdx, qword [rbp + 0x77]
mov rdx, qword [rdx]
lea rcx, [rbp - 9]
call fcn.140200840
nop
lea r8, [rbp - 9]
lea rdx, [rbp - 0x59]
lea rcx, [rbp + 0x17]
call fcn.1400d4050
nop
cmp dword [rbp - 1], 0
jle 0x1401e271a
mov rcx, qword [rbp - 9]
call fcn.1402bd0e0
lea rdx, [rbp + 0x17]
mov rcx, rbx
call fcn.1400edab0
nop
cmp dword [rbp + 0x1f], 0
jle 0x1401e2736
mov rcx, qword [rbp + 0x17]
call fcn.1402bd0e0
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
cmp dword [rbp - 0x61], 0
jle 0x1401e2750
mov rcx, qword [rbp - 0x69]
call fcn.1402bd0e0
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 0x1401e2502
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x1401e277b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x1401e278b
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
cmp dword [rbp - 0x51], 0
jle 0x1401e279a
mov rcx, qword [rbp - 0x59]
call fcn.1402bd0e0
mov al, 1
mov rbx, qword [rsp + 0x100]
add rsp, 0xe0
pop rdi
pop rsi
pop rbp
ret