Function at 0x140076650
Capabilities:
Reference sql statements

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xf90]
mov eax, 0x1090
call fcn.140247340
sub rsp, rax
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rdi, rcx
lea rbx, vtable.CSABCriticalSectionContainer.0
mov qword [rsp + 0x78], rbx
lea rcx, [0x140337bf8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
lea r12, vtable.CSABDataBuffer.0
mov qword [rsp + 0x30], r12
xor r15d, r15d
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x40], r15d
mov qword [rsp + 0x44], 1
mov qword [rbp - 0x80], rbx
lea rcx, [0x140337bf8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov qword [rbp + 0xfd8], r15
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp - 0x70]
call fcn.140249b10
mov rax, qword [rdi + 0x120]
mov r9d, dword [rdi + 0x50]
mov r8, qword [rax + 0x60]
lea rdx, str.SELECT__FROM_LAYEREDSERVICEPROVIDERS_V2_WHERE_quarantineid_s_AND_id_d
lea rcx, [rbp - 0x70]
call fcn.140006bc0
mov rax, qword [rdi + 0x120]
mov rbx, qword [rax + 0x50]
mov esi, r15d
lea rcx, [rbx + 0x70]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x140076737
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [rbp + 0xfd8]
lea rdx, [rbp - 0x70]
call qword [rax]
mov esi, eax
lea rcx, [rbx + 0x70]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x14007682e
mov qword [rbp + 0xfe0], r15
mov qword [rbp + 0xfe8], r15
mov rcx, qword [rbp + 0xfd8]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r15
lea rdx, [rbp + 0xfe8]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0xfe0]
lea r8, str.data
xor edx, edx
call qword [rax + 0x38]
test eax, eax
je 0x1400767f5
mov qword [rsp + 0x50], r12
mov rax, qword [rbp + 0xfe0]
mov qword [rsp + 0x58], rax
mov eax, dword [rbp + 0xfe8]
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x68], 1
mov dword [rsp + 0x64], 0xffffffff
mov rax, qword [rdi + 0x120]
mov rcx, qword [rax + 0xa0]
mov rax, qword [rcx]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov qword [rsp + 0x50], r12
add dword [rsp + 0x64], 0xffffffff
jne 0x1400767f5
cmp dword [rsp + 0x68], 0
jne 0x1400767f5
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400767f5
call fcn.140247060
mov rsi, qword [rbp + 0xfd8]
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 0x140076823
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]
mov rbx, qword [rsp + 0x38]
mov rdx, rbx
lea rcx, [rbp + 0xfd8]
call fcn.14000bd30
lea r8, [rbx + 0x104]
lea rcx, [rbx + 0x118]
lea rax, [rbp + 0xfd0]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov rdx, qword [rbp + 0xfd8]
call sub.WS2_32.dll_WSCInstallProvider
mov rcx, qword [rbp + 0xfd8]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov qword [rsp + 0x30], r12
add dword [rsp + 0x44], 0xffffffff
jne 0x1400768ac
cmp dword [rsp + 0x48], 0
jne 0x1400768ac
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400768ac
call fcn.140247060
nop
lea rcx, [0x140337bf8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
add rsp, 0x1090
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret