Function at 0x18002cdf8
Capabilities:
Schedule task via itaskscheduler

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
sub rsp, 0x60
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov ebx, edx
and qword [rax - 0x48], 0
lea rdx, str.SBWUpdateTask_Logon_
lea rcx, [rax + 0x18]
call fcn.1800041c0
nop
test ebx, ebx
jne 0x18002ce4e
lea rcx, str.SBWUpdateTask_Time_
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r8, str.SBWUpdateTask_Time_
mov edx, eax
lea rcx, [rsp + 0x90]
call fcn.180003e28
mov rax, qword [0x18015f768]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x38]
lea rcx, [0x18015f720]
call fcn.1800cf560
mov rbx, qword [rsp + 0x38]
mov r8, rbx
mov edx, dword [rbx - 8]
lea rcx, [rsp + 0x90]
call fcn.180008324
lea r11, [rsp + 0x30]
mov qword [rsp + 0x20], r11
lea r9, [0x180119b88]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x180119ba8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x18002cef9
lea rcx, [rbx - 0xc]
lea rsi, [0x18015f758]
or edi, 0xffffffff
cmp rcx, rsi
je 0x18002ced0
mov eax, edi
lock xadd dword [rcx], eax
add eax, edi
test eax, eax
jg 0x18002ced0
call fcn.1800d1434
nop
mov rcx, qword [rsp + 0x90]
add rcx, 0xfffffffffffffff4
cmp rcx, rsi
je 0x18002cef2
mov eax, edi
lock xadd dword [rcx], eax
add eax, edi
test eax, eax
jg 0x18002cef2
call fcn.1800d1434
xor eax, eax
jmp 0x18002d0ec
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + 0x28]
mov edi, eax
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
test edi, edi
jns 0x18002cf68
lea rcx, [rbx - 0xc]
lea rsi, [0x18015f758]
or edi, 0xffffffff
cmp rcx, rsi
je 0x18002cf3f
mov eax, edi
lock xadd dword [rcx], eax
add eax, edi
test eax, eax
jg 0x18002cf3f
call fcn.1800d1434
nop
mov rcx, qword [rsp + 0x90]
add rcx, 0xfffffffffffffff4
cmp rcx, rsi
je 0x18002cf61
mov eax, edi
lock xadd dword [rcx], eax
add eax, edi
test eax, eax
jg 0x18002cf61
call fcn.1800d1434
xor eax, eax
jmp 0x18002d0ec
xor ebp, ebp
and dword [rsp + 0x88], ebp
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
lea r9, [rsp + 0x88]
lea r8, [rsp + 0x98]
lea edx, [rbp + 5]
call qword [rax + 0x18]
lea rsi, [0x18015f758]
or edi, 0xffffffff
test eax, eax
js 0x18002d0a1
mov eax, dword [rsp + 0x88]
test eax, eax
je 0x18002d09c
test ebp, ebp
jne 0x18002d09c
dec eax
mov dword [rsp + 0x88], eax
mov rdx, qword [rsp + 0x98]
mov rdx, qword [rdx + rax*8]
lea rcx, [rsp + 0x48]
call fcn.1800041c0
mov r11d, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x98]
mov rcx, qword [rcx + r11*8]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov r11, qword [rsp + 0x48]
mov rcx, r11
mov r8, qword [rsp + 0x90]
sub r8, r11
movzx eax, word [rcx]
movzx edx, word [rcx + r8]
sub eax, edx
jne 0x18002d018
add rcx, 2
test edx, edx
jne 0x18002d004
test eax, eax
je 0x18002d047
lea rcx, [r11 - 0xc]
cmp rcx, rsi
je 0x18002d036
mov eax, edi
lock xadd dword [rcx], eax
add eax, edi
test eax, eax
jg 0x18002d036
call fcn.1800d1434
mov eax, dword [rsp + 0x88]
test eax, eax
jne 0x18002cfb8
jmp 0x18002d066
mov ebp, 1
lea rcx, [r11 - 0xc]
cmp rcx, rsi
je 0x18002d066
mov eax, edi
lock xadd dword [rcx], eax
add eax, edi
test eax, eax
jg 0x18002d066
call fcn.1800d1434
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
lea r9, [rsp + 0x88]
lea r8, [rsp + 0x98]
mov edx, 5
call qword [rax + 0x18]
test eax, eax
jns 0x18002cfa1
mov rbx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
lea rcx, [rbx - 0xc]
cmp rcx, rsi
je 0x18002d0c8
mov eax, edi
lock xadd dword [rcx], eax
add eax, edi
test eax, eax
jg 0x18002d0c8
call fcn.1800d1434
nop
mov rcx, qword [rsp + 0x90]
add rcx, 0xfffffffffffffff4
cmp rcx, rsi
je 0x18002d0ea
mov edx, edi
lock xadd dword [rcx], edx
add edx, edi
test edx, edx
jg 0x18002d0ea
call fcn.1800d1434
mov eax, ebp
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret