Function at 0x1402b69e4
Capabilities:
Reference sql statements

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xc8
mov rax, qword [0x140481f48]
xor rax, rsp
mov qword [rbp + 7], rax
movsxd r13, edx
lea r12, [rcx + 0x28]
xor esi, esi
mov qword [rbp - 0x61], r8
mov r15, r9
mov qword [rbp - 0x69], rcx
mov r14, rcx
lea r12, [r12 + r13*8]
cmp qword [r12], rsi
jne 0x1402b6c19
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 - 0x59], rax
lea rax, str.SELECT__s_FROM__s_T_WHERE_T._Q_____AND_T._Q_____ORDER_BY_T._Q_DESC
mov qword [rbp - 0x51], rax
lea rax, str.SELECT__s_FROM__s_T_WHERE_T._Q_
mov qword [rbp - 0x49], rax
lea rax, str.INSERT_INTO__Q._q_content_VALUES__s_
mov qword [rbp - 0x41], rax
lea rax, str.REPLACE_INTO__Q._q_content_VALUES__s_
mov qword [rbp - 0x39], rax
lea rax, str.DELETE_FROM__Q._q_content_WHERE_id_
mov qword [rbp - 0x31], rax
lea rax, str.REPLACE_INTO__Q._q_docsize_VALUES_____
mov qword [rbp - 0x29], rax
lea rax, str.DELETE_FROM__Q._q_docsize_WHERE_id_
mov qword [rbp - 0x21], rax
lea rax, str.SELECT_sz_FROM__Q._q_docsize_WHERE_id_
mov qword [rbp - 0x19], rax
lea rax, str.REPLACE_INTO__Q._q_config_VALUES_____
mov qword [rbp - 0x11], rax
lea rax, str.SELECT__s_FROM__s_AS_T
mov qword [rbp - 9], rax
mov edx, r13d
test r13d, r13d
je 0x1402b6b80
sub edx, 1
je 0x1402b6b80
sub edx, 1
je 0x1402b6b68
sub edx, 1
je 0x1402b6afa
sub edx, 1
je 0x1402b6afa
mov rcx, qword [rbp + r13*8 - 0x59]
cmp edx, 6
je 0x1402b6af0
mov r8, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
call fcn.14027cfec
jmp 0x1402b6ba0
mov r8, qword [rbx + 0x48]
mov rdx, qword [rbx + 0x60]
jmp 0x1402b6ae6
movsxd r14, dword [rbx + 0x18]
lea eax, [r14 + r14]
movsxd rcx, eax
add rcx, 3
call fcn.14027d1b0
mov rsi, rax
test rax, rax
je 0x1402b6ba8
xor edx, edx
lea rax, [r14 + 1]
test rax, rax
jle 0x1402b6b37
xor ecx, ecx
mov edx, eax
mov word [rsi + rcx*2], 0x2c3f
inc rcx
cmp rcx, rax
jl 0x1402b6b29
lea eax, [rdx + rdx]
mov r9, rsi
movsxd rcx, eax
mov byte [rcx + rsi - 1], 0
mov r8, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, qword [rbp + r13*8 - 0x59]
call fcn.14027cfec
mov rcx, rsi
mov rdi, rax
call fcn.14027d248
mov r14, qword [rbp - 0x69]
jmp 0x1402b6ba3
mov r9, qword [rbx + 0x50]
mov r8, qword [rbx + 0x48]
mov rdx, qword [rbx + 0x60]
mov rcx, qword [rbp + r13*8 - 0x59]
call fcn.14027cfec
jmp 0x1402b6ba0
mov r9, qword [rbx + 0x50]
mov r8, qword [rbx + 0x48]
mov rdx, qword [rbx + 0x60]
mov rcx, qword [rbp + r13*8 - 0x59]
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], r9
call fcn.14027cfec
mov rdi, rax
test rdi, rdi
jne 0x1402b6baf
mov esi, 7
jmp 0x1402b6c19
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], r12
or r8d, 0xffffffff
and qword [rsp + 0x20], 0
call fcn.1402f8688
mov rdx, qword [r14]
mov rcx, rdi
mov esi, eax
dec dword [rdx + 0x78]
call fcn.14027d248
test esi, esi
je 0x1402b6c19
test r15, r15
je 0x1402b6c19
mov rcx, qword [rbx]
call fcn.14027dd58
mov rdx, rax
lea rcx, [0x14043d364]
call fcn.14027cfec
mov qword [r15], rax
mov rax, qword [rbp - 0x61]
mov rcx, qword [r12]
mov qword [rax], rcx
call fcn.14027f230
mov eax, esi
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.140330e30
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret