Function at 0x140275ce0
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 0x140275fed
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.0x140275dbc.5
lea rcx, [0x140000000]
mov edx, dword [rcx + r15*4 + 0x276010]
add rdx, rcx
jmp rdx
mov r8, qword [rbx + 0x48]
mov rdx, qword [rbx + 0x60]
mov rcx, qword [rsp + r15*8 + 0x40]
call fcn.14021e5b0
mov rdi, rax
jmp 0x140275ef3
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.14021e5b0
mov rdi, rax
jmp 0x140275ef3
mov r9, qword [rbx + 0x50]
mov r8, qword [rbx + 0x48]
mov rdx, qword [rbx + 0x60]
mov rcx, qword [rsp + r15*8 + 0x40]
call fcn.14021e5b0
mov rdi, rax
jmp 0x140275ef3
mov r14d, dword [rbx + 0x18]
inc r14d
call fcn.14030be00
test eax, eax
jne 0x140275ef8
lea eax, [r14*2 + 1]
movsxd rcx, eax
call fcn.1402d7360
mov rcx, rax
test rax, rax
je 0x140275ef8
movsxd rdx, r14d
mov r8d, esi
mov rbp, rax
test r14d, r14d
jle 0x140275e70
mov rax, rsi
mov r8d, r14d
mov word [rcx + rax*2], 0x2c3f
inc rax
cmp rax, rdx
jl 0x140275e62
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.14021e5b0
cmp dword [0x140439d10], esi
mov rdi, rax
je 0x140275f02
mov rcx, qword [0x14043f3f0]
test rcx, rcx
je 0x140275eae
call qword [0x140439d90]
mov rcx, rbp
call qword [0x140439d48]
dec qword [0x14043f378]
mov rcx, rbp
movsxd rdx, eax
sub qword [0x14043f330], rdx
call qword [0x140439d38]
mov rcx, qword [0x14043f3f0]
test rcx, rcx
je 0x140275ee3
call qword [0x140439da0]
mov r14, qword [rsp + 0xf8]
mov rbp, qword [rsp + 0xf0]
test rdi, rdi
jne 0x140275f24
mov esi, 7
jmp 0x140275fe5
mov rcx, rbp
call qword [0x140439d38]
jmp 0x140275ee3
mov r8, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, qword [rsp + r15*8 + 0x40]
call fcn.14021e5b0
mov rdi, rax
jmp 0x140275ef3
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.1402d6e50
mov rcx, qword [r13]
mov esi, eax
dec dword [rcx + 0x78]
cmp dword [0x140439d10], 0
je 0x140275fb9
mov rcx, qword [0x14043f3f0]
test rcx, rcx
je 0x140275f82
call qword [0x140439d90]
mov rcx, rdi
call qword [0x140439d48]
dec qword [0x14043f378]
movsxd rcx, eax
sub qword [0x14043f330], rcx
mov rcx, rdi
call qword [0x140439d38]
mov rcx, qword [0x14043f3f0]
test rcx, rcx
je 0x140275fc2
call qword [0x140439da0]
jmp 0x140275fc2
mov rcx, rdi
call qword [0x140439d38]
test esi, esi
je 0x140275fe5
test r14, r14
je 0x140275fe5
mov rcx, qword [rbx]
call fcn.14021feb0
mov rdx, rax
lea rcx, [0x140417fb8]
call fcn.14021e5b0
mov qword [r14], rax
mov rbx, qword [rsp + 0xe0]
mov rcx, qword [r12]
mov qword [rbp], rcx
call fcn.1401f6df0
mov eax, esi
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret