Function at 0x180134ad0
Capabilities:
Reference sql statements

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0xd8
mov rax, qword [0x180191008]
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 rdi, rcx
cmp qword [r13], rbp
jne 0x180134d90
mov qword [r11 - 0x38], 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 + 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_____s_
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_s_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.0x180134bc6.5
lea rcx, [0x180000000]
mov edx, dword [rcx + r15*4 + 0x134dc4]
add rdx, rcx
jmp rdx
mov r8, qword [rbx + 0x48]
mov rdx, qword [rbx + 0x60]
jmp 0x180134cfa
mov r9, qword [rbx + 0x50]
mov r8, qword [rbx + 0x48]
mov rdx, qword [rbx + 0x60]
mov rcx, qword [rsp + r15*8 + 0x50]
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], r9
call fcn.18002d2d0
jmp 0x180134d04
mov r9, qword [rbx + 0x50]
mov r8, qword [rbx + 0x48]
mov rdx, qword [rbx + 0x60]
mov rcx, qword [rsp + r15*8 + 0x50]
call fcn.18002d2d0
jmp 0x180134d04
movsxd r14, dword [rbx + 0x18]
lea edi, [r14 + 1]
call fcn.1800e74e0
test eax, eax
jne 0x180134d0c
lea eax, [rdi + rdi]
movsxd rcx, eax
inc rcx
call fcn.18002a230
mov rdi, rax
test rax, rax
je 0x180134d0c
lea rcx, [r14 + 1]
mov edx, ebp
test rcx, rcx
jle 0x180134c6e
mov rax, rbp
mov edx, ecx
nop dword [rax]
nop dword [rax + rax]
mov word [rdi + rax*2], 0x2c3f
inc rax
cmp rax, rcx
jl 0x180134c60
lea eax, [rdx + rdx]
mov r9, rdi
movsxd rcx, eax
mov byte [rcx + rdi - 1], bpl
mov r8, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, qword [rsp + r15*8 + 0x50]
call fcn.18002d2d0
mov rcx, rdi
mov rsi, rax
call fcn.18002a420
mov rdi, qword [rsp + 0x40]
jmp 0x180134d07
cmp dword [rbx + 0x44], ebp
lea rax, [0x180179e48]
mov r8, qword [rbx + 0x10]
lea r9, [0x18016e73b]
mov rdx, qword [rbx + 8]
cmovne r9, rax
mov rcx, qword [rsp + r15*8 + 0x50]
call fcn.18002d2d0
jmp 0x180134d04
cmp dword [rbx + 0x44], ebp
lea rax, str._origin
mov r9, qword [rbx + 0x10]
lea rdx, [0x18016e73b]
mov r8, qword [rbx + 8]
cmovne rdx, rax
mov rcx, qword [rsp + r15*8 + 0x50]
call fcn.18002d2d0
jmp 0x180134d04
mov r8, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, qword [rsp + r15*8 + 0x50]
call fcn.18002d2d0
mov rsi, rax
test rsi, rsi
jne 0x180134d13
mov ebp, 7
jmp 0x180134d80
mov rax, qword [rdi]
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 [rbx]
cmp r15d, 2
cmovle r9d, eax
call fcn.1800aba20
mov rdx, qword [rdi]
mov rcx, rsi
mov ebp, eax
dec dword [rdx + 0x78]
call fcn.18002a420
test ebp, ebp
je 0x180134d80
test r12, r12
je 0x180134d80
mov rcx, qword [rbx]
call fcn.1800ea6b0
mov rdx, rax
lea rcx, [0x180170cd8]
call fcn.18002d2d0
mov qword [r12], rax
mov rbx, qword [rsp + 0xd0]
mov r14, qword [rsp + 0xc8]
mov rax, qword [rsp + 0x48]
mov rcx, qword [r13]
mov qword [rax], rcx
call fcn.180059b60
mov eax, ebp
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.18013b850
add rsp, 0xd8
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret