Function at 0x1800c5720
Capabilities:
Reference sql statements

Disassembly:
mov r11, rsp
push rbp
push rsi
push r12
push r13
push r15
sub rsp, 0xd0
mov rax, qword [0x1801eab50]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movsxd rsi, edx
lea r15, [rcx + 0x28]
lea r15, [r15 + rsi*8]
xor ebp, ebp
mov r12, r9
mov r13, r8
cmp qword [r15], rbp
jne 0x1800c59fe
mov qword [r11 - 0x30], rbx
lea rax, str.SELECT__s_FROM__s_T_WHERE_T._Q_____AND_T._Q_____ORDER_BY_T._Q_ASC
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 [rsp + 0x58], rax
lea rax, str.REPLACE_INTO__Q._q_content_VALUES__s_
mov qword [rsp + 0x60], rax
lea rax, str.DELETE_FROM__Q._q_content_WHERE_id_
mov qword [rsp + 0x68], rax
lea rax, str.REPLACE_INTO__Q._q_docsize_VALUES_____
mov qword [rsp + 0x70], 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 - 0x38], rdi
mov rdi, qword [rcx]
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 edx, 0xa
ja case.0x1800c580c.5
movsxd rax, edx
lea rcx, [0x180000000]
mov edx, dword [rcx + rax*4 + 0xc5a2c]
add rdx, rcx
jmp rdx
mov r8, qword [rdi + 0x48]
mov rdx, qword [rdi + 0x60]
jmp 0x1800c5925
mov r9, qword [rdi + 0x50]
mov r8, qword [rdi + 0x48]
mov rdx, qword [rdi + 0x60]
mov rcx, qword [rsp + rsi*8 + 0x40]
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], r9
call fcn.180063690
jmp 0x1800c592f
mov r9, qword [rdi + 0x50]
mov r8, qword [rdi + 0x48]
mov rdx, qword [rdi + 0x60]
mov rcx, qword [rsp + rsi*8 + 0x40]
call fcn.180063690
jmp 0x1800c592f
movsxd r14, dword [rdi + 0x18]
lea ecx, [r14*2 + 3]
call fcn.1800639c0
mov rbx, rax
test rax, rax
je 0x1800c5937
lea rcx, [r14 + 1]
mov edx, ebp
test rcx, rcx
jle 0x1800c589e
mov rax, rbp
mov edx, ecx
nop dword [rax + rax]
mov word [rbx + rax*2], 0x2c3f
inc rax
cmp rax, rcx
jl 0x1800c5890
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 + rsi*8 + 0x40]
call fcn.180063690
cmp dword [0x1801e5920], ebp
mov rsi, rax
je 0x1800c5912
mov rcx, qword [0x1801ee840]
test rcx, rcx
je 0x1800c58db
call qword [0x1801e59a8]
mov rcx, rbx
call qword [0x1801e5960]
dec qword [0x1801ee598]
movsxd rcx, eax
sub qword [0x1801ee550], rcx
mov rcx, rbx
call qword [0x1801e5950]
mov rcx, qword [0x1801ee840]
test rcx, rcx
je 0x1800c5932
call qword [0x1801e59b8]
jmp 0x1800c5932
mov rcx, rbx
call qword [0x1801e5950]
jmp 0x1800c5932
mov r8, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, qword [rsp + rsi*8 + 0x40]
call fcn.180063690
mov rsi, rax
test rsi, rsi
jne 0x1800c5941
mov ebp, 7
jmp 0x1800c59e6
mov rcx, qword [rdi]
mov r9d, 1
mov qword [rsp + 0x30], rbp
mov rdx, rsi
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rbp
lea r8d, [r9 - 2]
call fcn.18011d5f0
cmp dword [0x1801e5920], 0
mov ebp, eax
je 0x1800c59b9
mov rcx, qword [0x1801ee840]
test rcx, rcx
je 0x1800c5982
call qword [0x1801e59a8]
mov rcx, rsi
call qword [0x1801e5960]
dec qword [0x1801ee598]
movsxd rcx, eax
sub qword [0x1801ee550], rcx
mov rcx, rsi
call qword [0x1801e5950]
mov rcx, qword [0x1801ee840]
test rcx, rcx
je 0x1800c59c2
call qword [0x1801e59b8]
jmp 0x1800c59c2
mov rcx, rsi
call qword [0x1801e5950]
test ebp, ebp
je 0x1800c59e6
test r12, r12
je 0x1800c59e6
mov rcx, qword [rdi]
call fcn.1800657a0
mov rdx, rax
lea rcx, [0x1801c73e0]
call fcn.180063690
mov qword [r12], rax
mov rdi, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0xc8]
mov r14, qword [rsp + 0xb8]
mov rcx, qword [r15]
mov qword [r13], rcx
call fcn.180068300
mov eax, ebp
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.18015fd80
add rsp, 0xd0
pop r15
pop r13
pop r12
pop rsi
pop rbp
ret