Function at 0x1400769e0
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 rdi, rcx
lea rbx, vtable.CSABCriticalSectionContainer.0
mov qword [rbp - 0x68], rbx
lea rcx, [0x140337bf8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov esi, 1
mov dword [rdi + 0x4c], esi
xor r12d, r12d
mov qword [rbp + 0x1008], r12
mov rax, qword [rdi + 0x120]
mov rcx, qword [rax + 0xa0]
mov r10, qword [rcx]
mov eax, 0x100
mov edx, 0x200
cmp dword [rdi + 0xa0], r12d
cmove eax, edx
or eax, 0x2001f
mov qword [rsp + 0x48], r12
lea rdx, [rbp + 0x1008]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8, qword [rdi + 0x108]
mov rdx, qword [rdi + 0xa8]
call qword [r10 + 0x88]
test eax, eax
jne 0x140076cc5
lea r13, vtable.CSABDataBuffer.0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x60], r12d
mov qword [rsp + 0x64], rsi
mov qword [rbp - 0x60], rbx
lea rcx, [0x140337bf8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov qword [rbp + 0x1000], r12
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp - 0x50]
call fcn.140249b10
mov rax, qword [rdi + 0x120]
mov r9d, dword [rdi + 0x50]
mov r8, qword [rax + 0x60]
lea rdx, str.SELECT__FROM_REGVALS_V2_WHERE_quarantineid_s_AND_id_d
lea rcx, [rbp - 0x50]
call fcn.140006bc0
mov rax, qword [rdi + 0x120]
mov rbx, qword [rax + 0x50]
mov r14d, r12d
lea rcx, [rbx + 0x70]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x140076b41
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [rbp + 0x1000]
lea rdx, [rbp - 0x50]
call qword [rax]
mov r14d, eax
lea rcx, [rbx + 0x70]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test r14d, r14d
je 0x140076c30
mov qword [rbp + 0x1010], r12
mov qword [rbp + 0x1018], r12
mov rcx, qword [rbp + 0x1000]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r12
lea rdx, [rbp + 0x1018]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0x1010]
lea r8, str.data
xor edx, edx
call qword [rax + 0x38]
test eax, eax
je 0x140076bf7
mov qword [rsp + 0x70], r13
mov rax, qword [rbp + 0x1010]
mov qword [rsp + 0x78], rax
mov eax, dword [rbp + 0x1018]
mov dword [rbp - 0x80], eax
mov dword [rbp - 0x78], esi
mov dword [rbp - 0x7c], 0xffffffff
mov rax, qword [rdi + 0x120]
mov rcx, qword [rax + 0xa0]
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov qword [rsp + 0x70], r13
add dword [rbp - 0x7c], 0xffffffff
jne 0x140076bf7
cmp dword [rbp - 0x78], 0
jne 0x140076bf7
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140076bf7
call fcn.140247060
mov r15, qword [rbp + 0x1000]
mov rax, qword [rdi + 0x120]
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 0x140076c25
mov rax, qword [rcx]
mov rdx, r15
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]
mov rax, qword [rdi + 0x120]
mov rcx, qword [rax + 0xa0]
mov r10, qword [rcx]
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov eax, dword [rdi + 0xe0]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, qword [rdi + 0xd0]
mov rdx, qword [rbp + 0x1008]
call qword [r10 + 0xc0]
mov rax, qword [rdi + 0x120]
mov rcx, qword [rax + 0xa0]
mov rax, qword [rcx]
mov rdx, qword [rbp + 0x1008]
call qword [rax + 0x98]
nop
mov qword [rsp + 0x50], r13
add dword [rsp + 0x64], 0xffffffff
jne 0x140076cc8
cmp dword [rsp + 0x68], 0
jne 0x140076cc8
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140076cc8
call fcn.140247060
jmp 0x140076cc8
mov esi, r12d
lea rcx, [0x140337bf8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
add rsp, 0x10b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret