Function at 0x1800c2690
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rbx, qword [rsp + 0x98]
xorps xmm0, xmm0
mov eax, r9d
xor r13d, r13d
and eax, 8
mov r12d, r9d
mov dword [rsp + 0x88], eax
mov rsi, rcx
mov rax, qword [rsp + 0x90]
mov ebp, 1
movups xmmword [rbx + 8], xmm0
mov r14d, r13d
movups xmmword [rbx + 0x18], xmm0
movups xmmword [rbx + 0x28], xmm0
movups xmmword [rbx + 0x38], xmm0
movups xmmword [rbx + 0x48], xmm0
movups xmmword [rbx + 0x58], xmm0
movups xmmword [rbx + 0x68], xmm0
mov qword [rbx], rax
mov rdi, qword [rcx + 0x60]
test rdi, rdi
jne 0x1800c2739
mov rdx, qword [rcx]
lea rcx, str.SELECT_pgno_FROM__q._q_idx_WHERE_segid__AND_term___ORDER_BY_term_DESC_LIMIT_1
mov r8, qword [rdx + 0x10]
mov rdx, qword [rdx + 8]
call fcn.180063690
mov r8, rax
lea rdx, [rsi + 0x60]
mov rcx, rsi
call fcn.1800ba880
mov rax, qword [rsp + 0x90]
mov rdi, qword [rsi + 0x60]
cmp dword [rsi + 0x34], r13d
jne 0x1800c292e
movsxd r8, dword [rax]
mov edx, ebp
mov rcx, rdi
call fcn.180066800
mov r15d, dword [rsp + 0x80]
mov edx, 2
mov r8, qword [rsp + 0x78]
mov r9d, r15d
mov rcx, rdi
mov qword [rsp + 0x20], r13
call fcn.180066590
mov rcx, rdi
call fcn.180067080
cmp eax, 0x64
jne 0x1800c2846
test rdi, rdi
je 0x1800c27ef
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x1800c27c1
cmp r13w, word [rdi + 0x88]
jae 0x1800c27c1
mov rax, qword [rdi]
mov rdx, qword [rax + 0x18]
test rdx, rdx
je 0x1800c27b4
mov rcx, rdx
call qword [0x1801e59a8]
mov rcx, qword [rdi + 0x28]
call fcn.18013efc0
mov rbp, rax
mov r14d, eax
jmp 0x1800c2805
mov rcx, qword [rdi]
test rcx, rcx
je 0x1800c27ef
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x1800c27de
mov rcx, rax
call qword [0x1801e59a8]
mov rcx, qword [rdi]
mov edx, 0x19
mov dword [rcx + 0x44], 0x19
call fcn.1800fb360
lea rcx, [0x1801a4850]
call fcn.18013efc0
mov r14, rax
mov ebp, eax
test rdi, rdi
je 0x1800c2840
mov rcx, qword [rdi]
cmp byte [rcx + 0x55], r13b
jne 0x1800c2823
mov edx, dword [rdi + 0x84]
cmp edx, 0xc0a
je 0x1800c2823
mov eax, dword [rcx + 0x48]
and eax, edx
jmp 0x1800c282b
call fcn.1800772f0
mov rcx, qword [rdi]
mov dword [rdi + 0x84], eax
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x1800c2840
call qword [0x1801e59b8]
sar ebp, 1
and r14d, 1
mov rcx, rdi
call fcn.180068300
mov dword [rsi + 0x34], eax
mov rdx, rbx
mov rax, qword [rsp + 0x90]
mov rcx, rsi
mov eax, dword [rax + 4]
cmp ebp, eax
cmovge eax, ebp
cmovge r13d, r14d
dec eax
mov dword [rbx + 0xc], eax
call fcn.1800c1a30
cmp qword [rbx + 0x10], 0
mov edi, dword [rsp + 0x88]
je 0x1800c289a
mov r9, qword [rsp + 0x78]
mov r8, rbx
mov edx, edi
mov dword [rsp + 0x20], r15d
mov rcx, rsi
call fcn.1800bc400
cmp dword [rsi + 0x34], 0
jne 0x1800c28fe
test edi, edi
jne 0x1800c28fe
mov edx, dword [rbx + 8]
mov rax, qword [rbx + 0x10]
or edx, 1
mov dword [rbx + 8], edx
test rax, rax
je 0x1800c28fe
and r12d, 2
je 0x1800c28c2
or edx, 2
mov dword [rbx + 8], edx
test r13d, r13d
je 0x1800c28ee
mov r9d, dword [rbx + 0x30]
and edx, 2
cmp r9d, dword [rbx + 0xc]
jne 0x1800c28dc
mov eax, dword [rax + 0xc]
cmp dword [rbx + 0x3c], eax
jl 0x1800c28ee
mov rax, qword [rbx]
mov rcx, rsi
mov r8d, dword [rax]
call fcn.1800b0e70
mov qword [rbx + 0x50], rax
test r12d, r12d
je 0x1800c28fe
mov rdx, rbx
mov rcx, rsi
call fcn.1800c1e00
test byte [rbx + 8], 2
je 0x1800c2911
lea rax, [0x1800c1d70]
mov qword [rbx + 0x28], rax
jmp 0x1800c292e
mov rax, qword [rsi]
lea rcx, [0x1800c1600]
lea rdx, [0x1800c1b40]
cmp dword [rax + 0x5c], 1
cmove rcx, rdx
mov qword [rbx + 0x28], rcx
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret