Function at 0x140223170
Capabilities:
Schedule task via itaskscheduler

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
mov rax, qword [rbp + 0x68]
xor ecx, ecx
mov r14, r9
mov rbx, r8
mov edi, ecx
test rax, rax
je 0x1402231a2
mov qword [rax], rcx
mov r13, qword [rbp + 0x70]
test r13, r13
je 0x1402231af
mov qword [r13], rcx
mov r12, qword [rbp + 0x78]
test r12, r12
je 0x1402231bc
mov qword [r12], rcx
mov r15, qword [rbp + 0x80]
test r15, r15
je 0x1402231cb
mov qword [r15], rcx
test r14, r14
je 0x1402231d3
mov dword [r9], ecx
mov rsi, qword [rbp + 0x60]
test rsi, rsi
je 0x1402231de
mov dword [rsi], ecx
test rbx, rbx
je 0x14022320c
cmp word [r8], 0x30
jne 0x14022320c
xor eax, eax
mov qword [r8], rax
mov qword [r8 + 8], rax
mov qword [r8 + 0x10], rax
mov qword [r8 + 0x18], rax
mov qword [r8 + 0x20], rax
mov qword [r8 + 0x28], rax
mov eax, PathResolve
mov word [r8], ax
call qword [sym.imp.ole32.dll_CoInitialize]
cmp eax, 1
ja 0x140223551
xor edx, edx
lea rax, [rbp + 0x50]
lea r9, [0x1402c2e20]
mov qword [rsp + 0x20], rax
lea rcx, [0x1402c2e40]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140223547
mov rcx, qword [rbp + 0x50]
lea r9, [rbp + 0x60]
mov rdx, qword [rbp + 0x48]
lea r8, [0x1402c2e10]
mov qword [rbp + 0x60], rdi
mov rax, qword [rcx]
call qword [rax + 0x30]
cmp qword [rbp + 0x60], rdi
je 0x14022353d
mov edi, 1
test rsi, rsi
jne 0x140223280
test r14, r14
je 0x140223307
mov rcx, qword [rbp + 0x60]
lea rdx, [rbp + 0x80]
mov dword [rbp + 0x80], 0
mov rax, qword [rcx]
call qword [rax + 0xe8]
test eax, eax
js 0x14022352f
mov ecx, dword [rbp + 0x80]
test r14, r14
je 0x1402232bb
mov eax, ecx
shr eax, 0xc
and eax, edi
mov dword [r14], eax
test rsi, rsi
je 0x140223307
and ecx, 0x10
mov dword [rbp + 0x80], ecx
je 0x140223307
mov rcx, qword [rbp + 0x60]
lea r8, [rbp + 0x70]
xor r14d, r14d
lea rdx, [rbp + 0x78]
mov word [rbp + 0x78], r14w
mov word [rbp + 0x70], r14w
mov rax, qword [rcx]
call qword [rax + 0x58]
test eax, eax
js 0x1402232ff
movzx ecx, word [rbp + 0x70]
movzx eax, word [rbp + 0x78]
shl ecx, 0x10
or ecx, eax
mov dword [rsi], ecx
jmp 0x14022330a
mov edi, r14d
jmp 0x140223533
xor r14d, r14d
test rbx, rbx
je 0x140223355
cmp word [rbx], 0x30
jne 0x1402232ff
mov rcx, qword [rbp + 0x60]
lea rdx, [rbp + 0x70]
mov rax, qword [rcx]
call qword [rax + 0x28]
cmp word [rbp + 0x70], 0
je 0x140223355
mov rcx, qword [rbp + 0x60]
lea r8, [rbp + 0x78]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x30]
test eax, eax
js 0x1402232ff
mov rcx, qword [rbp + 0x78]
mov rdx, rbx
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, qword [rbp + 0x78]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rsi, qword [rbp + 0x68]
mov rbx, 0xffffffffffffffff
test rsi, rsi
je 0x1402233d4
mov rcx, qword [rbp + 0x60]
lea rdx, [rbp + 0x70]
mov qword [rbp + 0x70], r14
mov rax, qword [rcx]
call qword [rax + 0x108]
mov rax, qword [rbp + 0x70]
test rax, rax
je 0x1402232ff
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140223390
mov rcx, 0xffffffffffffffff
inc rbx
mov eax, 2
mul rbx
cmovo rax, rcx
mov rcx, rax
call fcn.140247068
mov r8, qword [rbp + 0x70]
mov rdx, rbx
mov rcx, rax
mov qword [rsi], rax
call fcn.140251ec0
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test r13, r13
je 0x140223445
mov rcx, qword [rbp + 0x60]
lea rdx, [rbp + 0x70]
mov qword [rbp + 0x70], r14
mov rax, qword [rcx]
call qword [rax + 0x118]
mov rax, qword [rbp + 0x70]
test rax, rax
je 0x1402232ff
mov rsi, 0xffffffffffffffff
mov rbx, rsi
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140223405
inc rbx
mov eax, 2
mul rbx
cmovo rax, rsi
mov rcx, rax
call fcn.140247068
mov r8, qword [rbp + 0x70]
mov rdx, rbx
mov rcx, rax
mov qword [r13], rax
call fcn.140251ec0
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x14022344c
mov rsi, 0xffffffffffffffff
test r12, r12
je 0x1402234be
mov rcx, qword [rbp + 0x60]
lea rdx, [rbp + 0x70]
mov qword [rbp + 0x70], r14
mov rax, qword [rcx]
call qword [rax + 0x98]
test eax, eax
js 0x1402232ff
mov rax, qword [rbp + 0x70]
test rax, rax
je 0x1402234be
mov rbx, rsi
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140223480
inc rbx
mov eax, 2
mul rbx
cmovo rax, rsi
mov rcx, rax
call fcn.140247068
mov r8, qword [rbp + 0x70]
mov rdx, rbx
mov rcx, rax
mov qword [r12], rax
call fcn.140251ec0
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test r15, r15
je 0x140223533
mov rcx, qword [rbp + 0x60]
lea rdx, [rbp + 0x70]
mov qword [rbp + 0x70], r14
mov rax, qword [rcx]
call qword [rax + 0xf8]
test eax, eax
js 0x1402232ff
mov rax, qword [rbp + 0x70]
test rax, rax
je 0x140223533
mov rbx, rsi
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1402234f0
inc rbx
mov eax, 2
mul rbx
cmovo rax, rsi
mov rcx, rax
call fcn.140247068
mov r8, qword [rbp + 0x70]
mov rdx, rbx
mov rcx, rax
mov qword [r15], rax
call fcn.140251ec0
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x140223533
xor eax, eax
mov edi, eax
mov rcx, qword [rbp + 0x60]
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [rbp + 0x50]
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
call qword [sym.imp.ole32.dll_CoUninitialize]
test edi, edi
jne 0x1402235b3
mov rbx, qword [rbp + 0x68]
test rbx, rbx
je 0x14022356e
mov rcx, qword [rbx]
mov edx, 2
call fcn.140247060
xor esi, esi
mov qword [rbx], rsi
jmp 0x140223570
xor esi, esi
test r13, r13
je 0x140223587
mov rcx, qword [r13]
mov edx, 2
call fcn.140247060
mov qword [r13], rsi
test r12, r12
je 0x14022359e
mov rcx, qword [r12]
mov edx, 2
call fcn.140247060
mov qword [r12], rsi
test r15, r15
je 0x1402235b3
mov rcx, qword [r15]
mov edx, 2
call fcn.140247060
mov qword [r15], rsi
mov rbx, qword [rsp + 0x70]
mov eax, edi
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret