Function at 0x1400ff120
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 r15
sub rsp, 0xa8
movsxd r15, edx
lea r12, [rcx + 0x28]
lea r12, [r12 + r15*8]
xor ebp, ebp
mov rsi, r9
mov r13, rcx
cmp qword [r12], rbp
jne 0x1400ff42a
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
mov qword [r11 - 0x38], r14
cmp r15d, 0xa
ja case.0x1400ff1fb.5
lea rcx, [0x140000000]
mov edx, dword [rcx + r15*4 + 0xff454]
add rdx, rcx
jmp rdx
mov r8, qword [rbx + 0x48]
mov rdx, qword [rbx + 0x60]
mov rcx, qword [rsp + r15*8 + 0x40]
call fcn.1400a6650
mov rdi, rax
jmp 0x1400ff328
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.1400a6650
mov rdi, rax
jmp 0x1400ff328
mov r9, qword [rbx + 0x50]
mov r8, qword [rbx + 0x48]
mov rdx, qword [rbx + 0x60]
mov rcx, qword [rsp + r15*8 + 0x40]
call fcn.1400a6650
mov rdi, rax
jmp 0x1400ff328
movsxd r14, dword [rbx + 0x18]
lea esi, [r14 + 1]
call fcn.140195a20
test eax, eax
jne 0x1400ff32d
lea eax, [rsi + rsi]
movsxd rcx, eax
inc rcx
call fcn.140160ac0
mov rsi, rax
test rax, rax
je 0x1400ff32d
lea rcx, [r14 + 1]
mov edx, ebp
test rcx, rcx
jle 0x1400ff2ae
mov rax, rbp
mov edx, ecx
nop dword [rax]
mov word [rsi + rax*2], 0x2c3f
inc rax
cmp rax, rcx
jl 0x1400ff2a0
lea eax, [rdx + rdx]
mov r9, rsi
movsxd rcx, eax
mov byte [rcx + rsi - 1], bpl
mov r8, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, qword [rsp + r15*8 + 0x40]
call fcn.1400a6650
cmp dword [0x14020e0b0], ebp
mov rdi, rax
je 0x1400ff337
mov rcx, qword [0x1402136d0]
test rcx, rcx
je 0x1400ff2eb
call qword [0x14020e130]
mov rcx, rsi
call qword [0x14020e0e8]
dec qword [0x140213658]
movsxd rcx, eax
sub qword [0x140213610], rcx
mov rcx, rsi
call qword [0x14020e0d8]
mov rcx, qword [0x1402136d0]
test rcx, rcx
je 0x1400ff320
call qword [0x14020e140]
mov rsi, qword [rsp + 0xf8]
test rdi, rdi
jne 0x1400ff359
mov ebp, 7
jmp 0x1400ff41a
mov rcx, rsi
call qword [0x14020e0d8]
jmp 0x1400ff320
mov r8, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, qword [rsp + r15*8 + 0x40]
call fcn.1400a6650
mov rdi, rax
jmp 0x1400ff328
mov rax, qword [r13]
mov r9d, 0x85
mov qword [rsp + 0x30], rbp
mov r8d, 0xffffffff
mov qword [rsp + 0x28], r12
mov rdx, rdi
mov qword [rsp + 0x20], rbp
inc dword [rax + 0x78]
mov eax, 0x81
mov rcx, qword [rbx]
cmp r15d, 2
cmovle r9d, eax
call fcn.1401605a0
mov rcx, qword [r13]
mov ebp, eax
dec dword [rcx + 0x78]
cmp dword [0x14020e0b0], 0
je 0x1400ff3ee
mov rcx, qword [0x1402136d0]
test rcx, rcx
je 0x1400ff3b7
call qword [0x14020e130]
mov rcx, rdi
call qword [0x14020e0e8]
dec qword [0x140213658]
movsxd rcx, eax
sub qword [0x140213610], rcx
mov rcx, rdi
call qword [0x14020e0d8]
mov rcx, qword [0x1402136d0]
test rcx, rcx
je 0x1400ff3f7
call qword [0x14020e140]
jmp 0x1400ff3f7
mov rcx, rdi
call qword [0x14020e0d8]
test ebp, ebp
je 0x1400ff41a
test rsi, rsi
je 0x1400ff41a
mov rcx, qword [rbx]
call fcn.1400a8040
mov rdx, rax
lea rcx, [0x1401d47c0]
call fcn.1400a6650
mov qword [rsi], rax
mov r14, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xe0]
mov rax, qword [rsp + 0xf0]
mov rcx, qword [r12]
mov qword [rax], rcx
call fcn.14007eec0
mov eax, ebp
add rsp, 0xa8
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret