Function at 0x18006f3b0
Capabilities:
Reference sql statements

Disassembly:
mov r11, rsp
push rbx
push rbp
push rsi
push r12
push r13
push r15
sub rsp, 0xd8
mov rax, qword [0x18014b940]
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 rbx, rcx
cmp qword [r13], rbp
jne 0x18006f6d6
mov qword [r11 - 0x38], rdi
lea rax, str.SELECT__s_FROM__s_T_WHERE_T._Q_____AND_T._Q_____ORDER_BY_T._Q_ASC
mov rdi, 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.0x18006f4a6.5
lea rcx, [0x180000000]
mov edx, dword [rcx + r15*4 + 0x6f70c]
add rdx, rcx
jmp rdx
mov r8, qword [rdi + 0x48]
mov rdx, qword [rdi + 0x60]
mov rcx, qword [rsp + r15*8 + 0x50]
call fcn.1801004e0
mov rsi, rax
jmp 0x18006f5d5
mov r9, qword [rdi + 0x50]
mov r8, qword [rdi + 0x48]
mov rdx, qword [rdi + 0x60]
mov rcx, qword [rsp + r15*8 + 0x50]
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], r9
call fcn.1801004e0
mov rsi, rax
jmp 0x18006f5d5
mov r9, qword [rdi + 0x50]
mov r8, qword [rdi + 0x48]
mov rdx, qword [rdi + 0x60]
mov rcx, qword [rsp + r15*8 + 0x50]
call fcn.1801004e0
mov rsi, rax
jmp 0x18006f5d5
movsxd r14, dword [rdi + 0x18]
lea ebx, [r14 + 1]
call fcn.1800fff70
test eax, eax
jne 0x18006f5da
lea eax, [rbx + rbx]
movsxd rcx, eax
inc rcx
call fcn.1800ca1d0
mov rbx, rax
test rax, rax
je 0x18006f5da
lea rcx, [r14 + 1]
mov edx, ebp
test rcx, rcx
jle 0x18006f55e
mov rax, rbp
mov edx, ecx
nop word [rax + rax]
mov word [rbx + rax*2], 0x2c3f
inc rax
cmp rax, rcx
jl 0x18006f550
lea eax, [rdx + rdx]
mov r9, rbx
movsxd rcx, eax
mov byte [rcx + rbx - 1], bpl
mov r8, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, qword [rsp + r15*8 + 0x50]
call fcn.1801004e0
cmp dword [0x180147090], ebp
mov rsi, rax
je 0x18006f5e4
mov rcx, qword [0x18014be20]
test rcx, rcx
je 0x18006f59b
call qword [0x180147110]
mov rcx, rbx
call qword [0x1801470c8]
dec qword [0x18014bdb8]
movsxd rcx, eax
sub qword [0x18014bd70], rcx
mov rcx, rbx
call qword [0x1801470b8]
mov rcx, qword [0x18014be20]
test rcx, rcx
je 0x18006f5d0
call qword [0x180147120]
mov rbx, qword [rsp + 0x40]
test rsi, rsi
jne 0x18006f606
mov ebp, 7
jmp 0x18006f6c6
mov rcx, rbx
call qword [0x1801470b8]
jmp 0x18006f5d0
mov r8, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, qword [rsp + r15*8 + 0x50]
call fcn.1801004e0
mov rsi, rax
jmp 0x18006f5d5
mov rax, qword [rbx]
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 [rdi]
cmp r15d, 2
cmovle r9d, eax
call fcn.1800c9e40
mov rcx, qword [rbx]
mov ebp, eax
dec dword [rcx + 0x78]
cmp dword [0x180147090], 0
je 0x18006f699
mov rcx, qword [0x18014be20]
test rcx, rcx
je 0x18006f662
call qword [0x180147110]
mov rcx, rsi
call qword [0x1801470c8]
dec qword [0x18014bdb8]
movsxd rcx, eax
sub qword [0x18014bd70], rcx
mov rcx, rsi
call qword [0x1801470b8]
mov rcx, qword [0x18014be20]
test rcx, rcx
je 0x18006f6a2
call qword [0x180147120]
jmp 0x18006f6a2
mov rcx, rsi
call qword [0x1801470b8]
test ebp, ebp
je 0x18006f6c6
test r12, r12
je 0x18006f6c6
mov rcx, qword [rdi]
call fcn.1800fed00
mov rdx, rax
lea rcx, [0x18012a598]
call fcn.1801004e0
mov qword [r12], rax
mov rdi, qword [rsp + 0xd0]
mov r14, qword [rsp + 0xc8]
mov rax, qword [rsp + 0x48]
mov rcx, qword [r13]
mov qword [rax], rcx
call fcn.180100c70
mov eax, ebp
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.18011eb70
add rsp, 0xd8
pop r15
pop r13
pop r12
pop rsi
pop rbp
pop rbx
ret