Function at 0x1401ce230
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x1b8
movups xmmword [rsp + 0x190], xmm6
movups xmmword [rsp + 0x1a0], xmm7
mov rax, qword [rcx]
mov r13, qword [rcx + 0x10]
mov qword [rsp + 0x210], r8
mov rbx, rcx
mov r15, rdx
mov qword [rsp + 0x40], rax
test r13, r13
je 0x1401ce3d0
test r15, r15
je 0x1401ce284
mov r11d, dword [rbx + 0x30]
test r11d, r11d
je 0x1401ce2b0
mov eax, 1
movups xmm6, xmmword [rsp + 0x190]
movups xmm7, xmmword [rsp + 0x1a0]
add rsp, 0x1b8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
xor r9d, r9d
xor r8d, r8d
mov edx, 0x15
mov rcx, rbx
mov qword [rsp + 0x20], 0
call dbg.sqlite3AuthCheck
test eax, eax
jne 0x1401ce284
mov rax, qword [rsp + 0x210]
cmp byte [rax], 6
ja 0x1401ce33d
mov rsi, qword [r15 + 0x48]
test rsi, rsi
je 0x1401ce32d
mov rcx, qword [rbx]
test rcx, rcx
je 0x1401ce740
mov edx, 0x18
call sym.sqlite3DbMallocRawNN
test rax, rax
je 0x1401cf2f0
mov rdx, qword [rbx + 0xc8]
lea rdi, [sym.sqlite3ExprListDelete]
mov qword [rax], rdx
mov qword [rbx + 0xc8], rax
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rdi
mov qword [r15 + 0x48], 0
mov eax, dword [r15 + 4]
and eax, 0xfffffffe
or eax, 0x400000
mov dword [r15 + 4], eax
xor r8d, r8d
mov rdx, r15
mov rcx, rbx
call sym.sqlite3SelectPrep
mov r10d, dword [rbx + 0x30]
test r10d, r10d
jne 0x1401ce388
mov r11d, dword [r15 + 4]
test r11d, 0x800000
jne 0x1401ce718
mov rax, qword [rsp + 0x210]
cmp byte [rax], 9
je 0x1401ce788
mov rdx, r15
mov rcx, rbx
call dbg.sqlite3WindowRewrite
mov r12d, eax
test eax, eax
je 0x1401ce400
mov eax, 1
nop dword [rax]
movsxd rdx, dword [rbx + 0x140]
mov rcx, qword [rbx + 0x10]
test edx, edx
je 0x1401ce3c3
mov r9, qword [rcx]
lea r8, [0x140440540]
cmp byte [r9 + 0x67], 0
jne 0x1401ce3bf
lea r8, [rdx + rdx*2]
mov rdx, qword [rcx + 0x88]
lea r8, [rdx + r8*8]
mov edx, dword [r8 + 8]
mov dword [rbx + 0x140], edx
jmp 0x1401ce289
cmp qword [rcx + 0xb0], 0
je 0x1401ce3f0
mov rcx, rbx
call dbg.sqlite3VdbeCreate
mov r13, rax
jmp 0x1401ce276
test byte [rax + 0x60], 8
jne 0x1401ce3da
mov byte [rcx + 0x23], 1
jmp 0x1401ce3da
mov rax, qword [r15 + 0x28]
pxor xmm0, xmm0
mov qword [rsp + 0x108], 0
movups xmmword [rsp + 0xe8], xmm0
mov qword [rsp + 0x50], rax
mov eax, dword [r15 + 4]
movups xmmword [rsp + 0xf8], xmm0
and eax, 8
mov dword [rsp + 0x78], eax
setne al
xor ebp, ebp
movzx eax, al
mov dword [rsp + 0x48], eax
mov rax, qword [r15 + 0x48]
mov qword [rsp + 0xe0], rax
mov rax, qword [r15 + 0x50]
mov qword [rsp + 0x70], rax
test rax, rax
jne 0x1401ce593
mov dword [rsp + 0x60], r12d
mov qword [rsp + 0x58], r13
mov r13, qword [rsp + 0x50]
nop dword [rax]
cmp dword [r13], ebp
jle 0x1401ce7a0
movsxd rsi, ebp
lea rax, [rsi + rsi*2]
lea rax, [rsi + rax*4]
lea rdi, [r13 + rax*8]
movzx r8d, byte [rdi + 0x44]
mov r14, qword [rdi + 0x30]
mov r12, qword [rdi + 0x28]
test r8b, 0x48
jne 0x1401ce5c0
test r14, r14
je 0x1401ce585
mov rax, qword [r14 + 0x20]
movsx r8d, word [r12 + 0x36]
mov eax, dword [rax]
cmp r8d, eax
jne 0x1401cedf0
lea rax, [rsi + rsi*2]
lea rax, [rsi + rax*4]
lea rax, [r13 + rax*8]
test byte [rax + 0x49], 1
je 0x1401ce4e0
mov rax, qword [rax + 0x68]
cmp byte [rax + 0x12], 0
je 0x1401ce585
mov eax, dword [r14 + 4]
test al, 8
jne 0x1401ce585
mov rsi, qword [r14 + 0x48]
test rsi, rsi
je 0x1401ce530
cmp qword [r15 + 0x48], 0
je 0x1401ce690
cmp qword [r14 + 0x60], 0
je 0x1401ce6a0
test ebp, ebp
jne 0x1401ce530
test byte [r15 + 6], 4
je 0x1401ce530
cmp dword [r13], 1
je 0x1401ce750
test byte [r13 + 0xac], 0x22
jne 0x1401ce750
nop
mov r9d, dword [rsp + 0x48]
mov r8d, ebp
mov rdx, r15
mov rcx, rbx
call dbg.flattenSubquery
test eax, eax
je 0x1401ce559
mov r9d, dword [rbx + 0x30]
test r9d, r9d
jne 0x1401ce388
mov ebp, 0xffffffff
mov rax, qword [rsp + 0x40]
mov r13, qword [r15 + 0x28]
cmp byte [rax + 0x67], 0
jne 0x1401ce388
mov rax, qword [rsp + 0x210]
cmp byte [rax], 8
jbe 0x1401ce585
mov rax, qword [r15 + 0x48]
mov qword [rsp + 0xe0], rax
add ebp, 1
cmp qword [r15 + 0x50], 0
je 0x1401ce470
mov r8, qword [rsp + 0x210]
mov rdx, r15
mov rcx, rbx
call dbg.multiSelect
cmp qword [r15 + 0x58], 0
jne 0x1401ce289
jmp 0x1401ce390
mov edx, dword [rdi + 0x4c]
mov rcx, qword [r15 + 0x30]
and r8d, 0x40
call dbg.sqlite3ExprImpliesNonNullRow
test eax, eax
je 0x1401ce4a1
mov rax, qword [rsp + 0x40]
test byte [rax + 0x61], 0x20
jne 0x1401ce4a1
movzx r9d, byte [rdi + 0x44]
test r9b, 8
je 0x1401ce604
test r9b, 0x10
je 0x1401cf2a0
and r9d, 0xfffffff7
mov byte [rdi + 0x44], r9b
and r9d, 0x40
je 0x1401ce4a1
mov r9d, dword [r13]
lea eax, [rbp + 1]
cmp eax, r9d
jge 0x1401ced50
lea rax, [rsi + rsi*2]
lea rax, [rsi + rax*4]
lea rdi, [r13 + rax*8]
mov eax, r9d
sub eax, ebp
sub eax, 2
add rax, rsi
lea rcx, [rax + rax*2]
lea rax, [rax + rcx*4]
lea r10, [r13 + rax*8 + 0x68]
jmp 0x1401ce65e
and eax, 0xffffffef
mov byte [rdi + 0xac], al
add rdi, 0x68
cmp r10, rdi
je 0x1401ced50
movzx eax, byte [rdi + 0xac]
test al, 0x10
je 0x1401ce651
test al, 8
jne 0x1401ce648
and eax, 0xffffffcf
mov edx, dword [rdi + 0xb4]
mov rcx, qword [r15 + 0x30]
mov r8d, 1
mov byte [rdi + 0xac], al
call dbg.unsetJoinExpr
jmp 0x1401ce651
cmp dword [r13], 1
jg 0x1401ce500
jmp 0x1401ce50b
test eax, 0x8000000
jne 0x1401ce50b
test byte [r15 + 7], 8
jne 0x1401ce50b
mov rax, qword [rsp + 0x40]
test byte [rax + 0x62], 4
jne 0x1401ce50b
mov rcx, qword [rbx]
test rcx, rcx
je 0x1401d0b78
mov edx, 0x18
call sym.sqlite3DbMallocRawNN
test rax, rax
je 0x1401d145e
mov rdx, qword [rbx + 0xc8]
lea rdi, [sym.sqlite3ExprListDelete]
mov qword [rax], rdx
mov qword [rbx + 0xc8], rax
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rdi
mov qword [r14 + 0x48], 0
jmp 0x1401ce530
mov rsi, qword [r15 + 0x28]
lea rcx, [rsi + 8]
mov rdx, rsi
call dbg.sameSrcAlias
test eax, eax
jne 0x1401ce760
and r11d, 0xff7fffff
mov dword [r15 + 4], r11d
jmp 0x1401ce365
mov ecx, 0x18
call sym.sqlite3Malloc
jmp 0x1401ce2fc
mov ebp, 1
jmp 0x1401ce588
mov r8, qword [rsi + 0x20]
test r8, r8
je 0x1401d02ce
lea rdx, str.target_object_alias_may_not_appear_in_FROM_clause:__s
mov rcx, rbx
call dbg.sqlite3ErrorMsg
jmp 0x1401ce388
mov rdx, r15
mov rcx, rbx
call dbg.sqlite3GenerateColumnNames
jmp 0x1401ce376
mov rax, qword [rsp + 0x40]
mov rcx, qword [r15 + 0x30]
mov qword [rsp + 0x50], r13
mov r12d, dword [rsp + 0x60]
mov r13, qword [rsp + 0x58]
mov eax, dword [rax + 0x60]
test rcx, rcx
je 0x1401ce7c9
cmp byte [rcx], 0x2c
je 0x1401d016e
test eax, 0x201
je 0x1401cf300
mov rax, qword [rsp + 0x50]
lea rsi, [rsp + 0x140]
xor r14d, r14d
mov qword [rsp + 0x60], rsi
lea rsi, [rsp + 0x110]
mov r11d, dword [rax]
mov qword [rsp + 0x68], rsi
mov rdi, rax
test r11d, r11d
jle 0x1401cee8b
mov qword [rsp + 0x208], r15
mov rbp, qword [rsp + 0x50]
mov r15, r13
mov dword [rsp + 0x80], r12d
mov r13, qword [rsp + 0x208]
jmp 0x1401ce968
and edx, 1
je 0x1401cedb8
mov rcx, qword [rdi + 0x68]
cmp byte [rcx + 0x12], 0
je 0x1401ce84c
cmp dword [rcx], 1
jle 0x1401cedb8
test eax, 0x4000000
je 0x1401cec00
lea rax, [rdi + 8]
mov r10d, dword [r13 + 4]
mov qword [rsp + 0x48], rax
mov rax, qword [rbx + 0x178]
mov qword [rsp + 0x58], rax
mov rax, qword [rdi + 0x18]
mov qword [rbx + 0x178], rax
movzx eax, byte [rcx + 0x12]
mov r11, rcx
test al, al
je 0x1401ce8a8
cmp dword [rcx], 1
jle 0x1401ce88f
cmp al, 2
jne 0x1401ce8a8
test byte [rbp + 0x44], 0x40
jne 0x1401ce8a8
mov rax, qword [rbx]
test byte [rax + 0x63], 2
je 0x1401d029b
nop word [rax + rax]
mov r9d, dword [r11 + 4]
test r9d, r9d
jg 0x1401cee10
mov rdx, qword [rsp + 0x48]
mov r9d, r14d
xor r8d, r8d
mov rcx, rbp
call dbg.isSelfJoinView
mov r10, rax
test rax, rax
je 0x1401cffe4
mov r9d, dword [rax + 0x30]
test r9d, r9d
jne 0x1401cf2c0
mov r9d, dword [r10 + 0x44]
mov r8d, dword [rdi + 0x4c]
mov edx, 0x73
mov rcx, r15
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x48], r10
call sym.sqlite3VdbeAddOp3
mov r10, qword [rsp + 0x48]
mov rax, qword [r10 + 0x28]
movzx eax, word [rax + 2]
mov word [r12 + 2], ax
mov rax, qword [rsp + 0x40]
cmp byte [rax + 0x67], 0
jne 0x1401ce388
mov rdx, qword [rsp + 0x68]
mov rcx, r13
mov dword [rsp + 0x110], 0
call dbg.heightOfSelect
mov eax, dword [rsp + 0x110]
sub dword [rbx + 0x13c], eax
mov rax, qword [rsp + 0x58]
mov qword [rbx + 0x178], rax
add r14d, 1
add rdi, 0x68
cmp dword [rbp], r14d
jle 0x1401cee70
cmp qword [rdi + 0x58], 0
jne 0x1401ce995
mov r8, qword [rdi + 0x18]
test r8, r8
je 0x1401ce995
mov rax, qword [rdi + 0x10]
lea r9, [0x14038ca94]
mov edx, 0x14
mov rcx, rbx
mov qword [rsp + 0x20], rax
call dbg.sqlite3AuthCheck
mov r12, qword [rdi + 0x30]
test r12, r12
je 0x1401ce956
mov rdx, qword [rsp + 0x60]
mov rcx, r13
movsxd rsi, r14d
mov dword [rsp + 0x140], 0
call dbg.heightOfSelect
mov eax, dword [rsp + 0x140]
lea rdx, [rsi + rsi*2]
add dword [rbx + 0x13c], eax
mov rax, qword [rsp + 0x40]
lea rdx, [rsi + rdx*4]
movzx edx, byte [rbp + rdx*8 + 0x49]
mov eax, dword [rax + 0x60]
test ah, 0x10
je 0x1401ce830
and edx, 1
test eax, 0x4000000
je 0x1401cec00
lea rax, [rdi + 8]
mov r10d, dword [r13 + 4]
mov qword [rsp + 0x48], rax
mov rax, qword [rbx + 0x178]
mov qword [rsp + 0x58], rax
mov rax, qword [rdi + 0x18]
mov qword [rbx + 0x178], rax
test dl, dl
jne 0x1401ceaa8
movzx r11d, byte [rbp + 0x44]
and r11d, 0x40
jne 0x1401ce8b5
mov rax, qword [rbx]
test byte [rax + 0x63], 2
jne 0x1401ce8b5
mov r9d, dword [rbp]
mov rdx, qword [rsp + 0x48]
lea r8d, [r14 + 1]
mov rcx, rbp
mov byte [rsp + 0x88], r11b
mov dword [rsp + 0x7c], r10d
call dbg.isSelfJoinView
mov r10d, dword [rsp + 0x7c]
movzx r11d, byte [rsp + 0x88]
test rax, rax
jne 0x1401ce8b5
test r14d, r14d
jne 0x1401ceab1
cmp r9d, 1
je 0x1401ceae6
test byte [rbp + 0xac], 2
jne 0x1401ceae6
and r10d, 0x10000000
je 0x1401ceae6
test r11b, r11b
je 0x1401ce8b5
mov r11, qword [rdi + 0x68]
jmp 0x1401ce8a8
mov rcx, qword [rdi + 0x68]
jmp 0x1401ce87b
and r10d, 0x10000000
jne 0x1401cea90
mov rax, qword [rsp + 0x48]
mov rdx, rbp
sub rdx, rdi
add rdx, rax
jmp 0x1401ceadb
sub rax, 0x68
cmp qword [rax + 0x28], 0
jne 0x1401cea90
test byte [rax + 0x3c], 0x22
jne 0x1401cea90
cmp rax, rdx
jne 0x1401cead0
mov r10d, dword [r15 + 0x90]
mov eax, dword [rbx + 0x38]
xor r9d, r9d
mov rcx, r15
mov edx, 0xb
lea r11d, [r10 + 1]
lea r8d, [rax + 1]
mov dword [rsp + 0x88], r10d
mov dword [rbx + 0x38], r8d
mov dword [rdi + 0x3c], r8d
mov dword [rsp + 0x20], r11d
mov dword [rsp + 0x7c], r11d
call sym.sqlite3VdbeAddOp3
mov r11d, dword [rsp + 0x7c]
mov eax, dword [rdi + 0x3c]
mov rcx, rbx
mov r9, qword [rsp + 0x48]
lea r8, str.CO_ROUTINE___S
mov edx, 1
mov dword [rdi + 0x38], r11d
mov byte [rsp + 0x140], 0xd
mov dword [rsp + 0x144], eax
mov qword [rsp + 0x158], 0
mov qword [rsp + 0x148], 0
mov dword [rsp + 0x150], 0
call dbg.sqlite3VdbeExplain
mov r8, qword [rsp + 0x60]
mov rdx, r12
mov rcx, rbx
call dbg.sqlite3Select
movzx edx, word [r12 + 2]
mov rax, qword [rdi + 0x28]
mov rcx, r15
mov word [rax + 0x3a], dx
lea rax, [rsi + rsi*2]
lea rax, [rsi + rax*4]
or byte [rbp + rax*8 + 0x48], 0x20
mov eax, dword [rsp + 0x14c]
mov edx, dword [rdi + 0x3c]
mov dword [rdi + 0x40], eax
call sym.sqlite3VdbeEndCoroutine
mov rcx, qword [r15]
mov edx, dword [r15 + 0x90]
lea rax, [0x140440540]
cmp byte [rcx + 0x67], 0
jne 0x1401cebe7
movsxd r10, dword [rsp + 0x88]
mov rax, qword [r15 + 0x88]
lea rcx, [r10 + r10*2]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
mov byte [rbx + 0x1f], 0
mov dword [rbx + 0x28], 0
jmp 0x1401ce916
lea rax, [rsi + rsi*2]
lea rax, [rsi + rax*4]
test word [rbp + rax*8 + 0x48], 0x108
jne 0x1401ce9f2
mov r11, qword [rdi + 0x30]
test r11, r11
je 0x1401cec6b
mov rax, r11
test byte [rax + 4], 9
jne 0x1401ce9f2
nop dword [rax + rax]
mov rcx, qword [rax + 0x50]
test rcx, rcx
je 0x1401cec60
cmp byte [rax], 0x87
jne 0x1401ce9f2
cmp qword [rax + 0x70], 0
jne 0x1401ce9f2
mov rax, rcx
test byte [rax + 4], 9
je 0x1401cec30
jmp 0x1401ce9f2
cmp qword [rax + 0x70], 0
jne 0x1401ce9f2
mov rax, qword [r11 + 0x48]
mov r9, qword [rdi + 0x58]
test rax, rax
je 0x1401cecc6
mov ecx, dword [rax]
test ecx, ecx
jle 0x1401cecc6
movsxd r8, ecx
mov qword [rsp + 0x48], rbp
mov r10d, 1
shl r8, 5
add r8, rax
nop dword [rax + rax]
movzx ecx, word [rax + 0x20]
test cx, cx
je 0x1401cecb8
mov ebp, 0x3f
sub ecx, 1
cmp cx, bp
cmova ecx, ebp
mov rbp, r10
shl rbp, cl
or r9, rbp
add rax, 0x20
cmp r8, rax
jne 0x1401cec98
mov rbp, qword [rsp + 0x48]
mov rax, qword [rdi + 0x28]
movsx r10d, word [rax + 0x36]
test r10d, r10d
jle 0x1401ce9f2
mov qword [rsp + 0x48], rbp
xor ecx, ecx
jmp 0x1401cecf4
add ecx, 1
cmp r10d, ecx
je 0x1401d098d
movabs r8, 0x8000000000000000
mov eax, 1
shl rax, cl
cmp ecx, 0x3f
cmovge rax, r8
test r9, rax
jne 0x1401cece8
movsxd rbp, ecx
mov rax, r11
shl rbp, 5
nop dword [rax]
mov r8, qword [rax + 0x20]
add r8, rbp
mov r8, qword [r8 + 8]
cmp byte [r8], 0x79
je 0x1401ced44
and dword [r8 + 4], 0xfff7dfff
mov byte [r8], 0x79
or dword [rax + 4], 0x1000000
mov rax, qword [rax + 0x50]
test rax, rax
jne 0x1401ced20
jmp 0x1401cece8
test r9d, r9d
jle 0x1401ce4a1
movsxd rax, r9d
lea edx, [r9 - 1]
lea rcx, [rax + rax*2]
lea rcx, [rax + rcx*4]
shl rcx, 3
lea r8, [r13 + rcx - 0x68]
lea rax, [r13 + rcx]
lea rcx, [rdx + rdx*2]
lea rdx, [rdx + rcx*4]
shl rdx, 3
sub r8, rdx
jmp 0x1401ced9d
sub rax, 0x68
cmp r8, rax
je 0x1401ce4a1
movzx edx, byte [rax - 0x24]
mov ecx, edx
and ecx, 0xffffffbf
and edx, 0x10
mov byte [rax - 0x24], cl
je 0x1401ced90
jmp 0x1401ce4a1
mov dword [rsp + 0x20], r14d
mov r8, qword [r13 + 0x30]
mov rdx, r12
mov r9, rbp
mov rcx, rbx
call sym.pushDownWhereTerms.isra.0
mov rax, qword [rsp + 0x40]
lea rdx, [rsi + rsi*2]
lea rdx, [rsi + rdx*4]
mov eax, dword [rax + 0x60]
movzx edx, byte [rbp + rdx*8 + 0x49]
jmp 0x1401ce9e4
mov r9, qword [r12]
mov dword [rsp + 0x20], eax
lea rdx, str.expected__d_columns_for__s_but_got__d
mov rcx, rbx
call dbg.sqlite3ErrorMsg
jmp 0x1401ce388
mov r8d, dword [r11 + 8]
mov dword [rsp + 0x20], 0
mov edx, 0xa
mov rcx, r15
mov qword [rsp + 0x48], r11
call sym.sqlite3VdbeAddOp3
mov r11, qword [rsp + 0x48]
mov r8d, dword [rdi + 0x4c]
mov r9d, dword [r11 + 0xc]
cmp r8d, r9d
je 0x1401cee5a
mov dword [rsp + 0x20], 0
mov edx, 0x73
mov rcx, r15
call sym.sqlite3VdbeAddOp3
mov r11, qword [rsp + 0x48]
movzx eax, word [r11 + 0x10]
mov word [r12 + 2], ax
jmp 0x1401ce916
mov qword [rsp + 0x208], r13
mov r12d, dword [rsp + 0x80]
mov r13, r15
mov r15, qword [rsp + 0x208]
mov rax, qword [r15 + 0x20]
mov r14, qword [rsp + 0xe0]
mov qword [rsp + 0x58], rax
mov rax, qword [r15 + 0x30]
mov qword [rsp + 0x60], rax
mov rax, qword [r15 + 0x38]
mov qword [rsp + 0x48], rax
mov rax, qword [r15 + 0x40]
mov qword [rsp + 0x68], rax
mov eax, dword [r15 + 4]
mov byte [rsp + 0xd4], al
and eax, 9
and byte [rsp + 0xd4], 1
cmp eax, 1
je 0x1401d09d7
mov rdi, 0xffffffffffffffff
test r14, r14
je 0x1401cef3d
mov rdi, qword [rsp + 0x58]
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
mov r9d, dword [rdi]
call dbg.sqlite3KeyInfoFromExprList
mov r8d, dword [rbx + 0x34]
mov edx, dword [r14]
mov rcx, rax
lea eax, [r8 + 1]
mov dword [rsp + 0xec], r8d
mov dword [rbx + 0x34], eax
mov eax, dword [rdi]
mov qword [rsp + 0x28], rcx
mov rcx, r13
mov dword [rsp + 0x30], 0xfffffff8
lea r9d, [rdx + rax + 1]
mov edx, 0x76
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp4
movsxd rdi, eax
mov rax, qword [rsp + 0x210]
mov dword [rsp + 0xf8], edi
cmp byte [rax], 0xc
je 0x1401d0a30
mov edx, dword [r15 + 4]
mov eax, dword [rbx + 0x44]
lea r8d, [rax - 1]
mov dword [rsp + 0x7c], eax
mov dword [rbx + 0x44], r8d
test dh, 0x40
jne 0x1401cef78
mov r9d, 0x140
mov word [r15 + 2], r9w
cmp qword [r15 + 0x60], 0
je 0x1401cef8e
mov rdx, r15
mov rcx, rbx
call dbg.computeLimitRegisters
mov edx, dword [r15 + 4]
mov r8d, dword [r15 + 8]
test r8d, r8d
jne 0x1401cefc6
test edi, edi
js 0x1401cefc6
mov rcx, qword [r13]
lea rax, [0x140440540]
cmp byte [rcx + 0x67], 0
jne 0x1401cefbb
mov rax, qword [r13 + 0x88]
lea rcx, [rdi + rdi*2]
lea rax, [rax + rcx*8]
mov byte [rax], 0x77
mov byte [rsp + 0x104], 1
xor eax, eax
and edx, 1
jne 0x1401d090f
mov byte [rsp + 0xd5], al
mov eax, dword [rsp + 0x78]
test eax, eax
jne 0x1401d0997
cmp qword [rsp + 0x48], 0
jne 0x1401d02da
movzx esi, byte [rsp + 0xd4]
xor edx, edx
movzx eax, word [r15 + 4]
mov rbp, qword [r15 + 0x70]
test sil, sil
setne dl
and ax, 0x4000
shl edx, 8
or edx, eax
mov word [rsp + 0x68], dx
test rbp, rbp
je 0x1401cf360
mov rax, qword [r15 + 0x28]
mov rax, qword [rax + 0x30]
mov rax, qword [rax + 0x20]
mov r9d, dword [rax]
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1401d0dd7
mov rdi, qword [rsp + 0x48]
mov r8d, dword [rbp + 0x58]
mov edx, 0x76
mov dword [rsp + 0x20], 0
mov rcx, rdi
call sym.sqlite3VdbeAddOp3
mov r9d, dword [rbp + 0x58]
mov edx, 0x73
mov rcx, rdi
mov dword [rsp + 0x20], 0
lea r8d, [r9 + 1]
call sym.sqlite3VdbeAddOp3
mov r9d, dword [rbp + 0x58]
mov edx, 0x73
mov rcx, rdi
mov dword [rsp + 0x20], 0
lea r8d, [r9 + 2]
call sym.sqlite3VdbeAddOp3
mov r9d, dword [rbp + 0x58]
mov edx, 0x73
mov rcx, rdi
mov dword [rsp + 0x20], 0
lea r8d, [r9 + 3]
call sym.sqlite3VdbeAddOp3
mov rax, qword [rbp + 0x10]
test rax, rax
je 0x1401cf0ea
mov edx, dword [rax]
mov eax, dword [rbx + 0x38]
xor r8d, r8d
mov rcx, rdi
lea r9d, [rax + 1]
add eax, edx
mov dword [rbp + 0x6c], r9d
mov dword [rbx + 0x38], eax
lea eax, [rdx + r9 - 1]
mov edx, 0x4b
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp3
mov eax, dword [rbx + 0x38]
mov rcx, qword [rsp + 0x48]
mov edx, 0x47
mov rdi, rbp
mov r8d, 1
lea r9d, [rax + 1]
mov dword [rbx + 0x38], r9d
mov dword [rbp + 0x80], r9d
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp3
cmp byte [rbp + 0x24], 0
jne 0x1401d1bac
mov byte [rsp + 0x78], sil
mov rsi, rbx
mov rbx, qword [rsp + 0x48]
mov dword [rsp + 0x70], r12d
jmp 0x1401cf222
cmp byte [rdi + 0x21], 0x5a
je 0x1401cf230
mov rax, qword [rdi + 0x70]
xor r8d, r8d
xor r9d, r9d
mov rcx, rsi
mov rdx, qword [rax + 0x20]
call dbg.sqlite3KeyInfoFromExprList
mov r8d, dword [rsi + 0x34]
mov r12, rax
lea eax, [r8 + 1]
movd xmm0, r8d
mov dword [rsi + 0x34], eax
mov eax, dword [rsi + 0x38]
lea edx, [rax + 1]
add eax, 3
movd xmm1, edx
punpckldq xmm0, xmm1
movq qword [rdi + 0x64], xmm0
mov dword [rsi + 0x38], eax
test r12, r12
je 0x1401d0d9b
mov rax, qword [rdi + 0x50]
mov rax, qword [rax + 0x38]
cmp byte [rax + 1], 0x69
jne 0x1401cf1af
mov rax, qword [r12 + 0x18]
mov byte [rax], 1
mov r8d, dword [rdi + 0x64]
mov dword [rsp + 0x20], 0
mov r9d, 2
mov edx, 0x76
mov rcx, rbx
call sym.sqlite3VdbeAddOp3
mov rax, qword [rbx]
cmp byte [rax + 0x67], 0
jne 0x1401d113d
movsxd rax, dword [rbx + 0x90]
lea rdx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rax, [rax + rdx*8 - 0x18]
mov byte [rax + 1], 0xf8
mov qword [rax + 0x10], r12
mov eax, dword [rdi + 0x68]
xor r8d, r8d
mov edx, 0x47
mov rcx, rbx
mov dword [rsp + 0x20], 0
lea r9d, [rax + 1]
call sym.sqlite3VdbeAddOp3
mov rdi, qword [rdi + 0x40]
test rdi, rdi
je 0x1401cf353
mov rax, qword [rdi + 0x50]
test byte [rax + 5], 0x10
jne 0x1401cf140
mov rax, qword [rax + 0x38]
lea rcx, str.first_value
cmp rax, rcx
je 0x1401cf330
lea rcx, str.nth_value
cmp rax, rcx
je 0x1401cf330
lea rcx, [0x14039c848]
cmp rax, rcx
je 0x1401cf26c
lea rdx, str.lead
cmp rax, rdx
jne 0x1401cf215
mov r8d, dword [rsi + 0x34]
lea eax, [r8 + 1]
mov dword [rsi + 0x34], eax
mov dword [rdi + 0x64], r8d
mov r9d, dword [rbp + 0x58]
mov dword [rsp + 0x20], 0
mov edx, 0x73
mov rcx, rbx
call sym.sqlite3VdbeAddOp3
jmp 0x1401cf215
and r9d, 0xffffffd7
mov edx, dword [rdi + 0x4c]
mov rcx, qword [r15 + 0x30]
xor r8d, r8d
mov byte [rdi + 0x44], r9b
call dbg.unsetJoinExpr
jmp 0x1401ce604
mov r8d, dword [rax + 0x34]
mov dword [rsp + 0x20], 0
mov edx, 0xa
mov rcx, r15
mov qword [rsp + 0x48], rax
call sym.sqlite3VdbeAddOp3
mov r10, qword [rsp + 0x48]
jmp 0x1401ce8e1
mov rcx, qword [rbx]
mov rdx, rsi
call dbg.exprListDeleteNN
jmp 0x1401ce325
mov rdx, r15
mov rcx, rbx
call dbg.countOfViewOptimization
test eax, eax
je 0x1401ce7d4
mov rax, qword [rsp + 0x40]
cmp byte [rax + 0x67], 0
jne 0x1401ce388
mov rax, qword [r15 + 0x28]
mov qword [rsp + 0x50], rax
jmp 0x1401ce7d4
mov eax, dword [rsi + 0x38]
mov r8d, dword [rsi + 0x34]
lea edx, [rax + 1]
add eax, 2
mov dword [rdi + 0x68], edx
lea edx, [r8 + 1]
mov dword [rsi + 0x34], edx
mov dword [rdi + 0x64], r8d
mov dword [rsi + 0x38], eax
jmp 0x1401cf27b
mov rbx, rsi
mov r12d, dword [rsp + 0x70]
movzx esi, byte [rsp + 0x78]
movsx eax, word [r15 + 2]
mov qword [rsp + 0x28], r15
mov r9, r14
mov rcx, rbx
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x50]
mov dword [rsp + 0x38], eax
movzx eax, word [rsp + 0x68]
mov dword [rsp + 0x30], eax
mov rax, qword [r15 + 0x20]
mov qword [rsp + 0x20], rax
call sym.sqlite3WhereBegin
mov qword [rsp + 0x68], rax
test rax, rax
je 0x1401ce388
movzx eax, word [rax + 0x48]
cmp word [r15 + 2], ax
jle 0x1401cf3b3
mov word [r15 + 2], ax
test sil, sil
je 0x1401cf3cc
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 0x43]
test al, al
je 0x1401cf3cc
mov byte [rsp + 0xd5], al
test r14, r14
je 0x1401d09bb
mov rdi, qword [rsp + 0x68]
xor edx, edx
movsx eax, byte [rdi + 0x41]
test al, al
cmovs eax, edx
mov dword [rsp + 0xe8], eax
test byte [rdi + 0x44], 4
je 0x1401cf41f
mov rdi, qword [rsp + 0x68]
movzx edx, byte [rdi + 0x40]
sub edx, 1
movsxd rdx, edx
lea rcx, [rdx*8]
sub rcx, rdx
shl rcx, 4
cmp qword [rdi + rcx + 0x398], 0
je 0x1401d1ad9
mov edx, dword [rdi + 0x30]
mov dword [rsp + 0x100], edx
cmp dword [r14], eax
je 0x1401d09af
test rbp, rbp
je 0x1401d0d48
mov eax, dword [rbx + 0x44]
mov r14, qword [rbx + 0x10]
movq xmm6, rbx
lea edi, [rax - 2]
mov dword [rsp + 0xb8], eax
lea esi, [rax - 1]
sub eax, 3
mov dword [rsp + 0xb0], edi
mov edi, dword [rbx + 0x38]
mov dword [rsp + 0x78], eax
add edi, 1
mov dword [rbx + 0x44], eax
mov dword [rsp + 0x98], edi
mov dword [rbx + 0x38], edi
mov rdi, qword [r15 + 0x70]
mov dword [rsp + 0x88], eax
movq xmm5, rdi
mov qword [rsp + 0x48], rdi
mov rdi, qword [rdi + 0x18]
punpcklqdq xmm6, xmm5
mov qword [rsp + 0x90], rdi
test r14, r14
je 0x1401d0cda
mov rax, qword [r15 + 0x28]
pxor xmm0, xmm0
mov edi, dword [rax + 0x4c]
mov rax, qword [rax + 0x28]
movsx ebp, word [rax + 0x36]
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0xa4], edi
mov rdi, qword [rsp + 0x48]
movups xmmword [rsp + 0x170], xmm0
sub eax, 1
movups xmmword [rsp + 0x160], xmm0
mov dword [rbx + 0x44], eax
mov dword [rsp + 0xa8], eax
mov eax, dword [rsp + 0x98]
mov qword [rsp + 0x180], 0
mov dword [rsp + 0x15c], eax
movups xmmword [rsp + 0x140], xmm6
mov eax, dword [rdi + 0x58]
mov dword [rsp + 0x158], esi
lea esi, [rax + 1]
mov dword [rsp + 0x174], eax
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x9c], esi
lea esi, [rax + 2]
add eax, 3
mov qword [rsp + 0x150], r14
mov dword [rsp + 0x16c], esi
mov dword [rsp + 0x17c], eax
movzx edx, byte [rdi + 0x21]
mov dword [rsp + 0xc8], esi
mov dword [rsp + 0xac], eax
cmp dl, 0x56
je 0x1401d0ef6
cmp dl, 0x5a
je 0x1401d0f53
mov dword [rsp + 0x164], 2
mov eax, dword [rbx + 0x38]
sub edx, 0x56
mov dword [rsp + 0x50], 0
lea esi, [rax + 1]
add eax, ebp
and edx, 0xfd
lea edi, [rax + 1]
mov dword [rsp + 0x80], edi
lea edi, [rax + 2]
mov dword [rsp + 0x8c], edi
mov dword [rbx + 0x38], edi
mov dword [rsp + 0x168], edi
jne 0x1401cf5b5
add eax, 3
mov dword [rsp + 0x50], eax
mov dword [rbx + 0x38], eax
mov rax, qword [rsp + 0x48]
mov dword [rsp + 0x60], 0
movzx eax, byte [rax + 0x22]
sub eax, 0x56
test al, 0xfd
jne 0x1401cf5da
mov eax, dword [rbx + 0x38]
add eax, 1
mov dword [rsp + 0x60], eax
mov dword [rbx + 0x38], eax
mov rax, qword [rsp + 0x48]
cmp byte [rax + 0x20], 0x4c
je 0x1401d0f30
mov rax, qword [rsp + 0x90]
xor edx, edx
test rax, rax
je 0x1401cf5fa
mov edx, dword [rax]
mov rax, qword [rsp + 0x48]
mov edi, dword [rax + 0x78]
mov rax, qword [rax + 0x10]
add edi, esi
mov dword [rsp + 0xbc], edi
test rax, rax
je 0x1401cf61f
mov eax, dword [rax]
add edi, eax
mov dword [rsp + 0xbc], edi
mov ecx, dword [rbx + 0x38]
lea eax, [rcx + rdx]
lea r8d, [rax + 1]
add eax, edx
mov dword [rsp + 0x170], r8d
lea r8d, [rax + 1]
add eax, edx
add edx, eax
add ecx, 1
mov dword [rsp + 0x178], r8d
lea r8d, [rax + 1]
mov dword [rbx + 0x38], edx
setne dl
cmp qword [rsp + 0x90], 0
setne al
mov dword [rsp + 0x180], r8d
and edx, eax
mov dword [rsp + 0xa0], ecx
mov byte [rsp + 0xc0], dl
xor edi, edi
test ebp, ebp
jle 0x1401cf6b9
mov qword [rsp + 0x200], rbx
mov ebx, edi
mov edi, dword [rsp + 0xa4]
nop dword [rax + rax]
lea eax, [rsi + rbx]
mov r9d, ebx
mov r8d, edi
mov edx, 0x5e
mov dword [rsp + 0x20], eax
mov rcx, r14
add ebx, 1
call sym.sqlite3VdbeAddOp3
cmp ebp, ebx
jne 0x1401cf690
mov rbx, qword [rsp + 0x200]
mov eax, dword [rsp + 0x80]
mov r9d, ebp
mov r8d, esi
mov rcx, r14
mov edx, 0x61
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp3
mov rax, qword [rsp + 0x48]
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x1401d0d2d
mov rax, qword [rsp + 0x48]
xor r9d, r9d
mov rcx, rbx
xor r8d, r8d
mov edi, dword [rdx]
add esi, dword [rax + 0x78]
call dbg.sqlite3KeyInfoFromExprList
mov ebp, esi
mov ecx, dword [rbx + 0x38]
mov r10d, dword [r14 + 0x90]
mov rsi, rax
mov rax, qword [rsp + 0x48]
movd xmm0, ebp
add ecx, 1
mov r9d, dword [rax + 0x6c]
mov dword [rsp + 0xa4], ecx
mov dword [rbx + 0x38], ecx
movd xmm3, r9d
punpckldq xmm0, xmm3
cmp r10d, dword [r14 + 0x94]
jge 0x1401d205a
lea eax, [r10 + 1]
mov dword [r14 + 0x90], eax
movsxd rax, r10d
lea rdx, [rax + rax*2]
mov rax, qword [r14 + 0x88]
lea rax, [rax + rdx*8]
mov dword [rax + 0xc], edi
mov qword [rax + 0x10], 0
mov dword [rax], 0x5a
movq qword [rax + 4], xmm0
mov rax, qword [r14]
cmp byte [rax + 0x67], 0
jne 0x1401d1ede
movsxd rax, dword [r14 + 0x90]
lea rdx, [rax + rax*2]
mov rax, qword [r14 + 0x88]
lea rax, [rax + rdx*8 - 0x18]
mov byte [rax + 1], 0xf8
mov qword [rax + 0x10], rsi
lea r8d, [r10 + 2]
lea r9d, [r10 + 4]
mov edx, 0xe
mov rcx, r14
mov dword [rsp + 0x20], r8d
call sym.sqlite3VdbeAddOp3
mov eax, dword [r14 + 0x90]
mov dword [rsp + 0xc4], eax
cmp eax, dword [r14 + 0x94]
jge 0x1401d2076
mov esi, dword [rsp + 0xc4]
lea eax, [rsi + 1]
mov dword [r14 + 0x90], eax
movsxd rax, esi
mov esi, dword [rsp + 0xa4]
lea rdx, [rax + rax*2]
mov rax, qword [r14 + 0x88]
lea rax, [rax + rdx*8]
mov dword [rax + 4], esi
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
mov dword [rax], 0xa
mov rax, qword [rsp + 0x48]
sub edi, 1
mov r8d, ebp
mov edx, 0x50
mov rcx, r14
mov r9d, dword [rax + 0x6c]
mov dword [rsp + 0x20], edi
call sym.sqlite3VdbeAddOp3
mov esi, dword [rsp + 0x9c]
mov edi, dword [rsp + 0x8c]
mov edx, 0x7f
mov rcx, r14
mov dword [rsp + 0x20], 0
mov r8d, esi
mov r9d, edi
call sym.sqlite3VdbeAddOp3
mov dword [rsp + 0x20], edi
mov r8d, esi
mov rcx, r14
mov r9d, dword [rsp + 0x80]
mov edx, pe_nt_image_headers64
call sym.sqlite3VdbeAddOp3
mov rax, qword [rsp + 0x48]
mov esi, dword [r14 + 0x90]
mov r8d, dword [rax + 0x80]
cmp esi, dword [r14 + 0x94]
jge 0x1401d1aee
lea eax, [rsi + 1]
mov edi, dword [rsp + 0x8c]
mov dword [r14 + 0x90], eax
movsxd rax, esi
lea rdx, [rax + rax*2]
mov rax, qword [r14 + 0x88]
lea rax, [rax + rdx*8]
mov dword [rax + 4], r8d
mov dword [rax + 8], 0
mov dword [rax + 0xc], edi
mov qword [rax + 0x10], 0
mov dword [rax], 0x34
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1401d0d0f
mov rax, qword [rsp + 0x48]
xor edi, edi
mov rbp, rcx
mov qword [rsp + 0x80], r13
mov dword [rsp + 0x8c], esi
mov qword [rsp + 0x200], rbx
mov rsi, rax
mov rbx, rax
nop
mov r13, qword [rsi + 0x50]
mov r9d, dword [rsi + 0x5c]
mov edx, 0x4b
xor r8d, r8d
mov dword [rsp + 0x20], 0
mov rcx, rbp
call sym.sqlite3VdbeAddOp3
mov rax, qword [rsi + 0x70]
mov rdx, qword [rax + 0x20]
xor eax, eax
test rdx, rdx
je 0x1401cf941
mov eax, dword [rdx]
mov r9d, dword [rbx + 0x84]
cmp edi, eax
cmovl edi, eax
test r9d, r9d
jne 0x1401cf990
mov rax, qword [r13 + 0x38]
lea rcx, str.nth_value
cmp rax, rcx
je 0x1401cffa4
lea rcx, str.first_value
cmp rax, rcx
je 0x1401cffa4
test byte [r13 + 5], 0x10
je 0x1401cf990
mov r8d, dword [rsi + 0x64]
test r8d, r8d
jne 0x1401d0b3c
nop word [rax + rax]
mov rsi, qword [rsi + 0x40]
test rsi, rsi
jne 0x1401cf910
mov rbx, qword [rsp + 0x200]
mov r8d, dword [rsp + 0x50]
mov r13, qword [rsp + 0x80]
movsxd rsi, dword [rsp + 0x8c]
mov eax, dword [rbx + 0x38]
lea edx, [rdi + rax]
add eax, 1
mov dword [rbx + 0x38], edx
mov dword [rsp + 0x160], eax
test r8d, r8d
je 0x1401cfa09
cmp qword [rbx + 0x10], 0
je 0x1401cf9ea
mov rax, qword [rsp + 0x48]
mov rcx, rbx
mov rdx, qword [rax + 0x28]
call sym.sqlite3ExprCode.part.0
mov rax, qword [rsp + 0x48]
mov edx, dword [rsp + 0x50]
mov rcx, rbx
cmp byte [rax + 0x20], 0x59
sete al
movzx eax, al
lea r8d, [rax + rax*2]
call dbg.windowCheckValue
mov r8d, dword [rsp + 0x60]
test r8d, r8d
je 0x1401cfa4b
cmp qword [rbx + 0x10], 0
je 0x1401cfa2b
mov rax, qword [rsp + 0x48]
mov rcx, rbx
mov rdx, qword [rax + 0x30]
call sym.sqlite3ExprCode.part.0
mov rax, qword [rsp + 0x48]
mov edx, dword [rsp + 0x60]
mov rcx, rbx
cmp byte [rax + 0x20], 0x59
sete al
movzx eax, al
lea r8d, [rax + rax*2 + 1]
call dbg.windowCheckValue
mov rcx, qword [rsp + 0x48]
lea rdi, [rsp + 0x140]
cmp byte [rcx + 0x20], 0x59
movzx eax, byte [rcx + 0x21]
je 0x1401cfa75
cmp byte [rcx + 0x22], al
jne 0x1401cfa75
mov r8d, dword [rsp + 0x50]
test r8d, r8d
jne 0x1401d2109
cmp al, 0x56
je 0x1401d1170
cmp al, 0x5a
jne 0x1401d0ca2
mov r8d, dword [rsp + 0x70]
xor r9d, r9d
mov edx, 0x24
mov rcx, r14
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp3
xor r9d, r9d
mov edx, 0x24
mov rcx, r14
mov dword [rsp + 0x20], 0
mov r8d, dword [rsp + 0xac]
call sym.sqlite3VdbeAddOp3
cmp byte [rsp + 0xc0], 0
jne 0x1401d0feb
mov dword [rsp + 0x20], 0
xor r8d, r8d
mov edx, 9
mov rcx, r14
mov r9d, dword [rsp + 0xa8]
call sym.sqlite3VdbeAddOp3
mov rcx, qword [r14]
mov eax, dword [r14 + 0x90]
lea rdx, [0x140440540]
cmp byte [rcx + 0x67], 0
jne 0x1401cfb16
mov rdx, qword [r14 + 0x88]
lea rcx, [rsi + rsi*2]
lea rdx, [rdx + rcx*8]
mov r9d, dword [rsp + 0xa0]
mov dword [rdx + 8], eax
test r9d, r9d
jne 0x1401d10e5
mov rax, qword [rsp + 0x48]
cmp byte [rax + 0x21], 0x56
je 0x1401d1b6e
mov rax, qword [rsp + 0x48]
cmp byte [rax + 0x22], 0x58
je 0x1401d137c
xor r9d, r9d
xor r8d, r8d
mov edx, 3
mov rcx, rdi
call dbg.windowCodeOp
mov rax, qword [rsp + 0x48]
cmp byte [rax + 0x22], 0x5a
je 0x1401d0ecc
mov rax, qword [rsp + 0x48]
cmp byte [rax + 0x20], 0x59
je 0x1401d226b
mov ecx, dword [rsp + 0x60]
test ecx, ecx
jne 0x1401d0e30
xor r9d, r9d
xor r8d, r8d
mov edx, 1
mov rcx, rdi
call dbg.windowCodeOp
mov r8d, dword [rsp + 0x50]
mov rcx, rdi
xor r9d, r9d
mov edx, 2
call dbg.windowCodeOp
mov rcx, qword [r14 + 0x18]
mov r8d, dword [rsp + 0x88]
mov eax, dword [rcx + 0x44]
neg r8d
add eax, dword [rcx + 0x48]
js 0x1401d13d1
mov edx, dword [r14 + 0x90]
mov rax, qword [rcx + 0x50]
movsxd r8, r8d
mov dword [rax + r8*4], edx
mov rcx, qword [rsp + 0x68]
call sym.sqlite3WhereEnd
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x10], 0
je 0x1401d0cc7
mov r12d, dword [r14 + 0x90]
mov eax, dword [r14 + 0x94]
cmp r12d, eax
jge 0x1401d20d5
movsxd rdx, r12d
lea esi, [r12 + 1]
lea rcx, [rdx + rdx*2]
mov rdx, qword [r14 + 0x88]
mov dword [r14 + 0x90], esi
lea rdx, [rdx + rcx*8]
mov ecx, dword [rsp + 0xa4]
mov dword [rdx + 0xc], 0
mov dword [rdx + 8], ecx
mov qword [rdx + 0x10], 0
mov qword [rdx], 0x47
mov rcx, qword [r14]
lea rdx, [0x140440540]
cmp byte [rcx + 0x67], 0
jne 0x1401cfc70
movsxd rdx, dword [rsp + 0xc4]
lea rcx, [rdx + rdx*2]
mov rdx, qword [r14 + 0x88]
lea rdx, [rdx + rcx*8]
mov dword [rdx + 8], esi
mov dword [rsp + 0x168], 0
cmp esi, eax
jge 0x1401d1ab4
lea eax, [rsi + 1]
mov ecx, dword [rsp + 0x9c]
mov dword [r14 + 0x90], eax
movsxd rax, esi
lea rdx, [rax + rax*2]
mov rax, qword [r14 + 0x88]
lea rax, [rax + rdx*8]
mov dword [rax + 4], ecx
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
mov dword [rax], 0x24
mov rax, qword [rsp + 0x48]
cmp byte [rax + 0x22], 0x58
je 0x1401d1b10
mov rax, qword [rsp + 0x48]
xor r9d, r9d
xor r8d, r8d
mov edx, 3
mov rcx, rdi
cmp byte [rax + 0x21], 0x56
je 0x1401d1260
call dbg.windowCodeOp
xor r8d, r8d
mov edx, 1
mov rcx, rdi
mov r9d, 1
mov ebp, dword [r14 + 0x90]
call dbg.windowCodeOp
mov r8d, dword [rsp + 0x50]
xor r9d, r9d
mov rcx, rdi
mov edx, 2
mov dword [rsp + 0x60], eax
call dbg.windowCodeOp
xor r8d, r8d
mov edx, 9
mov r9d, ebp
mov dword [rsp + 0x20], 0
mov rcx, r14
call sym.sqlite3VdbeAddOp3
mov rdx, qword [r14]
mov eax, dword [r14 + 0x90]
cmp byte [rdx + 0x67], 0
jne 0x1401d0e1e
movsxd rbp, dword [rsp + 0x60]
mov rdx, qword [r14 + 0x88]
lea rcx, [rbp + rbp*2]
mov dword [rdx + rcx*8 + 8], eax
movsxd rsi, esi
lea rcx, [rsi + rsi*2]
lea rdx, [rdx + rcx*8]
mov dword [rdx + 8], eax
mov r8d, dword [rsp + 0x70]
xor r9d, r9d
mov edx, 0x92
mov dword [rsp + 0x20], 0
mov rcx, r14
call sym.sqlite3VdbeAddOp3
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x10], 0
je 0x1401cfe00
mov r9d, dword [rax + 0x84]
test r9d, r9d
jne 0x1401d141a
mov rcx, qword [r14]
mov edx, dword [r14 + 0x90]
lea rax, [0x140440540]
cmp byte [rcx + 0x67], 0
jne 0x1401cfddd
movsxd rax, r12d
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 0x88]
lea rax, [rax + rcx*8]
mov dword [rax + 4], edx
xor r9d, r9d
mov edx, 0x43
mov rcx, r14
mov dword [rsp + 0x20], 0
mov r8d, dword [rsp + 0xa4]
call sym.sqlite3VdbeAddOp3
mov r9d, dword [rsp + 0x78]
xor r8d, r8d
mov rcx, r13
mov edx, 9
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp3
mov rcx, qword [r13 + 0x18]
mov r8d, dword [rsp + 0xb8]
mov eax, dword [rcx + 0x44]
neg r8d
add eax, dword [rcx + 0x48]
js 0x1401d13eb
mov edx, dword [r13 + 0x90]
mov rax, qword [rcx + 0x50]
movsxd r8, r8d
mov dword [rax + r8*4], edx
mov eax, dword [rsp + 0x78]
mov r8d, 0xffffffff
mov rcx, rbx
mov rdx, r15
mov edi, dword [rsp + 0xb0]
lea r9, [rsp + 0xe0]
mov dword [rsp + 0x100], 0
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x210]
mov dword [rsp + 0x30], edi
not edi
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xd4]
mov qword [rsp + 0x20], rax
call dbg.selectInnerLoop
mov rcx, qword [r13 + 0x18]
movsxd r8, edi
mov eax, dword [rcx + 0x44]
add eax, dword [rcx + 0x48]
js 0x1401d13de
mov edx, dword [r13 + 0x90]
mov rax, qword [rcx + 0x50]
mov dword [rax + r8*4], edx
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, r13
mov edx, 0x43
mov r8d, dword [rsp + 0x98]
call sym.sqlite3VdbeAddOp3
mov rcx, qword [r13 + 0x18]
mov r8d, dword [rsp + 0x78]
mov eax, dword [rcx + 0x44]
add eax, dword [rcx + 0x48]
not r8d
js 0x1401d13f8
mov edx, dword [r13 + 0x90]
mov rax, qword [rcx + 0x50]
movsxd r8, r8d
mov dword [rax + r8*4], edx
xor r14d, r14d
cmp byte [rsp + 0xd5], 3
je 0x1401d0e01
cmp qword [rsp + 0xe0], 0
je 0x1401cff4d
mov rax, qword [rsp + 0x58]
lea r8, [rsp + 0xe0]
mov rdx, r15
mov rcx, rbx
mov r9d, dword [rax]
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0x20], rax
call dbg.generateSortTail
mov rcx, qword [r13 + 0x18]
mov r8d, dword [rsp + 0x7c]
mov eax, dword [rcx + 0x44]
neg r8d
add eax, dword [rcx + 0x48]
js 0x1401d0c95
mov edx, dword [r13 + 0x90]
mov rax, qword [rcx + 0x50]
movsxd r8, r8d
mov dword [rax + r8*4], edx
mov edx, dword [rbx + 0x30]
xor eax, eax
test edx, edx
setg al
test r14, r14
je 0x1401ce390
mov rcx, qword [rsp + 0x40]
mov rdx, r14
mov dword [rsp + 0x48], eax
call dbg.exprListDeleteNN
mov eax, dword [rsp + 0x48]
jmp 0x1401ce390
mov r9d, dword [rsi + 0x68]
xor r8d, r8d
mov rcx, rbp
mov edx, 0x47
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp3
mov eax, dword [rsi + 0x68]
xor r8d, r8d
mov edx, 0x47
mov dword [rsp + 0x20], 0
mov rcx, rbp
lea r9d, [rax + 1]
call sym.sqlite3VdbeAddOp3
jmp 0x1401cf976
mov eax, dword [rbx + 0x38]
add eax, 1
mov dword [rbx + 0x38], eax
mov dword [rdi + 0x3c], eax
mov eax, dword [r15 + 0x90]
mov dword [rsp + 0x7c], eax
cmp eax, dword [r15 + 0x94]
jge 0x1401d1115
movsxd rax, dword [rsp + 0x7c]
lea r11d, [rax + 1]
lea rdx, [rax + rax*2]
mov rax, qword [r15 + 0x88]
mov dword [r15 + 0x90], r11d
lea rax, [rax + rdx*8]
mov qword [rax], 9
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
lea rax, [rsi + rsi*2]
mov dword [rdi + 0x38], r11d
lea rax, [rsi + rax*4]
lea rdx, [rbp + rax*8 + 0x30]
movzx eax, byte [rdx + 0x18]
or eax, 0x10
mov byte [rdx + 0x18], al
test al, 8
je 0x1401d0b87
mov eax, dword [rdi + 0x4c]
mov r9, qword [rsp + 0x48]
mov edx, 1
mov rcx, rbx
lea r8, str.MATERIALIZE___S
mov dword [rsp + 0x88], r11d
mov byte [rsp + 0x140], 0xc
mov dword [rsp + 0x144], eax
mov qword [rsp + 0x158], 0
mov qword [rsp + 0x148], 0
mov dword [rsp + 0x150], 0
call dbg.sqlite3VdbeExplain
mov r8, qword [rsp + 0x60]
mov rdx, r12
mov rcx, rbx
call dbg.sqlite3Select
mov rax, qword [rdi + 0x28]
movzx edx, word [r12 + 2]
mov r11d, dword [rsp + 0x88]
mov word [rax + 0x3a], dx
mov r8d, dword [rdi + 0x3c]
mov edx, 0x43
mov rcx, r15
mov r9d, r11d
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp3
mov rcx, qword [r15]
mov edx, dword [r15 + 0x90]
lea rax, [0x140440540]
cmp byte [rcx + 0x67], 0
jne 0x1401d0124
movsxd rax, dword [rsp + 0x7c]
lea rcx, [rax + rax*2]
mov rax, qword [r15 + 0x88]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
lea rax, [rsi + rsi*2]
lea rax, [rsi + rax*4]
mov byte [rbx + 0x1f], 0
mov dword [rbx + 0x28], 0
movzx eax, word [rbp + rax*8 + 0x48]
and ax, 0x108
cmp ax, 0x100
jne 0x1401ce916
mov rdx, qword [rdi + 0x38]
mov rax, qword [rdi + 0x68]
mov qword [rax + 4], rdx
mov edx, dword [rdi + 0x4c]
mov dword [rax + 0xc], edx
movzx edx, word [r12 + 2]
mov word [rax + 0x10], dx
jmp 0x1401ce916
test ah, 0x80
jne 0x1401ce7c9
lea rax, [sym.sqlite3SelectWalkNoop]
lea rdi, [dbg.propagateConstantExprRewrite]
pxor xmm7, xmm7
mov qword [rsp + 0x110], rbx
movq xmm2, rax
mov rax, qword [rbx]
movq xmm6, rdi
lea r8, [rsp + 0x110]
punpcklqdq xmm6, xmm2
lea rdi, [rsp + 0x140]
mov rsi, r8
add rax, 0x67
mov qword [rsp + 0x118], rax
jmp 0x1401d01db
mov ebp, dword [rsp + 0x124]
test ebp, ebp
je 0x1401d0d02
mov rcx, qword [r15 + 0x30]
mov rdx, qword [r15 + 0x28]
mov eax, 1
mov qword [rsp + 0x120], 0
mov qword [rsp + 0x130], 0
mov dword [rsp + 0x128], 0
test rdx, rdx
je 0x1401d0225
mov r8d, dword [rdx]
test r8d, r8d
jle 0x1401d0225
movzx eax, byte [rdx + 0x44]
and eax, 0x40
cmp al, 1
sbb eax, eax
and eax, 0xfffffffe
add eax, 3
mov rdx, rcx
mov rcx, rsi
mov dword [rsp + 0x12c], eax
call dbg.findConstInWhere
mov r14d, dword [rsp + 0x120]
test r14d, r14d
je 0x1401d01c8
mov rdx, qword [r15 + 0x30]
mov qword [rsp + 0x140], rbx
mov qword [rsp + 0x168], rsi
movups xmmword [rsp + 0x158], xmm7
movups xmmword [rsp + 0x148], xmm6
test rdx, rdx
je 0x1401d0275
mov rcx, rdi
call dbg.sqlite3WalkExprNN
mov rax, qword [rsp + 0x110]
mov rdx, qword [rsp + 0x130]
mov rcx, qword [rax]
test rdx, rdx
je 0x1401d01c8
call sym.sqlite3DbFreeNN
jmp 0x1401d01c8
mov r9d, dword [rbp]
mov rdx, qword [rsp + 0x48]
lea r8d, [r14 + 1]
mov rcx, rbp
mov dword [rsp + 0x7c], r10d
call dbg.isSelfJoinView
test rax, rax
jne 0x1401cea99
mov r10d, dword [rsp + 0x7c]
mov r11d, 1
jmp 0x1401cea73
mov rax, qword [rsi + 0x28]
mov r8, qword [rax]
jmp 0x1401ce76d
mov rcx, qword [r15 + 0x20]
mov edx, dword [rcx]
lea rax, [rcx + 8]
test edx, edx
jle 0x1401d0331
sub edx, 1
shl rdx, 5
lea rdx, [rcx + rdx + 0x28]
mov r8, rdx
sub r8, rax
and r8d, 0x20
je 0x1401d0318
xor r8d, r8d
mov word [rax + 0x1a], r8w
lea rax, [rcx + 0x28]
cmp rax, rdx
je 0x1401d0331
nop dword [rax]
xor r10d, r10d
xor r11d, r11d
add rax, 0x40
mov word [rax - 0x26], r10w
mov word [rax - 6], r11w
cmp rax, rdx
jne 0x1401d0318
mov rax, qword [rsp + 0x48]
mov edx, dword [rax]
add rax, 8
test edx, edx
jle 0x1401d0391
mov rdi, qword [rsp + 0x48]
lea ecx, [rdx - 1]
shl rcx, 5
lea rcx, [rdi + rcx + 0x28]
mov r8, rcx
sub r8, rax
and r8d, 0x20
je 0x1401d0378
xor r9d, r9d
mov word [rax + 0x1a], r9w
mov rax, qword [rsp + 0x48]
add rax, 0x28
cmp rax, rcx
je 0x1401d0391
nop dword [rax + rax]
xor r8d, r8d
xor r9d, r9d
add rax, 0x40
mov word [rax - 0x26], r8w
mov word [rax - 6], r9w
cmp rax, rcx
jne 0x1401d0378
cmp word [r15 + 2], 0x42
jle 0x1401d03a3
mov eax, 0x42
mov word [r15 + 2], ax
test r14, r14
je 0x1401d03b1
cmp dword [r14], edx
je 0x1401d11b5
mov eax, dword [rbx + 0x44]
mov dword [rsp + 0x80], eax
mov dword [rsp + 0x8c], 0
sub eax, 1
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x40]
mov edx, 0x38
mov dword [rbx + 0x44], eax
call sym.sqlite3DbMallocRawNN
mov rbp, rax
test rax, rax
je 0x1401d0441
pxor xmm0, xmm0
mov qword [rax + 0x30], 0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
mov rcx, qword [rbx]
test rcx, rcx
je 0x1401d0dc8
mov edx, 0x18
call sym.sqlite3DbMallocRawNN
test rax, rax
je 0x1401d1fb9
mov rdx, qword [rbx + 0xc8]
lea rdi, [dbg.agginfoFree]
mov qword [rax], rdx
mov qword [rbx + 0xc8], rax
mov qword [rax + 8], rbp
mov qword [rax + 0x10], rdi
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x67]
mov byte [rsp + 0x88], al
test al, al
jne 0x1401ce388
mov eax, dword [r15 + 0x10]
mov rsi, qword [rsp + 0x48]
pxor xmm6, xmm6
lea rdi, [rsp + 0x140]
mov dword [rbp + 0x34], eax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x140], rbx
mov qword [rsp + 0x148], rax
mov qword [rsp + 0x150], rbp
movups xmmword [rsp + 0x158], xmm6
movups xmmword [rsp + 0x168], xmm6
test rsi, rsi
je 0x1401d1221
mov eax, dword [rsi]
mov rdx, qword [rsp + 0x58]
mov qword [rbp + 0x10], rsi
mov rcx, rdi
mov word [rbp + 2], ax
call dbg.sqlite3ExprAnalyzeAggList
mov rdx, r14
mov rcx, rdi
call dbg.sqlite3ExprAnalyzeAggList
cmp qword [rsp + 0x68], 0
je 0x1401d0593
mov rdx, qword [r15 + 0x40]
lea rax, [sym.havingToWhereExprCb]
mov qword [rsp + 0x130], 0
lea r8, [rsp + 0x110]
mov qword [rsp + 0x110], rbx
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x138], r15
movups xmmword [rsp + 0x120], xmm6
test rdx, rdx
je 0x1401d052b
mov rcx, r8
mov qword [rsp + 0x60], r8
call dbg.sqlite3WalkExprNN
mov r8, qword [rsp + 0x60]
mov rax, qword [r15 + 0x30]
mov qword [rsp + 0x60], rax
lea rax, [dbg.sqlite3WalkerDepthIncrease]
lea rsi, [dbg.analyzeAggregate]
mov rdx, qword [rsp + 0x68]
mov rcx, r8
movq xmm4, rax
movq xmm0, rsi
lea rax, [dbg.sqlite3WalkerDepthDecrease]
mov dword [rsp + 0x130], 0
punpcklqdq xmm0, xmm4
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x138], rdi
mov qword [rsp + 0x110], 0
movups xmmword [rsp + 0x118], xmm0
call dbg.sqlite3WalkExprNN
mov eax, dword [rbp + 0x20]
xor r14d, r14d
cmp qword [r15 + 0x38], 0
mov dword [rbp + 0x24], eax
je 0x1401d1405
mov rdx, rdi
mov rcx, rbp
call dbg.analyzeAggFuncArgs
mov rax, qword [rsp + 0x40]
cmp byte [rax + 0x67], 0
jne 0x1401d0eec
cmp qword [rsp + 0x48], 0
mov edx, dword [rbp + 0x30]
je 0x1401d1c2d
xor eax, eax
mov word [rsp + 0xa4], ax
cmp edx, 1
je 0x1401d1fc9
mov eax, dword [rbx + 0x34]
mov r9d, dword [rbp + 0x20]
xor r8d, r8d
mov rcx, rbx
lea edx, [rax + 1]
mov dword [rbx + 0x34], edx
mov rdx, qword [rsp + 0x48]
mov dword [rbp + 4], eax
call dbg.sqlite3KeyInfoFromExprList
movzx r9d, word [rbp + 2]
mov r8d, dword [rbp + 4]
mov rcx, r13
mov dword [rsp + 0x30], 0xfffffff8
mov edx, 0x77
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov qword [rsp + 0xb0], rax
call sym.sqlite3VdbeAddOp4
mov rcx, qword [rsp + 0x48]
xor r8d, r8d
mov dword [rsp + 0xc0], eax
mov eax, dword [rbx + 0x38]
lea esi, [rax + 1]
lea r11d, [rax + 2]
mov dword [rsp + 0x90], esi
lea esi, [rax + 3]
mov dword [rsp + 0x9c], esi
mov esi, dword [rbx + 0x44]
mov dword [rsp + 0xac], r11d
lea r10d, [rsi - 1]
mov dword [rsp + 0xc8], esi
sub esi, 2
mov dword [rbx + 0x44], esi
mov dword [rsp + 0xb8], r10d
lea r10d, [rax + 4]
mov dword [rsp + 0xa8], esi
lea esi, [rax + 5]
mov eax, dword [rcx]
mov rcx, r13
mov dword [rsp + 0xa0], r10d
lea edx, [r10 + rax]
mov dword [rsp + 0xc4], esi
add eax, edx
lea r9d, [rdx + 1]
mov edx, 0x47
mov dword [rbx + 0x38], eax
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x88], r9d
mov r9d, r11d
call sym.sqlite3VdbeAddOp3
mov rcx, qword [rsp + 0x48]
mov r9d, esi
xor r8d, r8d
mov edx, 0x4b
mov eax, dword [rcx]
mov rcx, r13
add eax, esi
sub eax, 1
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp3
mov dword [rsp + 0x20], 0
mov edx, 0xa
mov rcx, r13
mov r9d, dword [rsp + 0xa8]
mov r8d, dword [rsp + 0xa0]
call sym.sqlite3VdbeAddOp3
movzx esi, byte [rsp + 0xd4]
mov rcx, rbx
mov eax, pe_nt_image_headers64
mov edx, 0x40
mov qword [rsp + 0x28], r15
mov r9, qword [rsp + 0x48]
cmp sil, 2
mov dword [rsp + 0x38], 0
mov r8, qword [rsp + 0x60]
cmove edx, eax
movzx eax, word [rsp + 0x8c]
shl eax, 9
or eax, edx
or ax, word [rsp + 0xa4]
mov rdx, qword [rsp + 0x50]
movzx eax, ax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
call sym.sqlite3WhereBegin
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1401d0ed5
cmp qword [rbx + 0x60], 0
je 0x1401d07e0
movsxd rcx, dword [rbp + 0x24]
cmp word [rbp + 2], 0
mov dword [rbp + 0x20], ecx
je 0x1401d07d5
mov rax, qword [r15 + 0x38]
mov edx, dword [rax]
sub edx, 1
test ecx, ecx
jle 0x1401d07ce
imul rcx, rcx, 0x18
mov rax, qword [rbp + 0x18]
add rax, 0x16
add rcx, rax
movsx r8d, word [rax]
cmp edx, r8d
cmovl edx, r8d
add rax, 0x18
cmp rax, rcx
jne 0x1401d07ba
add edx, 1
mov word [rbp + 2], dx
mov rdx, rdi
mov rcx, rbp
call dbg.analyzeAggFuncArgs
mov edx, dword [rbx + 0x38]
lea eax, [rdx + 1]
mov dword [rbp + 0xc], eax
mov eax, dword [rbp + 0x30]
add eax, dword [rbp + 0x20]
add eax, edx
xor edx, edx
mov dword [rbx + 0x38], eax
mov rax, qword [rsp + 0x60]
movzx edi, byte [rax + 0x43]
movsx eax, byte [rax + 0x41]
mov dword [rsp + 0xbc], edi
mov rdi, qword [rsp + 0x48]
test al, al
cmovs eax, edx
cmp dword [rdi], eax
je 0x1401d2213
lea r9, str.GROUP_BY
test sil, sil
je 0x1401d0838
test byte [r15 + 4], 1
lea rax, str.DISTINCT
cmove r9, rax
lea r8, str.USE_TEMP_B_TREE_FOR__s
xor edx, edx
mov rcx, rbx
call dbg.sqlite3VdbeExplain
mov rax, qword [rsp + 0x48]
mov edi, dword [rax]
movsxd rax, dword [rbp + 0x20]
test eax, eax
jle 0x1401d282d
mov rsi, qword [rbp + 0x18]
imul rax, rax, 0x18
lea rdx, [rsi + 0x16]
mov esi, edi
add rax, rdx
movsx ecx, word [rdx]
cmp ecx, esi
setge cl
add rdx, 0x18
movzx ecx, cl
add esi, ecx
cmp rdx, rax
jne 0x1401d086d
xor r11d, r11d
mov edx, esi
mov rcx, rbx
call sym.sqlite3GetTempRange
mov dword [rsp + 0x20], r11d
mov rdx, qword [rsp + 0x48]
xor r9d, r9d
mov r8d, eax
mov dword [rsp + 0x50], eax
call sym.sqlite3ExprCodeExprList.isra.0
xor eax, eax
cmp dword [rbp + 0x20], 0
mov byte [rbp], 1
jle 0x1401d1471
mov rcx, rbx
mov rbx, rax
jmp 0x1401d08ce
add rbx, 1
cmp dword [rbp + 0x20], ebx
jle 0x1401d146e
mov rdx, qword [rbp + 0x18]
lea rax, [rbx + rbx*2]
lea rax, [rdx + rax*8]
movsx edx, word [rax + 0x16]
cmp edx, edi
jl 0x1401d08c1
cmp qword [rcx + 0x10], 0
je 0x1401d090a
mov rdx, qword [rax + 8]
mov eax, dword [rsp + 0x50]
mov qword [rsp + 0x200], rcx
lea r8d, [rax + rdi]
call sym.sqlite3ExprCode.part.0
mov rcx, qword [rsp + 0x200]
add edi, 1
jmp 0x1401d08c1
mov edi, dword [rbx + 0x34]
mov rdx, qword [r15 + 0x20]
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
lea eax, [rdi + 1]
mov dword [rsp + 0xd8], edi
mov dword [rbx + 0x34], eax
call dbg.sqlite3KeyInfoFromExprList
xor r9d, r9d
mov r8d, edi
mov edx, 0x76
mov dword [rsp + 0x30], 0xfffffff8
mov rcx, r13
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp4
mov dword [rsp + 0xdc], eax
movsxd rax, dword [r13 + 0x90]
test eax, eax
jle 0x1401d0983
mov rdx, qword [r13 + 0x88]
lea rax, [rax + rax*2]
mov ecx, 8
lea rax, [rdx + rax*8]
mov word [rax - 0x16], cx
mov eax, 3
jmp 0x1401cefd1
mov rbp, qword [rsp + 0x48]
jmp 0x1401ce9f2
cmp qword [rsp + 0x48], 0
jne 0x1401d02da
xor eax, eax
mov word [r15 + 2], ax
jmp 0x1401d03b1
mov qword [rsp + 0xe0], 0
mov edx, dword [rsp + 0xf8]
test edx, edx
js 0x1401cf432
mov rcx, r13
call sym.sqlite3VdbeChangeToNoop.isra.0
jmp 0x1401cf432
mov rdx, qword [rsp + 0x58]
mov r8d, 0xffffffff
mov rcx, r14
call dbg.sqlite3ExprListCompare
test eax, eax
jne 0x1401ceed6
cmp qword [r15 + 0x70], 0
jne 0x1401ceed6
and dword [r15 + 4], 0xfffffffe
mov rdx, qword [rsp + 0x58]
xor r8d, r8d
mov rcx, qword [rsp + 0x40]
call dbg.sqlite3ExprListDup
or dword [r15 + 4], 8
mov qword [rsp + 0x48], rax
mov qword [r15 + 0x38], rax
mov byte [rsp + 0xd4], 2
jmp 0x1401ceed6
mov rsi, qword [rsp + 0x58]
mov rax, qword [rsp + 0x210]
mov edx, 0x76
mov rcx, r13
mov r9d, dword [rsi]
mov dword [rsp + 0x20], 0
mov r8d, dword [rax + 4]
call sym.sqlite3VdbeAddOp3
mov eax, dword [r15 + 4]
mov edx, eax
test ah, 8
je 0x1401cef59
mov ecx, dword [rsi]
lea r8d, [rcx - 1]
test r8d, r8d
jle 0x1401d0af4
movsxd rbp, ecx
mov rax, rsi
mov dword [rsp + 0x7c], edi
shl rbp, 5
mov qword [rsp + 0x200], rbx
mov rbx, rax
add rbp, rsi
mov rsi, qword [rsp + 0x40]
mov rdi, rbp
mov ebp, r8d
jmp 0x1401d0ace
mov rdx, qword [rdi - 0x18]
test rdx, rdx
je 0x1401d0ab1
mov rcx, rsi
call dbg.sqlite3ExprDeleteNN
mov rdx, qword [rdi - 0x10]
test rdx, rdx
je 0x1401d0ac2
mov rcx, rsi
call sym.sqlite3DbFreeNN
sub dword [rbx], 1
sub rdi, 0x20
sub ebp, 1
je 0x1401d0adc
movsxd rax, ebp
shl rax, 5
test byte [rbx + rax + 0x1c], 0x40
je 0x1401d0aa0
mov rsi, qword [rsp + 0x58]
movsxd rdi, dword [rsp + 0x7c]
mov rbx, qword [rsp + 0x200]
mov eax, dword [r15 + 4]
mov ecx, dword [rsi]
mov edx, eax
mov r9, qword [rsp + 0x58]
movsxd r8, ecx
xor eax, eax
test ecx, ecx
jle 0x1401cef59
nop dword [rax + rax]
movsxd rcx, eax
shl rcx, 5
test byte [r9 + rcx + 0x1c], 0x40
jne 0x1401d0b2e
mov rcx, rax
shl rcx, 5
mov rcx, qword [r9 + rcx + 8]
mov byte [rcx], 0x79
add rax, 1
cmp rax, r8
jne 0x1401d0b10
jmp 0x1401cef59
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, rbp
mov edx, 0x92
call sym.sqlite3VdbeAddOp3
mov eax, dword [rsi + 0x68]
xor r8d, r8d
mov edx, 0x47
mov dword [rsp + 0x20], 0
mov rcx, rbp
lea r9d, [rax + 1]
call sym.sqlite3VdbeAddOp3
jmp 0x1401cf990
mov ecx, 0x18
call sym.sqlite3Malloc
jmp 0x1401ce6db
mov r10d, dword [r15 + 0x90]
cmp r10d, dword [r15 + 0x94]
jge 0x1401d20a2
lea eax, [r10 + 1]
mov dword [r15 + 0x90], eax
movsxd rax, r10d
lea rdx, [rax + rax*2]
mov rax, qword [r15 + 0x88]
lea rax, [rax + rdx*8]
mov qword [rax], 0xf
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
mov eax, dword [rdi + 0x4c]
mov r9, qword [rsp + 0x48]
mov edx, 1
mov rcx, rbx
lea r8, str.MATERIALIZE___S
mov dword [rsp + 0x8c], r11d
mov dword [rsp + 0x88], r10d
mov byte [rsp + 0x140], 0xc
mov dword [rsp + 0x144], eax
mov qword [rsp + 0x158], 0
mov qword [rsp + 0x148], 0
mov dword [rsp + 0x150], 0
call dbg.sqlite3VdbeExplain
mov r8, qword [rsp + 0x60]
mov rdx, r12
mov rcx, rbx
call dbg.sqlite3Select
mov rax, qword [rdi + 0x28]
mov r10d, dword [rsp + 0x88]
movzx edx, word [r12 + 2]
mov r11d, dword [rsp + 0x8c]
test r10d, r10d
mov word [rax + 0x3a], dx
je 0x1401d00dd
mov rcx, qword [r15]
mov edx, dword [r15 + 0x90]
lea rax, [0x140440540]
cmp byte [rcx + 0x67], 0
jne 0x1401d0c8d
movsxd rax, r10d
lea rcx, [rax + rax*2]
mov rax, qword [r15 + 0x88]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
jmp 0x1401d00dd
mov rdx, r13
call dbg.resizeResolveLabel
jmp 0x1401cff77
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov edx, 0x24
mov rcx, r14
mov r8d, dword [rsp + 0xc8]
call sym.sqlite3VdbeAddOp3
jmp 0x1401cfa85
mov esi, dword [r14 + 0x90]
mov eax, dword [r14 + 0x94]
jmp 0x1401cfc73
cmp qword [rbx + 0xb0], 0
je 0x1401d1f80
mov rcx, rbx
call dbg.sqlite3VdbeCreate
mov r14, rax
mov eax, dword [rbx + 0x44]
mov dword [rsp + 0x88], eax
jmp 0x1401cf4a3
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x60]
jmp 0x1401ce7c9
cmp qword [rbx + 0xb0], 0
je 0x1401d1f6a
mov rcx, rbx
call dbg.sqlite3VdbeCreate
mov rcx, rax
jmp 0x1401cf8e8
mov dword [rsp + 0xa4], 0
mov dword [rsp + 0xc4], 0
jmp 0x1401cf837
mov rdi, qword [rsp + 0x68]
mov rcx, rbx
mov r8d, 0xffffffff
mov rdx, r15
lea r9, [rsp + 0xe0]
mov eax, dword [rdi + 0x34]
mov dword [rsp + 0x38], eax
mov eax, dword [rdi + 0x30]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xd4]
mov qword [rsp + 0x20], rax
call dbg.selectInnerLoop
mov rcx, rdi
call sym.sqlite3WhereEnd
jmp 0x1401cff09
mov dword [rsp + 0x20], 0
mov r9d, 2
mov edx, 0x76
mov rcx, rbx
call sym.sqlite3VdbeAddOp3
mov rax, qword [rbx]
cmp byte [rax + 0x67], 0
je 0x1401cf1d7
jmp 0x1401cf1f6
mov ecx, 0x18
call sym.sqlite3Malloc
jmp 0x1401d0418
cmp qword [rbx + 0xb0], 0
je 0x1401d1fa3
mov rcx, rbx
mov dword [rsp + 0x78], r9d
call dbg.sqlite3VdbeCreate
mov r9d, dword [rsp + 0x78]
mov qword [rsp + 0x48], rax
jmp 0x1401cf041
lea r9, str.DISTINCT
lea r8, str.USE_TEMP_B_TREE_FOR__s
xor edx, edx
mov rcx, rbx
call dbg.sqlite3VdbeExplain
jmp 0x1401cff1a
mov dword [0x140440548], eax
lea rdx, [0x140440540]
jmp 0x1401cfd78
mov esi, dword [r14 + 0x90]
cmp esi, dword [r14 + 0x94]
jge 0x1401d2834
lea eax, [rsi + 1]
mov ecx, dword [rsp + 0x60]
xor edx, edx
mov dword [r14 + 0x90], eax
movsxd rax, esi
imul rax, rax, 0x18
add rax, qword [r14 + 0x88]
mov dword [rax + 4], ecx
mov ecx, 1
shl rcx, 0x20
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
mov dword [rax], 0x3b
xor r9d, r9d
xor r8d, r8d
mov edx, 1
mov rcx, rdi
call dbg.windowCodeOp
mov r8d, dword [rsp + 0x50]
xor r9d, r9d
mov rcx, rdi
mov edx, 2
call dbg.windowCodeOp
mov rcx, qword [r14]
mov edx, dword [r14 + 0x90]
lea rax, [0x140440540]
cmp byte [rcx + 0x67], 0
jne 0x1401d0ec9
movsxd rax, esi
imul rax, rax, 0x18
add rax, qword [r14 + 0x88]
mov dword [rax + 8], edx
mov rcx, qword [r14 + 0x18]
jmp 0x1401cfbb1
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x1401d0eec
mov rcx, qword [rsp + 0x40]
mov rdx, rax
call dbg.exprListDeleteNN
mov eax, 1
jmp 0x1401cff81
mov rdi, qword [rsp + 0x48]
cmp byte [rdi + 0x20], 0x59
jne 0x1401d1f1f
mov eax, dword [rbx + 0x38]
lea esi, [rax + 1]
add eax, ebp
lea edi, [rax + 1]
mov dword [rsp + 0x80], edi
lea edi, [rax + 2]
mov dword [rsp + 0x8c], edi
mov dword [rsp + 0x168], edi
jmp 0x1401cf5ab
mov dword [rsp + 0xa0], 0
mov dword [rsp + 0xbc], 0
mov byte [rsp + 0xc0], 0
jmp 0x1401cf674
mov rax, qword [rsp + 0x48]
mov r11d, dword [rax + 0x84]
test r11d, r11d
jne 0x1401d0fba
mov rcx, rax
lea r10, str.first_value
lea r9, str.nth_value
lea r8, str.lead
lea r11, [0x14039c848]
jmp 0x1401d0f97
cmp rdx, r11
je 0x1401d0fba
mov rcx, qword [rcx + 0x40]
test rcx, rcx
je 0x1401d1ebb
mov rax, qword [rcx + 0x50]
mov rdx, qword [rax + 0x38]
cmp rdx, r10
sete al
cmp rdx, r9
sete sil
or eax, esi
cmp rdx, r8
sete sil
or al, sil
je 0x1401d0f85
mov eax, dword [rbx + 0x38]
lea esi, [rax + 1]
add eax, ebp
lea edi, [rax + 1]
add eax, 2
mov dword [rsp + 0x80], edi
xor edi, edi
mov dword [rsp + 0x8c], eax
mov dword [rbx + 0x38], eax
mov dword [rsp + 0x168], eax
mov dword [rsp + 0x50], edi
jmp 0x1401cf5b5
mov rbp, qword [rsp + 0x90]
mov r9d, dword [rsp + 0xa0]
mov edx, 0x50
mov rcx, r14
mov r8d, dword [rsp + 0xbc]
mov eax, dword [rbp]
mov dword [rsp + 0x80], eax
sub eax, 1
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp3
mov eax, dword [rbp]
mov edx, 0x50
mov rcx, r14
mov r9d, dword [rsp + 0x170]
mov r8d, dword [rsp + 0xa0]
mov dword [rsp + 0x80], eax
sub eax, 1
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp3
mov eax, dword [rbp]
mov edx, 0x50
mov rcx, r14
mov r9d, dword [rsp + 0x178]
mov r8d, dword [rsp + 0xa0]
mov dword [rsp + 0x80], eax
sub eax, 1
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp3
mov eax, dword [rbp]
mov edx, 0x50
mov rcx, r14
mov r9d, dword [rsp + 0x180]
mov r8d, dword [rsp + 0xa0]
mov dword [rsp + 0x80], eax
sub eax, 1
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp3
xor r8d, r8d
mov edx, 9
mov rcx, r14
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0xa8]
call sym.sqlite3VdbeAddOp3
mov rdx, qword [r14]
mov eax, dword [r14 + 0x90]
cmp byte [rdx + 0x67], 0
je 0x1401cfb07
mov dword [0x140440548], eax
mov eax, dword [rsp + 0xa8]
mov r9d, dword [rsp + 0xa0]
mov rcx, rbx
mov r8d, dword [rsp + 0xbc]
mov rdx, qword [rsp + 0x90]
mov dword [rsp + 0x20], eax
call dbg.windowIfNewPeer
jmp 0x1401cfb2a
xor r9d, r9d
xor r8d, r8d
mov edx, 9
mov rcx, r15
mov dword [rsp + 0x20], 0
call dbg.growOp3
mov dword [rsp + 0x7c], eax
lea r11d, [rax + 1]
jmp 0x1401d003e
cmp qword [rax + 0x2f8], 0
jne 0x1401cf1f6
sub dword [r12], 1
jne 0x1401cf1f6
mov rcx, qword [r12 + 0x10]
mov rdx, r12
call sym.sqlite3DbNNFreeNN
jmp 0x1401cf1f6
mov rax, qword [rsp + 0x48]
cmp byte [rax + 0x20], 0x59
je 0x1401d0ca2
cmp dword [rsp + 0x60], 0
je 0x1401d0ca2
mov eax, dword [rsp + 0x50]
mov r9d, dword [rsp + 0x60]
mov edx, 0x6b
mov rcx, r14
mov dword [rsp + 0x20], eax
mov r8d, eax
call sym.sqlite3VdbeAddOp3
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x21]
jmp 0x1401cfa7d
test edx, edx
jle 0x1401d11e5
movsxd rcx, edx
mov r8, qword [rsp + 0x48]
mov eax, 0x18
shl rcx, 5
add rcx, 0x18
nop
movzx edx, byte [r14 + rax]
and edx, 1
mov byte [r8 + rax], dl
add rax, 0x20
cmp rax, rcx
jne 0x1401d11d0
mov rcx, qword [rsp + 0x48]
mov r8d, 0xffffffff
mov rdx, r14
call dbg.sqlite3ExprListCompare
test eax, eax
mov eax, dword [rbx + 0x44]
mov dword [rsp + 0x80], eax
jne 0x1401d03bb
mov dword [rsp + 0x8c], 1
sub eax, 1
mov dword [rsp + 0x78], eax
jmp 0x1401d03cd
xor eax, eax
mov qword [rbp + 0x10], 0
mov rdx, qword [rsp + 0x58]
mov rcx, rdi
mov word [rbp + 2], ax
call dbg.sqlite3ExprAnalyzeAggList
mov rdx, r14
mov rcx, rdi
call dbg.sqlite3ExprAnalyzeAggList
cmp qword [rsp + 0x68], 0
je 0x1401d0593
lea r8, [rsp + 0x110]
jmp 0x1401d0534
call dbg.windowCodeOp
mov rax, qword [rsp + 0x48]
cmp byte [rax + 0x20], 0x59
mov eax, dword [r14 + 0x90]
mov dword [rsp + 0x68], eax
je 0x1401d24de
mov rax, qword [rsp + 0x48]
mov r9d, 1
cmp byte [rax + 0x22], 0x5a
je 0x1401d2404
mov r8d, dword [rsp + 0x60]
mov edx, 1
mov rcx, rdi
call dbg.windowCodeOp
mov r8d, dword [rsp + 0x50]
mov edx, 2
mov rcx, rdi
mov r9d, 1
mov ebp, eax
call dbg.windowCodeOp
mov dword [rsp + 0x50], eax
mov r9d, dword [rsp + 0x68]
xor r8d, r8d
mov edx, 9
mov rcx, r14
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp3
mov rdx, qword [r14]
mov r10d, dword [r14 + 0x90]
lea rax, [0x140440540]
cmp byte [rdx + 0x67], 0
jne 0x1401d1308
movsxd rax, dword [rsp + 0x50]
imul rax, rax, 0x18
add rax, qword [r14 + 0x88]
mov dword [rax + 8], r10d
xor r8d, r8d
mov rcx, rdi
mov r9d, 1
mov edx, 1
mov dword [rsp + 0x50], r10d
call dbg.windowCodeOp
mov r9d, dword [rsp + 0x50]
xor r8d, r8d
mov rcx, r14
mov dword [rsp + 0x20], 0
mov edx, 9
mov edi, eax
call sym.sqlite3VdbeAddOp3
mov rdx, qword [r14]
mov eax, dword [r14 + 0x90]
cmp byte [rdx + 0x67], 0
jne 0x1401d0e1e
movsxd rcx, ebp
mov rdx, qword [r14 + 0x88]
imul rcx, rcx, 0x18
mov dword [rdx + rcx + 8], eax
movsxd rcx, edi
imul rcx, rcx, 0x18
mov dword [rdx + rcx + 8], eax
jmp 0x1401cfd6d
movzx esi, word [rax + 0x20]
mov r8d, dword [rsp + 0x60]
xor r9d, r9d
mov rcx, rdi
mov edx, 3
call dbg.windowCodeOp
xor r9d, r9d
cmp si, 0x5859
jne 0x1401cfb88
mov r8d, dword [rsp + 0x50]
mov edx, 2
mov rcx, rdi
call dbg.windowCodeOp
mov rcx, rdi
xor r9d, r9d
xor r8d, r8d
mov edx, 1
call dbg.windowCodeOp
mov rcx, qword [r14 + 0x18]
jmp 0x1401cfbb1
mov rdx, r14
call dbg.resizeResolveLabel
jmp 0x1401cfbda
mov rdx, r13
call dbg.resizeResolveLabel
jmp 0x1401cfebf
mov rdx, r13
call dbg.resizeResolveLabel
jmp 0x1401cfe4a
mov rdx, r13
call dbg.resizeResolveLabel
jmp 0x1401cff09
mov r14, qword [r15 + 0x40]
test r14, r14
je 0x1401d2437
xor r14d, r14d
jmp 0x1401d05a7
mov dword [rsp + 0x20], 0
mov rcx, r14
mov r8d, 1
mov edx, 0x47
call sym.sqlite3VdbeAddOp3
mov rax, qword [rsp + 0x48]
xor r8d, r8d
mov rcx, r14
mov edx, 0x47
mov r9d, dword [rax + 0x88]
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp3
jmp 0x1401cfdb4
mov rcx, qword [rbx]
mov rdx, rsi
call dbg.exprListDeleteNN
jmp 0x1401ce704
mov rbx, rcx
mov byte [rbp], 0
movzx eax, byte [rbx + 0x1f]
test al, al
je 0x1401d2517
sub eax, 1
mov byte [rbx + 0x1f], al
movzx eax, al
mov edi, dword [rbx + rax*4 + 0xe8]
mov dword [rsp + 0x20], edi
mov r8d, dword [rsp + 0x50]
mov r9d, esi
mov rcx, r13
mov edx, 0x61
call sym.sqlite3VdbeAddOp3
xor r10d, r10d
mov r8d, dword [rbp + 4]
mov r9d, edi
mov dword [rsp + 0x20], r10d
mov edx, 0x8b
mov rcx, r13
call sym.sqlite3VdbeAddOp3
test edi, edi
je 0x1401d14df
movzx eax, byte [rbx + 0x1f]
cmp al, 7
ja 0x1401d14df
lea edx, [rax + 1]
mov byte [rbx + 0x1f], dl
mov dword [rbx + rax*4 + 0xe8], edi
mov edx, dword [rsp + 0x50]
mov r8d, esi
mov rcx, rbx
call sym.sqlite3ReleaseTempRange
mov rcx, qword [rsp + 0x60]
call sym.sqlite3WhereEnd
mov edi, dword [rbx + 0x34]
lea eax, [rdi + 1]
mov dword [rsp + 0x50], edi
mov dword [rbx + 0x34], eax
mov dword [rbp + 8], edi
movzx eax, byte [rbx + 0x1f]
test al, al
je 0x1401d2525
sub eax, 1
mov byte [rbx + 0x1f], al
movzx eax, al
mov eax, dword [rbx + rax*4 + 0xe8]
mov dword [rsp + 0x98], eax
mov dword [rsp + 0x20], esi
mov r9d, dword [rsp + 0x98]
mov edx, 0x79
mov rcx, r13
mov r8d, dword [rsp + 0x50]
mov esi, 1
call sym.sqlite3VdbeAddOp3
xor r9d, r9d
mov r8d, dword [rbp + 4]
mov rcx, r13
mov dword [rsp + 0x20], r9d
mov r9d, dword [rsp + 0x78]
mov edx, 0x22
call sym.sqlite3VdbeAddOp3
mov byte [rbp + 1], 1
cmp qword [rbx + 0x60], 0
je 0x1401d15e3
lea r8, [rsp + 0x110]
xor eax, eax
mov ecx, 0xc
mov rdi, r8
rep stosd dword [rdi], eax
lea rax, [dbg.aggregateIdxEprRefToColCallback]
xor edi, edi
mov qword [rsp + 0x118], rax
cmp dword [rbp + 0x30], 0
jle 0x1401d15e3
mov dword [rsp + 0xcc], esi
mov rsi, rbp
mov rbp, rbx
mov rbx, r8
mov rax, rdi
shl rax, 5
add rax, qword [rsi + 0x28]
mov rdx, qword [rax]
test rdx, rdx
je 0x1401d15cd
mov rcx, rbx
call dbg.sqlite3WalkExprNN
add rdi, 1
cmp dword [rsi + 0x30], edi
jg 0x1401d15b2
mov rbx, rbp
mov rbp, rsi
mov esi, dword [rsp + 0xcc]
mov edx, dword [rsp + 0x8c]
test edx, edx
je 0x1401d1a78
mov rax, qword [rsp + 0x40]
test byte [rax + 0x60], 4
jne 0x1401d1a78
test esi, esi
jne 0x1401d2858
mov rax, qword [rsp + 0x60]
test byte [rax + 0x44], 8
je 0x1401d162d
mov edx, dword [rsp + 0xf8]
xor eax, eax
mov rcx, r13
mov qword [rsp + 0xe0], rax
call sym.sqlite3VdbeChangeToNoop.isra.0
mov eax, dword [r13 + 0x90]
mov dword [rsp + 0x8c], eax
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx]
test eax, eax
jle 0x1401d16a0
mov eax, dword [rsp + 0x88]
xor edi, edi
mov r8d, eax
test esi, esi
je 0x1401d2227
mov dword [rsp + 0x98], esi
mov r9d, r12d
mov esi, eax
mov r12, rbx
mov rbx, rcx
jmp 0x1401d1675
mov r9d, edi
lea r8d, [rsi + rdi]
mov dword [rsp + 0x20], r8d
mov r8d, dword [rsp + 0x50]
mov rcx, r13
add rdi, 1
mov edx, 0x5e
call sym.sqlite3VdbeAddOp3
mov eax, dword [rbx]
cmp eax, edi
jg 0x1401d166e
mov esi, dword [rsp + 0x98]
mov rbx, r12
mov rdi, qword [rsp + 0xb0]
test rdi, rdi
je 0x1401d16b0
add dword [rdi], 1
mov rdi, qword [rsp + 0xb0]
mov dword [rsp + 0x20], eax
mov edx, 0x5a
mov rcx, r13
mov r12d, dword [rsp + 0xc4]
mov dword [rsp + 0x30], 0xfffffff8
mov qword [rsp + 0x28], rdi
mov r9d, dword [rsp + 0x88]
mov r8d, r12d
call sym.sqlite3VdbeAddOp4
xor r9d, r9d
mov edx, 0xe
mov rcx, r13
mov edi, dword [r13 + 0x90]
lea r8d, [rdi + 1]
mov dword [rsp + 0x20], r8d
call sym.sqlite3VdbeAddOp3
mov rax, qword [rsp + 0x48]
mov rcx, qword [rbx + 0x10]
mov r9d, r12d
mov r8d, dword [rsp + 0x88]
mov edx, 0x4f
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp3
mov dword [rsp + 0x20], 0
mov edx, 0xa
mov rcx, r13
mov r9d, dword [rsp + 0xb8]
mov r8d, dword [rsp + 0x9c]
call sym.sqlite3VdbeAddOp3
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x78]
mov rcx, r13
mov r8d, dword [rsp + 0xac]
mov edx, 0x3b
call sym.sqlite3VdbeAddOp3
mov dword [rsp + 0x20], 0
mov edx, 0xa
mov rcx, r13
mov r9d, dword [rsp + 0xa8]
mov r8d, dword [rsp + 0xa0]
call sym.sqlite3VdbeAddOp3
mov rcx, qword [r13]
mov edx, dword [r13 + 0x90]
lea rax, [0x140440540]
cmp byte [rcx + 0x67], 0
jne 0x1401d17bf
movsxd rax, edi
imul rax, rax, 0x18
add rax, qword [r13 + 0x88]
mov edi, dword [rsp + 0x90]
mov dword [rax + 8], edx
mov r8, rbp
mov rcx, rbx
mov r9d, dword [rsp + 0xbc]
mov edx, edi
call dbg.updateAccumulator
mov r9d, edi
mov edx, 0x47
mov rcx, r13
mov dword [rsp + 0x20], 0
mov r8d, 1
call sym.sqlite3VdbeAddOp3
test esi, esi
je 0x1401d1f4c
xor eax, eax
mov r8d, dword [rbp + 4]
mov edx, 0x25
mov rcx, r13
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x8c]
call sym.sqlite3VdbeAddOp3
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x1401d183a
mov rcx, qword [rsp + 0x40]
mov rdx, rax
call dbg.exprListDeleteNN
mov esi, dword [rsp + 0x9c]
mov dword [rsp + 0x20], 0
mov edx, 0xa
mov rcx, r13
mov r9d, dword [rsp + 0xb8]
mov r8d, esi
call sym.sqlite3VdbeAddOp3
mov edx, dword [rsp + 0x78]
mov rcx, r13
call sym.sqlite3VdbeGoto.isra.0
mov edi, dword [r13 + 0x90]
mov r8d, 1
mov rcx, r13
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0xac]
mov edx, 0x47
call sym.sqlite3VdbeAddOp3
xor r9d, r9d
mov r8d, esi
mov rcx, r13
mov dword [rsp + 0x20], 0
mov edx, 0x43
call sym.sqlite3VdbeAddOp3
mov rcx, qword [r13 + 0x18]
mov r8d, dword [rsp + 0xc8]
mov eax, dword [rcx + 0x44]
neg r8d
add eax, dword [rcx + 0x48]
js 0x1401d2318
mov edx, dword [r13 + 0x90]
mov rax, qword [rcx + 0x50]
movsxd r8, r8d
mov dword [rax + r8*4], edx
mov esi, dword [r13 + 0x90]
mov dword [rsp + 0x20], 0
mov edx, 0x3b
mov rcx, r13
mov r8d, dword [rsp + 0x90]
lea r9d, [rsi + 2]
add esi, 1
call sym.sqlite3VdbeAddOp3
xor r9d, r9d
mov edx, 0x43
mov rcx, r13
mov r12d, dword [rsp + 0x9c]
mov dword [rsp + 0x20], 0
mov r8d, r12d
call sym.sqlite3VdbeAddOp3
mov rdx, rbp
mov rcx, rbx
call dbg.finalizeAggFunctions
mov rdx, qword [rsp + 0x68]
mov r8d, esi
mov rcx, rbx
mov r9d, 0x10
call sym.sqlite3ExprIfFalse
mov dword [rsp + 0x38], edi
mov rdx, r15
mov rcx, rbx
mov rax, qword [rsp + 0x210]
mov dword [rsp + 0x30], esi
lea r9, [rsp + 0xe0]
mov r8d, 0xffffffff
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xd4]
mov qword [rsp + 0x20], rax
call dbg.selectInnerLoop
xor r9d, r9d
mov r8d, r12d
mov rcx, r13
mov dword [rsp + 0x20], 0
mov edx, 0x43
call sym.sqlite3VdbeAddOp3
mov rcx, qword [r13 + 0x18]
mov r8d, dword [rsp + 0xa8]
mov eax, dword [rcx + 0x44]
add eax, dword [rcx + 0x48]
not r8d
js 0x1401d2325
mov edx, dword [r13 + 0x90]
mov rax, qword [rcx + 0x50]
movsxd r8, r8d
mov dword [rax + r8*4], edx
mov rdx, rbp
mov rcx, rbx
call dbg.resetAccumulator
xor r8d, r8d
mov edx, 0x47
mov rcx, r13
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x90]
call sym.sqlite3VdbeAddOp3
xor r9d, r9d
mov edx, 0x43
mov rcx, r13
mov dword [rsp + 0x20], 0
mov r8d, dword [rsp + 0xa0]
call sym.sqlite3VdbeAddOp3
cmp word [rsp + 0xa4], 0
je 0x1401d1a46
mov edx, dword [rsp + 0xbc]
test edx, edx
je 0x1401d1a46
mov rax, qword [rbp + 0x28]
mov rcx, rbx
mov r9d, dword [rax + 0x14]
mov r8d, dword [rax + 0x10]
call sym.fixDistinctOpenEph
mov rcx, qword [r13 + 0x18]
mov r8d, dword [rsp + 0x80]
mov eax, dword [rcx + 0x44]
neg r8d
add eax, dword [rcx + 0x48]
js 0x1401d1f96
mov edx, dword [r13 + 0x90]
mov rax, qword [rcx + 0x50]
movsxd r8, r8d
mov dword [rax + r8*4], edx
jmp 0x1401cff0c
mov eax, dword [r13 + 0x90]
mov dword [rsp + 0x8c], eax
test esi, esi
je 0x1401d163b
mov eax, dword [rsp + 0x50]
mov r8d, dword [rbp + 4]
mov edx, 0x85
mov rcx, r13
mov r9d, dword [rsp + 0x98]
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp3
jmp 0x1401d163b
xor esi, esi
mov r8d, dword [rsp + 0x9c]
xor r9d, r9d
mov rcx, r14
mov dword [rsp + 0x20], esi
mov edx, 0x24
call dbg.growOp3
mov esi, eax
jmp 0x1401cfcc2
imul rdx, rdx, 0x70
mov rdi, qword [rsp + 0x68]
mov edx, dword [rdi + rdx + 0x370]
jmp 0x1401cf422
mov eax, dword [rsp + 0x8c]
xor r9d, r9d
mov edx, 0x34
mov rcx, r14
mov dword [rsp + 0x20], eax
call dbg.growOp3
mov esi, eax
jmp 0x1401cf8db
movzx ebp, word [rax + 0x20]
mov r8d, dword [rsp + 0x60]
xor r9d, r9d
mov rcx, rdi
mov edx, 3
call dbg.windowCodeOp
cmp bp, 0x5859
je 0x1401d2574
xor r9d, r9d
xor r8d, r8d
mov edx, 1
mov rcx, rdi
call dbg.windowCodeOp
mov rcx, qword [r14]
mov eax, dword [r14 + 0x90]
lea rdx, [0x140440540]
cmp byte [rcx + 0x67], 0
jne 0x1401cfd78
mov rdx, qword [r14 + 0x88]
jmp 0x1401cfd6d
xor r9d, r9d
xor r8d, r8d
mov edx, 3
mov rcx, rdi
call dbg.windowCodeOp
mov rax, qword [rsp + 0x48]
cmp byte [rax + 0x22], 0x5a
je 0x1401d0ecc
mov rax, qword [rsp + 0x48]
cmp byte [rax + 0x20], 0x59
je 0x1401d258e
mov r8d, dword [rsp + 0x60]
xor r9d, r9d
jmp 0x1401cfb8b
mov eax, dword [rbx + 0x38]
xor edi, edi
mov r8d, 1
lea r9d, [rax + 1]
add eax, 2
mov dword [rbp + 0x84], r9d
mov dword [rbx + 0x38], eax
mov dword [rbp + 0x88], eax
mov eax, dword [rbx + 0x34]
lea edx, [rax + 1]
mov dword [rbx + 0x34], edx
mov edx, 0x47
mov dword [rbp + 0x64], eax
mov dword [rsp + 0x20], edi
mov rdi, qword [rsp + 0x48]
mov rcx, rdi
call sym.sqlite3VdbeAddOp3
xor eax, eax
xor r8d, r8d
mov rcx, rdi
mov r9d, dword [rbp + 0x88]
mov dword [rsp + 0x20], eax
mov edx, 0x47
call sym.sqlite3VdbeAddOp3
xor eax, eax
mov r9d, dword [rbp + 0x58]
mov r8d, dword [rbp + 0x64]
mov dword [rsp + 0x20], eax
mov edx, 0x73
mov rcx, rdi
call sym.sqlite3VdbeAddOp3
jmp 0x1401cf360
cmp qword [r15 + 0x30], 0
jne 0x1401d2625
mov rcx, qword [r15 + 0x20]
cmp dword [rcx], 1
jne 0x1401d2625
mov rax, qword [r15 + 0x28]
cmp dword [rax], 1
jne 0x1401d2625
cmp qword [rax + 0x30], 0
jne 0x1401d2625
cmp edx, 1
jne 0x1401d2705
mov rdi, qword [r15 + 0x40]
test rdi, rdi
jne 0x1401d2884
mov rax, qword [rax + 0x28]
cmp byte [rax + 0x3f], 0
mov qword [rsp + 0x70], rax
jne 0x1401d2884
mov rcx, qword [rcx + 8]
cmp byte [rcx], 0xa8
jne 0x1401d2884
cmp rbp, qword [rcx + 0x38]
mov rax, qword [rbp + 0x28]
jne 0x1401d2888
mov r8, qword [rax + 8]
test byte [r8 + 5], 1
je 0x1401d2888
test dword [rcx + 4], 0x1000004
jne 0x1401d2888
mov rax, qword [rsp + 0x70]
mov rcx, qword [rbx]
mov rdx, qword [rax + 0x60]
test rdx, rdx
je 0x1401d28ba
call sym.sqlite3SchemaToIndex.part.0
mov r12d, eax
mov esi, dword [rbx + 0x34]
mov edx, r12d
lea eax, [rsi + 1]
mov dword [rbx + 0x34], eax
mov rax, qword [rsp + 0x70]
mov ecx, dword [rax + 0x28]
mov dword [rsp + 0x48], ecx
mov rcx, qword [rbx + 0xb0]
test rcx, rcx
cmove rcx, rbx
call sym.sqlite3CodeVerifySchemaAtToplevel
mov rax, qword [rsp + 0x70]
xor r9d, r9d
mov edx, r12d
mov rcx, rbx
mov r8d, dword [rax + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
call sym.sqlite3TableLock
mov rax, qword [rsp + 0x70]
test byte [rax + 0x30], 0x80
je 0x1401d233b
mov rdi, qword [rax + 0x10]
mov rax, rdi
test rdi, rdi
jne 0x1401d1d51
jmp 0x1401d2357
mov rdi, qword [rdi + 0x28]
test rdi, rdi
je 0x1401d1d5d
movzx edx, byte [rdi + 0x64]
and edx, 3
cmp dl, 2
jne 0x1401d1d48
mov rdx, qword [r15 + 0x28]
test byte [rdx + 0x48], 1
je 0x1401d1e9d
test rdi, rdi
je 0x1401d2357
mov r9d, dword [rdi + 0x58]
mov rdx, rdi
mov rcx, rbx
mov dword [rsp + 0x50], r9d
call dbg.sqlite3KeyInfoOfIndex
mov dword [rsp + 0x20], r12d
mov r8d, esi
mov rcx, r13
mov r9d, dword [rsp + 0x50]
mov edx, 0x70
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x28], 1
call sym.sqlite3VdbeAddOp4Int
mov r10, qword [rsp + 0x48]
test r10, r10
je 0x1401d1dcd
mov r9d, 0xfffffff8
mov r8, r10
or edx, 0xffffffff
mov rcx, r13
call sym.sqlite3VdbeChangeP4
mov ecx, dword [rbp + 0x20]
mov eax, dword [rbp + 0x30]
xor r10d, r10d
mov r8d, dword [rbx + 0x38]
add eax, ecx
lea edx, [r8 + 1]
add eax, r8d
mov r8d, esi
mov dword [rbp + 0xc], edx
lea r9d, [rcx + rdx]
mov edx, 0x62
mov rcx, r13
mov dword [rbx + 0x38], eax
mov dword [rsp + 0x20], r10d
call sym.sqlite3VdbeAddOp3
xor r11d, r11d
xor r9d, r9d
mov r8d, esi
mov dword [rsp + 0x20], r11d
mov edx, 0x7a
mov rcx, r13
call sym.sqlite3VdbeAddOp3
cmp byte [rbx + 0x133], 2
je 0x1401d2804
mov edi, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x68]
xor ecx, ecx
mov r9d, 0x10
mov qword [rsp + 0xe0], rcx
mov rcx, rbx
mov r8d, edi
call sym.sqlite3ExprIfFalse
xor r8d, r8d
mov dword [rsp + 0x38], edi
xor r9d, r9d
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0x20], r8
mov rdx, r15
or r8d, 0xffffffff
mov dword [rsp + 0x30], edi
mov rcx, rbx
mov qword [rsp + 0x28], rax
call dbg.selectInnerLoop
jmp 0x1401d1a46
test rdi, rdi
je 0x1401d1e8d
cmp dx, word [rdi + 0x5c]
jge 0x1401d1e90
mov rdi, rax
mov rax, qword [rax + 0x28]
test rax, rax
je 0x1401d1d6b
test byte [rax + 0x64], 4
jne 0x1401d1e90
mov rcx, qword [rsp + 0x70]
movzx edx, word [rax + 0x5c]
cmp dx, word [rcx + 0x3c]
jge 0x1401d1e90
cmp qword [rax + 0x48], 0
jne 0x1401d1e90
jmp 0x1401d1e82
mov rdi, qword [rsp + 0x48]
cmp byte [rdi + 0x22], 0x58
movzx eax, byte [rdi + 0x20]
je 0x1401d253a
mov dword [rsp + 0x164], 1
jmp 0x1401d0fba
cmp qword [rax + 0x2f8], 0
jne 0x1401cf79f
test rsi, rsi
je 0x1401cf79f
sub dword [rsi], 1
jne 0x1401cf79f
mov rcx, qword [rsi + 0x10]
mov rdx, rsi
mov dword [rsp + 0xc4], r10d
call sym.sqlite3DbNNFreeNN
mov r10d, dword [rsp + 0xc4]
jmp 0x1401cf79f
mov rdx, qword [rdi + 0x28]
mov rcx, qword [rbx]
call sym.windowExprGtZero.isra.0
test eax, eax
je 0x1401d2332
mov dword [rsp + 0x164], 1
mov rax, qword [rsp + 0x48]
movzx edx, byte [rax + 0x21]
jmp 0x1401cf572
mov rcx, qword [rsp + 0x60]
call sym.sqlite3WhereEnd
mov edx, dword [rsp + 0xc0]
mov rcx, r13
call sym.sqlite3VdbeChangeToNoop.isra.0
jmp 0x1401d1823
mov rax, qword [rbx]
test byte [rax + 0x60], 8
jne 0x1401d0d1d
mov byte [rbx + 0x23], 1
jmp 0x1401d0d1d
mov rax, qword [rbx]
test byte [rax + 0x60], 8
jne 0x1401d0ce8
mov byte [rbx + 0x23], 1
jmp 0x1401d0ce8
mov rdx, r13
call dbg.resizeResolveLabel
jmp 0x1401cff0c
mov rax, qword [rbx]
test byte [rax + 0x60], 8
jne 0x1401d0de5
mov byte [rbx + 0x23], 1
jmp 0x1401d0de5
mov rcx, qword [rbx]
mov rdx, rbp
call dbg.agginfoFree
jmp 0x1401d0441
mov rax, qword [rbp + 0x28]
cmp dword [rax + 0x10], 0
js 0x1401d05e3
mov rax, qword [rax]
test rax, rax
je 0x1401d2619
test byte [rax + 5], 0x10
jne 0x1401d05e3
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x70], rax
test rax, rax
je 0x1401d05e3
mov rsi, qword [rax + 8]
test rsi, rsi
je 0x1401d201e
mov rcx, qword [rsp + 0x40]
mov rdx, rsi
xor r9d, r9d
xor r8d, r8d
call dbg.exprDup
mov rsi, rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
call dbg.sqlite3ExprListDup
mov r8, rsi
mov rcx, rbx
mov rdx, rax
call sym.sqlite3ExprListAppend
mov qword [rsp + 0x70], rax
neg rax
sbb ax, ax
and ax, 0x500
mov word [rsp + 0xa4], ax
jmp 0x1401d05e3
mov dword [rsp + 0x20], edi
mov r8d, ebp
mov edx, 0x5a
mov rcx, r14
call dbg.growOp3
mov r10d, eax
jmp 0x1401cf773
xor r10d, r10d
xor r9d, r9d
mov edx, 0xa
mov rcx, r14
mov dword [rsp + 0x20], r10d
mov r8d, dword [rsp + 0xa4]
call dbg.growOp3
mov dword [rsp + 0xc4], eax
jmp 0x1401cf817
xor r10d, r10d
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf
mov dword [rsp + 0x20], r10d
mov rcx, r15
mov dword [rsp + 0x88], r11d
call dbg.growOp3
mov r11d, dword [rsp + 0x88]
mov r10d, eax
jmp 0x1401d0bcf
xor ebp, ebp
mov r9d, dword [rsp + 0xa4]
xor r8d, r8d
mov rcx, r14
mov dword [rsp + 0x20], ebp
mov edx, 0x47
call dbg.growOp3
mov esi, dword [r14 + 0x90]
mov r12d, eax
mov eax, dword [r14 + 0x94]
jmp 0x1401cfc49
xor edx, edx
cmp al, 0x56
mov ebp, dword [r14 + 0x90]
sete dl
lea edx, [rdx + rdx + 0x37]
cmp ebp, dword [r14 + 0x94]
jge 0x1401d25e9
lea eax, [rbp + 1]
mov edi, dword [rsp + 0x50]
xor ecx, ecx
mov dword [r14 + 0x90], eax
movsxd rax, ebp
imul rax, rax, 0x18
add rax, qword [r14 + 0x88]
mov dword [rax + 4], edi
mov edi, dword [rsp + 0x60]
mov byte [rax], dl
xor edx, edx
mov word [rax + 2], 0
mov dword [rax + 8], edx
mov dword [rax + 0xc], edi
mov qword [rax + 0x10], rcx
mov byte [rax + 1], 0
mov rdx, qword [rsp + 0x48]
xor r8d, r8d
mov rcx, rbx
lea rdi, [rsp + 0x140]
call sym.windowAggFinal.isra.0
xor r10d, r10d
mov r8d, dword [rsp + 0x70]
xor r9d, r9d
mov dword [rsp + 0x20], r10d
mov edx, 0x24
mov rcx, r14
call sym.sqlite3VdbeAddOp3
mov rcx, rdi
call dbg.windowReturnOneRow
xor r11d, r11d
mov r8d, dword [rsp + 0x70]
xor r9d, r9d
mov dword [rsp + 0x20], r11d
mov edx, 0x92
mov rcx, r14
call sym.sqlite3VdbeAddOp3
xor eax, eax
xor r8d, r8d
mov edx, 9
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0xa8]
mov rcx, r14
call sym.sqlite3VdbeAddOp3
mov rcx, qword [r14]
mov edx, dword [r14 + 0x90]
lea rax, [0x140440540]
cmp byte [rcx + 0x67], 0
jne 0x1401d2202
movsxd rax, ebp
imul rax, rax, 0x18
add rax, qword [r14 + 0x88]
mov dword [rax + 8], edx
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x21]
jmp 0x1401cfa75
xor ecx, ecx
xor esi, esi
mov dword [rsp + 0x98], ecx
mov dword [rsp + 0x50], ecx
jmp 0x1401d1570
mov r12, qword [rsp + 0x48]
jmp 0x1401d223b
mov eax, dword [rsp + 0x88]
lea r8d, [rax + rdi]
mov byte [rbp], 1
cmp qword [rbx + 0x10], 0
je 0x1401d225a
mov rax, rdi
mov rcx, rbx
shl rax, 5
mov rdx, qword [r12 + rax + 8]
call sym.sqlite3ExprCode.part.0
mov eax, dword [r12]
add rdi, 1
cmp eax, edi
jg 0x1401d2230
jmp 0x1401d16a0
cmp dword [rsp + 0x60], 0
mov ebp, dword [r14 + 0x90]
je 0x1401cfb85
mov esi, dword [rbx + 0x44]
mov r9d, dword [rsp + 0x60]
mov edx, 0x39
mov rcx, rdi
mov r8d, dword [rsp + 0x70]
lea eax, [rsi - 1]
mov dword [rbx + 0x44], eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xac]
mov dword [rsp + 0x20], eax
call dbg.windowCodeRangeTest
xor r9d, r9d
xor r8d, r8d
mov edx, 1
mov rcx, rdi
call dbg.windowCodeOp
mov r8d, dword [rsp + 0x50]
xor r9d, r9d
mov edx, 2
mov rcx, rdi
neg esi
call dbg.windowCodeOp
xor r8d, r8d
mov rcx, r14
mov r9d, ebp
mov dword [rsp + 0x20], r8d
mov edx, 9
xor r8d, r8d
call sym.sqlite3VdbeAddOp3
mov rcx, qword [r14 + 0x18]
movsxd r8, esi
mov eax, dword [rcx + 0x44]
add eax, dword [rcx + 0x48]
js 0x1401d2608
mov edx, dword [r14 + 0x90]
mov rax, qword [rcx + 0x50]
mov dword [rax + r8*4], edx
jmp 0x1401cfbb1
mov rdx, r13
call dbg.resizeResolveLabel
jmp 0x1401d18df
mov rdx, r13
call dbg.resizeResolveLabel
jmp 0x1401d19d1
movzx edx, byte [rdi + 0x21]
jmp 0x1401cf572
mov rax, qword [r15 + 0x28]
test byte [rax + 0x48], 1
jne 0x1401d2357
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1401d1e9d
mov dword [rsp + 0x20], r12d
mov r9d, dword [rsp + 0x48]
mov r8d, esi
mov rcx, r13
mov dword [rsp + 0x28], 1
mov edx, 0x70
call sym.sqlite3VdbeAddOp4Int
mov ecx, dword [rbp + 0x20]
mov eax, dword [rbp + 0x30]
mov r8d, dword [rbx + 0x38]
add eax, ecx
lea edx, [r8 + 1]
add eax, r8d
mov r8d, esi
mov dword [rbp + 0xc], edx
lea r9d, [rcx + rdx]
mov edx, 0x62
mov rcx, r13
mov dword [rbx + 0x38], eax
xor eax, eax
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp3
xor eax, eax
xor r9d, r9d
mov r8d, esi
mov dword [rsp + 0x20], eax
mov edx, 0x7a
mov rcx, r13
call sym.sqlite3VdbeAddOp3
cmp byte [rbx + 0x133], 2
jne 0x1401d1e2a
lea rax, [0x14038ca94]
mov rdx, rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x70]
lea r8, str.SCAN__s_s_s
mov rcx, rbx
mov qword [rsp + 0x20], rdx
xor edx, edx
mov r9, qword [rax]
call dbg.sqlite3VdbeExplain
jmp 0x1401d1e2a
mov r8d, dword [rsp + 0x50]
mov edx, 1
mov rcx, rdi
call dbg.windowCodeOp
xor r8d, r8d
mov edx, 2
mov rcx, rdi
mov r9d, 1
mov ebp, eax
call dbg.windowCodeOp
mov dword [rsp + 0x50], eax
jmp 0x1401d12c4
cmp dword [rbp + 0x30], 1
jne 0x1401d05a7
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
mov r11, qword [rax + 0x20]
test r11, r11
je 0x1401d05a7
mov esi, dword [r11]
cmp esi, 1
jne 0x1401d05a7
test byte [rax + 7], 1
jne 0x1401d05a7
mov rcx, qword [rsp + 0x40]
test byte [rcx + 0x62], 1
jne 0x1401d05a7
mov rcx, qword [rax + 8]
lea rdx, [0x1403903df]
call sym.sqlite3StrICmp
test eax, eax
jne 0x1401d28f6
mov rcx, qword [r11 + 8]
call dbg.sqlite3ExprCanBeNull
test eax, eax
setne r9b
add r9d, r9d
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
mov rdx, r11
mov byte [rsp + 0x88], r9b
call dbg.sqlite3ExprListDup
mov r14, rax
test rax, rax
je 0x1401d24d1
movzx r9d, byte [rsp + 0x88]
mov byte [rax + 0x18], r9b
mov byte [rsp + 0x88], sil
jmp 0x1401d05a7
mov r8d, dword [rsp + 0x50]
mov r9d, 1
mov edx, 2
mov rcx, rdi
call dbg.windowCodeOp
xor r8d, r8d
mov edx, 1
mov rcx, rdi
mov r9d, 1
mov dword [rsp + 0x50], eax
call dbg.windowCodeOp
mov ebp, eax
jmp 0x1401d12c4
mov eax, dword [rbx + 0x38]
lea edi, [rax + 1]
mov dword [rbx + 0x38], edi
jmp 0x1401d1491
mov eax, dword [rbx + 0x38]
add eax, 1
mov dword [rsp + 0x98], eax
mov dword [rbx + 0x38], eax
jmp 0x1401d152b
cmp al, 0x59
je 0x1401d0fba
mov rdi, qword [rsp + 0x48]
mov rcx, qword [rbx]
mov rdx, qword [rdi + 0x30]
call sym.windowExprGtZero.isra.0
test eax, eax
je 0x1401d2332
mov dword [rsp + 0x164], 3
mov rax, qword [rsp + 0x48]
movzx edx, byte [rax + 0x21]
jmp 0x1401cf572
mov r8d, dword [rsp + 0x50]
xor r9d, r9d
mov edx, 2
mov rcx, rdi
call dbg.windowCodeOp
jmp 0x1401d1b34
mov esi, dword [rbx + 0x44]
mov r9d, dword [rsp + 0x60]
mov edx, 0x39
mov rcx, rdi
mov ebp, dword [r14 + 0x90]
mov r8d, dword [rsp + 0x70]
lea eax, [rsi - 1]
mov dword [rbx + 0x44], eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xac]
mov dword [rsp + 0x20], eax
call dbg.windowCodeRangeTest
mov r8d, dword [rsp + 0x50]
xor r9d, r9d
mov rcx, rdi
mov edx, 2
call dbg.windowCodeOp
xor r9d, r9d
xor r8d, r8d
mov edx, 1
jmp 0x1401d22cc
mov eax, dword [rsp + 0x60]
mov r8d, dword [rsp + 0x50]
xor r9d, r9d
mov rcx, r14
mov dword [rsp + 0x20], eax
call dbg.growOp3
mov ebp, eax
jmp 0x1401d2165
mov rdx, r14
call dbg.resizeResolveLabel
mov rcx, qword [r14 + 0x18]
jmp 0x1401cfbb1
xor esi, esi
mov qword [rsp + 0x70], rsi
jmp 0x1401d05e3
cmp dword [rbp + 0x24], 0
jne 0x1401d270f
cmp edx, 1
je 0x1401d28f0
xor r12d, r12d
xor edi, edi
mov ecx, dword [rbx + 0x38]
lea eax, [rcx + 1]
mov dword [rbp + 0xc], eax
mov eax, dword [rbp + 0x20]
add eax, edx
mov rdx, rbp
add eax, ecx
mov rcx, rbx
mov dword [rbx + 0x38], eax
call dbg.resetAccumulator
xor eax, eax
mov qword [rsp + 0x28], r15
mov r9, r14
mov dword [rsp + 0x38], eax
movzx eax, byte [rsp + 0x88]
mov rcx, rbx
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x50]
or eax, edi
movzx eax, ax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
call sym.sqlite3WhereBegin
mov rsi, rax
test rax, rax
je 0x1401d0eec
movzx edi, byte [rax + 0x43]
mov r8, rbp
mov edx, r12d
mov rcx, rbx
mov r9d, edi
call dbg.updateAccumulator
test edi, edi
je 0x1401d26d6
mov rax, qword [rbp + 0x28]
test rax, rax
je 0x1401d26d6
mov r9d, dword [rax + 0x14]
mov r8d, dword [rax + 0x10]
mov edx, edi
mov rcx, rbx
call sym.fixDistinctOpenEph
test r12d, r12d
jne 0x1401d27d2
cmp byte [rsp + 0x88], 0
jne 0x1401d276f
mov rcx, rsi
call sym.sqlite3WhereEnd
mov rdx, rbp
mov rcx, rbx
call dbg.finalizeAggFunctions
jmp 0x1401d1e2a
cmp dword [rbp + 0x24], 0
je 0x1401d2638
test edx, edx
jle 0x1401d27f3
mov rax, qword [rbp + 0x28]
xor ecx, ecx
mov r8, qword [rax]
test byte [r8 + 7], 1
jne 0x1401d2736
mov r8, qword [rax + 8]
test byte [r8 + 4], 0x20
jne 0x1401d27f5
add ecx, 1
add rax, 0x20
cmp ecx, edx
jne 0x1401d271d
mov eax, dword [rbx + 0x38]
mov edx, 0x47
xor r8d, r8d
mov rcx, r13
xor edi, edi
lea r12d, [rax + 1]
xor eax, eax
mov dword [rbx + 0x38], r12d
mov r9d, r12d
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp3
mov edx, dword [rbp + 0x30]
jmp 0x1401d263d
test byte [rsi + 0x44], 4
je 0x1401d26ed
cmp byte [rsi + 0x41], 0
je 0x1401d26ed
movzx eax, byte [rsi + 0x40]
sub eax, 1
cdqe
jmp 0x1401d27ab
imul rcx, rax, 0x70
lea rdx, [rax - 1]
mov rcx, qword [rsi + rcx + 0x3c0]
test byte [rcx + 0x38], 4
jne 0x1401d28c5
mov rax, rdx
cmp rax, 0xffffffffffffffff
jne 0x1401d278e
xor r10d, r10d
mov r9d, dword [rsi + 0x34]
xor r8d, r8d
mov edx, 9
mov dword [rsp + 0x20], r10d
mov rcx, r13
call sym.sqlite3VdbeAddOp3
jmp 0x1401d26ed
xor edi, edi
mov r9d, r12d
mov r8d, 1
mov edx, 0x47
mov dword [rsp + 0x20], edi
mov rcx, r13
call sym.sqlite3VdbeAddOp3
jmp 0x1401d26df
xor ecx, ecx
xor edi, edi
cmp ecx, edx
jne 0x1401d263d
jmp 0x1401d2741
mov rax, qword [rsp + 0x70]
test byte [rax + 0x30], 0x80
je 0x1401d281e
movzx eax, byte [rdi + 0x64]
and eax, 3
cmp al, 2
je 0x1401d23d2
mov rax, qword [rdi]
lea rdx, str._USING_COVERING_INDEX
jmp 0x1401d23dc
mov esi, edi
jmp 0x1401d0883
mov r8d, dword [rsp + 0x60]
xor r9d, r9d
mov edx, 0x3b
mov rcx, r14
mov dword [rsp + 0x20], 1
call dbg.growOp3
mov esi, eax
jmp 0x1401d0e7c
mov edx, dword [rsp + 0xf8]
xor eax, eax
mov rcx, r13
mov qword [rsp + 0xe0], rax
call sym.sqlite3VdbeChangeToNoop.isra.0
mov eax, dword [r13 + 0x90]
mov dword [rsp + 0x8c], eax
jmp 0x1401d1a8e
mov rax, qword [rbp + 0x28]
cmp dword [rbp + 0x24], 0
jne 0x1401d271b
xor edi, edi
cmp dword [rax + 0x10], 0
js 0x1401d263d
mov rax, qword [rax]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x48], rax
neg rax
sbb di, di
and di, 0x500
jmp 0x1401d263d
mov r12d, 0xffff8000
jmp 0x1401d1cda
cdqe
xor r11d, r11d
xor r8d, r8d
mov edx, 9
imul rax, rax, 0x70
mov dword [rsp + 0x20], r11d
mov rcx, r13
mov r9d, dword [rsi + rax + 0x370]
call sym.sqlite3VdbeAddOp3
jmp 0x1401d26ed
mov rax, qword [rbp + 0x28]
jmp 0x1401d2892
lea rdx, [0x1403903e3]
call sym.sqlite3StrICmp
test eax, eax
jne 0x1401d05a7
mov r9d, 1
mov esi, 2
jmp 0x1401d24a4