Function at 0x14006f360
Capabilities:
Reference sql statements

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xfb8]
mov eax, 0x10b8
call fcn.140247340
sub rsp, rax
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov rbx, rcx
lea rax, vtable.CSABCriticalSectionContainer.0
mov qword [rbp - 0x68], rax
lea rcx, [0x140337bf8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
xor r13d, r13d
mov qword [rbp + 0x1008], r13
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp - 0x50]
call fcn.140249b10
mov rax, qword [rbx + 0xe8]
mov r9, qword [rbx + 0x60]
mov r8, qword [rax + 0x60]
lea rdx, str.SELECT__FROM_DIRECTORIES_WHERE_quarantineid_s_AND_parentguidid_s
lea rcx, [rbp - 0x50]
call fcn.140006bc0
mov rax, qword [rbx + 0xe8]
mov rdi, qword [rax + 0x50]
mov esi, r13d
lea rcx, [rdi + 0x70]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rdi + 0x60]
test rcx, rcx
je 0x14006f416
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [rbp + 0x1008]
lea rdx, [rbp - 0x50]
call qword [rax]
mov esi, eax
lea rcx, [rdi + 0x70]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movabs r12, 0xaaaaaaaaaaaaaa9
test esi, esi
je 0x14006f64e
mov esi, r13d
mov qword [rbp + 0x1010], r13
mov rcx, qword [rbp + 0x1008]
mov rax, qword [rcx]
lea r9, [rbp + 0x1010]
lea r8, [0x140294f68]
xor edx, edx
call qword [rax + 0x40]
test eax, eax
je 0x14006f616
mov qword [rsp + 0x58], r13
mov rcx, qword [rbp + 0x1008]
mov rax, qword [rcx]
lea r9, [rsp + 0x58]
lea r8, str.guidid
mov edx, esi
call qword [rax + 0x40]
mov qword [rsp + 0x68], r13
mov rcx, qword [rbp + 0x1008]
mov rax, qword [rcx]
lea r9, [rsp + 0x68]
lea r8, str.patha
mov edx, esi
call qword [rax + 0x40]
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x70], r13
mov dword [rbp + 0x1000], r13d
mov rcx, qword [rbp + 0x1008]
mov rax, qword [rcx]
lea rdx, [rbp + 0x1000]
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x60]
lea r8, str.pathw
mov edx, esi
call qword [rax + 0x38]
mov qword [rsp + 0x50], r13
mov rcx, qword [rbp + 0x1008]
mov rax, qword [rcx]
lea r9, [rsp + 0x50]
lea r8, str.createdtime
mov edx, esi
call qword [rax + 0x40]
mov qword [rbp + 0x1018], r13
mov rcx, qword [rbp + 0x1008]
mov rax, qword [rcx]
lea r9, [rbp + 0x1018]
lea r8, str.updatedtime
mov edx, esi
call qword [rax + 0x40]
mov ecx, 0xf0
call fcn.14018ef40
mov r15, rax
mov qword [rbp - 0x80], rax
test rax, rax
je 0x14006f594
mov rdi, qword [rbx + 0x60]
mov rcx, qword [rbp + 0x1010]
call fcn.1402520ac
mov rcx, qword [rbp + 0x1018]
mov qword [rsp + 0x40], rcx
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rdi
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
mov rdx, qword [rbx + 0xe8]
mov rcx, r15
call fcn.14006ad60
mov rdi, rax
jmp 0x14006f597
mov rdi, r13
mov rcx, rdi
call fcn.14006f360
mov qword [rsp + 0x78], rdi
mov rdi, qword [rbx + 0xd8]
mov r15, qword [rdi + 8]
lea r9, [rsp + 0x78]
mov r8, r15
mov rdx, rdi
lea rcx, [rbx + 0xd8]
call fcn.140009370
mov rdx, qword [rbx + 0xe0]
mov rcx, r12
sub rcx, rdx
cmp rcx, 1
jb 0x14006f950
lea rcx, [rdx + 1]
mov qword [rbx + 0xe0], rcx
mov qword [rdi + 8], rax
mov qword [r15], rax
inc esi
mov rcx, qword [rbp + 0x1008]
mov rax, qword [rcx]
lea r9, [rbp + 0x1010]
lea r8, [0x140294f68]
mov edx, esi
call qword [rax + 0x40]
test eax, eax
jne 0x14006f461
mov r14, qword [rbp + 0x1008]
mov rax, qword [rbx + 0xe8]
mov rdi, qword [rax + 0x50]
lea rcx, [rdi + 0x70]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rdi + 0x60]
test rcx, rcx
je 0x14006f644
mov rax, qword [rcx]
mov rdx, r14
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
lea rcx, [rdi + 0x70]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [rbx + 0xe8]
mov r9, qword [rbx + 0x60]
mov r8, qword [rax + 0x60]
lea rdx, str.SELECT__FROM_FILES_WHERE_quarantineid_s_AND_parentguidid_s
lea rcx, [rbp - 0x50]
call fcn.140006bc0
mov rax, qword [rbx + 0xe8]
mov rdi, qword [rax + 0x50]
mov esi, r13d
lea rcx, [rdi + 0x70]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rdi + 0x60]
test rcx, rcx
je 0x14006f6a3
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [rbp + 0x1008]
lea rdx, [rbp - 0x50]
call qword [rax]
mov esi, eax
lea rcx, [rdi + 0x70]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x14006f92f
mov r15d, r13d
mov qword [rbp + 0x1010], r13
mov rcx, qword [rbp + 0x1008]
mov rax, qword [rcx]
lea r9, [rbp + 0x1010]
lea r8, [0x140294f68]
xor edx, edx
call qword [rax + 0x40]
test eax, eax
je 0x14006f8f6
nop dword [rax]
nop dword [rax + rax]
mov qword [rsp + 0x58], r13
mov rcx, qword [rbp + 0x1008]
mov rax, qword [rcx]
lea r9, [rsp + 0x58]
lea r8, str.guidid
mov edx, r15d
call qword [rax + 0x40]
mov qword [rsp + 0x70], r13
mov rcx, qword [rbp + 0x1008]
mov rax, qword [rcx]
lea r9, [rsp + 0x70]
lea r8, str.patha
mov edx, r15d
call qword [rax + 0x40]
mov qword [rsp + 0x50], r13
mov dword [rbp + 0x1000], r13d
mov qword [rsp + 0x78], r13
mov rcx, qword [rbp + 0x1008]
mov rax, qword [rcx]
lea rdx, [rbp + 0x1000]
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x50]
lea r8, str.pathw
mov edx, r15d
call qword [rax + 0x38]
mov qword [rbp + 0x1018], r13
mov rcx, qword [rbp + 0x1008]
mov rax, qword [rcx]
lea r9, [rbp + 0x1018]
lea r8, str.dataid
mov edx, r15d
call qword [rax + 0x40]
mov qword [rbp - 0x78], r13
mov rcx, qword [rbp + 0x1008]
mov rax, qword [rcx]
lea r9, [rbp - 0x78]
lea r8, str.size
mov edx, r15d
call qword [rax + 0x40]
mov qword [rsp + 0x60], r13
mov rcx, qword [rbp + 0x1008]
mov rax, qword [rcx]
lea r9, [rsp + 0x60]
lea r8, str.createdtime
mov edx, r15d
call qword [rax + 0x40]
mov qword [rsp + 0x68], r13
mov rcx, qword [rbp + 0x1008]
mov rax, qword [rcx]
lea r9, [rsp + 0x68]
lea r8, str.updatedtime
mov edx, r15d
call qword [rax + 0x40]
mov ecx, 0xe8
call fcn.14018ef40
mov r12, rax
mov qword [rbp - 0x60], rax
test rax, rax
je 0x14006f875
mov rdi, qword [rbx + 0x60]
mov rcx, qword [rbp + 0x1010]
call fcn.1402520ac
mov esi, eax
mov rcx, qword [rbp + 0x1018]
call fcn.1402520ac
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x48], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rdi
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x70]
mov rdx, qword [rbx + 0xe8]
mov rcx, r12
call fcn.14006af10
jmp 0x14006f878
mov rax, r13
mov qword [rbp - 0x80], rax
mov rdi, qword [rbx + 0xd8]
mov rsi, qword [rdi + 8]
lea r9, [rbp - 0x80]
mov r8, rsi
mov rdx, rdi
lea rcx, [rbx + 0xd8]
call fcn.140009370
mov rdx, qword [rbx + 0xe0]
movabs rcx, 0xaaaaaaaaaaaaaa9
sub rcx, rdx
cmp rcx, 1
jb 0x14006f95d
lea rcx, [rdx + 1]
mov qword [rbx + 0xe0], rcx
mov qword [rdi + 8], rax
mov qword [rsi], rax
inc r15d
mov rcx, qword [rbp + 0x1008]
mov rax, qword [rcx]
lea r9, [rbp + 0x1010]
lea r8, [0x140294f68]
mov edx, r15d
call qword [rax + 0x40]
test eax, eax
jne 0x14006f6f0
mov rsi, qword [rbp + 0x1008]
mov rax, qword [rbx + 0xe8]
mov rbx, qword [rax + 0x50]
lea rcx, [rbx + 0x70]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x14006f924
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
lea rcx, [rbx + 0x70]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
lea rcx, [0x140337bf8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add rsp, 0x10b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, str.list_T__too_long
call fcn.1402453d0
int3
lea rcx, str.list_T__too_long
call fcn.1402453d0
int3