Function at 0x140075b50
Capabilities:
Reference sql statements

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
mov eax, 0x2030
call fcn.140247340
sub rsp, rax
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rdi, rcx
lea rax, vtable.CSABCriticalSectionContainer.0
mov qword [rsp + 0x2070], rax
lea rcx, [0x140337bf8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
xor edx, edx
mov r8d, 0x1000
lea rcx, [rsp + 0x30]
call fcn.140249b10
mov r8d, dword [rdi + 0x50]
lea rdx, str.DELETE_FROM_FILES_WHERE_id_d
lea rcx, [rsp + 0x30]
call fcn.140006bc0
xor esi, esi
mov qword [rsp + 0x2068], rsi
mov rax, qword [rdi + 0xe0]
mov rbx, qword [rax + 0x50]
mov ebp, esi
lea rcx, [rbx + 0x70]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x140075bf5
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [rsp + 0x2068]
lea rdx, [rsp + 0x30]
call qword [rax]
mov ebp, eax
lea rcx, [rbx + 0x70]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebp, ebp
je 0x140075c3c
mov r14, qword [rsp + 0x2068]
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 0x140075c32
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]
mov qword [rsp + 0x2060], rsi
xor edx, edx
mov r8d, 0x1000
lea rcx, [rsp + 0x1030]
call fcn.140249b10
mov r8d, dword [rdi + 0xd8]
lea rdx, str.SELECT__FROM_FILES_WHERE_dataid_d
lea rcx, [rsp + 0x1030]
call fcn.140006bc0
mov rax, qword [rdi + 0xe0]
mov rbx, qword [rax + 0x50]
mov ebp, esi
lea rcx, [rbx + 0x70]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x140075cae
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [rsp + 0x2060]
lea rdx, [rsp + 0x1030]
call qword [rax]
mov ebp, eax
lea rcx, [rbx + 0x70]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebp, ebp
je 0x140075d8a
mov rcx, qword [rsp + 0x2060]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
test eax, eax
jne 0x140075d51
mov r8d, dword [rdi + 0xd8]
lea rdx, str.DELETE_FROM_FILEDATA_WHERE_id_d
lea rcx, [rsp + 0x30]
call fcn.140006bc0
mov qword [rsp + 0x2068], rsi
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 0x140075d27
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [rsp + 0x2068]
lea rdx, [rsp + 0x30]
call qword [rax]
mov esi, eax
lea rcx, [rbx + 0x70]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x140075d51
mov rax, qword [rdi + 0xe0]
mov rcx, qword [rax + 0x50]
add rcx, 0x30
mov rdx, qword [rsp + 0x2068]
call fcn.140075720
mov rbp, qword [rsp + 0x2060]
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 0x140075d80
mov rax, qword [rcx]
mov rdx, rbp
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
lea rcx, [rbx + 0x70]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [rdi + 0xe0]
mov rcx, qword [rax + 0x50]
mov dword [rcx + 0xa0], 1
lea rcx, [0x140337bf8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add rsp, 0x2030
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret