Function at 0x140070c20
Capabilities:
Reference sql statements

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1008]
mov eax, 0x1108
call fcn.140247340
sub rsp, rax
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov r13, rcx
lea rax, vtable.CSABCriticalSectionContainer.0
mov qword [rbp - 0x10], rax
lea rcx, [0x140337bf8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
xor r14d, r14d
mov qword [rbp + 0x1060], r14
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp]
call fcn.140249b10
mov rax, qword [r13 + 0xe0]
mov r9, qword [r13 + 0x60]
mov r8, qword [rax + 0x60]
lea rdx, str.SELECT__FROM_REGKEYS_V2_WHERE_quarantineid_s_AND_parentguidid_s
lea rcx, [rbp]
call fcn.140006bc0
mov rax, qword [r13 + 0xe0]
mov rbx, qword [rax + 0x50]
mov edi, r14d
lea rcx, [rbx + 0x70]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x140070cd6
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [rbp + 0x1060]
lea rdx, [rbp]
call qword [rax]
mov edi, eax
lea rcx, [rbx + 0x70]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x140070f59
mov ebx, r14d
mov qword [rbp + 0x1058], r14
mov rcx, qword [rbp + 0x1060]
mov rax, qword [rcx]
lea r9, [rbp + 0x1058]
lea r8, [0x140294f68]
xor edx, edx
call qword [rax + 0x40]
test eax, eax
je 0x140070f21
nop word [rax + rax]
mov qword [rbp - 0x68], r14
mov rcx, qword [rbp + 0x1060]
mov rax, qword [rcx]
lea r9, [rbp - 0x68]
lea r8, str.guidid
mov edx, ebx
call qword [rax + 0x40]
mov qword [rbp - 0x58], r14
mov rcx, qword [rbp + 0x1060]
mov rax, qword [rcx]
lea r9, [rbp - 0x58]
lea r8, str.patha
mov edx, ebx
call qword [rax + 0x40]
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x48], r14
mov dword [rbp + 0x1050], r14d
mov rcx, qword [rbp + 0x1060]
mov rax, qword [rcx]
lea rdx, [rbp + 0x1050]
mov qword [rsp + 0x28], rdx
lea rdx, [rbp - 0x48]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x60]
lea r8, str.pathw
mov edx, ebx
call qword [rax + 0x38]
mov qword [rbp - 0x80], r14
mov rcx, qword [rbp + 0x1060]
mov rax, qword [rcx]
lea r9, [rbp - 0x80]
lea r8, str.basekey
mov edx, ebx
call qword [rax + 0x40]
mov qword [rbp - 0x70], r14
mov rcx, qword [rbp + 0x1060]
mov rax, qword [rcx]
lea r9, [rbp - 0x70]
lea r8, str.createdtime
mov edx, ebx
call qword [rax + 0x40]
mov qword [rbp - 0x78], r14
mov rcx, qword [rbp + 0x1060]
mov rax, qword [rcx]
lea r9, [rbp - 0x78]
lea r8, str.updatedtime
mov edx, ebx
call qword [rax + 0x40]
mov qword [rbp + 0x1068], r14
mov rcx, qword [rbp + 0x1060]
mov rax, qword [rcx]
lea r9, [rbp + 0x1068]
lea r8, str.sixtyfourbit
mov edx, ebx
call qword [rax + 0x40]
mov ecx, 0xe8
call fcn.14018ef40
mov r12, rax
mov qword [rbp - 0x20], rax
test rax, rax
je 0x140070ea6
mov r14, qword [r13 + 0x60]
mov rcx, qword [rbp + 0x1068]
call fcn.1402520ac
mov edi, eax
mov rcx, qword [rbp + 0x1058]
call fcn.1402520ac
mov esi, eax
mov rcx, qword [rbp - 0x80]
call fcn.1402520ac
movsxd r8, eax
mov dword [rsp + 0x50], edi
mov rcx, qword [rbp - 0x78]
mov qword [rsp + 0x48], rcx
mov rcx, qword [rbp - 0x70]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], r14
mov rcx, qword [rbp - 0x68]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], esi
mov rax, qword [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp - 0x58]
mov rdx, qword [r13 + 0xe0]
mov rcx, r12
call fcn.14006b010
mov rdi, rax
xor r14d, r14d
jmp 0x140070ea9
mov rdi, r14
mov rcx, rdi
call fcn.140070c20
mov qword [rbp - 0x50], rdi
mov rdi, qword [r13 + 8]
mov rsi, qword [rdi + 8]
lea r9, [rbp - 0x50]
mov r8, rsi
mov rdx, rdi
lea rcx, [r13 + 8]
call fcn.140009370
mov rdx, qword [r13 + 0x10]
movabs rcx, 0xaaaaaaaaaaaaaa9
sub rcx, rdx
cmp rcx, 1
jb 0x14007131a
lea rcx, [rdx + 1]
mov qword [r13 + 0x10], rcx
mov qword [rdi + 8], rax
mov qword [rsi], rax
inc ebx
mov rcx, qword [rbp + 0x1060]
mov rax, qword [rcx]
lea r9, [rbp + 0x1058]
lea r8, [0x140294f68]
mov edx, ebx
call qword [rax + 0x40]
test eax, eax
jne 0x140070d20
mov rsi, qword [rbp + 0x1060]
mov rax, qword [r13 + 0xe0]
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 0x140070f4f
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]
mov rax, qword [r13 + 0xe0]
mov r9, qword [r13 + 0x60]
mov r8, qword [rax + 0x60]
lea rdx, str.SELECT__FROM_REGVALS_V2_WHERE_quarantineid_s_AND_parentguidid_s
lea rcx, [rbp]
call fcn.140006bc0
mov rax, qword [r13 + 0xe0]
mov rbx, qword [rax + 0x50]
mov edi, r14d
lea rcx, [rbx + 0x70]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x140070fae
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [rbp + 0x1060]
lea rdx, [rbp]
call qword [rax]
mov edi, eax
lea rcx, [rbx + 0x70]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x1400712f9
mov edi, r14d
mov dword [rbp + 0x1058], r14d
mov qword [rbp + 0x1068], r14
mov rcx, qword [rbp + 0x1060]
mov rax, qword [rcx]
lea r9, [rbp + 0x1068]
lea r8, [0x140294f68]
xor edx, edx
call qword [rax + 0x40]
test eax, eax
je 0x1400712c0
nop word [rax + rax]
mov qword [rbp - 0x38], r14
mov rcx, qword [rbp + 0x1060]
mov rax, qword [rcx]
lea r9, [rbp - 0x38]
lea r8, str.guidid
mov edx, edi
call qword [rax + 0x40]
mov qword [rbp - 0x48], r14
mov rcx, qword [rbp + 0x1060]
mov rax, qword [rcx]
lea r9, [rbp - 0x48]
lea r8, str.patha
mov edx, edi
call qword [rax + 0x40]
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x58], r14
mov dword [rbp + 0x1050], r14d
mov rcx, qword [rbp + 0x1060]
mov rax, qword [rcx]
lea rdx, [rbp + 0x1050]
mov qword [rsp + 0x28], rdx
lea rdx, [rbp - 0x58]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x50]
lea r8, str.pathw
mov edx, edi
call qword [rax + 0x38]
mov qword [rbp - 0x28], r14
mov rcx, qword [rbp + 0x1060]
mov rax, qword [rcx]
lea r9, [rbp - 0x28]
lea r8, str.valuea
mov edx, edi
call qword [rax + 0x40]
mov qword [rbp - 0x30], r14
mov rcx, qword [rbp + 0x1060]
mov rax, qword [rcx]
lea rdx, [rbp + 0x1050]
mov qword [rsp + 0x28], rdx
lea rdx, [rbp - 0x58]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x30]
lea r8, str.valuew
mov edx, edi
call qword [rax + 0x38]
mov qword [rbp - 0x78], r14
mov rcx, qword [rbp + 0x1060]
mov rax, qword [rcx]
lea r9, [rbp - 0x78]
lea r8, str.basekey
mov edx, edi
call qword [rax + 0x40]
mov qword [rbp - 0x68], r14
mov rcx, qword [rbp + 0x1060]
mov rax, qword [rcx]
lea r9, [rbp - 0x68]
lea r8, str.datasize
mov edx, edi
call qword [rax + 0x40]
mov qword [rbp - 0x70], r14
mov rcx, qword [rbp + 0x1060]
mov rax, qword [rcx]
lea r9, [rbp - 0x70]
lea r8, str.type
mov edx, edi
call qword [rax + 0x40]
mov qword [rbp - 0x40], r14
mov rcx, qword [rbp + 0x1060]
mov rax, qword [rcx]
lea r9, [rbp - 0x40]
lea r8, str.createdtime
mov edx, edi
call qword [rax + 0x40]
mov qword [rbp - 0x80], r14
mov rcx, qword [rbp + 0x1060]
mov rax, qword [rcx]
lea r9, [rbp - 0x80]
lea r8, str.updatedtime
mov edx, edi
call qword [rax + 0x40]
mov qword [rbp - 0x60], r14
mov rcx, qword [rbp + 0x1060]
mov rax, qword [rcx]
lea r9, [rbp - 0x60]
lea r8, str.sixtyfourbit
mov edx, edi
call qword [rax + 0x40]
mov ecx, 0x128
call fcn.14018ef40
mov qword [rbp - 0x20], rax
test rax, rax
je 0x140071241
mov r15, qword [r13 + 0x60]
mov rcx, qword [rbp - 0x60]
call fcn.1402520ac
mov ebx, eax
mov rcx, qword [rbp + 0x1068]
call fcn.1402520ac
mov r14d, eax
mov rcx, qword [rbp - 0x68]
call fcn.1402520ac
mov esi, eax
mov rcx, qword [rbp - 0x70]
call fcn.1402520ac
mov edi, eax
mov rcx, qword [rbp - 0x78]
call fcn.1402520ac
movsxd r8, eax
mov dword [rsp + 0x70], ebx
mov rcx, qword [rbp - 0x80]
mov qword [rsp + 0x68], rcx
mov rcx, qword [rbp - 0x40]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x58], r15
mov rcx, qword [rbp - 0x38]
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x48], r14d
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], edi
mov rax, qword [rbp - 0x30]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp - 0x28]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x50]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp - 0x48]
mov rdx, qword [r13 + 0xe0]
mov rcx, qword [rbp - 0x20]
call fcn.14006b110
mov edi, dword [rbp + 0x1058]
xor r14d, r14d
jmp 0x140071244
mov rax, r14
mov qword [rbp + 0x1058], rax
mov rbx, qword [r13 + 8]
mov rsi, qword [rbx + 8]
lea r9, [rbp + 0x1058]
mov r8, rsi
mov rdx, rbx
lea rcx, [r13 + 8]
call fcn.140009370
mov rdx, qword [r13 + 0x10]
movabs rcx, 0xaaaaaaaaaaaaaa9
sub rcx, rdx
cmp rcx, 1
jb 0x140071327
lea rcx, [rdx + 1]
mov qword [r13 + 0x10], rcx
mov qword [rbx + 8], rax
mov qword [rsi], rax
inc edi
mov dword [rbp + 0x1058], edi
mov rcx, qword [rbp + 0x1060]
mov rax, qword [rcx]
lea r9, [rbp + 0x1068]
lea r8, [0x140294f68]
mov edx, edi
call qword [rax + 0x40]
test eax, eax
jne 0x140071000
mov rsi, qword [rbp + 0x1060]
mov rax, qword [r13 + 0xe0]
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 0x1400712ee
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, 0x1108
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