Function at 0x140272df0
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 rax, qword [rsp + 0x90]
xor r14d, r14d
mov r13d, r9d
mov ebp, r14d
and r13d, 8
mov r12d, r9d
movups xmmword [rbx + 8], xmm0
mov rsi, rcx
mov r15d, 1
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
cmp qword [rcx + 0x60], rbp
jne 0x140272e8d
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.14021e5b0
mov r8, rax
lea rdx, [rsi + 0x60]
mov rcx, rsi
call fcn.14026aab0
mov rax, qword [rsp + 0x90]
mov rdi, qword [rsi + 0x60]
cmp dword [rsi + 0x34], ebp
jne 0x140273099
movsxd r8, dword [rax]
mov edx, r15d
mov rcx, rdi
call fcn.140220c20
mov r9d, dword [rsp + 0x80]
mov edx, 2
mov r8, qword [rsp + 0x78]
mov rcx, rdi
mov qword [rsp + 0x20], r14
call fcn.1402209a0
mov rcx, rdi
call fcn.1401f5d20
cmp eax, 0x64
jne 0x140272f8b
test rdi, rdi
je 0x140272f19
mov rax, qword [rdi]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140272eef
call qword [0x140439d90]
mov rcx, qword [rdi + 0xa0]
test rcx, rcx
je 0x140272f05
cmp r14w, word [rdi + 0xc0]
jb 0x140272f20
mov rcx, qword [rdi]
mov edx, 0x19
mov dword [rcx + 0x50], 0x19
call fcn.1402b27c0
lea rcx, [0x140413cd8]
movzx eax, word [rcx + 0x14]
test al, 0x24
je 0x140272f2d
mov rbp, qword [rcx]
jmp 0x140272f4e
test al, 8
je 0x140272f3c
movsd xmm0, qword [rcx]
call fcn.140234930
jmp 0x140272f4b
test al, 0x12
je 0x140272f4e
cmp qword [rcx + 8], rbp
je 0x140272f4e
call fcn.140287660
mov rbp, rax
mov r15d, ebp
test rdi, rdi
je 0x140272f85
mov rcx, qword [rdi]
mov edx, dword [rdi + 0x34]
cmp byte [rcx + 0x67], r14b
jne 0x140272f6b
test edx, edx
jne 0x140272f6b
mov eax, r14d
jmp 0x140272f70
call fcn.1402269e0
mov dword [rdi + 0x34], eax
mov rax, qword [rdi]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140272f85
call qword [0x140439da0]
sar r15d, 1
and ebp, 1
mov rcx, rdi
call fcn.1401f6df0
mov edx, 1
mov dword [rsi + 0x34], eax
mov rcx, rdi
call fcn.140315130
test eax, eax
jne 0x140272fb9
mov rax, qword [rdi]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140272fb9
call qword [0x140439da0]
mov rax, qword [rsp + 0x90]
mov rdx, rbx
mov rcx, rsi
mov eax, dword [rax + 4]
cmp r15d, eax
cmovge eax, r15d
cmovge r14d, ebp
dec eax
mov dword [rbx + 0xc], eax
call fcn.140272260
cmp qword [rbx + 0x10], 0
je 0x140273004
mov eax, dword [rsp + 0x80]
mov r8, rbx
mov r9, qword [rsp + 0x78]
mov edx, r13d
mov rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.14026cb60
cmp dword [rsi + 0x34], 0
jne 0x140273069
test r13d, r13d
jne 0x140273069
mov edx, dword [rbx + 8]
mov rax, qword [rbx + 0x10]
or edx, 1
mov dword [rbx + 8], edx
test rax, rax
je 0x140273069
and r12d, 2
je 0x14027302d
or edx, 2
mov dword [rbx + 8], edx
test r14d, r14d
je 0x140273059
mov r9d, dword [rbx + 0x30]
and edx, 2
cmp r9d, dword [rbx + 0xc]
jne 0x140273047
mov eax, dword [rax + 0xc]
cmp dword [rbx + 0x3c], eax
jl 0x140273059
mov rax, qword [rbx]
mov rcx, rsi
mov r8d, dword [rax]
call fcn.140261d80
mov qword [rbx + 0x50], rax
test r12d, r12d
je 0x140273069
mov rdx, rbx
mov rcx, rsi
call fcn.140272630
test byte [rbx + 8], 2
je 0x14027307c
lea rax, [0x1402725a0]
mov qword [rbx + 0x28], rax
jmp 0x140273099
mov rax, qword [rsi]
lea rcx, [0x140271e10]
lea rdx, [0x140272370]
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