Function at 0x180128500
Capabilities:
Reference sql statements

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0xd8
mov rax, qword [0x180182008]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movsxd r15, edx
lea r13, [rcx + 0x28]
lea r13, [r13 + r15*8]
mov qword [rsp + 0x48], r8
xor ebp, ebp
mov qword [rsp + 0x40], rcx
mov r12, r9
mov rdi, rcx
cmp qword [r13], rbp
jne 0x18012875e
mov qword [r11 - 0x38], rbx
lea rax, str.SELECT__s_FROM__s_T_WHERE_T._Q_____AND_T._Q_____ORDER_BY_T._Q_ASC
mov rbx, qword [rcx]
mov qword [rsp + 0x50], rax
lea rax, str.SELECT__s_FROM__s_T_WHERE_T._Q_____AND_T._Q_____ORDER_BY_T._Q_DESC
mov qword [rsp + 0x58], rax
lea rax, str.SELECT__s_FROM__s_T_WHERE_T._Q_
mov qword [rsp + 0x60], rax
lea rax, str.INSERT_INTO__Q._q_content_VALUES__s_
mov qword [rsp + 0x68], rax
lea rax, str.REPLACE_INTO__Q._q_content_VALUES__s_
mov qword [rsp + 0x70], rax
lea rax, str.DELETE_FROM__Q._q_content_WHERE_id_
mov qword [rsp + 0x78], rax
lea rax, str.REPLACE_INTO__Q._q_docsize_VALUES_____
mov qword [r11 - 0x88], rax
lea rax, str.DELETE_FROM__Q._q_docsize_WHERE_id_
mov qword [r11 - 0x80], rax
lea rax, str.SELECT_sz_FROM__Q._q_docsize_WHERE_id_
mov qword [r11 - 0x78], rax
lea rax, str.REPLACE_INTO__Q._q_config_VALUES_____
mov qword [r11 - 0x70], rax
lea rax, str.SELECT__s_FROM__s_AS_T
mov qword [r11 - 0x68], rax
mov qword [r11 - 0x40], r14
cmp r15d, 0xa
ja case.0x1801285f6.5
lea rcx, [0x180000000]
mov edx, dword [rcx + r15*4 + 0x128794]
add rdx, rcx
jmp rdx
mov r8, qword [rbx + 0x48]
mov rdx, qword [rbx + 0x60]
jmp 0x1801286c8
mov r9, qword [rbx + 0x50]
mov r8, qword [rbx + 0x48]
mov rdx, qword [rbx + 0x60]
mov rcx, qword [rsp + r15*8 + 0x50]
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], r9
call fcn.18002b780
jmp 0x1801286d2
mov r9, qword [rbx + 0x50]
mov r8, qword [rbx + 0x48]
mov rdx, qword [rbx + 0x60]
mov rcx, qword [rsp + r15*8 + 0x50]
call fcn.18002b780
jmp 0x1801286d2
movsxd r14, dword [rbx + 0x18]
lea edi, [r14 + 1]
call fcn.1800e0910
test eax, eax
jne 0x1801286da
lea eax, [rdi + rdi]
movsxd rcx, eax
inc rcx
call fcn.180028660
mov rdi, rax
test rax, rax
je 0x1801286da
lea rcx, [r14 + 1]
mov edx, ebp
test rcx, rcx
jle 0x18012868e
mov rax, rbp
mov edx, ecx
mov word [rdi + rax*2], 0x2c3f
inc rax
cmp rax, rcx
jl 0x180128680
lea eax, [rdx + rdx]
mov r9, rdi
movsxd rcx, eax
mov byte [rcx + rdi - 1], bpl
mov r8, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, qword [rsp + r15*8 + 0x50]
call fcn.18002b780
mov rcx, rdi
mov rsi, rax
call fcn.180028850
mov rdi, qword [rsp + 0x40]
jmp 0x1801286d5
mov r8, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, qword [rsp + r15*8 + 0x50]
call fcn.18002b780
mov rsi, rax
test rsi, rsi
jne 0x1801286e1
mov ebp, 7
jmp 0x18012874e
mov rax, qword [rdi]
mov r9d, 0x85
mov qword [rsp + 0x30], rbp
mov r8d, 0xffffffff
mov qword [rsp + 0x28], r13
mov rdx, rsi
mov qword [rsp + 0x20], rbp
inc dword [rax + 0x78]
mov eax, 0x81
mov rcx, qword [rbx]
cmp r15d, 2
cmovle r9d, eax
call fcn.1800a6360
mov rdx, qword [rdi]
mov rcx, rsi
mov ebp, eax
dec dword [rdx + 0x78]
call fcn.180028850
test ebp, ebp
je 0x18012874e
test r12, r12
je 0x18012874e
mov rcx, qword [rbx]
call fcn.1800e3a60
mov rdx, rax
lea rcx, [0x1801639c8]
call fcn.18002b780
mov qword [r12], rax
mov rbx, qword [rsp + 0xd0]
mov r14, qword [rsp + 0xc8]
mov rax, qword [rsp + 0x48]
mov rcx, qword [r13]
mov qword [rax], rcx
call fcn.1800558e0
mov eax, ebp
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.18012f130
add rsp, 0xd8
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret