Function at 0x1401c9100
Capabilities:
Reference sql statements

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], r9
mov qword [r11 + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
movsxd r15, edx
lea r12, [rcx + 0x28]
lea r12, [r12 + r15*8]
xor esi, esi
mov r14, r9
mov rbp, r8
mov r13, rcx
cmp qword [r12], rsi
jne 0x1401c940d
mov qword [r11 + 8], 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 + 0x40], rax
lea rax, str.SELECT__s_FROM__s_T_WHERE_T._Q_____AND_T._Q_____ORDER_BY_T._Q_DESC
mov qword [rsp + 0x48], rax
lea rax, str.SELECT__s_FROM__s_T_WHERE_T._Q_
mov qword [rsp + 0x50], rax
lea rax, str.INSERT_INTO__Q._q_content_VALUES__s_
mov qword [r11 - 0x80], rax
lea rax, str.REPLACE_INTO__Q._q_content_VALUES__s_
mov qword [r11 - 0x78], rax
lea rax, str.DELETE_FROM__Q._q_content_WHERE_id_
mov qword [r11 - 0x70], rax
lea rax, str.REPLACE_INTO__Q._q_docsize_VALUES_____
mov qword [r11 - 0x68], rax
lea rax, str.DELETE_FROM__Q._q_docsize_WHERE_id_
mov qword [r11 - 0x60], rax
lea rax, str.SELECT_sz_FROM__Q._q_docsize_WHERE_id_
mov qword [r11 - 0x58], rax
lea rax, str.REPLACE_INTO__Q._q_config_VALUES_____
mov qword [r11 - 0x50], rax
lea rax, str.SELECT__s_FROM__s_AS_T
mov qword [r11 - 0x48], rax
cmp r15d, 0xa
ja case.0x1401c91dc.5
lea rcx, [0x140000000]
mov edx, dword [rcx + r15*4 + 0x1c9430]
add rdx, rcx
jmp rdx
mov r8, qword [rbx + 0x48]
mov rdx, qword [rbx + 0x60]
mov rcx, qword [rsp + r15*8 + 0x40]
call fcn.1401712f0
mov rdi, rax
jmp 0x1401c9313
mov r9, qword [rbx + 0x50]
mov r8, qword [rbx + 0x48]
mov rdx, qword [rbx + 0x60]
mov rcx, qword [rsp + r15*8 + 0x40]
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], r9
call fcn.1401712f0
mov rdi, rax
jmp 0x1401c9313
mov r9, qword [rbx + 0x50]
mov r8, qword [rbx + 0x48]
mov rdx, qword [rbx + 0x60]
mov rcx, qword [rsp + r15*8 + 0x40]
call fcn.1401712f0
mov rdi, rax
jmp 0x1401c9313
mov r14d, dword [rbx + 0x18]
inc r14d
call fcn.14025f340
test eax, eax
jne 0x1401c9318
lea eax, [r14*2 + 1]
movsxd rcx, eax
call fcn.14022a800
mov rcx, rax
test rax, rax
je 0x1401c9318
movsxd rdx, r14d
mov r8d, esi
mov rbp, rax
test r14d, r14d
jle 0x1401c9290
mov rax, rsi
mov r8d, r14d
mov word [rcx + rax*2], 0x2c3f
inc rax
cmp rax, rdx
jl 0x1401c9282
lea eax, [r8 + r8]
mov r9, rbp
movsxd rcx, eax
mov byte [rcx + rbp - 1], sil
mov r8, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, qword [rsp + r15*8 + 0x40]
call fcn.1401712f0
cmp dword [0x140343050], esi
mov rdi, rax
je 0x1401c9322
mov rcx, qword [0x14034c0c0]
test rcx, rcx
je 0x1401c92ce
call qword [0x1403430d0]
mov rcx, rbp
call qword [0x140343088]
dec qword [0x14034c048]
mov rcx, rbp
movsxd rdx, eax
sub qword [0x14034c000], rdx
call qword [0x140343078]
mov rcx, qword [0x14034c0c0]
test rcx, rcx
je 0x1401c9303
call qword [0x1403430e0]
mov r14, qword [rsp + 0xf8]
mov rbp, qword [rsp + 0xf0]
test rdi, rdi
jne 0x1401c9344
mov esi, 7
jmp 0x1401c9405
mov rcx, rbp
call qword [0x140343078]
jmp 0x1401c9303
mov r8, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, qword [rsp + r15*8 + 0x40]
call fcn.1401712f0
mov rdi, rax
jmp 0x1401c9313
mov rax, qword [r13]
mov r9d, 0x85
mov qword [rsp + 0x30], rsi
mov r8d, 0xffffffff
mov qword [rsp + 0x28], r12
mov rdx, rdi
mov qword [rsp + 0x20], rsi
inc dword [rax + 0x78]
mov eax, 0x81
mov rcx, qword [rbx]
cmp r15d, 2
cmovle r9d, eax
call fcn.14022a2f0
mov rcx, qword [r13]
mov esi, eax
dec dword [rcx + 0x78]
cmp dword [0x140343050], 0
je 0x1401c93d9
mov rcx, qword [0x14034c0c0]
test rcx, rcx
je 0x1401c93a2
call qword [0x1403430d0]
mov rcx, rdi
call qword [0x140343088]
dec qword [0x14034c048]
movsxd rcx, eax
sub qword [0x14034c000], rcx
mov rcx, rdi
call qword [0x140343078]
mov rcx, qword [0x14034c0c0]
test rcx, rcx
je 0x1401c93e2
call qword [0x1403430e0]
jmp 0x1401c93e2
mov rcx, rdi
call qword [0x140343078]
test esi, esi
je 0x1401c9405
test r14, r14
je 0x1401c9405
mov rcx, qword [rbx]
call fcn.140172960
mov rdx, rax
lea rcx, [0x1402a1008]
call fcn.1401712f0
mov qword [r14], rax
mov rbx, qword [rsp + 0xe0]
mov rcx, qword [r12]
mov qword [rbp], rcx
call fcn.1401493b0
mov eax, esi
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret