Function at 0x1400763f0
Capabilities:
Reference sql statements

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xf80]
mov eax, 0x1080
call fcn.140247340
sub rsp, rax
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rdi, rcx
lea rbx, vtable.CSABCriticalSectionContainer.0
mov qword [rbp + 0xfd8], rbx
lea rcx, [0x140337bf8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov dword [rdi + 0x4c], 1
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 [rsp + 0x78], rbx
lea rcx, [0x140337bf8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov qword [rbp + 0xfc0], r15
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp - 0x80]
call fcn.140249b10
mov r8d, dword [rdi + 0xd8]
lea rdx, str.SELECT__FROM_FILEDATA_WHERE_id_d
lea rcx, [rbp - 0x80]
call fcn.140006bc0
mov rax, qword [rdi + 0xe0]
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 0x1400764d9
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [rbp + 0xfc0]
lea rdx, [rbp - 0x80]
call qword [rax]
mov esi, eax
lea rcx, [rbx + 0x70]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x1400765d0
mov qword [rbp + 0xfc8], r15
mov qword [rbp + 0xfd0], r15
mov rcx, qword [rbp + 0xfc0]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r15
lea rdx, [rbp + 0xfd0]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0xfc8]
lea r8, str.data
xor edx, edx
call qword [rax + 0x38]
test eax, eax
je 0x140076597
mov qword [rsp + 0x50], r12
mov rax, qword [rbp + 0xfc8]
mov qword [rsp + 0x58], rax
mov eax, dword [rbp + 0xfd0]
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x68], 1
mov dword [rsp + 0x64], 0xffffffff
mov rax, qword [rdi + 0xe0]
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 0x140076597
cmp dword [rsp + 0x68], 0
jne 0x140076597
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140076597
call fcn.140247060
mov r14, qword [rbp + 0xfc0]
mov rax, qword [rdi + 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 0x1400765c5
mov rax, qword [rcx]
mov rdx, r14
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 + 0xe0]
mov rcx, qword [rax + 0xa0]
mov rax, qword [rcx]
lea r8, [rsp + 0x30]
mov rdx, qword [rdi + 0xc8]
call qword [rax + 0x20]
nop
mov qword [rsp + 0x30], r12
add dword [rsp + 0x44], 0xffffffff
jne 0x140076621
cmp dword [rsp + 0x48], 0
jne 0x140076621
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140076621
call fcn.140247060
nop
lea rcx, [0x140337bf8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
add rsp, 0x1080
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret