Function at 0x14026b798
Capabilities:
Reference sql statements

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], r8
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
movsxd r13, edx
lea r15, [rcx + 0x28]
xor esi, esi
mov r12, r9
mov r14, rcx
lea r15, [r15 + r13*8]
cmp qword [r15], rsi
jne 0x14026b9c3
mov rbx, qword [rcx]
lea rax, str.SELECT__s_FROM__s_T_WHERE_T._Q_____AND_T._Q_____ORDER_BY_T._Q_ASC
mov qword [rbp - 0x39], rax
lea rax, str.SELECT__s_FROM__s_T_WHERE_T._Q_____AND_T._Q_____ORDER_BY_T._Q_DESC
mov qword [rbp - 0x31], rax
lea rax, str.SELECT__s_FROM__s_T_WHERE_T._Q_
mov qword [rbp - 0x29], rax
lea rax, str.INSERT_INTO__Q._q_content_VALUES__s_
mov qword [rbp - 0x21], rax
lea rax, str.REPLACE_INTO__Q._q_content_VALUES__s_
mov qword [rbp - 0x19], rax
lea rax, str.DELETE_FROM__Q._q_content_WHERE_id_
mov qword [rbp - 0x11], rax
lea rax, str.REPLACE_INTO__Q._q_docsize_VALUES_____
mov qword [rbp - 9], rax
lea rax, str.DELETE_FROM__Q._q_docsize_WHERE_id_
mov qword [rbp - 1], rax
lea rax, str.SELECT_sz_FROM__Q._q_docsize_WHERE_id_
mov qword [rbp + 7], rax
lea rax, str.REPLACE_INTO__Q._q_config_VALUES_____
mov qword [rbp + 0xf], rax
lea rax, str.SELECT__s_FROM__s_AS_T
mov qword [rbp + 0x17], rax
mov edx, r13d
test r13d, r13d
je 0x14026b929
sub edx, 1
je 0x14026b929
sub edx, 1
je 0x14026b911
sub edx, 1
je 0x14026b8a3
sub edx, 1
je 0x14026b8a3
mov rcx, qword [rbp + r13*8 - 0x39]
cmp edx, 6
je 0x14026b899
mov r8, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
call fcn.1402332c8
jmp 0x14026b949
mov r8, qword [rbx + 0x48]
mov rdx, qword [rbx + 0x60]
jmp 0x14026b88f
movsxd r14, dword [rbx + 0x18]
lea eax, [r14 + r14]
movsxd rcx, eax
add rcx, 3
call fcn.140233494
mov rsi, rax
test rax, rax
je 0x14026b951
xor edx, edx
lea rcx, [r14 + 1]
test rcx, rcx
jle 0x14026b8e0
xor eax, eax
mov edx, ecx
mov word [rsi + rax*2], 0x2c3f
inc rax
cmp rax, rcx
jl 0x14026b8d2
mov rcx, qword [rbp + r13*8 - 0x39]
lea eax, [rdx + rdx]
movsxd rdx, eax
mov r9, rsi
mov byte [rdx + rsi - 1], 0
mov r8, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
call fcn.1402332c8
mov rcx, rsi
mov rdi, rax
call fcn.14023352c
mov r14, qword [rbp + 0x67]
jmp 0x14026b94c
mov r9, qword [rbx + 0x50]
mov r8, qword [rbx + 0x48]
mov rdx, qword [rbx + 0x60]
mov rcx, qword [rbp + r13*8 - 0x39]
call fcn.1402332c8
jmp 0x14026b949
mov r9, qword [rbx + 0x50]
mov r8, qword [rbx + 0x48]
mov rdx, qword [rbx + 0x60]
mov rcx, qword [rbp + r13*8 - 0x39]
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], r9
call fcn.1402332c8
mov rdi, rax
test rdi, rdi
jne 0x14026b958
mov esi, 7
jmp 0x14026b9c3
mov rax, qword [r14]
mov rdx, rdi
inc dword [rax + 0x78]
mov eax, 0x81
mov rcx, qword [rbx]
cmp r13d, 2
lea r9d, [rax + 4]
cmovle r9d, eax
and qword [rsp + 0x30], 0
mov qword [rsp + 0x28], r15
or r8d, 0xffffffff
and qword [rsp + 0x20], 0
call fcn.1402adb64
mov rdx, qword [r14]
mov rcx, rdi
mov esi, eax
dec dword [rdx + 0x78]
call fcn.14023352c
test esi, esi
je 0x14026b9c3
test r12, r12
je 0x14026b9c3
mov rcx, qword [rbx]
call fcn.1402348bc
mov rdx, rax
lea rcx, [0x1403e9de0]
call fcn.1402332c8
mov qword [r12], rax
mov rax, qword [rbp + 0x77]
mov rcx, qword [r15]
mov qword [rax], rcx
call fcn.140235f58
mov rbx, qword [rsp + 0xe8]
mov eax, esi
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret