Function at 0x1400fc240
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 0x1400fc2dd
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.1400a6650
mov r8, rax
lea rdx, [rsi + 0x60]
mov rcx, rsi
call fcn.1400f3d90
mov rax, qword [rsp + 0x90]
mov rdi, qword [rsi + 0x60]
cmp dword [rsi + 0x34], ebp
jne 0x1400fc4e9
movsxd r8, dword [rax]
mov edx, r15d
mov rcx, rdi
call fcn.1400a8b20
mov r9d, dword [rsp + 0x80]
mov edx, 2
mov r8, qword [rsp + 0x78]
mov rcx, rdi
mov qword [rsp + 0x20], r14
call fcn.1400a88a0
mov rcx, rdi
call fcn.1400aa1c0
cmp eax, 0x64
jne 0x1400fc3db
test rdi, rdi
je 0x1400fc369
mov rax, qword [rdi]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1400fc33f
call qword [0x14020e130]
mov rcx, qword [rdi + 0xa0]
test rcx, rcx
je 0x1400fc355
cmp r14w, word [rdi + 0xc0]
jb 0x1400fc370
mov rcx, qword [rdi]
mov edx, 0x19
mov dword [rcx + 0x50], 0x19
call fcn.14013b9d0
lea rcx, [0x1401d0628]
movzx eax, word [rcx + 0x14]
test al, 0x24
je 0x1400fc37d
mov rbp, qword [rcx]
jmp 0x1400fc39e
test al, 8
je 0x1400fc38c
movsd xmm0, qword [rcx]
call fcn.1400be140
jmp 0x1400fc39b
test al, 0x12
je 0x1400fc39e
cmp qword [rcx + 8], rbp
je 0x1400fc39e
call fcn.140110980
mov rbp, rax
mov r15d, ebp
test rdi, rdi
je 0x1400fc3d5
mov rcx, qword [rdi]
mov edx, dword [rdi + 0x34]
cmp byte [rcx + 0x67], r14b
jne 0x1400fc3bb
test edx, edx
jne 0x1400fc3bb
mov eax, r14d
jmp 0x1400fc3c0
call fcn.1400b0200
mov dword [rdi + 0x34], eax
mov rax, qword [rdi]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1400fc3d5
call qword [0x14020e140]
sar r15d, 1
and ebp, 1
mov rcx, rdi
call fcn.14007eec0
mov edx, 1
mov dword [rsi + 0x34], eax
mov rcx, rdi
call fcn.14019ed10
test eax, eax
jne 0x1400fc409
mov rax, qword [rdi]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1400fc409
call qword [0x14020e140]
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.1400fb6b0
cmp qword [rbx + 0x10], 0
je 0x1400fc454
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.1400f5b40
cmp dword [rsi + 0x34], 0
jne 0x1400fc4b9
test r13d, r13d
jne 0x1400fc4b9
mov edx, dword [rbx + 8]
mov rax, qword [rbx + 0x10]
or edx, 1
mov dword [rbx + 8], edx
test rax, rax
je 0x1400fc4b9
and r12d, 2
je 0x1400fc47d
or edx, 2
mov dword [rbx + 8], edx
test r14d, r14d
je 0x1400fc4a9
mov r9d, dword [rbx + 0x30]
and edx, 2
cmp r9d, dword [rbx + 0xc]
jne 0x1400fc497
mov eax, dword [rax + 0xc]
cmp dword [rbx + 0x3c], eax
jl 0x1400fc4a9
mov rax, qword [rbx]
mov rcx, rsi
mov r8d, dword [rax]
call fcn.1400eb010
mov qword [rbx + 0x50], rax
test r12d, r12d
je 0x1400fc4b9
mov rdx, rbx
mov rcx, rsi
call fcn.1400fba80
test byte [rbx + 8], 2
je 0x1400fc4cc
lea rax, [0x1400fb9f0]
mov qword [rbx + 0x28], rax
jmp 0x1400fc4e9
mov rax, qword [rsi]
lea rcx, [0x1400fb260]
lea rdx, [0x1400fb7c0]
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