Function at 0x1402249c0
Capabilities:
Reference sql statements

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov qword [rbp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x2c0], rbx
mov r15, rdx
mov r12, rcx
lea rcx, [rbp - 0x20]
call fcn.14007ba30
nop
lea rcx, [rbp - 0x20]
call fcn.140227a80
xor esi, esi
mov ebx, esi
test eax, eax
je 0x140224db7
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x140224a3b
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [rbp + 0x1d0]
lea rdx, str.SELECT_taskid_lastruntime_time_days_hours_FROM_ScheduledTasks_WHERE_runifmissed_LIKE_yes_AND_disabled____yes
call qword [rax]
mov ebx, eax
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
je 0x140224db5
lea rax, vtable.CTaskScheduler.0
mov qword [rbp - 0x28], rax
mov r14d, esi
mov rcx, qword [rbp + 0x1d0]
mov rax, qword [rcx]
lea r9, [rbp - 0x80]
lea r8, str.taskid
xor edx, edx
call qword [rax + 0x40]
test eax, eax
je 0x140224d87
mov edi, PathResolve
mov r13, 0xffffffffffffffff
nop dword [rax]
mov r9, qword [rbp - 0x80]
mov r8, qword [str.SUPERAntiSpyware_Scheduled_Task__s]
mov edx, 0x104
lea rcx, [rbp + 0x70]
call fcn.14000b150
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
mov qword [rbp - 0x78], rsi
mov rcx, qword [rbp + 0x1d0]
mov rax, qword [rcx]
lea r9, [rbp - 0x78]
lea r8, str.lastruntime
mov edx, r14d
call qword [rax + 0x40]
mov rbx, qword [rbp - 0x78]
test rbx, rbx
je 0x140224b9c
mov rax, r13
inc rax
cmp byte [rbx + rax], 0
jne 0x140224ae3
cmp rax, 0x13
jne 0x140224b9c
lea rdx, str.0000_00_00_00:00:00
mov rcx, rbx
call fcn.1402523a0
test eax, eax
je 0x140224b9c
mov r8, rbx
mov edx, SafeArrayUnaccessData
lea rcx, [rsp + 0x68]
call fcn.140253604
mov byte [rsp + 0x6c], 0
mov byte [rsp + 0x6f], 0
mov byte [rsp + 0x72], 0
mov byte [rsp + 0x75], 0
mov byte [rsp + 0x78], 0
lea rcx, [rsp + 0x68]
call fcn.1402520ac
mov word [rsp + 0x50], ax
lea rcx, [rsp + 0x6d]
call fcn.1402520ac
mov word [rsp + 0x52], ax
lea rcx, [rsp + 0x70]
call fcn.1402520ac
mov word [rsp + 0x56], ax
lea rcx, [rsp + 0x73]
call fcn.1402520ac
mov word [rsp + 0x58], ax
lea rcx, [rsp + 0x76]
call fcn.1402520ac
mov word [rsp + 0x5a], ax
lea rcx, [rsp + 0x79]
call fcn.1402520ac
mov word [rsp + 0x5c], ax
mov word [rsp + 0x5e], si
jmp 0x140224cd3
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov word [rbp - 0x58], di
lea rax, [rbp + 0x70]
mov rbx, r13
inc rbx
cmp byte [rax + rbx], 0
jne 0x140224bc1
inc rbx
mov eax, 2
mul rbx
cmovo rax, r13
mov rcx, rax
call fcn.140247068
mov rdi, rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, ebx
lea r8, [rbp + 0x70]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, [rbp - 0x58]
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.140223170
mov ebx, eax
mov edx, 2
mov rcx, rdi
call fcn.140247060
test ebx, ebx
je 0x140224cce
movzx eax, word [rbp - 0x54]
mov word [rsp + 0x50], ax
movzx eax, word [rbp - 0x52]
mov word [rsp + 0x52], ax
movzx eax, word [rbp - 0x50]
mov word [rsp + 0x56], ax
movzx eax, word [rbp - 0x48]
mov word [rsp + 0x58], ax
movzx eax, word [rbp - 0x46]
mov word [rsp + 0x5a], ax
mov dword [rsp + 0x5c], esi
lea rdx, [rbp + 0x1d8]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, dword [rbp + 0x1dc]
mov dword [rsp + 0x64], eax
mov eax, dword [rbp + 0x1d8]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x60]
add rax, 0x23c34600
mov qword [rsp + 0x60], rax
shr rax, 0x20
mov dword [rbp + 0x1dc], eax
mov eax, dword [rsp + 0x60]
mov dword [rbp + 0x1d8], eax
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x1d8]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov edi, PathResolve
lea rcx, [rbp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
mov qword [rbp - 0x68], rsi
mov rcx, qword [rbp + 0x1d0]
mov rax, qword [rcx]
lea r9, [rbp - 0x68]
lea r8, str.days
mov edx, r14d
call qword [rax + 0x40]
mov qword [rbp - 0x70], rsi
mov rcx, qword [rbp + 0x1d0]
mov rax, qword [rcx]
lea r9, [rbp - 0x70]
lea r8, str.hours
mov edx, r14d
call qword [rax + 0x40]
mov qword [rbp - 0x60], rsi
mov rcx, qword [rbp + 0x1d0]
mov rax, qword [rcx]
lea r9, [rbp - 0x60]
lea r8, str.time
mov edx, r14d
call qword [rax + 0x40]
mov rax, qword [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp - 0x68]
mov r8, qword [rbp - 0x60]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x58]
call fcn.140226090
test eax, eax
jne 0x140224e2f
inc r14d
mov rcx, qword [rbp + 0x1d0]
mov rax, qword [rcx]
lea r9, [rbp - 0x80]
lea r8, str.taskid
mov edx, r14d
call qword [rax + 0x40]
test eax, eax
jne 0x140224a90
mov rbx, qword [rbp + 0x1d0]
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x140224daa
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov ebx, esi
lea rax, vtable.CSABSQL.0
mov qword [rbp - 0x20], rax
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x140224de5
mov r8, qword [rcx]
mov edx, 1
call qword [r8 + 0x40]
mov qword [rbp + 0x10], rsi
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea rax, vtable.CSABByteString.0
mov qword [rbp - 0x18], rax
mov edx, 1
mov rcx, qword [rbp - 0x10]
call fcn.140247060
mov eax, ebx
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x280
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r8, qword [rbp - 0x80]
mov rdx, r15
mov rcx, r12
call fcn.140253604
nop
mov ebx, 1
jmp 0x140224db7