Function at 0x140083370
Capabilities:
Reference sql statements

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov r13, rdx
mov r14, rcx
mov rax, qword [section..data]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [fcn.140015690]
lea rcx, section..data
call rbx
add rax, 0x18
mov qword [rbp + 0x50], rax
lea r8, [rbp + 0x50]
mov edx, dword [r14 + 0x18]
call fcn.140082690
lea r8, [rbp + 0x50]
mov edx, dword [r14 + 0x18]
mov rcx, r14
call fcn.1400820b0
mov r15d, eax
xor r12d, r12d
test eax, eax
js 0x14008359d
cmp qword [r14 + 0x28], r12
je 0x14008342a
lea r8d, [r12 + 5]
lea rdx, [0x1400078e8]
lea rcx, [rbp + 0x50]
call fcn.140010e38
mov rdx, qword [r14 + 0x28]
test rdx, rdx
jne 0x140083410
mov eax, r12d
jmp 0x14008341e
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], r12w
jne 0x140083414
mov r8d, eax
lea rcx, [rbp + 0x50]
call fcn.140010e38
mov rax, qword [section..data]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [fcn.140015690]
lea rcx, section..data
call rbx
add rax, 0x18
mov qword [rbp + 0x58], rax
mov r8, qword [r14 + 0x20]
mov qword [rsp + 0x20], r8
mov r9, r8
lea rdx, [0x1400835e0]
lea rcx, [rbp + 0x58]
call fcn.1400157a0
mov edx, 0x20
lea rcx, [rbp + 0x58]
call fcn.140032ef8
mov rdx, qword [rbp + 0x50]
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x58]
call fcn.140010e38
mov edx, 0x29
lea rcx, [rbp + 0x58]
call fcn.140032ef8
mov rsi, qword [r14 + 0x10]
mov rax, qword [rsi]
mov rbx, qword [rax + 0x38]
mov rcx, rbx
call qword [fcn.140015690]
mov rdi, qword [rbp + 0x58]
mov r8, rdi
lea rdx, [0x140001258]
mov rcx, rsi
call rbx
mov r15d, eax
test eax, eax
js 0x140083538
mov qword [rbp - 0x20], r12
mov rsi, qword [r14 + 0x10]
mov rax, qword [rsi]
mov rbx, qword [rax + 0x20]
mov rcx, rbx
call qword [fcn.140015690]
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [0x1400079e0]
xor edx, edx
mov rcx, rsi
call rbx
mov r15d, eax
test eax, eax
js 0x14008351a
mov r8, r13
mov rdx, qword [rbp - 0x20]
mov rcx, r14
call fcn.140082410
mov r15d, eax
mov rbx, qword [rbp - 0x20]
test rbx, rbx
je 0x140083538
mov rax, qword [rbx]
mov rsi, qword [rax + 0x10]
mov rcx, rsi
call qword [fcn.140015690]
mov rcx, rbx
call rsi
lea rax, [0x140148ea8]
mov rcx, qword [0x140148ea8]
cmp rcx, rax
je 0x140083576
test byte [rcx + 0x1c], 2
je 0x140083576
cmp byte [rcx + 0x19], 5
jb 0x140083576
mov rax, qword [r13 + 8]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], eax
mov r9, rdi
mov rcx, qword [rcx + 0x10]
call fcn.140080fc8
nop
lea rsi, [rdi - 0x18]
lock add dword [rsi + 0x10], 0xffffffff
jg 0x14008359d
mov rdi, qword [rsi]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.140015690]
mov rdx, rsi
mov rcx, rdi
call rbx
nop
mov rsi, qword [rbp + 0x50]
lock add dword [rsi - 8], 0xffffffff
jg 0x1400835c5
mov rdi, qword [rsi - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.140015690]
lea rdx, [rsi - 0x18]
mov rcx, rdi
call rbx
mov eax, r15d
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret