Function at 0x1401b7560
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, 0x198
mov rax, qword [rcx]
mov rbp, qword [rcx + 0x10]
mov qword [rsp + 0x1f0], r8
mov rbx, rcx
mov r15, rdx
mov qword [rsp + 0x40], rax
test rbp, rbp
je 0x1401b78c0
test r15, r15
je 0x1401b75a4
mov r11d, dword [rbx + 0x30]
test r11d, r11d
je 0x1401b75c0
mov eax, 1
add rsp, 0x198
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 0x1401b75a4
mov rax, qword [rsp + 0x1f0]
cmp byte [rax], 6
ja 0x1401b761d
mov r8, qword [r15 + 0x48]
test r8, r8
je 0x1401b760d
lea rdx, [sym.sqlite3ExprListDelete]
mov rcx, rbx
call sym.sqlite3ParserAddCleanup
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 0x1401b7878
mov r10d, dword [r15 + 4]
test r10d, 0x800000
jne 0x1401b7840
mov rax, qword [rsp + 0x1f0]
cmp byte [rax], 9
je 0x1401b7a40
mov rdx, r15
mov rcx, rbx
call dbg.sqlite3WindowRewrite
mov dword [rsp + 0x50], eax
test eax, eax
jne 0x1401b7878
mov eax, dword [r15 + 4]
mov r12, qword [r15 + 0x28]
mov qword [rsp + 0xe8], 0
mov qword [rsp + 0xf0], 0
mov qword [rsp + 0xf8], 0
and eax, 8
mov dword [rsp + 0x60], eax
setne al
xor edi, edi
mov qword [rsp + 0x100], 0
movzx eax, al
mov dword [rsp + 0x48], eax
mov rax, qword [r15 + 0x48]
mov qword [rsp + 0x108], 0
mov qword [rsp + 0xe0], rax
mov rax, qword [r15 + 0x50]
mov qword [rsp + 0x68], rax
test rax, rax
jne 0x1401b781e
mov qword [rsp + 0x58], rbp
mov rbp, r15
mov r15, r12
nop dword [rax]
cmp dword [r15], edi
jle 0x1401b7a50
movsxd rsi, edi
lea rax, [rsi + rsi*2]
lea rax, [rsi + rax*4]
lea r13, [r15 + rax*8]
movzx r8d, byte [r13 + 0x44]
mov r14, qword [r13 + 0x30]
mov r12, qword [r13 + 0x28]
test r8b, 0x48
jne 0x1401b78f0
test r14, r14
je 0x1401b78e0
mov rax, qword [r14 + 0x20]
movsx r8d, word [r12 + 0x36]
mov eax, dword [rax]
cmp r8d, eax
jne 0x1401b82e8
lea rax, [rsi + rsi*2]
lea rax, [rsi + rax*4]
lea rax, [r15 + rax*8]
test byte [rax + 0x49], 1
je 0x1401b7765
mov rax, qword [rax + 0x68]
cmp byte [rax + 0x12], 0
je 0x1401b78e0
mov eax, dword [r14 + 4]
test al, 8
jne 0x1401b78e0
mov r8, qword [r14 + 0x48]
test r8, r8
je 0x1401b77b8
cmp qword [rbp + 0x48], 0
je 0x1401b79d0
cmp qword [r14 + 0x60], 0
je 0x1401b79e0
test edi, edi
jne 0x1401b77b8
test byte [rbp + 6], 4
je 0x1401b77b8
cmp dword [r15], 1
je 0x1401b7a30
test byte [r15 + 0xac], 0x22
jne 0x1401b7a30
nop word [rax + rax]
mov r9d, dword [rsp + 0x48]
mov r8d, edi
mov rdx, rbp
mov rcx, rbx
call dbg.flattenSubquery
test eax, eax
je 0x1401b77e1
mov r9d, dword [rbx + 0x30]
test r9d, r9d
jne 0x1401b7878
mov edi, 0xffffffff
mov rax, qword [rsp + 0x40]
mov r15, qword [rbp + 0x28]
cmp byte [rax + 0x67], 0
jne 0x1401b7878
mov rax, qword [rsp + 0x1f0]
add edi, 1
cmp byte [rax], 8
jbe 0x1401b7810
mov rax, qword [rbp + 0x48]
mov qword [rsp + 0xe0], rax
cmp qword [rbp + 0x50], 0
je 0x1401b76f8
mov r15, rbp
mov r8, qword [rsp + 0x1f0]
mov rdx, r15
mov rcx, rbx
call dbg.multiSelect
cmp qword [r15 + 0x58], 0
jne 0x1401b75a9
jmp 0x1401b787d
mov r11, qword [r15 + 0x28]
lea rcx, [r11 + 8]
mov rdx, r11
call dbg.sameSrcAlias
test eax, eax
je 0x1401b7a20
mov r8, qword [r11 + 0x20]
test r8, r8
je 0x1401b941c
lea rdx, str.target_object_alias_may_not_appear_in_FROM_clause:__s
mov rcx, rbx
call dbg.sqlite3ErrorMsg
nop dword [rax]
mov eax, 1
movsxd rdx, dword [rbx + 0x140]
test edx, edx
je 0x1401b78af
mov r8, qword [rbx + 0x10]
lea rcx, [0x1403f0300]
mov r9, qword [r8]
cmp byte [r9 + 0x67], 0
jne 0x1401b78ac
lea rcx, [rdx + rdx*2]
mov rdx, qword [r8 + 0x88]
lea rcx, [rdx + rcx*8]
mov edx, dword [rcx + 8]
mov dword [rbx + 0x140], edx
jmp 0x1401b75a9
cmp qword [rcx + 0xb0], 0
je 0x1401b79b8
mov rcx, rbx
call dbg.sqlite3VdbeCreate
mov rbp, rax
jmp 0x1401b7596
add edi, 1
jmp 0x1401b7810
mov rcx, qword [rbp + 0x30]
mov edx, dword [r13 + 0x4c]
and r8d, 0x40
call dbg.sqlite3ExprImpliesNonNullRow
test eax, eax
je 0x1401b7727
mov rax, qword [rsp + 0x40]
test byte [rax + 0x61], 0x20
jne 0x1401b7727
movzx eax, byte [r13 + 0x44]
test al, 8
je 0x1401b7930
test al, 0x10
je 0x1401b8498
and eax, 0xfffffff7
mov byte [r13 + 0x44], al
test al, 0x40
je 0x1401b7727
mov ecx, dword [r15]
lea r9d, [rdi + 1]
cmp r9d, ecx
jge 0x1401b7d30
lea rdx, [rsi + rsi*2]
lea rdx, [rsi + rdx*4]
lea r13, [r15 + rdx*8]
jmp 0x1401b797e
and eax, 0xffffffef
mov byte [r13 + 0xac], al
mov ecx, dword [r15]
add r9d, 1
add r13, 0x68
cmp ecx, r9d
jle 0x1401b7d30
movzx eax, byte [r13 + 0xac]
test al, 0x10
je 0x1401b796d
test al, 8
jne 0x1401b7960
and eax, 0xffffffcf
mov rcx, qword [rbp + 0x30]
mov edx, dword [r13 + 0xb4]
mov r8d, 1
mov byte [r13 + 0xac], al
call dbg.unsetJoinExpr
mov ecx, dword [r15]
jmp 0x1401b796d
test byte [rax + 0x60], 8
jne 0x1401b78ce
mov byte [rcx + 0x23], 1
jmp 0x1401b78ce
cmp dword [r15], 1
jg 0x1401b7785
jmp 0x1401b7790
test eax, 0x8000000
jne 0x1401b7790
test byte [rbp + 7], 8
jne 0x1401b7790
mov rax, qword [rsp + 0x40]
test byte [rax + 0x62], 4
jne 0x1401b7790
lea rdx, [sym.sqlite3ExprListDelete]
mov rcx, rbx
call sym.sqlite3ParserAddCleanup
mov qword [r14 + 0x48], 0
jmp 0x1401b77b8
and r10d, 0xff7fffff
mov dword [r15 + 4], r10d
jmp 0x1401b7649
mov edi, 1
jmp 0x1401b7810
mov rdx, r15
mov rcx, rbx
call dbg.sqlite3GenerateColumnNames
jmp 0x1401b765a
mov r12, r15
mov r15, rbp
mov rax, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x58]
mov rdx, qword [r15 + 0x30]
mov eax, dword [rax + 0x60]
test rdx, rdx
je 0x1401b7a75
cmp byte [rdx], 0x2c
je 0x1401b926b
test eax, 0x201
je 0x1401b8bf6
mov eax, dword [r12]
mov rdi, r12
xor r14d, r14d
test eax, eax
jle 0x1401b7ee0
mov qword [rsp + 0x1e8], r15
jmp 0x1401b7bd0
and r8d, 1
je 0x1401b8458
mov rdx, qword [rdi + 0x68]
cmp byte [rdx + 0x12], 0
je 0x1401b7abd
cmp dword [rdx], 1
jle 0x1401b8458
test eax, 0x4000000
je 0x1401b9428
mov rax, qword [rbx + 0x178]
lea r15, [rdi + 8]
mov qword [rsp + 0x48], rax
mov rax, qword [rdi + 0x18]
mov qword [rbx + 0x178], rax
movzx eax, byte [rdx + 0x12]
mov r10, rdx
test al, al
je 0x1401b7b0c
cmp dword [rdx], 1
jle 0x1401b7af7
cmp al, 2
jne 0x1401b7b0c
test byte [r12 + 0x44], 0x40
jne 0x1401b7b0c
mov rax, qword [rbx]
test byte [rax + 0x63], 2
je 0x1401b9da5
mov r9d, dword [r10 + 4]
test r9d, r9d
jg 0x1401b84c0
mov r9d, r14d
xor r8d, r8d
mov rdx, r15
mov rcx, r12
call dbg.isSelfJoinView
mov r10, rax
test rax, rax
je 0x1401b9a46
mov r9d, dword [rax + 0x30]
test r9d, r9d
jne 0x1401b8c31
mov r9d, dword [r10 + 0x44]
mov r8d, dword [rdi + 0x4c]
mov edx, 0x73
mov rcx, rbp
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x58], r10
call sym.sqlite3VdbeAddOp3
mov r10, qword [rsp + 0x58]
mov rax, qword [r10 + 0x28]
movzx eax, word [rax + 2]
mov word [rsi + 2], ax
mov rax, qword [rsp + 0x40]
cmp byte [rax + 0x67], 0
jne 0x1401b7878
mov rcx, qword [rsp + 0x1e8]
lea rdx, [rsp + 0x110]
mov dword [rsp + 0x110], 0
call dbg.heightOfSelect
mov eax, dword [rsp + 0x110]
sub dword [rbx + 0x13c], eax
mov rax, qword [rsp + 0x48]
mov qword [rbx + 0x178], rax
add r14d, 1
add rdi, 0x68
cmp dword [r12], r14d
jle 0x1401b7ed8
cmp qword [rdi + 0x58], 0
jne 0x1401b7bfd
mov r8, qword [rdi + 0x18]
test r8, r8
je 0x1401b7bfd
mov rax, qword [rdi + 0x10]
lea r9, [0x14037be6e]
mov edx, 0x14
mov rcx, rbx
mov qword [rsp + 0x20], rax
call dbg.sqlite3AuthCheck
mov rsi, qword [rdi + 0x30]
test rsi, rsi
je 0x1401b7bbe
mov r15d, dword [rdi + 0x38]
test r15d, r15d
jne 0x1401b7bbe
lea rax, [rsp + 0x140]
mov rcx, qword [rsp + 0x1e8]
movsxd r13, r14d
mov dword [rsp + 0x140], 0
mov rdx, rax
mov qword [rsp + 0x58], rax
call dbg.heightOfSelect
mov eax, dword [rsp + 0x140]
add dword [rbx + 0x13c], eax
lea rdx, [r13 + r13*2]
mov rax, qword [rsp + 0x40]
lea rdx, [r13 + rdx*4]
movzx r8d, byte [r12 + rdx*8 + 0x49]
mov eax, dword [rax + 0x60]
test ah, 0x10
je 0x1401b7aa0
and r8d, 1
test eax, 0x4000000
je 0x1401b8310
mov rax, qword [rbx + 0x178]
lea r15, [rdi + 8]
mov qword [rsp + 0x48], rax
mov rax, qword [rdi + 0x18]
mov qword [rbx + 0x178], rax
test r8b, r8b
jne 0x1401b82d8
movzx r10d, byte [r12 + 0x44]
and r10d, 0x40
jne 0x1401b7b19
mov rax, qword [rbx]
test byte [rax + 0x63], 2
jne 0x1401b7b19
mov r9d, dword [r12]
lea r8d, [r14 + 1]
mov rdx, r15
mov rcx, r12
mov byte [rsp + 0x70], r10b
call dbg.isSelfJoinView
movzx r10d, byte [rsp + 0x70]
test rax, rax
jne 0x1401b7b19
mov rax, qword [rsp + 0x1e8]
mov eax, dword [rax + 4]
test r14d, r14d
jne 0x1401b7d8b
cmp r9d, 1
je 0x1401b7dbe
test byte [r12 + 0xac], 2
jne 0x1401b7dbe
test eax, 0x10000000
je 0x1401b7dbe
test r10b, r10b
je 0x1401b7b19
mov r10, qword [rdi + 0x68]
jmp 0x1401b7b0c
test ecx, ecx
jle 0x1401b7727
movsxd rax, ecx
lea rdx, [rax + rax*2]
lea rdx, [rax + rdx*4]
shl rdx, 3
lea r8, [r15 + rdx - 0x68]
lea rax, [r15 + rdx]
lea edx, [rcx - 1]
lea rcx, [rdx + rdx*2]
lea rdx, [rdx + rcx*4]
shl rdx, 3
sub r8, rdx
jmp 0x1401b7d75
sub rax, 0x68
cmp r8, rax
je 0x1401b7727
movzx edx, byte [rax - 0x24]
mov ecx, edx
and ecx, 0xffffffbf
and edx, 0x10
mov byte [rax - 0x24], cl
je 0x1401b7d68
jmp 0x1401b7727
test eax, 0x10000000
jne 0x1401b7d17
mov rdx, r12
mov rax, r15
sub rdx, rdi
add rdx, r15
jmp 0x1401b7daf
sub rax, 0x68
cmp qword [rax + 0x28], 0
jne 0x1401b7d17
test byte [rax + 0x3c], 0x22
jne 0x1401b7d17
cmp rax, rdx
jne 0x1401b7da0
mov r10d, dword [rbp + 0x90]
mov eax, dword [rbx + 0x38]
xor r9d, r9d
mov rcx, rbp
mov edx, 0xb
lea r11d, [r10 + 1]
lea r8d, [rax + 1]
mov dword [rsp + 0x80], r10d
mov dword [rbx + 0x38], r8d
mov dword [rdi + 0x3c], r8d
mov dword [rsp + 0x20], r11d
mov dword [rsp + 0x70], r11d
call sym.sqlite3VdbeAddOp3
mov r11d, dword [rsp + 0x70]
mov eax, dword [rdi + 0x3c]
mov r9, r15
lea r8, str.CO_ROUTINE___S
mov edx, 1
mov rcx, rbx
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 + 0x58]
mov rdx, rsi
mov rcx, rbx
call dbg.sqlite3Select
movzx edx, word [rsi + 2]
mov rax, qword [rdi + 0x28]
mov rcx, rbp
mov word [rax + 0x3a], dx
lea rax, [r13 + r13*2]
lea rax, [r13 + rax*4]
or byte [r12 + 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 [rbp]
mov edx, dword [rbp + 0x90]
lea rax, [0x1403f0300]
cmp byte [rcx + 0x67], 0
jne 0x1401b7ebe
movsxd r10, dword [rsp + 0x80]
mov rax, qword [rbp + 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 0x1401b7b76
mov r15, qword [rsp + 0x1e8]
mov rax, qword [r15 + 0x20]
mov qword [rsp + 0x58], rax
mov rax, qword [r15 + 0x30]
mov qword [rsp + 0x70], rax
mov rax, qword [r15 + 0x38]
mov qword [rsp + 0x48], rax
mov rax, qword [r15 + 0x40]
mov qword [rsp + 0x78], rax
mov eax, dword [r15 + 4]
mov byte [rsp + 0xd4], al
and eax, 9
and byte [rsp + 0xd4], 1
cmp eax, 1
je 0x1401b9d04
mov rdx, qword [rsp + 0xe0]
test rdx, rdx
je 0x1401b8c21
mov rdi, qword [rsp + 0x58]
xor r8d, r8d
mov rcx, rbx
mov r9d, dword [rdi]
call dbg.sqlite3KeyInfoFromExprList
mov r8d, dword [rbx + 0x34]
mov rcx, rbp
mov r9, rax
lea eax, [r8 + 1]
mov dword [rsp + 0xec], r8d
mov dword [rbx + 0x34], eax
mov rax, qword [rsp + 0xe0]
mov edx, dword [rax]
mov eax, dword [rdi]
mov qword [rsp + 0x28], r9
mov dword [rsp + 0x30], 0xfffffff8
mov dword [rsp + 0x20], 0
lea r9d, [rdx + rax + 1]
mov edx, 0x76
call sym.sqlite3VdbeAddOp4
mov dword [rsp + 0xf8], eax
mov rax, qword [rsp + 0x1f0]
cmp byte [rax], 0xc
je 0x1401b9c1c
mov edx, dword [r15 + 4]
mov eax, dword [rbx + 0x44]
lea r8d, [rax - 1]
mov dword [rsp + 0x80], eax
mov dword [rbx + 0x44], r8d
test dh, 0x40
jne 0x1401b7fce
mov r13d, 0x140
mov word [r15 + 2], r13w
cmp qword [r15 + 0x60], 0
je 0x1401b7fe4
mov rdx, r15
mov rcx, rbx
call dbg.computeLimitRegisters
mov edx, dword [r15 + 4]
mov edi, dword [r15 + 8]
test edi, edi
jne 0x1401b8024
movsxd rax, dword [rsp + 0xf8]
test eax, eax
js 0x1401b8024
mov r8, qword [rbp]
lea rcx, [0x1403f0300]
cmp byte [r8 + 0x67], 0
jne 0x1401b8019
lea rcx, [rax + rax*2]
mov rax, qword [rbp + 0x88]
lea rcx, [rax + rcx*8]
mov byte [rcx], 0x77
or byte [rsp + 0x104], 1
and edx, 1
jne 0x1401b9396
mov byte [rsp + 0xd5], 0
mov r10d, dword [rsp + 0x60]
test r10d, r10d
jne 0x1401b9bd1
cmp qword [rsp + 0x48], 0
jne 0x1401b8c59
cmp byte [rsp + 0xd4], 0
movzx edx, word [r15 + 4]
setne al
mov r13, qword [r15 + 0x70]
shl eax, 8
and dx, 0x4000
or edx, eax
mov word [rsp + 0x48], dx
test r13, r13
je 0x1401b8548
mov rax, qword [r15 + 0x28]
mov r14, qword [rbx + 0x10]
mov rax, qword [rax + 0x30]
mov rax, qword [rax + 0x20]
mov esi, dword [rax]
test r14, r14
je 0x1401b9ef9
mov r8d, dword [r13 + 0x58]
mov r9d, esi
mov edx, 0x76
mov rcx, r14
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp3
mov r9d, dword [r13 + 0x58]
mov edx, 0x73
mov rcx, r14
mov dword [rsp + 0x20], 0
lea r8d, [r9 + 1]
call sym.sqlite3VdbeAddOp3
mov r9d, dword [r13 + 0x58]
mov edx, 0x73
mov rcx, r14
mov dword [rsp + 0x20], 0
lea r8d, [r9 + 2]
call sym.sqlite3VdbeAddOp3
mov r9d, dword [r13 + 0x58]
mov edx, 0x73
mov rcx, r14
mov dword [rsp + 0x20], 0
lea r8d, [r9 + 3]
call sym.sqlite3VdbeAddOp3
mov rax, qword [r13 + 0x10]
test rax, rax
je 0x1401b813d
mov edx, dword [rax]
mov eax, dword [rbx + 0x38]
xor r8d, r8d
mov rcx, r14
lea r9d, [rax + 1]
add eax, edx
mov dword [r13 + 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 r8d, 1
mov rcx, r14
mov rsi, r13
mov edx, 0x47
lea rdi, str.first_value
lea r9d, [rax + 1]
mov dword [rbx + 0x38], r9d
mov dword [r13 + 0x80], r9d
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp3
cmp byte [r13 + 0x24], 0
jne 0x1401bade8
mov qword [rsp + 0x60], r12
jmp 0x1401b8267
cmp byte [rsi + 0x21], 0x5a
je 0x1401b8275
mov rax, qword [rsi + 0x70]
xor r8d, r8d
xor r9d, r9d
mov rcx, rbx
mov rdx, qword [rax + 0x20]
call dbg.sqlite3KeyInfoFromExprList
mov r8d, dword [rbx + 0x34]
mov r12, rax
lea eax, [r8 + 1]
mov dword [rbx + 0x34], eax
mov eax, dword [rbx + 0x38]
mov dword [rsi + 0x64], r8d
lea edx, [rax + 1]
add eax, 3
mov dword [rsi + 0x68], edx
mov dword [rbx + 0x38], eax
test r12, r12
je 0x1401b9e79
mov rax, qword [rsi + 0x50]
mov rax, qword [rax + 0x38]
cmp byte [rax + 1], 0x69
jne 0x1401b81f4
mov rax, qword [r12 + 0x18]
mov byte [rax], 1
mov r8d, dword [rsi + 0x64]
mov dword [rsp + 0x20], 0
mov r9d, 2
mov edx, 0x76
mov rcx, r14
call sym.sqlite3VdbeAddOp3
mov rax, qword [r14]
cmp byte [rax + 0x67], 0
jne 0x1401ba713
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], r12
mov eax, dword [rsi + 0x68]
xor r8d, r8d
mov edx, 0x47
mov rcx, r14
mov dword [rsp + 0x20], 0
lea r9d, [rax + 1]
call sym.sqlite3VdbeAddOp3
mov rsi, qword [rsi + 0x40]
test rsi, rsi
je 0x1401b8543
mov rax, qword [rsi + 0x50]
test byte [rax + 5], 0x10
jne 0x1401b8190
mov rax, qword [rax + 0x38]
cmp rax, rdi
je 0x1401b8520
lea rcx, str.nth_value
cmp rax, rcx
je 0x1401b8520
lea rcx, str.lead
cmp rax, rcx
je 0x1401b82aa
lea rdx, [0x14038c15c]
cmp rax, rdx
jne 0x1401b825a
mov r8d, dword [rbx + 0x34]
lea eax, [r8 + 1]
mov dword [rbx + 0x34], eax
mov dword [rsi + 0x64], r8d
mov r9d, dword [r13 + 0x58]
mov dword [rsp + 0x20], 0
mov edx, 0x73
mov rcx, r14
call sym.sqlite3VdbeAddOp3
jmp 0x1401b825a
mov rdx, qword [rdi + 0x68]
jmp 0x1401b7ae3
mov dword [rsp + 0x20], eax
mov r9, qword [r12]
lea rdx, str.expected__d_columns_for__s_but_got__d
mov rcx, rbx
call dbg.sqlite3ErrorMsg
mov eax, 1
jmp 0x1401b787d
lea rax, [r13 + r13*2]
lea rax, [r13 + rax*4]
test word [r12 + rax*8 + 0x48], 0x108
jne 0x1401b7c77
mov rax, qword [rdi + 0x30]
mov qword [rsp + 0x48], rax
jmp 0x1401b8362
test byte [rax + 4], 9
jne 0x1401b7c77
mov rdx, qword [rax + 0x50]
test rdx, rdx
je 0x1401b8354
cmp byte [rax], 0x87
jne 0x1401b7c77
cmp qword [rax + 0x70], 0
jne 0x1401b7c77
mov rax, rdx
test rax, rax
jne 0x1401b8338
mov rax, qword [rsp + 0x48]
mov r9, qword [rdi + 0x58]
mov rdx, qword [rax + 0x48]
test rdx, rdx
je 0x1401b83cb
mov ecx, dword [rdx]
test ecx, ecx
jle 0x1401b83cb
sub ecx, 1
mov byte [rsp + 0x70], r8b
lea rax, [rdx + 0x20]
mov r11d, 0x3f
shl rcx, 5
mov r10d, 1
lea rdx, [rdx + rcx + 0x40]
movzx ecx, word [rax]
test cx, cx
je 0x1401b83bc
sub ecx, 1
mov r8, r10
cmp cx, 0x3f
cmova ecx, r11d
shl r8, cl
or r9, r8
add rax, 0x20
cmp rdx, rax
jne 0x1401b83a0
movzx r8d, byte [rsp + 0x70]
mov rax, qword [rdi + 0x28]
movsx r10d, word [rax + 0x36]
test r10d, r10d
jle 0x1401b7c77
mov r11d, 1
mov ecx, r15d
jmp 0x1401b83fc
add ecx, 1
cmp r10d, ecx
je 0x1401b7c77
movabs rdx, 0x8000000000000000
mov rax, r11
shl rax, cl
cmp ecx, 0x3f
cmovge rax, rdx
test r9, rax
jne 0x1401b83f0
movsxd r15, ecx
mov rax, qword [rsp + 0x48]
shl r15, 5
nop dword [rax]
mov rdx, qword [rax + 0x20]
add rdx, r15
mov rdx, qword [rdx + 8]
cmp byte [rdx], 0x79
je 0x1401b8449
and dword [rdx + 4], 0xfff7dfff
mov byte [rdx], 0x79
or dword [rax + 4], 0x1000000
mov rax, qword [rax + 0x50]
test rax, rax
jne 0x1401b8428
jmp 0x1401b83f0
mov dword [rsp + 0x20], r14d
mov rdx, rsi
mov r9, r12
mov rcx, rbx
mov rax, qword [rsp + 0x1e8]
mov r8, qword [rax + 0x30]
call sym.pushDownWhereTerms.isra.0
mov rax, qword [rsp + 0x40]
lea rdx, [r13 + r13*2]
lea rdx, [r13 + rdx*4]
mov eax, dword [rax + 0x60]
movzx r8d, byte [r12 + rdx*8 + 0x49]
jmp 0x1401b7c68
and eax, 0xffffffd7
mov rcx, qword [rbp + 0x30]
mov edx, dword [r13 + 0x4c]
xor r8d, r8d
mov byte [r13 + 0x44], al
call dbg.unsetJoinExpr
movzx eax, byte [r13 + 0x44]
jmp 0x1401b7930
mov r8d, dword [r10 + 8]
mov dword [rsp + 0x20], 0
mov edx, 0xa
mov rcx, rbp
mov qword [rsp + 0x58], r10
call sym.sqlite3VdbeAddOp3
mov r10, qword [rsp + 0x58]
mov r8d, dword [rdi + 0x4c]
mov r9d, dword [r10 + 0xc]
cmp r8d, r9d
je 0x1401b850a
mov dword [rsp + 0x20], 0
mov edx, 0x73
mov rcx, rbp
call sym.sqlite3VdbeAddOp3
mov r10, qword [rsp + 0x58]
movzx eax, word [r10 + 0x10]
mov word [rsi + 2], ax
jmp 0x1401b7b76
mov eax, dword [rbx + 0x38]
mov r8d, dword [rbx + 0x34]
lea edx, [rax + 1]
add eax, 2
mov dword [rsi + 0x68], edx
lea edx, [r8 + 1]
mov dword [rbx + 0x34], edx
mov dword [rsi + 0x64], r8d
mov dword [rbx + 0x38], eax
jmp 0x1401b82b9
mov r12, qword [rsp + 0x60]
movsx eax, word [r15 + 2]
mov qword [rsp + 0x28], r15
mov rdx, r12
mov rcx, rbx
mov r9, qword [rsp + 0xe0]
mov r8, qword [rsp + 0x70]
mov dword [rsp + 0x38], eax
movzx eax, word [rsp + 0x48]
mov dword [rsp + 0x30], eax
mov rax, qword [r15 + 0x20]
mov qword [rsp + 0x20], rax
call sym.sqlite3WhereBegin
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1401b7878
movzx eax, word [rax + 0x48]
cmp word [r15 + 2], ax
jle 0x1401b859e
mov word [r15 + 2], ax
cmp byte [rsp + 0xd4], 0
je 0x1401b85bc
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0x43]
test al, al
je 0x1401b85bc
mov byte [rsp + 0xd5], al
mov rcx, qword [rsp + 0xe0]
test rcx, rcx
je 0x1401b9c00
mov rdi, qword [rsp + 0x60]
mov edx, 0
movsx eax, byte [rdi + 0x41]
test al, al
cmovs eax, edx
mov dword [rsp + 0xe8], eax
test byte [rdi + 0x44], 4
je 0x1401ba4f7
mov rsi, qword [rsp + 0x60]
movzx r8d, byte [rsi + 0x40]
sub r8d, 1
movsxd r8, r8d
lea rdx, [r8*8]
sub rdx, r8
shl rdx, 4
add rdx, rsi
cmp qword [rdx + 0x398], 0
je 0x1401bacc5
mov edx, dword [rsi + 0x30]
mov dword [rsp + 0x100], edx
cmp dword [rcx], eax
je 0x1401b9bf4
test r13, r13
je 0x1401b9ea6
mov eax, dword [rbx + 0x44]
mov r14, qword [r15 + 0x70]
mov r12, qword [rbx + 0x10]
lea edi, [rax - 2]
mov dword [rsp + 0xac], eax
lea esi, [rax - 1]
sub eax, 3
mov dword [rsp + 0xa8], edi
mov edi, dword [rbx + 0x38]
mov dword [rsp + 0x78], eax
add edi, 1
mov dword [rbx + 0x44], eax
mov dword [rsp + 0x88], edi
mov dword [rbx + 0x38], edi
mov rdi, qword [r14 + 0x18]
mov dword [rsp + 0x84], eax
mov qword [rsp + 0x98], rdi
test r12, r12
je 0x1401b9e1e
mov rax, qword [r15 + 0x28]
mov edi, dword [rax + 0x4c]
mov rax, qword [rax + 0x28]
movsx eax, word [rax + 0x36]
mov dword [rsp + 0x158], esi
mov qword [rsp + 0x168], 0
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x84]
mov qword [rsp + 0x170], 0
sub eax, 1
mov qword [rsp + 0x178], 0
mov dword [rbx + 0x44], eax
mov dword [rsp + 0xa4], eax
mov eax, dword [rsp + 0x88]
mov qword [rsp + 0x160], 0
mov qword [rsp + 0x180], 0
mov dword [rsp + 0x15c], eax
mov eax, dword [r14 + 0x58]
mov qword [rsp + 0x140], rbx
lea edx, [rax + 2]
mov dword [rsp + 0x174], eax
lea esi, [rax + 1]
add eax, 3
mov qword [rsp + 0x148], r14
mov qword [rsp + 0x150], r12
mov dword [rsp + 0x16c], edx
mov dword [rsp + 0x17c], eax
movzx edx, byte [r14 + 0x21]
mov dword [rsp + 0x90], esi
cmp dl, 0x56
je 0x1401ba64a
cmp dl, 0x5a
je 0x1401ba67a
mov dword [rsp + 0x164], 2
mov eax, dword [rbx + 0x38]
sub edx, 0x56
lea esi, [rax + 1]
add eax, dword [rsp + 0x70]
and edx, 0xfd
lea ecx, [rax + 1]
mov dword [rsp + 0x8c], ecx
lea ecx, [rax + 2]
mov dword [rbx + 0x38], ecx
mov dword [rsp + 0x168], ecx
jne 0x1401bb6d2
add eax, 3
mov dword [rsp + 0x48], eax
mov dword [rbx + 0x38], eax
movzx eax, byte [r14 + 0x22]
mov dword [rsp + 0x68], 0
sub eax, 0x56
test al, 0xfd
jne 0x1401b87c8
mov eax, dword [rbx + 0x38]
add eax, 1
mov dword [rsp + 0x68], eax
mov dword [rbx + 0x38], eax
cmp byte [r14 + 0x20], 0x4c
je 0x1401ba627
mov rax, qword [rsp + 0x98]
xor edx, edx
test rax, rax
je 0x1401b87e4
mov edx, dword [rax]
mov ecx, dword [r14 + 0x78]
mov rax, qword [r14 + 0x10]
add ecx, esi
mov dword [rsp + 0xb4], ecx
test rax, rax
je 0x1401b8805
mov eax, dword [rax]
add ecx, eax
mov dword [rsp + 0xb4], ecx
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
mov dword [rsp + 0x178], r8d
lea r8d, [rax + 1]
add eax, edx
cmp qword [rsp + 0x98], 0
setne dl
add ecx, 1
mov dword [rbx + 0x38], eax
setne al
mov dword [rsp + 0x180], r8d
and edx, eax
mov dword [rsp + 0xa0], ecx
mov byte [rsp + 0xb0], dl
mov r8d, dword [rsp + 0x70]
xor r13d, r13d
test r8d, r8d
jle 0x1401b88a4
mov qword [rsp + 0x1e0], rbx
mov ebx, edi
mov edi, dword [rsp + 0x70]
nop dword [rax]
lea eax, [rsi + r13]
mov r9d, r13d
mov r8d, ebx
mov edx, 0x5e
mov dword [rsp + 0x20], eax
mov rcx, r12
add r13d, 1
call sym.sqlite3VdbeAddOp3
cmp edi, r13d
jne 0x1401b8878
mov rbx, qword [rsp + 0x1e0]
mov r9d, dword [rsp + 0x70]
mov edx, 0x61
mov r8d, esi
mov rcx, r12
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp3
mov rdx, qword [r14 + 0x10]
test rdx, rdx
je 0x1401b9e06
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
mov edi, dword [rdx]
add esi, dword [r14 + 0x78]
call dbg.sqlite3KeyInfoFromExprList
mov r9d, dword [r14 + 0x6c]
mov r10d, dword [r12 + 0x90]
mov r13, rax
mov eax, dword [rbx + 0x38]
add eax, 1
mov dword [rsp + 0x70], eax
mov dword [rbx + 0x38], eax
cmp r10d, dword [r12 + 0x94]
jge 0x1401bb33b
lea eax, [r10 + 1]
mov dword [r12 + 0x90], eax
movsxd rax, r10d
lea rdx, [rax + rax*2]
mov rax, qword [r12 + 0x88]
lea rax, [rax + rdx*8]
mov dword [rax + 4], esi
mov dword [rax + 8], r9d
mov dword [rax + 0xc], edi
mov qword [rax + 0x10], 0
mov dword [rax], 0x5a
mov rax, qword [r12]
cmp byte [rax + 0x67], 0
jne 0x1401bada1
movsxd rax, dword [r12 + 0x90]
lea rdx, [rax + rax*2]
mov rax, qword [r12 + 0x88]
lea rax, [rax + rdx*8 - 0x18]
mov byte [rax + 1], 0xf8
mov qword [rax + 0x10], r13
lea r8d, [r10 + 2]
lea r9d, [r10 + 4]
mov edx, 0xe
mov rcx, r12
mov dword [rsp + 0x20], r8d
call sym.sqlite3VdbeAddOp3
mov eax, dword [r12 + 0x90]
mov dword [rsp + 0xb8], eax
cmp eax, dword [r12 + 0x94]
jge 0x1401bb41d
mov ecx, dword [rsp + 0xb8]
lea eax, [rcx + 1]
mov dword [r12 + 0x90], eax
movsxd rax, ecx
mov ecx, dword [rsp + 0x70]
lea rdx, [rax + rax*2]
mov rax, qword [r12 + 0x88]
lea rax, [rax + rdx*8]
mov dword [rax + 4], ecx
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
mov dword [rax], 0xa
sub edi, 1
mov r9d, dword [r14 + 0x6c]
mov r8d, esi
mov edx, 0x50
mov dword [rsp + 0x20], edi
mov rcx, r12
call sym.sqlite3VdbeAddOp3
mov esi, dword [rsp + 0x90]
mov dword [rsp + 0x20], 0
mov edx, 0x7f
mov rcx, r12
mov r9d, dword [rsp + 0x168]
mov r8d, esi
call sym.sqlite3VdbeAddOp3
mov r8d, esi
mov edx, pe_nt_image_headers64
mov rcx, r12
mov eax, dword [rsp + 0x168]
mov r9d, dword [rsp + 0x8c]
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp3
mov eax, dword [r12 + 0x90]
mov edx, dword [rsp + 0x168]
mov r8d, dword [r14 + 0x80]
mov dword [rsp + 0x8c], eax
cmp eax, dword [r12 + 0x94]
jge 0x1401bad06
mov edi, dword [rsp + 0x8c]
lea eax, [rdi + 1]
mov dword [r12 + 0x90], eax
movsxd rax, edi
lea rcx, [rax + rax*2]
mov rax, qword [r12 + 0x88]
lea rax, [rax + rcx*8]
mov dword [rax + 4], r8d
mov dword [rax + 8], 0
mov dword [rax + 0xc], edx
mov qword [rax + 0x10], 0
mov dword [rax], 0x34
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1401b9e46
mov qword [rsp + 0x1e0], rbx
xor esi, esi
mov r13, r14
mov rbx, rcx
jmp 0x1401b8b7d
lea edx, [rax + 1]
mov dword [rbx + 0x90], edx
lea rdx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rax, [rax + rdx*8]
mov dword [rax + 8], r9d
mov dword [rax + 0xc], 0
mov qword [rax + 0x10], 0
mov qword [rax], 0x4b
mov rax, qword [r13 + 0x70]
mov rdx, qword [rax + 0x20]
xor eax, eax
test rdx, rdx
je 0x1401b8b2b
mov eax, dword [rdx]
mov ecx, dword [r14 + 0x84]
cmp esi, eax
cmovl esi, eax
test ecx, ecx
jne 0x1401b8b70
mov rax, qword [rdi + 0x38]
lea rcx, str.first_value
cmp rax, rcx
je 0x1401b8bb5
lea rcx, str.nth_value
cmp rax, rcx
je 0x1401b8bb5
test byte [rdi + 5], 0x10
je 0x1401b8b70
mov r8d, dword [r13 + 0x64]
test r8d, r8d
jne 0x1401b9d68
nop word [rax + rax]
mov r13, qword [r13 + 0x40]
test r13, r13
je 0x1401b9445
mov rdi, qword [r13 + 0x50]
mov r9d, dword [r13 + 0x5c]
movsxd rax, dword [rbx + 0x90]
cmp eax, dword [rbx + 0x94]
jl 0x1401b8ae8
mov dword [rsp + 0x20], 0
xor r8d, r8d
mov edx, 0x4b
mov rcx, rbx
call dbg.growOp3
jmp 0x1401b8b1a
mov r9d, dword [r13 + 0x68]
xor r8d, r8d
mov rcx, rbx
mov edx, 0x47
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp3
mov eax, dword [r13 + 0x68]
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x20], 0
mov edx, 0x47
lea r9d, [rax + 1]
call sym.sqlite3VdbeAddOp3
jmp 0x1401b8b57
mov rdx, r15
mov rcx, rbx
call dbg.countOfViewOptimization
test eax, eax
je 0x1401b7a80
mov rax, qword [rsp + 0x40]
cmp byte [rax + 0x67], 0
jne 0x1401b7878
mov r12, qword [r15 + 0x28]
jmp 0x1401b7a80
mov dword [rsp + 0xf8], 0xffffffff
jmp 0x1401b7f97
mov r8d, dword [rax + 0x34]
mov dword [rsp + 0x20], 0
mov edx, 0xa
mov rcx, rbp
mov qword [rsp + 0x58], rax
call sym.sqlite3VdbeAddOp3
mov r10, qword [rsp + 0x58]
jmp 0x1401b7b43
mov rdx, qword [r15 + 0x20]
mov ecx, dword [rdx]
lea rax, [rdx + 8]
test ecx, ecx
jle 0x1401b8c89
sub ecx, 1
shl rcx, 5
lea rdx, [rdx + rcx + 0x28]
nop dword [rax + rax]
xor r14d, r14d
add rax, 0x20
mov word [rax - 6], r14w
cmp rax, rdx
jne 0x1401b8c78
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax]
add rax, 8
test ecx, ecx
jle 0x1401b8cc1
mov rdi, qword [rsp + 0x48]
lea edx, [rcx - 1]
shl rdx, 5
lea rdx, [rdi + rdx + 0x28]
nop dword [rax]
xor r13d, r13d
add rax, 0x20
mov word [rax - 6], r13w
cmp rax, rdx
jne 0x1401b8cb0
cmp word [r15 + 2], 0x42
jle 0x1401b8cd3
mov edi, 0x42
mov word [r15 + 2], di
mov r9, qword [rsp + 0xe0]
mov dword [rsp + 0x88], 0
test r9, r9
je 0x1401b8cf4
cmp dword [r9], ecx
je 0x1401ba740
mov eax, dword [rbx + 0x44]
mov rcx, qword [rsp + 0x40]
mov edx, 0x38
mov dword [rsp + 0x8c], eax
sub eax, 1
mov dword [rbx + 0x44], eax
mov dword [rsp + 0x84], eax
call sym.sqlite3DbMallocRawNN
mov r14, rax
test rax, rax
je 0x1401b8d6b
mov qword [r14], 0
mov r8, r14
mov rcx, rbx
lea rdx, [dbg.agginfoFree]
mov qword [r14 + 8], 0
mov qword [r14 + 0x10], 0
mov qword [r14 + 0x18], 0
mov qword [r14 + 0x20], 0
mov qword [r14 + 0x28], 0
mov qword [r14 + 0x30], 0
call sym.sqlite3ParserAddCleanup
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x67]
mov esi, eax
mov byte [rsp + 0x60], al
mov eax, 1
test sil, sil
jne 0x1401b787d
mov eax, dword [r15 + 0x10]
mov rsi, qword [rsp + 0x48]
lea rdi, [rsp + 0x140]
mov dword [r14 + 0x34], eax
mov qword [rsp + 0x158], 0
mov qword [rsp + 0x160], 0
mov qword [rsp + 0x168], 0
mov qword [rsp + 0x170], 0
mov qword [rsp + 0x140], rbx
mov qword [rsp + 0x148], r12
mov qword [rsp + 0x150], r14
test rsi, rsi
je 0x1401ba946
mov eax, dword [rsi]
mov rdx, qword [rsp + 0x58]
mov qword [r14 + 0x10], rsi
mov rcx, rdi
mov word [r14 + 2], ax
call dbg.sqlite3ExprAnalyzeAggList
mov rdx, qword [rsp + 0xe0]
mov rcx, rdi
call dbg.sqlite3ExprAnalyzeAggList
cmp qword [rsp + 0x78], 0
je 0x1401b8ee0
mov rdx, qword [r15 + 0x40]
lea rax, [sym.havingToWhereExprCb]
mov qword [rsp + 0x120], 0
lea rsi, [rsp + 0x110]
mov qword [rsp + 0x128], 0
mov qword [rsp + 0x130], 0
mov qword [rsp + 0x110], rbx
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x138], r15
test rdx, rdx
je 0x1401b8e7e
mov rcx, rsi
call dbg.sqlite3WalkExprNN
mov rax, qword [r15 + 0x30]
mov qword [rsp + 0x70], rax
lea rax, [dbg.analyzeAggregate]
mov rdx, qword [rsp + 0x78]
mov rcx, rsi
mov dword [rsp + 0x130], 0
mov qword [rsp + 0x118], rax
lea rax, [dbg.sqlite3WalkerDepthIncrease]
mov qword [rsp + 0x120], rax
lea rax, [dbg.sqlite3WalkerDepthDecrease]
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x138], rdi
mov qword [rsp + 0x110], 0
call dbg.sqlite3WalkExprNN
mov eax, dword [r14 + 0x20]
xor r13d, r13d
cmp qword [r15 + 0x38], 0
mov dword [r14 + 0x24], eax
je 0x1401ba931
mov rdx, rdi
mov rcx, r14
call dbg.analyzeAggFuncArgs
mov rax, qword [rsp + 0x40]
cmp byte [rax + 0x67], 0
jne 0x1401ba3ea
cmp qword [rsp + 0x48], 0
mov edx, dword [r14 + 0x30]
je 0x1401baead
xor r11d, r11d
xor esi, esi
mov word [rsp + 0xb4], r11w
cmp edx, 1
je 0x1401bb265
mov eax, dword [rbx + 0x34]
mov r9d, dword [r14 + 0x20]
xor r8d, r8d
mov rcx, rbx
lea edx, [rax + 1]
mov dword [rbx + 0x34], edx
mov rdx, qword [rsp + 0x48]
mov dword [r14 + 4], eax
call dbg.sqlite3KeyInfoFromExprList
movzx r9d, word [r14 + 2]
mov r8d, dword [r14 + 4]
mov rcx, rbp
mov dword [rsp + 0x30], 0xfffffff8
mov edx, 0x77
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov qword [rsp + 0xb8], rax
call sym.sqlite3VdbeAddOp4
mov r10d, dword [rbx + 0x44]
mov r11, qword [rsp + 0x48]
mov edx, 0x47
mov dword [rsp + 0xc4], eax
mov eax, dword [rbx + 0x38]
mov r8d, dword [r11]
mov dword [rsp + 0xc8], r10d
lea ecx, [rax + 1]
lea r9d, [rax + 2]
mov dword [rsp + 0xa0], ecx
lea ecx, [rax + 3]
mov dword [rsp + 0xa4], ecx
lea ecx, [r10 - 1]
sub r10d, 2
mov dword [rsp + 0xc0], ecx
lea ecx, [rax + 4]
add eax, 5
mov dword [rsp + 0xa8], eax
mov eax, ecx
add eax, r8d
mov dword [rsp + 0x60], ecx
lea ecx, [rax + 1]
add eax, r8d
mov dword [rbx + 0x44], r10d
mov dword [rbx + 0x38], eax
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x90], r8d
xor r8d, r8d
mov dword [rsp + 0xac], ecx
mov rcx, rbp
mov dword [rsp + 0x98], r10d
mov dword [rsp + 0xb0], r9d
call sym.sqlite3VdbeAddOp3
mov r11, qword [rsp + 0x48]
xor r8d, r8d
mov rcx, rbp
mov edx, dword [rsp + 0xa8]
mov eax, dword [r11]
mov r9d, edx
add eax, edx
mov edx, 0x4b
sub eax, 1
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp3
mov dword [rsp + 0x20], 0
mov r8d, dword [rsp + 0x60]
mov rcx, rbp
mov r9d, dword [rsp + 0x98]
mov edx, 0xa
call sym.sqlite3VdbeAddOp3
cmp byte [rsp + 0xd4], 2
mov rcx, rbx
mov edx, 0x40
mov eax, pe_nt_image_headers64
mov qword [rsp + 0x28], r15
mov r9, qword [rsp + 0x48]
cmovne eax, edx
movzx edx, word [rsp + 0x88]
mov dword [rsp + 0x38], 0
mov r8, qword [rsp + 0x70]
shl edx, 9
or eax, esi
or eax, edx
mov rdx, r12
cwde
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
call sym.sqlite3WhereBegin
mov qword [rsp + 0x70], rax
test rax, rax
je 0x1401ba3d3
cmp qword [rbx + 0x60], 0
je 0x1401b9136
mov ecx, dword [r14 + 0x24]
cmp word [r14 + 2], 0
mov dword [r14 + 0x20], ecx
je 0x1401b912b
mov rax, qword [r15 + 0x38]
mov eax, dword [rax]
sub eax, 1
test ecx, ecx
jle 0x1401b9123
sub ecx, 1
mov r8, qword [r14 + 0x18]
imul rcx, rcx, 0x18
lea rdx, [r8 + 0x16]
lea r8, [r8 + rcx + 0x2e]
movsx ecx, word [rdx]
cmp eax, ecx
cmovl eax, ecx
add rdx, 0x18
cmp r8, rdx
jne 0x1401b9112
add eax, 1
mov word [r14 + 2], ax
mov rdx, rdi
mov rcx, r14
call dbg.analyzeAggFuncArgs
mov edx, dword [rbx + 0x38]
lea eax, [rdx + 1]
mov dword [r14 + 0xc], eax
mov eax, dword [r14 + 0x30]
add eax, dword [r14 + 0x20]
add eax, edx
mov edx, 0
mov dword [rbx + 0x38], eax
mov rax, qword [rsp + 0x70]
movzx edi, byte [rax + 0x43]
movsx eax, byte [rax + 0x41]
mov dword [rsp + 0xcc], edi
mov rdi, qword [rsp + 0x48]
test al, al
cmovs eax, edx
cmp dword [rdi], eax
je 0x1401bb567
cmp byte [rsp + 0xd4], 0
lea r9, str.GROUP_BY
je 0x1401b9199
test byte [r15 + 4], 1
lea rax, str.DISTINCT
cmove r9, rax
mov rcx, rbx
lea r8, str.USE_TEMP_B_TREE_FOR__s
xor edx, edx
call dbg.sqlite3VdbeExplain
mov rax, qword [rsp + 0x48]
mov ecx, dword [r14 + 0x20]
mov edi, dword [rax]
test ecx, ecx
jle 0x1401bb860
mov rdx, qword [r14 + 0x18]
sub ecx, 1
mov esi, edi
lea rcx, [rcx + rcx*2]
lea rax, [rdx + 0x16]
lea rcx, [rdx + rcx*8 + 0x2e]
movsx edx, word [rax]
cmp edx, esi
setge dl
add rax, 0x18
movzx edx, dl
add esi, edx
cmp rcx, rax
jne 0x1401b91d3
mov edx, esi
mov rcx, rbx
call sym.sqlite3GetTempRange
mov dword [rsp + 0x20], 0
mov rdx, qword [rsp + 0x48]
xor r9d, r9d
mov r8d, eax
mov r12d, eax
call sym.sqlite3ExprCodeExprList.isra.0
mov r10d, dword [r14 + 0x20]
mov byte [r14], 1
xor eax, eax
test r10d, r10d
jle 0x1401ba99f
mov dword [rsp + 0x50], esi
mov rsi, rbx
mov rbx, rax
jmp 0x1401b923b
add rbx, 1
cmp dword [r14 + 0x20], ebx
jle 0x1401ba998
mov rdx, qword [r14 + 0x18]
lea rax, [rbx + rbx*2]
lea rax, [rdx + rax*8]
movsx edx, word [rax + 0x16]
cmp edx, edi
jl 0x1401b922d
cmp qword [rsi + 0x10], 0
je 0x1401b9266
mov rdx, qword [rax + 8]
lea r8d, [r12 + rdi]
mov rcx, rsi
call sym.sqlite3ExprCode.part.0
add edi, 1
jmp 0x1401b922d
test ah, 0x80
jne 0x1401b7a75
mov rax, qword [rbx]
mov qword [rsp + 0x110], rbx
lea rsi, [rsp + 0x110]
lea r13, [rsp + 0x140]
lea r14, [dbg.propagateConstantExprRewrite]
lea rdi, [sym.sqlite3SelectWalkNoop]
add rax, 0x67
mov qword [rsp + 0x118], rax
jmp 0x1401b92c3
mov eax, dword [rsp + 0x124]
test eax, eax
je 0x1401b9f17
mov rdx, qword [r15 + 0x30]
mov rcx, qword [r15 + 0x28]
mov eax, 1
mov qword [rsp + 0x130], 0
mov qword [rsp + 0x120], 0
mov dword [rsp + 0x128], 0
test rcx, rcx
je 0x1401b930d
mov r8d, dword [rcx]
test r8d, r8d
jle 0x1401b930d
movzx eax, byte [rcx + 0x44]
and eax, 0x40
cmp al, 1
sbb eax, eax
and eax, 0xfffffffe
add eax, 3
mov rcx, rsi
mov dword [rsp + 0x12c], eax
call dbg.findConstInWhere
mov eax, dword [rsp + 0x120]
test eax, eax
je 0x1401b92b0
mov rdx, qword [r15 + 0x30]
mov qword [rsp + 0x140], rbx
mov qword [rsp + 0x158], 0
mov qword [rsp + 0x160], 0
mov qword [rsp + 0x148], r14
mov qword [rsp + 0x150], rdi
mov qword [rsp + 0x168], rsi
test rdx, rdx
je 0x1401b9370
mov rcx, r13
call dbg.sqlite3WalkExprNN
mov rdx, qword [rsp + 0x130]
test rdx, rdx
je 0x1401b92b0
mov rax, qword [rsp + 0x110]
mov rcx, qword [rax]
call sym.sqlite3DbFreeNN
jmp 0x1401b92b0
mov eax, dword [rbx + 0x34]
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
lea edx, [rax + 1]
mov dword [rsp + 0xd8], eax
mov dword [rbx + 0x34], edx
mov rdx, qword [r15 + 0x20]
call dbg.sqlite3KeyInfoFromExprList
xor r9d, r9d
mov edx, 0x76
mov rcx, rbp
mov dword [rsp + 0x30], 0xfffffff8
mov r8d, dword [rsp + 0xd8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp4
mov dword [rsp + 0xdc], eax
movsxd rax, dword [rbp + 0x90]
test eax, eax
jle 0x1401b940f
mov r11, qword [rbp + 0x88]
lea rax, [rax + rax*2]
mov esi, 8
lea rax, [r11 + rax*8]
mov word [rax - 0x16], si
mov byte [rsp + 0xd5], 3
jmp 0x1401b8035
mov rax, qword [r11 + 0x28]
mov r8, qword [rax]
jmp 0x1401b7865
lea rax, [r13 + r13*2]
lea rax, [r13 + rax*4]
test word [r12 + rax*8 + 0x48], 0x108
je 0x1401b8328
jmp 0x1401b7ac8
mov rbx, qword [rsp + 0x1e0]
mov r8d, dword [rsp + 0x48]
mov eax, dword [rbx + 0x38]
add esi, eax
add eax, 1
mov dword [rbx + 0x38], esi
mov dword [rsp + 0x160], eax
test r8d, r8d
je 0x1401b9496
cmp qword [rbx + 0x10], 0
je 0x1401b947c
mov rdx, qword [r14 + 0x28]
mov rcx, rbx
call sym.sqlite3ExprCode.part.0
xor eax, eax
cmp byte [r14 + 0x20], 0x59
mov edx, dword [rsp + 0x48]
mov rcx, rbx
sete al
lea r8d, [rax + rax*2]
call dbg.windowCheckValue
mov r8d, dword [rsp + 0x68]
test r8d, r8d
je 0x1401b94ce
cmp qword [rbx + 0x10], 0
je 0x1401b94b3
mov rdx, qword [r14 + 0x30]
mov rcx, rbx
call sym.sqlite3ExprCode.part.0
xor eax, eax
cmp byte [r14 + 0x20], 0x59
mov edx, dword [rsp + 0x68]
mov rcx, rbx
sete al
lea r8d, [rax + rax*2 + 1]
call dbg.windowCheckValue
cmp byte [r14 + 0x20], 0x59
movzx eax, byte [r14 + 0x21]
lea rdi, [rsp + 0x140]
je 0x1401b9dd9
cmp byte [r14 + 0x22], al
jne 0x1401b94f8
mov edx, dword [rsp + 0x48]
test edx, edx
jne 0x1401bb446
cmp al, 0x56
je 0x1401bac60
cmp al, 0x5a
jne 0x1401b9de1
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov edx, 0x24
mov rcx, r12
mov r8d, dword [rsp + 0x174]
call sym.sqlite3VdbeAddOp3
xor r9d, r9d
mov edx, 0x24
mov rcx, r12
mov dword [rsp + 0x20], 0
mov r8d, dword [rsp + 0x17c]
call sym.sqlite3VdbeAddOp3
cmp byte [rsp + 0xb0], 0
jne 0x1401ba4ff
mov dword [rsp + 0x20], 0
xor r8d, r8d
mov edx, 9
mov rcx, r12
mov r9d, dword [rsp + 0xa4]
call sym.sqlite3VdbeAddOp3
mov rcx, qword [r12]
mov eax, dword [r12 + 0x90]
lea rdx, [0x1403f0300]
cmp byte [rcx + 0x67], 0
jne 0x1401b95a7
movsxd rdx, dword [rsp + 0x8c]
lea rcx, [rdx + rdx*2]
mov rdx, qword [r12 + 0x88]
lea rdx, [rdx + rcx*8]
mov dword [rdx + 8], eax
mov eax, dword [rsp + 0xa0]
test eax, eax
jne 0x1401ba5f7
cmp byte [r14 + 0x21], 0x56
je 0x1401bacd0
cmp byte [r14 + 0x22], 0x58
je 0x1401ba79c
xor r9d, r9d
xor r8d, r8d
mov edx, 3
mov rcx, rdi
call dbg.windowCodeOp
cmp byte [r14 + 0x22], 0x5a
je 0x1401ba3c9
cmp byte [r14 + 0x20], 0x59
je 0x1401bb357
mov eax, dword [rsp + 0x68]
test eax, eax
jne 0x1401ba324
xor r9d, r9d
xor r8d, r8d
mov edx, 1
mov rcx, rdi
call dbg.windowCodeOp
mov r8d, dword [rsp + 0x48]
mov rcx, rdi
xor r9d, r9d
mov edx, 2
call dbg.windowCodeOp
mov rcx, qword [r12 + 0x18]
mov r8d, dword [rsp + 0x84]
mov eax, dword [rcx + 0x44]
neg r8d
add eax, dword [rcx + 0x48]
js 0x1401ba98b
mov edx, dword [r12 + 0x90]
mov rax, qword [rcx + 0x50]
movsxd r8, r8d
mov dword [rax + r8*4], edx
mov rcx, qword [rsp + 0x60]
call sym.sqlite3WhereEnd
cmp qword [r14 + 0x10], 0
je 0x1401b9e64
mov eax, dword [r12 + 0x90]
mov dword [rsp + 0x50], eax
mov esi, eax
mov eax, dword [r12 + 0x94]
cmp esi, eax
jge 0x1401bb305
movsxd rdx, dword [rsp + 0x50]
lea rcx, [rdx + rdx*2]
lea esi, [rdx + 1]
mov rdx, qword [r12 + 0x88]
mov dword [r12 + 0x90], esi
lea rdx, [rdx + rcx*8]
mov ecx, dword [rsp + 0x70]
mov dword [rdx + 0xc], 0
mov dword [rdx + 8], ecx
mov qword [rdx + 0x10], 0
mov qword [rdx], 0x47
mov rcx, qword [r12]
lea rdx, [0x1403f0300]
cmp byte [rcx + 0x67], 0
jne 0x1401b96f4
movsxd rdx, dword [rsp + 0xb8]
lea rcx, [rdx + rdx*2]
mov rdx, qword [r12 + 0x88]
lea rdx, [rdx + rcx*8]
mov dword [rdx + 8], esi
mov dword [rsp + 0x168], 0
cmp eax, esi
jle 0x1401bad7a
lea eax, [rsi + 1]
mov ecx, dword [rsp + 0x90]
mov dword [r12 + 0x90], eax
movsxd rax, esi
lea rdx, [rax + rax*2]
mov rax, qword [r12 + 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
cmp byte [r14 + 0x22], 0x58
je 0x1401bad26
xor r9d, r9d
xor r8d, r8d
cmp byte [r14 + 0x21], 0x56
mov edx, 3
mov rcx, rdi
je 0x1401ba7f3
call dbg.windowCodeOp
xor r8d, r8d
mov edx, 1
mov rcx, rdi
mov r10d, dword [r12 + 0x90]
mov r9d, 1
mov dword [rsp + 0x60], r10d
call dbg.windowCodeOp
mov r8d, dword [rsp + 0x48]
xor r9d, r9d
mov rcx, rdi
mov edx, 2
mov dword [rsp + 0x68], eax
call dbg.windowCodeOp
mov r10d, dword [rsp + 0x60]
mov rcx, r12
xor r8d, r8d
mov dword [rsp + 0x20], 0
mov edx, 9
mov r9d, r10d
call sym.sqlite3VdbeAddOp3
mov rdx, qword [r12]
mov eax, dword [r12 + 0x90]
lea rcx, [0x1403f0300]
movzx edx, byte [rdx + 0x67]
test dl, dl
jne 0x1401b97fd
movsxd rcx, dword [rsp + 0x68]
lea r8, [rcx + rcx*2]
mov rcx, qword [r12 + 0x88]
lea rcx, [rcx + r8*8]
mov dword [rcx + 8], eax
lea rcx, [0x1403f0300]
test dl, dl
jne 0x1401b981e
movsxd rdx, esi
lea rcx, [rdx + rdx*2]
mov rdx, qword [r12 + 0x88]
lea rcx, [rdx + rcx*8]
mov dword [rcx + 8], eax
xor r9d, r9d
mov edx, 0x92
mov rcx, r12
mov dword [rsp + 0x20], 0
mov r8d, dword [rsp + 0x174]
call sym.sqlite3VdbeAddOp3
cmp qword [r14 + 0x10], 0
je 0x1401b98a6
mov r9d, dword [r14 + 0x84]
test r9d, r9d
jne 0x1401bac21
mov rcx, qword [r12]
mov edx, dword [r12 + 0x90]
lea rax, [0x1403f0300]
cmp byte [rcx + 0x67], 0
jne 0x1401b9886
movsxd rax, dword [rsp + 0x50]
lea rcx, [rax + rax*2]
mov rax, qword [r12 + 0x88]
lea rax, [rax + rcx*8]
mov dword [rax + 4], edx
mov r8d, dword [rsp + 0x70]
xor r9d, r9d
mov edx, 0x43
mov dword [rsp + 0x20], 0
mov rcx, r12
call sym.sqlite3VdbeAddOp3
mov r9d, dword [rsp + 0x78]
xor r8d, r8d
mov rcx, rbp
mov edx, 9
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp3
mov rcx, qword [rbp + 0x18]
mov r8d, dword [rsp + 0xac]
mov eax, dword [rcx + 0x44]
neg r8d
add eax, dword [rcx + 0x48]
js 0x1401ba924
mov edx, dword [rbp + 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 esi, dword [rsp + 0xa8]
lea r9, [rsp + 0xe0]
mov dword [rsp + 0x100], 0
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x1f0]
mov dword [rsp + 0x30], esi
not esi
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xd4]
mov qword [rsp + 0x20], rax
call dbg.selectInnerLoop
mov rcx, qword [rbp + 0x18]
movsxd r8, esi
mov eax, dword [rcx + 0x44]
add eax, dword [rcx + 0x48]
js 0x1401ba917
mov edx, dword [rbp + 0x90]
mov rax, qword [rcx + 0x50]
mov dword [rax + r8*4], edx
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, rbp
mov edx, 0x43
mov r8d, dword [rsp + 0x88]
call sym.sqlite3VdbeAddOp3
mov rcx, qword [rbp + 0x18]
mov r8d, dword [rsp + 0x78]
mov eax, dword [rcx + 0x44]
add eax, dword [rcx + 0x48]
not r8d
js 0x1401ba317
mov edx, dword [rbp + 0x90]
mov rax, qword [rcx + 0x50]
movsxd r8, r8d
mov dword [rax + r8*4], edx
cmp byte [rsp + 0xd5], 3
je 0x1401b9f24
cmp qword [rsp + 0xe0], 0
je 0x1401b99ed
mov rax, qword [rsp + 0x1f0]
lea r8, [rsp + 0xe0]
mov rdx, r15
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x58]
mov r9d, dword [rax]
call dbg.generateSortTail
mov rcx, qword [rbp + 0x18]
mov r8d, dword [rsp + 0x80]
mov eax, dword [rcx + 0x44]
neg r8d
add eax, dword [rcx + 0x48]
js 0x1401b9dcc
mov edx, dword [rbp + 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 r13, r13
je 0x1401b787d
mov rcx, qword [rsp + 0x40]
mov rdx, r13
mov dword [rsp + 0x48], eax
call dbg.exprListDeleteNN
mov eax, dword [rsp + 0x48]
jmp 0x1401b787d
mov eax, dword [rbx + 0x38]
add eax, 1
mov dword [rbx + 0x38], eax
mov dword [rdi + 0x3c], eax
mov eax, dword [rbp + 0x90]
mov dword [rsp + 0x70], eax
cmp eax, dword [rbp + 0x94]
jge 0x1401bac9d
movsxd rax, dword [rsp + 0x70]
lea r10d, [rax + 1]
lea rdx, [rax + rax*2]
mov rax, qword [rbp + 0x88]
mov dword [rbp + 0x90], r10d
lea rax, [rax + rdx*8]
mov qword [rax], 9
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
lea rax, [r13 + r13*2]
mov dword [rdi + 0x38], r10d
lea rax, [r13 + rax*4]
lea rdx, [r12 + rax*8 + 0x30]
movzx eax, byte [rdx + 0x18]
or eax, 0x10
mov byte [rdx + 0x18], al
test al, 8
je 0x1401ba3f4
mov eax, dword [rdi + 0x4c]
mov r9, r15
lea r8, str.MATERIALIZE___S
mov rcx, rbx
mov edx, 1
mov dword [rsp + 0x80], 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 + 0x58]
mov rdx, rsi
mov rcx, rbx
call dbg.sqlite3Select
mov rax, qword [rdi + 0x28]
movzx edx, word [rsi + 2]
mov r10d, dword [rsp + 0x80]
mov word [rax + 0x3a], dx
mov r8d, dword [rdi + 0x3c]
mov edx, 0x43
mov rcx, rbp
mov r9d, r10d
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp3
mov rcx, qword [rbp]
mov edx, dword [rbp + 0x90]
lea rax, [0x1403f0300]
cmp byte [rcx + 0x67], 0
jne 0x1401b9b82
movsxd r11, dword [rsp + 0x70]
mov rax, qword [rbp + 0x88]
lea rcx, [r11 + r11*2]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
lea rax, [r13 + r13*2]
lea rax, [r13 + rax*4]
mov byte [rbx + 0x1f], 0
mov dword [rbx + 0x28], 0
movzx eax, word [r12 + rax*8 + 0x48]
and ax, 0x108
cmp ax, 0x100
jne 0x1401b7b76
mov edx, dword [rdi + 0x38]
mov rax, qword [rdi + 0x68]
mov dword [rax + 4], edx
mov edx, dword [rdi + 0x3c]
mov dword [rax + 8], edx
mov edx, dword [rdi + 0x4c]
mov dword [rax + 0xc], edx
movzx edx, word [rsi + 2]
mov word [rax + 0x10], dx
jmp 0x1401b7b76
cmp qword [rsp + 0x48], 0
jne 0x1401b8c59
mov dword [rsp + 0x88], 0
xor esi, esi
mov word [r15 + 2], si
jmp 0x1401b8cf4
mov qword [rsp + 0xe0], 0
mov edx, dword [rsp + 0xf8]
test edx, edx
js 0x1401b8634
mov rcx, rbp
call sym.sqlite3VdbeChangeToNoop.isra.0
jmp 0x1401b8634
mov rsi, qword [rsp + 0x58]
mov rax, qword [rsp + 0x1f0]
mov edx, 0x76
mov rcx, rbp
mov dword [rsp + 0x20], 0
mov r9d, dword [rsi]
mov r8d, dword [rax + 4]
call sym.sqlite3VdbeAddOp3
mov eax, dword [r15 + 4]
mov edx, eax
test ah, 8
je 0x1401b7fac
mov ecx, dword [rsi]
mov rdx, rsi
lea edi, [rcx - 1]
test edi, edi
jle 0x1401b9cc1
movsxd rsi, ecx
mov r13, qword [rsp + 0x40]
mov r14, rdx
shl rsi, 5
add rsi, rdx
jmp 0x1401b9ca7
mov rdx, qword [rsi - 0x18]
test rdx, rdx
je 0x1401b9c89
mov rcx, r13
call dbg.sqlite3ExprDeleteNN
mov rdx, qword [rsi - 0x10]
test rdx, rdx
je 0x1401b9c9a
mov rcx, r13
call sym.sqlite3DbFreeNN
sub dword [r14], 1
sub rsi, 0x20
sub edi, 1
je 0x1401b9cb6
movsxd rax, edi
shl rax, 5
test byte [r14 + rax + 0x1c], 0x40
je 0x1401b9c78
mov rdi, qword [rsp + 0x58]
mov eax, dword [r15 + 4]
mov ecx, dword [rdi]
mov edx, eax
mov r9, qword [rsp + 0x58]
movsxd r8, ecx
xor eax, eax
test ecx, ecx
jle 0x1401b7fac
nop dword [rax]
movsxd rcx, eax
shl rcx, 5
test byte [r9 + rcx + 0x1c], 0x40
jne 0x1401b9cf6
mov rcx, rax
shl rcx, 5
mov rcx, qword [r9 + rcx + 8]
mov byte [rcx], 0x79
add rax, 1
cmp r8, rax
jne 0x1401b9cd8
jmp 0x1401b7fac
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xe0]
mov r8d, 0xffffffff
call sym.sqlite3ExprListCompare
test eax, eax
jne 0x1401b7f23
cmp qword [r15 + 0x70], 0
jne 0x1401b7f23
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 0x1401b7f23
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, rbx
mov edx, 0x92
call sym.sqlite3VdbeAddOp3
mov eax, dword [r13 + 0x68]
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x20], 0
mov edx, 0x47
lea r9d, [rax + 1]
call sym.sqlite3VdbeAddOp3
jmp 0x1401b8b70
mov r9d, dword [r12]
lea r8d, [r14 + 1]
mov rdx, r15
mov rcx, r12
call dbg.isSelfJoinView
test rax, rax
jne 0x1401b7d20
mov r10d, 1
jmp 0x1401b7cdf
mov rdx, rbp
call dbg.resizeResolveLabel
jmp 0x1401b9a19
cmp al, 0x56
jne 0x1401b9500
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov edx, 0x24
mov rcx, r12
mov r8d, dword [rsp + 0x16c]
call sym.sqlite3VdbeAddOp3
jmp 0x1401b9508
mov dword [rsp + 0x70], 0
mov dword [rsp + 0xb8], 0
jmp 0x1401b8a09
cmp qword [rbx + 0xb0], 0
je 0x1401bb23d
mov rcx, rbx
call dbg.sqlite3VdbeCreate
mov r12, rax
mov eax, dword [rbx + 0x44]
mov dword [rsp + 0x84], eax
jmp 0x1401b8692
cmp qword [rbx + 0xb0], 0
je 0x1401bb227
mov rcx, rbx
call dbg.sqlite3VdbeCreate
mov rcx, rax
jmp 0x1401b8acc
mov esi, dword [r12 + 0x90]
mov eax, dword [r12 + 0x94]
jmp 0x1401b96f7
mov dword [rsp + 0x20], 0
mov r9d, 2
mov edx, 0x76
mov rcx, r14
call sym.sqlite3VdbeAddOp3
mov rax, qword [r14]
cmp byte [rax + 0x67], 0
je 0x1401b821c
jmp 0x1401b823b
mov rdi, qword [rsp + 0x60]
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 + 0x1f0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xd4]
mov qword [rsp + 0x20], rax
call dbg.selectInnerLoop
mov rcx, rdi
call sym.sqlite3WhereEnd
jmp 0x1401b99ac
cmp qword [rbx + 0xb0], 0
je 0x1401bb211
mov rcx, rbx
call dbg.sqlite3VdbeCreate
mov r14, rax
jmp 0x1401b8096
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x60]
jmp 0x1401b7a75
lea r9, str.DISTINCT
lea r8, str.USE_TEMP_B_TREE_FOR__s
xor edx, edx
mov rcx, rbx
call dbg.sqlite3VdbeExplain
jmp 0x1401b99ba
mov edi, dword [rsp + 0x88]
mov r13, qword [rsp + 0x90]
mov rbx, rsi
mov r15, qword [rsp + 0x1e8]
mov rsi, qword [rsp + 0xb8]
test rsi, rsi
je 0x1401b9f6b
add dword [rsi], 1
mov rsi, qword [rsp + 0xb8]
mov dword [rsp + 0x20], eax
mov edx, 0x5a
mov rcx, rbp
mov r12d, dword [rsp + 0xa8]
mov dword [rsp + 0x30], 0xfffffff8
mov qword [rsp + 0x28], rsi
mov r9d, dword [rsp + 0xac]
mov r8d, r12d
call sym.sqlite3VdbeAddOp4
xor r9d, r9d
mov edx, 0xe
mov rcx, rbp
mov esi, dword [rbp + 0x90]
lea r8d, [rsi + 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 + 0xac]
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, rbp
mov r9d, dword [rsp + 0xc0]
mov r8d, dword [rsp + 0xa4]
call sym.sqlite3VdbeAddOp3
mov dword [rsp + 0x20], 0
mov edx, 0x3b
mov rcx, rbp
mov r9d, dword [rsp + 0x84]
mov r8d, dword [rsp + 0xb0]
call sym.sqlite3VdbeAddOp3
mov dword [rsp + 0x20], 0
mov r8d, dword [rsp + 0x60]
mov rcx, rbp
mov r9d, dword [rsp + 0x98]
mov edx, 0xa
call sym.sqlite3VdbeAddOp3
mov rcx, qword [rbp]
mov edx, dword [rbp + 0x90]
lea rax, [0x1403f0300]
cmp byte [rcx + 0x67], 0
jne 0x1401ba078
movsxd rax, esi
imul rax, rax, 0x18
add rax, qword [rbp + 0x88]
mov dword [rax + 8], edx
mov esi, dword [rsp + 0xa0]
mov r8, r14
mov rcx, rbx
mov r9d, dword [rsp + 0xcc]
mov edx, esi
call dbg.updateAccumulator
mov rcx, rbp
mov r9d, esi
mov edx, 0x47
mov dword [rsp + 0x20], 0
mov r8d, 1
call sym.sqlite3VdbeAddOp3
mov ecx, dword [rsp + 0x50]
test ecx, ecx
je 0x1401bae8f
mov r8d, dword [r14 + 4]
mov r9d, edi
mov edx, 0x25
mov rcx, rbp
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp3
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x1401ba0f4
mov rcx, qword [rsp + 0x40]
mov rdx, rax
call dbg.exprListDeleteNN
mov esi, dword [rsp + 0xa4]
mov dword [rsp + 0x20], 0
mov edx, 0xa
mov rcx, rbp
mov r9d, dword [rsp + 0xc0]
mov r8d, esi
call sym.sqlite3VdbeAddOp3
mov edx, dword [rsp + 0x84]
mov rcx, rbp
call sym.sqlite3VdbeGoto.isra.0
mov edi, dword [rbp + 0x90]
mov r8d, 1
mov rcx, rbp
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0xb0]
mov edx, 0x47
call sym.sqlite3VdbeAddOp3
xor r9d, r9d
mov r8d, esi
mov rcx, rbp
mov dword [rsp + 0x20], 0
mov edx, 0x43
call sym.sqlite3VdbeAddOp3
mov rcx, qword [rbp + 0x18]
mov r8d, dword [rsp + 0xc8]
mov eax, dword [rcx + 0x44]
neg r8d
add eax, dword [rcx + 0x48]
js 0x1401bb63a
mov edx, dword [rbp + 0x90]
mov rax, qword [rcx + 0x50]
movsxd r8, r8d
mov dword [rax + r8*4], edx
mov esi, dword [rbp + 0x90]
mov dword [rsp + 0x20], 0
mov edx, 0x3b
mov rcx, rbp
mov r8d, dword [rsp + 0xa0]
lea r9d, [rsi + 2]
add esi, 1
call sym.sqlite3VdbeAddOp3
xor r9d, r9d
mov edx, 0x43
mov rcx, rbp
mov r12d, dword [rsp + 0xa4]
mov dword [rsp + 0x20], 0
mov r8d, r12d
call sym.sqlite3VdbeAddOp3
mov rdx, r14
mov rcx, rbx
call dbg.finalizeAggFunctions
mov rdx, qword [rsp + 0x78]
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 + 0x1f0]
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, rbp
mov dword [rsp + 0x20], 0
mov edx, 0x43
call sym.sqlite3VdbeAddOp3
mov rcx, qword [rbp + 0x18]
mov r8d, dword [rsp + 0x98]
mov eax, dword [rcx + 0x44]
add eax, dword [rcx + 0x48]
not r8d
js 0x1401bb62d
mov edx, dword [rbp + 0x90]
mov rax, qword [rcx + 0x50]
movsxd r8, r8d
mov dword [rax + r8*4], edx
mov rdx, r14
mov rcx, rbx
call dbg.resetAccumulator
xor r8d, r8d
mov edx, 0x47
mov rcx, rbp
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0xa0]
call sym.sqlite3VdbeAddOp3
mov r8d, dword [rsp + 0x60]
xor r9d, r9d
mov rcx, rbp
mov dword [rsp + 0x20], 0
mov edx, 0x43
call sym.sqlite3VdbeAddOp3
cmp word [rsp + 0xb4], 0
je 0x1401ba2fc
mov edx, dword [rsp + 0xcc]
test edx, edx
je 0x1401ba2fc
mov rax, qword [r14 + 0x28]
mov rcx, rbx
mov r9d, dword [rax + 0x14]
mov r8d, dword [rax + 0x10]
call sym.fixDistinctOpenEph
mov rcx, qword [rbp + 0x18]
mov r8d, dword [rsp + 0x8c]
mov eax, dword [rcx + 0x44]
neg r8d
add eax, dword [rcx + 0x48]
jns 0x1401b999b
mov rdx, rbp
call dbg.resizeResolveLabel
jmp 0x1401b99ac
mov esi, dword [r12 + 0x90]
cmp esi, dword [r12 + 0x94]
jge 0x1401bb867
lea eax, [rsi + 1]
mov ecx, dword [rsp + 0x68]
mov dword [r12 + 0x90], eax
movsxd rax, esi
imul rax, rax, 0x18
add rax, qword [r12 + 0x88]
mov dword [rax + 4], ecx
mov ecx, 1
shl rcx, 0x20
mov qword [rax + 0x10], 0
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 + 0x48]
xor r9d, r9d
mov rcx, rdi
mov edx, 2
call dbg.windowCodeOp
mov rcx, qword [r12]
mov edx, dword [r12 + 0x90]
lea rax, [0x1403f0300]
cmp byte [rcx + 0x67], 0
jne 0x1401ba3c6
movsxd rax, esi
imul rax, rax, 0x18
add rax, qword [r12 + 0x88]
mov dword [rax + 8], edx
mov rcx, qword [r12 + 0x18]
jmp 0x1401b9631
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x1401ba3ea
mov rcx, qword [rsp + 0x40]
mov rdx, rax
call dbg.exprListDeleteNN
mov eax, 1
jmp 0x1401b9a23
mov r11d, dword [rbp + 0x90]
cmp r11d, dword [rbp + 0x94]
jge 0x1401bb67c
lea eax, [r11 + 1]
mov dword [rbp + 0x90], eax
movsxd rax, r11d
lea rdx, [rax + rax*2]
mov rax, qword [rbp + 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, r15
lea r8, str.MATERIALIZE___S
mov rcx, rbx
mov edx, 1
mov dword [rsp + 0x78], r10d
mov dword [rsp + 0x80], 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 + 0x58]
mov rdx, rsi
mov rcx, rbx
call dbg.sqlite3Select
mov rax, qword [rdi + 0x28]
movzx edx, word [rsi + 2]
mov r11d, dword [rsp + 0x80]
mov r10d, dword [rsp + 0x78]
mov word [rax + 0x3a], dx
test r11d, r11d
je 0x1401b9b3b
mov rcx, qword [rbp]
mov edx, dword [rbp + 0x90]
lea rax, [0x1403f0300]
cmp byte [rcx + 0x67], 0
jne 0x1401ba4ef
movsxd rax, r11d
lea rcx, [rax + rax*2]
mov rax, qword [rbp + 0x88]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
jmp 0x1401b9b3b
mov edx, dword [rdi + 0x30]
jmp 0x1401b8625
mov rsi, qword [rsp + 0x98]
mov r9d, dword [rsp + 0xa0]
mov edx, 0x50
mov rcx, r12
mov r8d, dword [rsp + 0xb4]
mov eax, dword [rsi]
mov dword [rsp + 0xb0], eax
sub eax, 1
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp3
mov eax, dword [rsi]
mov edx, 0x50
mov rcx, r12
mov r9d, dword [rsp + 0x170]
mov r8d, dword [rsp + 0xa0]
mov dword [rsp + 0xb0], eax
sub eax, 1
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp3
mov eax, dword [rsi]
mov edx, 0x50
mov rcx, r12
mov r9d, dword [rsp + 0x178]
mov r8d, dword [rsp + 0xa0]
mov dword [rsp + 0xb0], eax
sub eax, 1
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp3
mov eax, dword [rsi]
mov edx, 0x50
mov rcx, r12
mov r9d, dword [rsp + 0x180]
mov r8d, dword [rsp + 0xa0]
mov dword [rsp + 0xb0], eax
sub eax, 1
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp3
xor r8d, r8d
mov edx, 9
mov rcx, r12
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0xa4]
call sym.sqlite3VdbeAddOp3
mov rdx, qword [r12]
mov eax, dword [r12 + 0x90]
cmp byte [rdx + 0x67], 0
je 0x1401b958f
mov dword [0x1403f0308], eax
mov eax, dword [rsp + 0xa4]
mov r9d, dword [rsp + 0xa0]
mov rcx, rbx
mov r8d, dword [rsp + 0xb4]
mov rdx, qword [rsp + 0x98]
mov dword [rsp + 0x20], eax
call dbg.windowIfNewPeer
jmp 0x1401b95b9
mov dword [rsp + 0xa0], 0
mov dword [rsp + 0xb4], 0
mov byte [rsp + 0xb0], 0
jmp 0x1401b885a
cmp byte [r14 + 0x20], 0x59
je 0x1401bae6c
mov rdx, qword [r14 + 0x28]
mov rcx, qword [rbx]
call sym.windowExprGtZero.isra.0
test eax, eax
je 0x1401ba670
mov dword [rsp + 0x164], 1
movzx edx, byte [r14 + 0x21]
jmp 0x1401b876d
mov r9d, dword [r14 + 0x84]
test r9d, r9d
jne 0x1401ba6e5
mov rcx, r14
lea r10, str.first_value
lea r9, str.nth_value
lea r8, str.lead
lea r11, [0x14038c15c]
jmp 0x1401ba6c2
cmp rax, r11
je 0x1401ba6e5
mov rcx, qword [rcx + 0x40]
test rcx, rcx
je 0x1401bb1f6
mov rax, qword [rcx + 0x50]
mov rax, qword [rax + 0x38]
cmp rax, r10
sete dl
cmp rax, r9
sete sil
or edx, esi
cmp rax, r8
sete sil
or dl, sil
je 0x1401ba6b0
mov eax, dword [rbx + 0x38]
mov dword [rsp + 0x48], 0
lea esi, [rax + 1]
add eax, dword [rsp + 0x70]
lea ecx, [rax + 1]
add eax, 2
mov dword [rsp + 0x8c], ecx
mov dword [rbx + 0x38], eax
mov dword [rsp + 0x168], eax
jmp 0x1401b87a7
cmp qword [rax + 0x2f8], 0
jne 0x1401b823b
sub dword [r12], 1
jne 0x1401b823b
mov rcx, qword [r12 + 0x10]
mov rdx, r12
call sym.sqlite3DbNNFreeNN
jmp 0x1401b823b
test ecx, ecx
jle 0x1401ba775
sub ecx, 1
mov r8, qword [rsp + 0x48]
mov eax, 0x18
shl rcx, 5
add rcx, 0x38
nop dword [rax]
movzx edx, byte [r9 + rax]
and edx, 1
mov byte [r8 + rax], dl
add rax, 0x20
cmp rcx, rax
jne 0x1401ba760
mov rcx, qword [rsp + 0x48]
mov r8d, 0xffffffff
mov rdx, r9
call sym.sqlite3ExprListCompare
test eax, eax
sete al
movzx eax, al
mov dword [rsp + 0x88], eax
jmp 0x1401b8cf4
movzx esi, word [r14 + 0x20]
mov r8d, dword [rsp + 0x68]
xor r9d, r9d
mov rcx, rdi
mov edx, 3
call dbg.windowCodeOp
xor r9d, r9d
cmp si, 0x5859
jne 0x1401b9607
mov r8d, dword [rsp + 0x48]
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 [r12 + 0x18]
jmp 0x1401b9631
call dbg.windowCodeOp
cmp byte [r14 + 0x20], 0x59
je 0x1401bb6df
mov eax, dword [r12 + 0x90]
cmp byte [r14 + 0x22], 0x5a
mov r9d, 1
mov dword [rsp + 0x60], eax
je 0x1401bb647
mov r8d, dword [rsp + 0x68]
mov edx, 1
mov rcx, rdi
call dbg.windowCodeOp
mov r8d, dword [rsp + 0x48]
mov edx, 2
mov rcx, rdi
mov r9d, 1
mov dword [rsp + 0x68], eax
call dbg.windowCodeOp
mov dword [rsp + 0x48], eax
mov r9d, dword [rsp + 0x60]
xor r8d, r8d
mov edx, 9
mov rcx, r12
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp3
mov rdx, qword [r12]
mov r10d, dword [r12 + 0x90]
lea rax, [0x1403f0300]
cmp byte [rdx + 0x67], 0
jne 0x1401ba899
movsxd rax, dword [rsp + 0x48]
imul rax, rax, 0x18
add rax, qword [r12 + 0x88]
mov dword [rax + 8], r10d
mov rcx, rdi
mov r9d, 1
xor r8d, r8d
mov edx, 1
mov dword [rsp + 0x48], r10d
call dbg.windowCodeOp
mov r10d, dword [rsp + 0x48]
xor r8d, r8d
mov rcx, r12
mov dword [rsp + 0x20], 0
mov edx, 9
mov edi, eax
mov r9d, r10d
call sym.sqlite3VdbeAddOp3
mov rdx, qword [r12]
mov eax, dword [r12 + 0x90]
movzx edx, byte [rdx + 0x67]
test dl, dl
jne 0x1401bb253
movsxd rcx, dword [rsp + 0x68]
mov r8, qword [r12 + 0x88]
imul rcx, rcx, 0x18
mov dword [r8 + rcx + 8], eax
movsxd rcx, edi
imul rcx, rcx, 0x18
add rcx, r8
jmp 0x1401b97fd
mov rdx, rbp
call dbg.resizeResolveLabel
jmp 0x1401b9963
mov rdx, rbp
call dbg.resizeResolveLabel
jmp 0x1401b98ef
mov r13, qword [r15 + 0x40]
test r13, r13
je 0x1401bb57a
xor r13d, r13d
jmp 0x1401b8ef6
xor eax, eax
mov qword [r14 + 0x10], 0
mov rdx, qword [rsp + 0x58]
mov rcx, rdi
mov word [r14 + 2], ax
call dbg.sqlite3ExprAnalyzeAggList
mov rdx, qword [rsp + 0xe0]
mov rcx, rdi
call dbg.sqlite3ExprAnalyzeAggList
cmp qword [rsp + 0x78], 0
je 0x1401b8ee0
lea rsi, [rsp + 0x110]
jmp 0x1401b8e87
mov rdx, r12
call dbg.resizeResolveLabel
jmp 0x1401b965b
mov rbx, rsi
mov esi, dword [rsp + 0x50]
mov byte [r14], 0
movzx eax, byte [rbx + 0x1f]
test al, al
je 0x1401bb6c4
sub eax, 1
mov byte [rbx + 0x1f], al
movzx eax, al
mov edi, dword [rbx + rax*4 + 0xe8]
mov dword [rsp + 0x20], edi
mov r9d, esi
mov r8d, r12d
mov edx, 0x61
mov rcx, rbp
call sym.sqlite3VdbeAddOp3
mov r8d, dword [r14 + 4]
mov r9d, edi
mov rcx, rbp
mov dword [rsp + 0x20], 0
mov edx, 0x8b
call sym.sqlite3VdbeAddOp3
test edi, edi
je 0x1401baa0b
movzx eax, byte [rbx + 0x1f]
cmp al, 7
ja 0x1401baa0b
lea edx, [rax + 1]
mov byte [rbx + 0x1f], dl
mov dword [rbx + rax*4 + 0xe8], edi
cmp esi, 1
je 0x1401bb75a
cmp dword [rbx + 0x28], esi
jge 0x1401baa20
mov dword [rbx + 0x28], esi
mov dword [rbx + 0x2c], r12d
mov rcx, qword [rsp + 0x70]
call sym.sqlite3WhereEnd
mov r12d, dword [rbx + 0x34]
lea eax, [r12 + 1]
mov dword [rbx + 0x34], eax
mov dword [r14 + 8], r12d
movzx eax, byte [rbx + 0x1f]
test al, al
je 0x1401bb6af
sub eax, 1
mov byte [rbx + 0x1f], al
movzx eax, al
mov eax, dword [rbx + rax*4 + 0xe8]
mov dword [rsp + 0x90], eax
mov dword [rsp + 0x20], esi
mov r8d, r12d
mov edx, 0x79
mov rcx, rbp
mov r9d, dword [rsp + 0x90]
call sym.sqlite3VdbeAddOp3
mov r8d, dword [r14 + 4]
mov edx, 0x22
mov rcx, rbp
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x84]
call sym.sqlite3VdbeAddOp3
mov byte [r14 + 1], 1
mov dword [rsp + 0x50], 1
cmp qword [rbx + 0x60], 0
je 0x1401baaff
lea rsi, [rsp + 0x110]
xor eax, eax
mov ecx, 0xc
mov rdi, rsi
rep stosd dword [rdi], eax
lea rax, [dbg.aggregateIdxEprRefToColCallback]
xor edi, edi
mov qword [rsp + 0x118], rax
cmp dword [r14 + 0x30], 0
jle 0x1401baaff
mov rax, rdi
shl rax, 5
add rax, qword [r14 + 0x28]
mov rdx, qword [rax]
test rdx, rdx
je 0x1401baaf5
mov rcx, rsi
call dbg.sqlite3WalkExprNN
add rdi, 1
cmp dword [r14 + 0x30], edi
jg 0x1401baada
mov r9d, dword [rsp + 0x88]
test r9d, r9d
je 0x1401babea
mov rax, qword [rsp + 0x40]
test byte [rax + 0x60], 4
jne 0x1401babea
cmp dword [rsp + 0x50], 0
jne 0x1401babcf
mov rax, qword [rsp + 0x70]
test byte [rax + 0x44], 8
jne 0x1401babcf
mov edi, dword [rbp + 0x90]
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx]
test eax, eax
jle 0x1401b9f5b
xor esi, esi
mov dword [rsp + 0x88], edi
mov rdi, rcx
mov qword [rsp + 0x90], r13
mov r13d, dword [rsp + 0x50]
mov qword [rsp + 0x1e8], r15
mov r15, rsi
mov rsi, rbx
mov ebx, dword [rsp + 0xac]
jmp 0x1401baba5
mov dword [rsp + 0x20], r8d
mov r9d, r15d
mov r8d, r12d
mov edx, 0x5e
mov rcx, rbp
call sym.sqlite3VdbeAddOp3
mov eax, dword [rdi]
add r15, 1
cmp eax, r15d
jle 0x1401b9f41
lea r8d, [rbx + r15]
test r13d, r13d
jne 0x1401bab7e
mov byte [r14], 1
cmp qword [rsi + 0x10], 0
je 0x1401bab96
mov rax, r15
mov rcx, rsi
shl rax, 5
mov rdx, qword [rdi + rax + 8]
call sym.sqlite3ExprCode.part.0
jmp 0x1401bab96
mov edx, dword [rsp + 0xf8]
mov rcx, rbp
mov qword [rsp + 0xe0], 0
call sym.sqlite3VdbeChangeToNoop.isra.0
mov r8d, dword [rsp + 0x50]
mov edi, dword [rbp + 0x90]
test r8d, r8d
je 0x1401bab3f
mov r8d, dword [r14 + 4]
mov dword [rsp + 0x20], r12d
mov edx, 0x85
mov rcx, rbp
mov r9d, dword [rsp + 0x90]
call sym.sqlite3VdbeAddOp3
jmp 0x1401bab3f
mov dword [rsp + 0x20], 0
mov rcx, r12
mov r8d, 1
mov edx, 0x47
call sym.sqlite3VdbeAddOp3
xor r8d, r8d
mov edx, 0x47
mov rcx, r12
mov r9d, dword [r14 + 0x88]
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp3
jmp 0x1401b9858
cmp byte [r14 + 0x20], 0x59
je 0x1401b9de1
cmp dword [rsp + 0x68], 0
je 0x1401b9de1
mov eax, dword [rsp + 0x48]
mov r9d, dword [rsp + 0x68]
mov edx, 0x6b
mov rcx, r12
mov dword [rsp + 0x20], eax
mov r8d, eax
call sym.sqlite3VdbeAddOp3
movzx eax, byte [r14 + 0x21]
jmp 0x1401b9500
xor r9d, r9d
xor r8d, r8d
mov edx, 9
mov rcx, rbp
mov dword [rsp + 0x20], 0
call dbg.growOp3
mov dword [rsp + 0x70], eax
lea r10d, [rax + 1]
jmp 0x1401b9a9e
mov edx, dword [rdx + 0x370]
jmp 0x1401b8625
xor r9d, r9d
xor r8d, r8d
mov edx, 3
mov rcx, rdi
call dbg.windowCodeOp
cmp byte [r14 + 0x22], 0x5a
je 0x1401ba3c9
cmp byte [r14 + 0x20], 0x59
je 0x1401bb782
mov r8d, dword [rsp + 0x68]
xor r9d, r9d
jmp 0x1401b960a
mov dword [rsp + 0x20], edx
xor r9d, r9d
mov edx, 0x34
mov rcx, r12
call dbg.growOp3
mov dword [rsp + 0x8c], eax
jmp 0x1401b8abf
movzx eax, word [r14 + 0x20]
mov r8d, dword [rsp + 0x68]
xor r9d, r9d
mov rcx, rdi
mov edx, 3
mov word [rsp + 0x60], ax
call dbg.windowCodeOp
cmp word [rsp + 0x60], 0x5859
je 0x1401bb7eb
mov edx, 1
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
call dbg.windowCodeOp
mov rdx, qword [r12]
mov eax, dword [r12 + 0x90]
movzx edx, byte [rdx + 0x67]
jmp 0x1401b9800
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov edx, 0x24
mov rcx, r12
mov r8d, dword [rsp + 0x90]
call dbg.growOp3
mov esi, eax
jmp 0x1401b9748
cmp qword [rax + 0x2f8], 0
jne 0x1401b8975
test r13, r13
je 0x1401b8975
sub dword [r13], 1
jne 0x1401b8975
mov rcx, qword [r13 + 0x10]
mov rdx, r13
mov dword [rsp + 0xb8], r10d
call sym.sqlite3DbNNFreeNN
mov r10d, dword [rsp + 0xb8]
jmp 0x1401b8975
mov eax, dword [rbx + 0x38]
mov rcx, r14
mov r8d, 1
lea r9d, [rax + 1]
add eax, 2
mov dword [r13 + 0x84], r9d
mov dword [rbx + 0x38], eax
mov dword [r13 + 0x88], eax
mov eax, dword [rbx + 0x34]
lea edx, [rax + 1]
mov dword [rbx + 0x34], edx
mov edx, 0x47
mov dword [r13 + 0x64], eax
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp3
xor r8d, r8d
mov rcx, r14
mov edx, 0x47
mov r9d, dword [r13 + 0x88]
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp3
mov r9d, dword [r13 + 0x58]
mov r8d, dword [r13 + 0x64]
mov rcx, r14
mov dword [rsp + 0x20], 0
mov edx, 0x73
call sym.sqlite3VdbeAddOp3
jmp 0x1401b8548
mov eax, dword [rbx + 0x38]
lea esi, [rax + 1]
add eax, dword [rsp + 0x70]
lea ecx, [rax + 1]
lea edx, [rax + 2]
mov dword [rsp + 0x8c], ecx
mov dword [rsp + 0x168], edx
jmp 0x1401b879d
mov rcx, qword [rsp + 0x70]
call sym.sqlite3WhereEnd
mov edx, dword [rsp + 0xc4]
mov rcx, rbp
call sym.sqlite3VdbeChangeToNoop.isra.0
jmp 0x1401ba0dd
cmp qword [r15 + 0x30], 0
jne 0x1401bba11
mov rcx, qword [r15 + 0x20]
cmp dword [rcx], 1
jne 0x1401bba11
mov rax, qword [r15 + 0x28]
cmp dword [rax], 1
jne 0x1401bba11
cmp qword [rax + 0x30], 0
jne 0x1401bba11
cmp edx, 1
jne 0x1401bb9a1
mov rdi, qword [r15 + 0x40]
test rdi, rdi
jne 0x1401bb8aa
mov rsi, qword [rax + 0x28]
cmp byte [rsi + 0x3f], 0
jne 0x1401bb8aa
mov rcx, qword [rcx + 8]
cmp byte [rcx], 0xa8
jne 0x1401bb8aa
cmp r14, qword [rcx + 0x38]
mov rax, qword [r14 + 0x28]
jne 0x1401bb8ae
mov r8, qword [rax + 8]
test byte [r8 + 5], 1
je 0x1401bb8ae
test dword [rcx + 4], 0x1000004
jne 0x1401bb8ae
mov rdx, qword [rsi + 0x60]
mov rcx, qword [rbx]
test rdx, rdx
je 0x1401bbb2f
call sym.sqlite3SchemaToIndex.part.0
mov r12d, eax
mov eax, dword [rbx + 0x34]
mov rcx, qword [rbx + 0xb0]
mov edx, r12d
mov r10d, dword [rsi + 0x28]
mov dword [rsp + 0x48], eax
add eax, 1
test rcx, rcx
mov dword [rbx + 0x34], eax
cmove rcx, rbx
mov dword [rsp + 0x50], r10d
call sym.sqlite3CodeVerifySchemaAtToplevel
mov rax, qword [rsi]
mov r8d, dword [rsi + 0x28]
xor r9d, r9d
mov edx, r12d
mov rcx, rbx
mov qword [rsp + 0x20], rax
call sym.sqlite3TableLock
test byte [rsi + 0x30], 0x80
mov r10d, dword [rsp + 0x50]
je 0x1401bb105
mov rcx, qword [rsi + 0x10]
mov rax, rcx
mov rdi, rcx
test rcx, rcx
jne 0x1401bafcd
jmp 0x1401bb145
mov rdi, qword [rdi + 0x28]
test rdi, rdi
je 0x1401bbaba
movzx edx, byte [rdi + 0x64]
and edx, 3
cmp dl, 2
jne 0x1401bafc0
mov rdx, qword [r15 + 0x28]
test byte [rdx + 0x48], 1
je 0x1401bb118
mov r9d, dword [rdi + 0x58]
mov rdx, rdi
mov rcx, rbx
mov dword [rsp + 0x60], r9d
call dbg.sqlite3KeyInfoOfIndex
mov dword [rsp + 0x28], 1
mov r9d, dword [rsp + 0x60]
mov rcx, rbp
mov dword [rsp + 0x20], r12d
mov r8d, dword [rsp + 0x48]
mov edx, 0x70
mov qword [rsp + 0x50], rax
call sym.sqlite3VdbeAddOp4Int
mov r10, qword [rsp + 0x50]
test r10, r10
je 0x1401bb042
mov r9d, 0xfffffff8
mov r8, r10
or edx, 0xffffffff
mov rcx, rbp
call sym.sqlite3VdbeChangeP4
mov ecx, dword [r14 + 0x20]
mov eax, dword [r14 + 0x30]
mov r8d, dword [rbx + 0x38]
add eax, ecx
lea edx, [r8 + 1]
add eax, r8d
mov dword [r14 + 0xc], edx
mov r14d, dword [rsp + 0x48]
lea r9d, [rcx + rdx]
mov rcx, rbp
mov dword [rbx + 0x38], eax
mov edx, 0x62
mov dword [rsp + 0x20], 0
mov r8d, r14d
call sym.sqlite3VdbeAddOp3
xor r9d, r9d
mov r8d, r14d
mov edx, 0x7a
mov dword [rsp + 0x20], 0
mov rcx, rbp
call sym.sqlite3VdbeAddOp3
cmp byte [rbx + 0x133], 2
je 0x1401bb805
mov edi, dword [rsp + 0x84]
mov rdx, qword [rsp + 0x78]
mov rcx, rbx
mov r9d, 0x10
mov qword [rsp + 0xe0], 0
mov r8d, edi
call sym.sqlite3ExprIfFalse
mov dword [rsp + 0x38], edi
xor r9d, r9d
or r8d, 0xffffffff
mov rax, qword [rsp + 0x1f0]
mov dword [rsp + 0x30], edi
mov rdx, r15
mov rcx, rbx
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], rax
call dbg.selectInnerLoop
jmp 0x1401ba2fc
mov rax, qword [r15 + 0x28]
test byte [rax + 0x48], 1
jne 0x1401bb145
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x1401bb145
test byte [rax + 0x64], 4
jne 0x1401bb133
movzx edx, word [rax + 0x5c]
cmp dx, word [rsi + 0x3c]
jge 0x1401bb133
cmp qword [rax + 0x48], 0
je 0x1401bb829
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x1401bb118
test rdi, rdi
jne 0x1401bafe7
mov edi, dword [rsp + 0x48]
mov dword [rsp + 0x20], r12d
mov r9d, r10d
mov rcx, rbp
mov dword [rsp + 0x28], 1
mov edx, 0x70
mov r8d, edi
call sym.sqlite3VdbeAddOp4Int
mov ecx, dword [r14 + 0x20]
mov eax, dword [r14 + 0x30]
mov r8d, dword [rbx + 0x38]
add eax, ecx
lea edx, [r8 + 1]
add eax, r8d
mov r8d, edi
mov dword [r14 + 0xc], edx
lea r9d, [rcx + rdx]
mov edx, 0x62
mov rcx, rbp
mov dword [rbx + 0x38], eax
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp3
xor r9d, r9d
mov r8d, edi
mov edx, 0x7a
mov dword [rsp + 0x20], 0
mov rcx, rbp
call sym.sqlite3VdbeAddOp3
cmp byte [rbx + 0x133], 2
jne 0x1401bb0a7
lea rax, [0x14037be6e]
mov rdx, rax
mov qword [rsp + 0x20], rdx
lea r8, str.SCAN__s_s_s
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x28], rax
mov r9, qword [rsi]
call dbg.sqlite3VdbeExplain
jmp 0x1401bb0a7
cmp byte [r14 + 0x22], 0x58
je 0x1401bb726
mov dword [rsp + 0x164], 1
jmp 0x1401ba6e5
mov rax, qword [rbx]
test byte [rax + 0x60], 8
jne 0x1401b9f07
mov byte [rbx + 0x23], 1
jmp 0x1401b9f07
mov rax, qword [rbx]
test byte [rax + 0x60], 8
jne 0x1401b9e54
mov byte [rbx + 0x23], 1
jmp 0x1401b9e54
mov rax, qword [rbx]
test byte [rax + 0x60], 8
jne 0x1401b9e2c
mov byte [rbx + 0x23], 1
jmp 0x1401b9e2c
mov dword [0x1403f0308], eax
lea rcx, [0x1403f0300]
jmp 0x1401b97fd
mov rax, qword [r14 + 0x28]
cmp dword [rax + 0x10], 0
js 0x1401b8f37
mov rax, qword [rax]
test rax, rax
je 0x1401bb852
test byte [rax + 5], 0x10
jne 0x1401b8f37
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x68], rax
test rax, rax
je 0x1401b8f37
mov rsi, qword [rax + 8]
test rsi, rsi
je 0x1401bb2ba
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
cmp rax, 1
mov qword [rsp + 0x68], rax
sbb esi, esi
not esi
and si, 0x500
cmp rax, 1
sbb eax, eax
not eax
and ax, 0x500
mov word [rsp + 0xb4], ax
jmp 0x1401b8f37
mov r9d, dword [rsp + 0x70]
xor r8d, r8d
mov edx, 0x47
mov rcx, r12
mov dword [rsp + 0x20], 0
call dbg.growOp3
mov esi, dword [r12 + 0x90]
mov dword [rsp + 0x50], eax
mov eax, dword [r12 + 0x94]
jmp 0x1401b96cb
mov dword [rsp + 0x20], edi
mov r8d, esi
mov edx, 0x5a
mov rcx, r12
call dbg.growOp3
mov r10d, eax
jmp 0x1401b8946
cmp dword [rsp + 0x68], 0
je 0x1401b9604
mov r10d, dword [rbx + 0x44]
mov r9d, dword [rsp + 0x68]
mov rcx, rdi
mov edx, 0x39
mov esi, dword [r12 + 0x90]
mov r8d, dword [rsp + 0x174]
lea eax, [r10 - 1]
mov dword [rsp + 0x8c], r10d
mov dword [rbx + 0x44], eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x17c]
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 + 0x48]
xor r9d, r9d
mov edx, 2
mov rcx, rdi
call dbg.windowCodeOp
xor r8d, r8d
mov rcx, r12
mov r9d, esi
mov dword [rsp + 0x20], 0
mov edx, 9
call sym.sqlite3VdbeAddOp3
mov rcx, qword [r12 + 0x18]
mov r10d, dword [rsp + 0x8c]
mov eax, dword [rcx + 0x44]
neg r10d
add eax, dword [rcx + 0x48]
movsxd r8, r10d
js 0x1401bb840
mov edx, dword [r12 + 0x90]
mov rax, qword [rcx + 0x50]
mov dword [rax + r8*4], edx
jmp 0x1401b9631
mov r8d, dword [rsp + 0x70]
xor r9d, r9d
mov edx, 0xa
mov rcx, r12
mov dword [rsp + 0x20], 0
call dbg.growOp3
mov dword [rsp + 0xb8], eax
jmp 0x1401b89ee
xor edx, edx
cmp al, 0x56
mov esi, dword [r12 + 0x90]
sete dl
lea edx, [rdx + rdx + 0x37]
cmp esi, dword [r12 + 0x94]
jge 0x1401bb88b
lea eax, [rsi + 1]
mov edi, dword [rsp + 0x48]
mov dword [r12 + 0x90], eax
movsxd rax, esi
imul rax, rax, 0x18
add rax, qword [r12 + 0x88]
mov dword [rax + 4], edi
mov edi, dword [rsp + 0x68]
mov byte [rax], dl
mov word [rax + 2], 0
mov dword [rax + 8], 0
mov dword [rax + 0xc], edi
mov qword [rax + 0x10], 0
mov byte [rax + 1], 0
mov rdx, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x140]
xor r8d, r8d
lea rdi, [rsp + 0x140]
call sym.windowAggFinal.isra.0
xor r9d, r9d
mov edx, 0x24
mov rcx, r12
mov dword [rsp + 0x20], 0
mov r8d, dword [rsp + 0x174]
call sym.sqlite3VdbeAddOp3
mov rcx, rdi
call dbg.windowReturnOneRow
xor r9d, r9d
mov edx, 0x92
mov rcx, r12
mov dword [rsp + 0x20], 0
mov r8d, dword [rsp + 0x174]
call sym.sqlite3VdbeAddOp3
xor r8d, r8d
mov edx, 9
mov rcx, r12
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0xa4]
call sym.sqlite3VdbeAddOp3
mov rcx, qword [r12]
mov edx, dword [r12 + 0x90]
lea rax, [0x1403f0300]
cmp byte [rcx + 0x67], 0
jne 0x1401bb55a
movsxd rax, esi
imul rax, rax, 0x18
add rax, qword [r12 + 0x88]
mov dword [rax + 8], edx
movzx eax, byte [r14 + 0x21]
jmp 0x1401b94f8
mov dword [rsp + 0x90], 0
xor r12d, r12d
jmp 0x1401baaa7
cmp dword [r14 + 0x30], 1
jne 0x1401b8ef6
mov rax, qword [r14 + 0x28]
mov rax, qword [rax]
mov r11, qword [rax + 0x20]
test r11, r11
je 0x1401b8ef6
mov esi, dword [r11]
cmp esi, 1
jne 0x1401b8ef6
test byte [rax + 7], 1
jne 0x1401b8ef6
mov rcx, qword [rsp + 0x40]
test byte [rcx + 0x62], 1
jne 0x1401b8ef6
mov rcx, qword [rax + 8]
lea rdx, [0x14038037f]
mov qword [rsp + 0x90], rcx
call sym.sqlite3StrICmp
mov rcx, qword [rsp + 0x90]
test eax, eax
jne 0x1401bbb0c
mov rcx, qword [r11 + 8]
call dbg.sqlite3ExprCanBeNull
movzx ecx, byte [rsp + 0x60]
test eax, eax
mov eax, 2
cmovne ecx, eax
mov byte [rsp + 0x60], cl
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
mov rdx, r11
call dbg.sqlite3ExprListDup
mov r13, rax
test rax, rax
je 0x1401bb623
movzx eax, byte [rsp + 0x60]
mov byte [r13 + 0x18], al
mov byte [rsp + 0x60], sil
jmp 0x1401b8ef6
mov rdx, rbp
call dbg.resizeResolveLabel
jmp 0x1401ba28a
mov rdx, rbp
call dbg.resizeResolveLabel
jmp 0x1401ba19a
mov r8d, dword [rsp + 0x48]
mov edx, 1
mov rcx, rdi
call dbg.windowCodeOp
xor r8d, r8d
mov edx, 2
mov rcx, rdi
mov r9d, 1
mov dword [rsp + 0x68], eax
call dbg.windowCodeOp
mov dword [rsp + 0x48], eax
jmp 0x1401ba852
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf
mov rcx, rbp
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x80], r10d
call dbg.growOp3
mov r10d, dword [rsp + 0x80]
mov r11d, eax
jmp 0x1401ba43b
mov eax, dword [rbx + 0x38]
add eax, 1
mov dword [rsp + 0x90], eax
mov dword [rbx + 0x38], eax
jmp 0x1401baa5d
mov eax, dword [rbx + 0x38]
lea edi, [rax + 1]
mov dword [rbx + 0x38], edi
jmp 0x1401ba9bf
mov dword [rsp + 0x48], 0
jmp 0x1401b87a7
mov eax, dword [r12 + 0x90]
mov r8d, dword [rsp + 0x48]
mov edx, 2
mov rcx, rdi
mov r9d, 1
mov dword [rsp + 0x60], eax
call dbg.windowCodeOp
xor r8d, r8d
mov edx, 1
mov rcx, rdi
mov r9d, 1
mov dword [rsp + 0x48], eax
call dbg.windowCodeOp
mov dword [rsp + 0x68], eax
jmp 0x1401ba852
cmp byte [r14 + 0x20], 0x59
je 0x1401ba6e5
mov rdx, qword [r14 + 0x30]
mov rcx, qword [rbx]
call sym.windowExprGtZero.isra.0
test eax, eax
je 0x1401ba670
mov dword [rsp + 0x164], 3
movzx edx, byte [r14 + 0x21]
jmp 0x1401b876d
test r12d, r12d
je 0x1401baa20
movzx eax, byte [rbx + 0x1f]
cmp al, 7
ja 0x1401baa20
lea edx, [rax + 1]
mov byte [rbx + 0x1f], dl
mov dword [rbx + rax*4 + 0xe8], r12d
jmp 0x1401baa20
mov r10d, dword [rbx + 0x44]
mov r9d, dword [rsp + 0x68]
mov rcx, rdi
mov edx, 0x39
mov esi, dword [r12 + 0x90]
mov r8d, dword [rsp + 0x174]
lea eax, [r10 - 1]
mov dword [rsp + 0x8c], r10d
mov dword [rbx + 0x44], eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x17c]
mov dword [rsp + 0x20], eax
call dbg.windowCodeRangeTest
mov r8d, dword [rsp + 0x48]
xor r9d, r9d
mov rcx, rdi
mov edx, 2
call dbg.windowCodeOp
xor r9d, r9d
xor r8d, r8d
mov edx, 1
jmp 0x1401bb3c6
mov r8d, dword [rsp + 0x48]
xor r9d, r9d
mov edx, 2
mov rcx, rdi
call dbg.windowCodeOp
jmp 0x1401bad52
test byte [rsi + 0x30], 0x80
je 0x1401bb81a
movzx eax, byte [rdi + 0x64]
and eax, 3
cmp al, 2
je 0x1401bb1c9
mov rax, qword [rdi]
lea rdx, str._USING_COVERING_INDEX
jmp 0x1401bb1d3
test rdi, rdi
je 0x1401bb838
cmp dx, word [rdi + 0x5c]
jge 0x1401bb133
mov rdi, rax
jmp 0x1401bb133
mov rdx, r12
call dbg.resizeResolveLabel
mov rcx, qword [r12 + 0x18]
jmp 0x1401b9631
mov qword [rsp + 0x68], 0
jmp 0x1401b8f37
mov esi, edi
jmp 0x1401b91e9
mov r8d, dword [rsp + 0x68]
xor r9d, r9d
mov edx, 0x3b
mov rcx, r12
mov dword [rsp + 0x20], 1
call dbg.growOp3
mov esi, eax
jmp 0x1401ba376
mov eax, dword [rsp + 0x68]
mov r8d, dword [rsp + 0x48]
xor r9d, r9d
mov rcx, r12
mov dword [rsp + 0x20], eax
call dbg.growOp3
mov esi, eax
jmp 0x1401bb4aa
mov rax, qword [r14 + 0x28]
cmp dword [r14 + 0x24], 0
jne 0x1401bb9b4
xor esi, esi
cmp dword [rax + 0x10], 0
js 0x1401bb8da
mov rax, qword [rax]
mov rax, qword [rax + 0x20]
cmp rax, 1
mov qword [rsp + 0x48], rax
sbb esi, esi
not esi
and si, 0x500
mov ecx, dword [rbx + 0x38]
lea eax, [rcx + 1]
mov dword [r14 + 0xc], eax
mov eax, dword [r14 + 0x20]
add eax, edx
mov rdx, r14
add eax, ecx
mov rcx, rbx
mov dword [rbx + 0x38], eax
call dbg.resetAccumulator
movzx eax, byte [rsp + 0x60]
mov rdx, r12
mov r9, r13
mov dword [rsp + 0x38], 0
mov r8, qword [rsp + 0x70]
mov rcx, rbx
or eax, esi
mov qword [rsp + 0x28], r15
movzx eax, ax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
call sym.sqlite3WhereBegin
mov r12, rax
test rax, rax
je 0x1401ba3ea
movzx esi, byte [rax + 0x43]
mov edx, dword [rsp + 0x50]
mov r8, r14
mov rcx, rbx
mov r9d, esi
call dbg.updateAccumulator
test esi, esi
je 0x1401bb973
mov rax, qword [r14 + 0x28]
test rax, rax
je 0x1401bb973
mov r9d, dword [rax + 0x14]
mov r8d, dword [rax + 0x10]
mov edx, esi
mov rcx, rbx
call sym.fixDistinctOpenEph
cmp dword [rsp + 0x50], 0
jne 0x1401bba95
cmp byte [rsp + 0x60], 0
jne 0x1401bba30
mov rcx, r12
call sym.sqlite3WhereEnd
mov rdx, r14
mov rcx, rbx
call dbg.finalizeAggFunctions
jmp 0x1401bb0a7
cmp dword [r14 + 0x24], 0
je 0x1401bba21
test edx, edx
jle 0x1401bbad0
mov rax, qword [r14 + 0x28]
xor ecx, ecx
mov r8, qword [rax]
test byte [r8 + 7], 1
jne 0x1401bb9cb
mov r8, qword [rax + 8]
test byte [r8 + 4], 0x20
jne 0x1401bba29
add ecx, 1
add rax, 0x20
cmp ecx, edx
jl 0x1401bb9b6
xor esi, esi
cmp ecx, edx
jne 0x1401bb8da
mov eax, dword [rbx + 0x38]
mov edx, 0x47
xor r8d, r8d
mov rcx, rbp
add eax, 1
mov dword [rbx + 0x38], eax
mov r9d, eax
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x50], eax
call sym.sqlite3VdbeAddOp3
mov edx, dword [r14 + 0x30]
jmp 0x1401bb8da
cmp dword [r14 + 0x24], 0
jne 0x1401bb9a8
cmp edx, 1
je 0x1401bbad7
mov dword [rsp + 0x50], 0
xor esi, esi
jmp 0x1401bb8da
test byte [r12 + 0x44], 4
je 0x1401bb989
cmp byte [r12 + 0x41], 0
je 0x1401bb989
movzx eax, byte [r12 + 0x40]
sub eax, 1
cdqe
jmp 0x1401bba6b
imul rcx, rax, 0x70
sub rax, 1
mov rcx, qword [r12 + rcx + 0x3c0]
test byte [rcx + 0x38], 4
jne 0x1401bbae0
mov edx, eax
cmp rax, 0xffffffffffffffff
jne 0x1401bba55
mov r9d, dword [r12 + 0x34]
xor r8d, r8d
mov edx, 9
mov rcx, rbp
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp3
jmp 0x1401bb989
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x50]
mov edx, 0x47
mov rcx, rbp
mov r8d, 1
call sym.sqlite3VdbeAddOp3
jmp 0x1401bb97e
mov rax, qword [r15 + 0x28]
test byte [rax + 0x48], 1
jne 0x1401bb145
mov rax, rcx
jmp 0x1401bb118
xor ecx, ecx
jmp 0x1401bb9d6
mov rax, qword [r14 + 0x28]
jmp 0x1401bb8b9
movsxd rax, edx
xor r8d, r8d
mov edx, 9
mov rcx, rbp
imul rax, rax, 0x70
mov dword [rsp + 0x20], 0
mov r9d, dword [r12 + rax + 0x370]
call sym.sqlite3VdbeAddOp3
jmp 0x1401bb989
lea rdx, [0x140380383]
call sym.sqlite3StrICmp
test eax, eax
jne 0x1401b8ef6
mov byte [rsp + 0x60], 1
mov esi, 2
jmp 0x1401bb602
mov r12d, 0xffff8000
jmp 0x1401baf50