Function at 0x1401cc780
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, [0x140323de0]
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x51], rsi
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x20], rax
lea r9, [0x1402dfda0]
xor edx, edx
lea r8d, [rsi + 1]
lea rcx, [0x1402dfdb0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1401cc7f6
mov edx, eax
lea rcx, str.CLSID_CTaskScheduler__08x_r_n
call fcn.140298d38
jmp 0x1401ccb1c
mov rcx, qword [rbp + 0x7f]
mov rax, qword [rcx]
lea rdx, [rbp - 0x49]
call qword [rax + 0x28]
test eax, eax
js 0x1401ccb1c
call fcn.1400ecf00
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 0x1401cc89b
lea ecx, [rax + 0x10]
call fcn.14029806c
mov rbx, rax
test rax, rax
je 0x1401cc89b
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.1400d5720
test al, al
je 0x1401cc88e
lea rdx, [rbp - 0x59]
call fcn.1401c36c0
mov rdx, qword [rbp - 0x59]
lea rcx, str.TaskFolder:__ls_r_n
call fcn.140298d38
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
cmp dword [rbp - 0x4d], 0
jne 0x1401cc8b2
lea rcx, str.Unable_to_resolve_TaskFolder_r_n
call fcn.140298d38
jmp 0x1401ccb1c
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 0x1401ccb1c
mov rdx, qword [rbp + 0x77]
test rdx, rdx
je 0x1401cc8b2
cmp dword [rbp + 0x6f], eax
jbe 0x1401cc8b2
mov qword [rbp - 0x39], rsi
mov rcx, qword [rbp + 0x7f]
mov rax, qword [rcx]
lea r9, [rbp - 0x31]
lea r8, [0x1402dfd90]
mov rdx, qword [rdx]
call qword [rax + 0x30]
test eax, eax
js 0x1401ccb00
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 0x1401cc9be
mov rdx, qword [rbp - 0x41]
lea rcx, [rbp - 0x29]
call fcn.1401e6fd0
nop
lea rdx, [rbp - 0x29]
call fcn.1401c36c0
mov r8b, 1
lea rdx, [rbp - 0x29]
mov rcx, qword [rdi + 8]
call fcn.1400f9eb0
mov rbx, rax
test rax, rax
je 0x1401cc9a4
mov rdx, qword [rbp + 0x77]
mov rdx, qword [rdx]
lea rcx, [rbp + 7]
call fcn.1401e6fd0
nop
lea r8, [rbp + 7]
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x19]
call fcn.1400d1690
nop
cmp dword [rbp + 0xf], 0
jle 0x1401cc988
mov rcx, qword [rbp + 7]
call fcn.140298600
lea rdx, [rbp - 0x19]
mov rcx, rbx
call fcn.1400ed120
nop
cmp dword [rbp - 0x11], 0
jle 0x1401cc9a4
mov rcx, qword [rbp - 0x19]
call fcn.140298600
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
cmp dword [rbp - 0x21], 0
jle 0x1401cc9be
mov rcx, qword [rbp - 0x29]
call fcn.140298600
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
lea rdx, [rbp - 0x39]
call qword [rax + 0x118]
test eax, eax
js 0x1401ccb00
mov rdx, qword [rbp - 0x39]
lea rcx, [rbp - 0x69]
call fcn.1401e6fd0
nop
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 0x69]
call fcn.1401eb9e0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rbp - 0x69]
call fcn.1401e9030
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.14029b4d8
mov edx, dword [rbx + 0xc]
lea rcx, [rbp - 0x69]
call fcn.1401ea290
nop
cmp dword [rbp + 0x2f], 0
jle 0x1401cca35
mov rcx, qword [rbp + 0x27]
call fcn.140298600
lea rdx, [rbp - 0x69]
call fcn.1401c36c0
cmp dword [rbp - 0x5d], 0
je 0x1401ccae6
mov r8d, 1
lea rdx, [0x140329d94]
lea rcx, [rbp - 0x69]
call fcn.1401eb700
test al, al
jne 0x1401ccae6
mov r8d, 1
lea rdx, [0x14032bd2c]
lea rcx, [rbp - 0x69]
call fcn.1401eb700
test al, al
jne 0x1401ccae6
mov r8b, 1
lea rdx, [rbp - 0x69]
mov rcx, qword [rdi + 8]
call fcn.1400f9eb0
mov rbx, rax
test rax, rax
je 0x1401ccae6
mov rdx, qword [rbp + 0x77]
mov rdx, qword [rdx]
lea rcx, [rbp - 9]
call fcn.1401e6fd0
nop
lea r8, [rbp - 9]
lea rdx, [rbp - 0x59]
lea rcx, [rbp + 0x17]
call fcn.1400d1690
nop
cmp dword [rbp - 1], 0
jle 0x1401ccaca
mov rcx, qword [rbp - 9]
call fcn.140298600
lea rdx, [rbp + 0x17]
mov rcx, rbx
call fcn.1400ed120
nop
cmp dword [rbp + 0x1f], 0
jle 0x1401ccae6
mov rcx, qword [rbp + 0x17]
call fcn.140298600
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
cmp dword [rbp - 0x61], 0
jle 0x1401ccb00
mov rcx, qword [rbp - 0x69]
call fcn.140298600
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 0x1401cc8b2
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x1401ccb2b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x1401ccb3b
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
cmp dword [rbp - 0x51], 0
jle 0x1401ccb4a
mov rcx, qword [rbp - 0x59]
call fcn.140298600
mov al, 1
mov rbx, qword [rsp + 0x100]
add rsp, 0xe0
pop rdi
pop rsi
pop rbp
ret