Function at 0x1401bc410
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 0x1401bc770
test r15, r15
je 0x1401bc454
mov r11d, dword [rbx + 0x30]
test r11d, r11d
je 0x1401bc470
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 0x1401bc454
mov rax, qword [rsp + 0x1f0]
cmp byte [rax], 6
ja 0x1401bc4cd
mov r8, qword [r15 + 0x48]
test r8, r8
je 0x1401bc4bd
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 0x1401bc728
mov r10d, dword [r15 + 4]
test r10d, 0x800000
jne 0x1401bc6f0
mov rax, qword [rsp + 0x1f0]
cmp byte [rax], 9
je 0x1401bc8f0
mov rdx, r15
mov rcx, rbx
call dbg.sqlite3WindowRewrite
mov dword [rsp + 0x50], eax
test eax, eax
jne 0x1401bc728
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 0x1401bc6ce
mov qword [rsp + 0x58], rbp
mov rbp, r15
mov r15, r12
nop dword [rax]
cmp dword [r15], edi
jle 0x1401bc900
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 0x1401bc7a0
test r14, r14
je 0x1401bc790
mov rax, qword [r14 + 0x20]
movsx r8d, word [r12 + 0x36]
mov eax, dword [rax]
cmp r8d, eax
jne 0x1401bd198
lea rax, [rsi + rsi*2]
lea rax, [rsi + rax*4]
lea rax, [r15 + rax*8]
test byte [rax + 0x49], 1
je 0x1401bc615
mov rax, qword [rax + 0x68]
cmp byte [rax + 0x12], 0
je 0x1401bc790
mov eax, dword [r14 + 4]
test al, 8
jne 0x1401bc790
mov r8, qword [r14 + 0x48]
test r8, r8
je 0x1401bc668
cmp qword [rbp + 0x48], 0
je 0x1401bc880
cmp qword [r14 + 0x60], 0
je 0x1401bc890
test edi, edi
jne 0x1401bc668
test byte [rbp + 6], 4
je 0x1401bc668
cmp dword [r15], 1
je 0x1401bc8e0
test byte [r15 + 0xac], 0x22
jne 0x1401bc8e0
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 0x1401bc691
mov r9d, dword [rbx + 0x30]
test r9d, r9d
jne 0x1401bc728
mov edi, 0xffffffff
mov rax, qword [rsp + 0x40]
mov r15, qword [rbp + 0x28]
cmp byte [rax + 0x67], 0
jne 0x1401bc728
mov rax, qword [rsp + 0x1f0]
add edi, 1
cmp byte [rax], 8
jbe 0x1401bc6c0
mov rax, qword [rbp + 0x48]
mov qword [rsp + 0xe0], rax
cmp qword [rbp + 0x50], 0
je 0x1401bc5a8
mov r15, rbp
mov r8, qword [rsp + 0x1f0]
mov rdx, r15
mov rcx, rbx
call dbg.multiSelect
cmp qword [r15 + 0x58], 0
jne 0x1401bc459
jmp 0x1401bc72d
mov r11, qword [r15 + 0x28]
lea rcx, [r11 + 8]
mov rdx, r11
call dbg.sameSrcAlias
test eax, eax
je 0x1401bc8d0
mov r8, qword [r11 + 0x20]
test r8, r8
je 0x1401be2cc
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 0x1401bc75f
mov r8, qword [rbx + 0x10]
lea rcx, [0x1404013a0]
mov r9, qword [r8]
cmp byte [r9 + 0x67], 0
jne 0x1401bc75c
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 0x1401bc459
cmp qword [rcx + 0xb0], 0
je 0x1401bc868
mov rcx, rbx
call dbg.sqlite3VdbeCreate
mov rbp, rax
jmp 0x1401bc446
add edi, 1
jmp 0x1401bc6c0
mov rcx, qword [rbp + 0x30]
mov edx, dword [r13 + 0x4c]
and r8d, 0x40
call dbg.sqlite3ExprImpliesNonNullRow
test eax, eax
je 0x1401bc5d7
mov rax, qword [rsp + 0x40]
test byte [rax + 0x61], 0x20
jne 0x1401bc5d7
movzx eax, byte [r13 + 0x44]
test al, 8
je 0x1401bc7e0
test al, 0x10
je 0x1401bd348
and eax, 0xfffffff7
mov byte [r13 + 0x44], al
test al, 0x40
je 0x1401bc5d7
mov ecx, dword [r15]
lea r9d, [rdi + 1]
cmp r9d, ecx
jge 0x1401bcbe0
lea rdx, [rsi + rsi*2]
lea rdx, [rsi + rdx*4]
lea r13, [r15 + rdx*8]
jmp 0x1401bc82e
and eax, 0xffffffef
mov byte [r13 + 0xac], al
mov ecx, dword [r15]
add r9d, 1
add r13, 0x68
cmp ecx, r9d
jle 0x1401bcbe0
movzx eax, byte [r13 + 0xac]
test al, 0x10
je 0x1401bc81d
test al, 8
jne 0x1401bc810
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 0x1401bc81d
test byte [rax + 0x60], 8
jne 0x1401bc77e
mov byte [rcx + 0x23], 1
jmp 0x1401bc77e
cmp dword [r15], 1
jg 0x1401bc635
jmp 0x1401bc640
test eax, 0x8000000
jne 0x1401bc640
test byte [rbp + 7], 8
jne 0x1401bc640
mov rax, qword [rsp + 0x40]
test byte [rax + 0x62], 4
jne 0x1401bc640
lea rdx, [sym.sqlite3ExprListDelete]
mov rcx, rbx
call sym.sqlite3ParserAddCleanup
mov qword [r14 + 0x48], 0
jmp 0x1401bc668
and r10d, 0xff7fffff
mov dword [r15 + 4], r10d
jmp 0x1401bc4f9
mov edi, 1
jmp 0x1401bc6c0
mov rdx, r15
mov rcx, rbx
call dbg.sqlite3GenerateColumnNames
jmp 0x1401bc50a
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 0x1401bc925
cmp byte [rdx], 0x2c
je 0x1401be11b
test eax, 0x201
je 0x1401bdaa6
mov eax, dword [r12]
mov rdi, r12
xor r14d, r14d
test eax, eax
jle 0x1401bcd90
mov qword [rsp + 0x1e8], r15
jmp 0x1401bca80
and r8d, 1
je 0x1401bd308
mov rdx, qword [rdi + 0x68]
cmp byte [rdx + 0x12], 0
je 0x1401bc96d
cmp dword [rdx], 1
jle 0x1401bd308
test eax, 0x4000000
je 0x1401be2d8
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 0x1401bc9bc
cmp dword [rdx], 1
jle 0x1401bc9a7
cmp al, 2
jne 0x1401bc9bc
test byte [r12 + 0x44], 0x40
jne 0x1401bc9bc
mov rax, qword [rbx]
test byte [rax + 0x63], 2
je 0x1401bec55
mov r9d, dword [r10 + 4]
test r9d, r9d
jg 0x1401bd370
mov r9d, r14d
xor r8d, r8d
mov rdx, r15
mov rcx, r12
call dbg.isSelfJoinView
mov r10, rax
test rax, rax
je 0x1401be8f6
mov r9d, dword [rax + 0x30]
test r9d, r9d
jne 0x1401bdae1
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 0x1401bc728
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 0x1401bcd88
cmp qword [rdi + 0x58], 0
jne 0x1401bcaad
mov r8, qword [rdi + 0x18]
test r8, r8
je 0x1401bcaad
mov rax, qword [rdi + 0x10]
lea r9, [0x14038d10e]
mov edx, 0x14
mov rcx, rbx
mov qword [rsp + 0x20], rax
call dbg.sqlite3AuthCheck
mov rsi, qword [rdi + 0x30]
test rsi, rsi
je 0x1401bca6e
mov r15d, dword [rdi + 0x38]
test r15d, r15d
jne 0x1401bca6e
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 0x1401bc950
and r8d, 1
test eax, 0x4000000
je 0x1401bd1c0
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 0x1401bd188
movzx r10d, byte [r12 + 0x44]
and r10d, 0x40
jne 0x1401bc9c9
mov rax, qword [rbx]
test byte [rax + 0x63], 2
jne 0x1401bc9c9
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 0x1401bc9c9
mov rax, qword [rsp + 0x1e8]
mov eax, dword [rax + 4]
test r14d, r14d
jne 0x1401bcc3b
cmp r9d, 1
je 0x1401bcc6e
test byte [r12 + 0xac], 2
jne 0x1401bcc6e
test eax, 0x10000000
je 0x1401bcc6e
test r10b, r10b
je 0x1401bc9c9
mov r10, qword [rdi + 0x68]
jmp 0x1401bc9bc
test ecx, ecx
jle 0x1401bc5d7
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 0x1401bcc25
sub rax, 0x68
cmp r8, rax
je 0x1401bc5d7
movzx edx, byte [rax - 0x24]
mov ecx, edx
and ecx, 0xffffffbf
and edx, 0x10
mov byte [rax - 0x24], cl
je 0x1401bcc18
jmp 0x1401bc5d7
test eax, 0x10000000
jne 0x1401bcbc7
mov rdx, r12
mov rax, r15
sub rdx, rdi
add rdx, r15
jmp 0x1401bcc5f
sub rax, 0x68
cmp qword [rax + 0x28], 0
jne 0x1401bcbc7
test byte [rax + 0x3c], 0x22
jne 0x1401bcbc7
cmp rax, rdx
jne 0x1401bcc50
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, [0x1404013a0]
cmp byte [rcx + 0x67], 0
jne 0x1401bcd6e
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 0x1401bca26
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 0x1401bebb4
mov rdx, qword [rsp + 0xe0]
test rdx, rdx
je 0x1401bdad1
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 0x1401beacc
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 0x1401bce7e
mov r13d, 0x140
mov word [r15 + 2], r13w
cmp qword [r15 + 0x60], 0
je 0x1401bce94
mov rdx, r15
mov rcx, rbx
call dbg.computeLimitRegisters
mov edx, dword [r15 + 4]
mov edi, dword [r15 + 8]
test edi, edi
jne 0x1401bced4
movsxd rax, dword [rsp + 0xf8]
test eax, eax
js 0x1401bced4
mov r8, qword [rbp]
lea rcx, [0x1404013a0]
cmp byte [r8 + 0x67], 0
jne 0x1401bcec9
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 0x1401be246
mov byte [rsp + 0xd5], 0
mov r10d, dword [rsp + 0x60]
test r10d, r10d
jne 0x1401bea81
cmp qword [rsp + 0x48], 0
jne 0x1401bdb09
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 0x1401bd3f8
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 0x1401beda9
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 0x1401bcfed
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 0x1401bfc98
mov qword [rsp + 0x60], r12
jmp 0x1401bd117
cmp byte [rsi + 0x21], 0x5a
je 0x1401bd125
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 0x1401bed29
mov rax, qword [rsi + 0x50]
mov rax, qword [rax + 0x38]
cmp byte [rax + 1], 0x69
jne 0x1401bd0a4
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 0x1401bf5c3
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 0x1401bd3f3
mov rax, qword [rsi + 0x50]
test byte [rax + 5], 0x10
jne 0x1401bd040
mov rax, qword [rax + 0x38]
cmp rax, rdi
je 0x1401bd3d0
lea rcx, str.nth_value
cmp rax, rcx
je 0x1401bd3d0
lea rcx, str.lead
cmp rax, rcx
je 0x1401bd15a
lea rdx, [0x14039d3fc]
cmp rax, rdx
jne 0x1401bd10a
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 0x1401bd10a
mov rdx, qword [rdi + 0x68]
jmp 0x1401bc993
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 0x1401bc72d
lea rax, [r13 + r13*2]
lea rax, [r13 + rax*4]
test word [r12 + rax*8 + 0x48], 0x108
jne 0x1401bcb27
mov rax, qword [rdi + 0x30]
mov qword [rsp + 0x48], rax
jmp 0x1401bd212
test byte [rax + 4], 9
jne 0x1401bcb27
mov rdx, qword [rax + 0x50]
test rdx, rdx
je 0x1401bd204
cmp byte [rax], 0x87
jne 0x1401bcb27
cmp qword [rax + 0x70], 0
jne 0x1401bcb27
mov rax, rdx
test rax, rax
jne 0x1401bd1e8
mov rax, qword [rsp + 0x48]
mov r9, qword [rdi + 0x58]
mov rdx, qword [rax + 0x48]
test rdx, rdx
je 0x1401bd27b
mov ecx, dword [rdx]
test ecx, ecx
jle 0x1401bd27b
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 0x1401bd26c
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 0x1401bd250
movzx r8d, byte [rsp + 0x70]
mov rax, qword [rdi + 0x28]
movsx r10d, word [rax + 0x36]
test r10d, r10d
jle 0x1401bcb27
mov r11d, 1
mov ecx, r15d
jmp 0x1401bd2ac
add ecx, 1
cmp r10d, ecx
je 0x1401bcb27
movabs rdx, 0x8000000000000000
mov rax, r11
shl rax, cl
cmp ecx, 0x3f
cmovge rax, rdx
test r9, rax
jne 0x1401bd2a0
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 0x1401bd2f9
and dword [rdx + 4], 0xfff7dfff
mov byte [rdx], 0x79
or dword [rax + 4], 0x1000000
mov rax, qword [rax + 0x50]
test rax, rax
jne 0x1401bd2d8
jmp 0x1401bd2a0
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 0x1401bcb18
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 0x1401bc7e0
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 0x1401bd3ba
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 0x1401bca26
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 0x1401bd169
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 0x1401bc728
movzx eax, word [rax + 0x48]
cmp word [r15 + 2], ax
jle 0x1401bd44e
mov word [r15 + 2], ax
cmp byte [rsp + 0xd4], 0
je 0x1401bd46c
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0x43]
test al, al
je 0x1401bd46c
mov byte [rsp + 0xd5], al
mov rcx, qword [rsp + 0xe0]
test rcx, rcx
je 0x1401beab0
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 0x1401bf3a7
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 0x1401bfb75
mov edx, dword [rsi + 0x30]
mov dword [rsp + 0x100], edx
cmp dword [rcx], eax
je 0x1401beaa4
test r13, r13
je 0x1401bed56
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 0x1401becce
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 0x1401bf4fa
cmp dl, 0x5a
je 0x1401bf52a
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 0x1401c0582
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 0x1401bd678
mov eax, dword [rbx + 0x38]
add eax, 1
mov dword [rsp + 0x68], eax
mov dword [rbx + 0x38], eax
cmp byte [r14 + 0x20], 0x4c
je 0x1401bf4d7
mov rax, qword [rsp + 0x98]
xor edx, edx
test rax, rax
je 0x1401bd694
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 0x1401bd6b5
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 0x1401bd754
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 0x1401bd728
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 0x1401becb6
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 0x1401c01eb
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 0x1401bfc51
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 0x1401c02cd
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 0x1401bfbb6
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 0x1401becf6
mov qword [rsp + 0x1e0], rbx
xor esi, esi
mov r13, r14
mov rbx, rcx
jmp 0x1401bda2d
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 0x1401bd9db
mov eax, dword [rdx]
mov ecx, dword [r14 + 0x84]
cmp esi, eax
cmovl esi, eax
test ecx, ecx
jne 0x1401bda20
mov rax, qword [rdi + 0x38]
lea rcx, str.first_value
cmp rax, rcx
je 0x1401bda65
lea rcx, str.nth_value
cmp rax, rcx
je 0x1401bda65
test byte [rdi + 5], 0x10
je 0x1401bda20
mov r8d, dword [r13 + 0x64]
test r8d, r8d
jne 0x1401bec18
nop word [rax + rax]
mov r13, qword [r13 + 0x40]
test r13, r13
je 0x1401be2f5
mov rdi, qword [r13 + 0x50]
mov r9d, dword [r13 + 0x5c]
movsxd rax, dword [rbx + 0x90]
cmp eax, dword [rbx + 0x94]
jl 0x1401bd998
mov dword [rsp + 0x20], 0
xor r8d, r8d
mov edx, 0x4b
mov rcx, rbx
call dbg.growOp3
jmp 0x1401bd9ca
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 0x1401bda07
mov rdx, r15
mov rcx, rbx
call dbg.countOfViewOptimization
test eax, eax
je 0x1401bc930
mov rax, qword [rsp + 0x40]
cmp byte [rax + 0x67], 0
jne 0x1401bc728
mov r12, qword [r15 + 0x28]
jmp 0x1401bc930
mov dword [rsp + 0xf8], 0xffffffff
jmp 0x1401bce47
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 0x1401bc9f3
mov rdx, qword [r15 + 0x20]
mov ecx, dword [rdx]
lea rax, [rdx + 8]
test ecx, ecx
jle 0x1401bdb39
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 0x1401bdb28
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax]
add rax, 8
test ecx, ecx
jle 0x1401bdb71
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 0x1401bdb60
cmp word [r15 + 2], 0x42
jle 0x1401bdb83
mov edi, 0x42
mov word [r15 + 2], di
mov r9, qword [rsp + 0xe0]
mov dword [rsp + 0x88], 0
test r9, r9
je 0x1401bdba4
cmp dword [r9], ecx
je 0x1401bf5f0
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 0x1401bdc1b
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 0x1401bc72d
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 0x1401bf7f6
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 0x1401bdd90
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 0x1401bdd2e
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 0x1401bf7e1
mov rdx, rdi
mov rcx, r14
call dbg.analyzeAggFuncArgs
mov rax, qword [rsp + 0x40]
cmp byte [rax + 0x67], 0
jne 0x1401bf29a
cmp qword [rsp + 0x48], 0
mov edx, dword [r14 + 0x30]
je 0x1401bfd5d
xor r11d, r11d
xor esi, esi
mov word [rsp + 0xb4], r11w
cmp edx, 1
je 0x1401c0115
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 0x1401bf283
cmp qword [rbx + 0x60], 0
je 0x1401bdfe6
mov ecx, dword [r14 + 0x24]
cmp word [r14 + 2], 0
mov dword [r14 + 0x20], ecx
je 0x1401bdfdb
mov rax, qword [r15 + 0x38]
mov eax, dword [rax]
sub eax, 1
test ecx, ecx
jle 0x1401bdfd3
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 0x1401bdfc2
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 0x1401c0417
cmp byte [rsp + 0xd4], 0
lea r9, str.GROUP_BY
je 0x1401be049
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 0x1401c0710
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 0x1401be083
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 0x1401bf84f
mov dword [rsp + 0x50], esi
mov rsi, rbx
mov rbx, rax
jmp 0x1401be0eb
add rbx, 1
cmp dword [r14 + 0x20], ebx
jle 0x1401bf848
mov rdx, qword [r14 + 0x18]
lea rax, [rbx + rbx*2]
lea rax, [rdx + rax*8]
movsx edx, word [rax + 0x16]
cmp edx, edi
jl 0x1401be0dd
cmp qword [rsi + 0x10], 0
je 0x1401be116
mov rdx, qword [rax + 8]
lea r8d, [r12 + rdi]
mov rcx, rsi
call sym.sqlite3ExprCode.part.0
add edi, 1
jmp 0x1401be0dd
test ah, 0x80
jne 0x1401bc925
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 0x1401be173
mov eax, dword [rsp + 0x124]
test eax, eax
je 0x1401bedc7
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 0x1401be1bd
mov r8d, dword [rcx]
test r8d, r8d
jle 0x1401be1bd
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 0x1401be160
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 0x1401be220
mov rcx, r13
call dbg.sqlite3WalkExprNN
mov rdx, qword [rsp + 0x130]
test rdx, rdx
je 0x1401be160
mov rax, qword [rsp + 0x110]
mov rcx, qword [rax]
call sym.sqlite3DbFreeNN
jmp 0x1401be160
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 0x1401be2bf
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 0x1401bcee5
mov rax, qword [r11 + 0x28]
mov r8, qword [rax]
jmp 0x1401bc715
lea rax, [r13 + r13*2]
lea rax, [r13 + rax*4]
test word [r12 + rax*8 + 0x48], 0x108
je 0x1401bd1d8
jmp 0x1401bc978
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 0x1401be346
cmp qword [rbx + 0x10], 0
je 0x1401be32c
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 0x1401be37e
cmp qword [rbx + 0x10], 0
je 0x1401be363
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 0x1401bec89
cmp byte [r14 + 0x22], al
jne 0x1401be3a8
mov edx, dword [rsp + 0x48]
test edx, edx
jne 0x1401c02f6
cmp al, 0x56
je 0x1401bfb10
cmp al, 0x5a
jne 0x1401bec91
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 0x1401bf3af
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, [0x1404013a0]
cmp byte [rcx + 0x67], 0
jne 0x1401be457
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 0x1401bf4a7
cmp byte [r14 + 0x21], 0x56
je 0x1401bfb80
cmp byte [r14 + 0x22], 0x58
je 0x1401bf64c
xor r9d, r9d
xor r8d, r8d
mov edx, 3
mov rcx, rdi
call dbg.windowCodeOp
cmp byte [r14 + 0x22], 0x5a
je 0x1401bf279
cmp byte [r14 + 0x20], 0x59
je 0x1401c0207
mov eax, dword [rsp + 0x68]
test eax, eax
jne 0x1401bf1d4
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 0x1401bf83b
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 0x1401bed14
mov eax, dword [r12 + 0x90]
mov dword [rsp + 0x50], eax
mov esi, eax
mov eax, dword [r12 + 0x94]
cmp esi, eax
jge 0x1401c01b5
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, [0x1404013a0]
cmp byte [rcx + 0x67], 0
jne 0x1401be5a4
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 0x1401bfc2a
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 0x1401bfbd6
xor r9d, r9d
xor r8d, r8d
cmp byte [r14 + 0x21], 0x56
mov edx, 3
mov rcx, rdi
je 0x1401bf6a3
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, [0x1404013a0]
movzx edx, byte [rdx + 0x67]
test dl, dl
jne 0x1401be6ad
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, [0x1404013a0]
test dl, dl
jne 0x1401be6ce
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 0x1401be756
mov r9d, dword [r14 + 0x84]
test r9d, r9d
jne 0x1401bfad1
mov rcx, qword [r12]
mov edx, dword [r12 + 0x90]
lea rax, [0x1404013a0]
cmp byte [rcx + 0x67], 0
jne 0x1401be736
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 0x1401bf7d4
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 0x1401bf7c7
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 0x1401bf1c7
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 0x1401bedd4
cmp qword [rsp + 0xe0], 0
je 0x1401be89d
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 0x1401bec7c
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 0x1401bc72d
mov rcx, qword [rsp + 0x40]
mov rdx, r13
mov dword [rsp + 0x48], eax
call dbg.exprListDeleteNN
mov eax, dword [rsp + 0x48]
jmp 0x1401bc72d
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 0x1401bfb4d
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 0x1401bf2a4
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, [0x1404013a0]
cmp byte [rcx + 0x67], 0
jne 0x1401bea32
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 0x1401bca26
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 0x1401bca26
cmp qword [rsp + 0x48], 0
jne 0x1401bdb09
mov dword [rsp + 0x88], 0
xor esi, esi
mov word [r15 + 2], si
jmp 0x1401bdba4
mov qword [rsp + 0xe0], 0
mov edx, dword [rsp + 0xf8]
test edx, edx
js 0x1401bd4e4
mov rcx, rbp
call sym.sqlite3VdbeChangeToNoop.isra.0
jmp 0x1401bd4e4
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 0x1401bce5c
mov ecx, dword [rsi]
mov rdx, rsi
lea edi, [rcx - 1]
test edi, edi
jle 0x1401beb71
movsxd rsi, ecx
mov r13, qword [rsp + 0x40]
mov r14, rdx
shl rsi, 5
add rsi, rdx
jmp 0x1401beb57
mov rdx, qword [rsi - 0x18]
test rdx, rdx
je 0x1401beb39
mov rcx, r13
call dbg.sqlite3ExprDeleteNN
mov rdx, qword [rsi - 0x10]
test rdx, rdx
je 0x1401beb4a
mov rcx, r13
call sym.sqlite3DbFreeNN
sub dword [r14], 1
sub rsi, 0x20
sub edi, 1
je 0x1401beb66
movsxd rax, edi
shl rax, 5
test byte [r14 + rax + 0x1c], 0x40
je 0x1401beb28
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 0x1401bce5c
nop dword [rax]
movsxd rcx, eax
shl rcx, 5
test byte [r9 + rcx + 0x1c], 0x40
jne 0x1401beba6
mov rcx, rax
shl rcx, 5
mov rcx, qword [r9 + rcx + 8]
mov byte [rcx], 0x79
add rax, 1
cmp r8, rax
jne 0x1401beb88
jmp 0x1401bce5c
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xe0]
mov r8d, 0xffffffff
call sym.sqlite3ExprListCompare
test eax, eax
jne 0x1401bcdd3
cmp qword [r15 + 0x70], 0
jne 0x1401bcdd3
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 0x1401bcdd3
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 0x1401bda20
mov r9d, dword [r12]
lea r8d, [r14 + 1]
mov rdx, r15
mov rcx, r12
call dbg.isSelfJoinView
test rax, rax
jne 0x1401bcbd0
mov r10d, 1
jmp 0x1401bcb8f
mov rdx, rbp
call dbg.resizeResolveLabel
jmp 0x1401be8c9
cmp al, 0x56
jne 0x1401be3b0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov edx, 0x24
mov rcx, r12
mov r8d, dword [rsp + 0x16c]
call sym.sqlite3VdbeAddOp3
jmp 0x1401be3b8
mov dword [rsp + 0x70], 0
mov dword [rsp + 0xb8], 0
jmp 0x1401bd8b9
cmp qword [rbx + 0xb0], 0
je 0x1401c00ed
mov rcx, rbx
call dbg.sqlite3VdbeCreate
mov r12, rax
mov eax, dword [rbx + 0x44]
mov dword [rsp + 0x84], eax
jmp 0x1401bd542
cmp qword [rbx + 0xb0], 0
je 0x1401c00d7
mov rcx, rbx
call dbg.sqlite3VdbeCreate
mov rcx, rax
jmp 0x1401bd97c
mov esi, dword [r12 + 0x90]
mov eax, dword [r12 + 0x94]
jmp 0x1401be5a7
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 0x1401bd0cc
jmp 0x1401bd0eb
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 0x1401be85c
cmp qword [rbx + 0xb0], 0
je 0x1401c00c1
mov rcx, rbx
call dbg.sqlite3VdbeCreate
mov r14, rax
jmp 0x1401bcf46
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x60]
jmp 0x1401bc925
lea r9, str.DISTINCT
lea r8, str.USE_TEMP_B_TREE_FOR__s
xor edx, edx
mov rcx, rbx
call dbg.sqlite3VdbeExplain
jmp 0x1401be86a
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 0x1401bee1b
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, [0x1404013a0]
cmp byte [rcx + 0x67], 0
jne 0x1401bef28
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 0x1401bfd3f
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 0x1401befa4
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 0x1401c04ea
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 0x1401c04dd
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 0x1401bf1ac
mov edx, dword [rsp + 0xcc]
test edx, edx
je 0x1401bf1ac
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 0x1401be84b
mov rdx, rbp
call dbg.resizeResolveLabel
jmp 0x1401be85c
mov esi, dword [r12 + 0x90]
cmp esi, dword [r12 + 0x94]
jge 0x1401c0717
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, [0x1404013a0]
cmp byte [rcx + 0x67], 0
jne 0x1401bf276
movsxd rax, esi
imul rax, rax, 0x18
add rax, qword [r12 + 0x88]
mov dword [rax + 8], edx
mov rcx, qword [r12 + 0x18]
jmp 0x1401be4e1
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x1401bf29a
mov rcx, qword [rsp + 0x40]
mov rdx, rax
call dbg.exprListDeleteNN
mov eax, 1
jmp 0x1401be8d3
mov r11d, dword [rbp + 0x90]
cmp r11d, dword [rbp + 0x94]
jge 0x1401c052c
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 0x1401be9eb
mov rcx, qword [rbp]
mov edx, dword [rbp + 0x90]
lea rax, [0x1404013a0]
cmp byte [rcx + 0x67], 0
jne 0x1401bf39f
movsxd rax, r11d
lea rcx, [rax + rax*2]
mov rax, qword [rbp + 0x88]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
jmp 0x1401be9eb
mov edx, dword [rdi + 0x30]
jmp 0x1401bd4d5
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 0x1401be43f
mov dword [0x1404013a8], 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 0x1401be469
mov dword [rsp + 0xa0], 0
mov dword [rsp + 0xb4], 0
mov byte [rsp + 0xb0], 0
jmp 0x1401bd70a
cmp byte [r14 + 0x20], 0x59
je 0x1401bfd1c
mov rdx, qword [r14 + 0x28]
mov rcx, qword [rbx]
call sym.windowExprGtZero.isra.0
test eax, eax
je 0x1401bf520
mov dword [rsp + 0x164], 1
movzx edx, byte [r14 + 0x21]
jmp 0x1401bd61d
mov r9d, dword [r14 + 0x84]
test r9d, r9d
jne 0x1401bf595
mov rcx, r14
lea r10, str.first_value
lea r9, str.nth_value
lea r8, str.lead
lea r11, [0x14039d3fc]
jmp 0x1401bf572
cmp rax, r11
je 0x1401bf595
mov rcx, qword [rcx + 0x40]
test rcx, rcx
je 0x1401c00a6
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 0x1401bf560
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 0x1401bd657
cmp qword [rax + 0x2f8], 0
jne 0x1401bd0eb
sub dword [r12], 1
jne 0x1401bd0eb
mov rcx, qword [r12 + 0x10]
mov rdx, r12
call sym.sqlite3DbNNFreeNN
jmp 0x1401bd0eb
test ecx, ecx
jle 0x1401bf625
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 0x1401bf610
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 0x1401bdba4
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 0x1401be4b7
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 0x1401be4e1
call dbg.windowCodeOp
cmp byte [r14 + 0x20], 0x59
je 0x1401c058f
mov eax, dword [r12 + 0x90]
cmp byte [r14 + 0x22], 0x5a
mov r9d, 1
mov dword [rsp + 0x60], eax
je 0x1401c04f7
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, [0x1404013a0]
cmp byte [rdx + 0x67], 0
jne 0x1401bf749
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 0x1401c0103
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 0x1401be6ad
mov rdx, rbp
call dbg.resizeResolveLabel
jmp 0x1401be813
mov rdx, rbp
call dbg.resizeResolveLabel
jmp 0x1401be79f
mov r13, qword [r15 + 0x40]
test r13, r13
je 0x1401c042a
xor r13d, r13d
jmp 0x1401bdda6
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 0x1401bdd90
lea rsi, [rsp + 0x110]
jmp 0x1401bdd37
mov rdx, r12
call dbg.resizeResolveLabel
jmp 0x1401be50b
mov rbx, rsi
mov esi, dword [rsp + 0x50]
mov byte [r14], 0
movzx eax, byte [rbx + 0x1f]
test al, al
je 0x1401c0574
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 0x1401bf8bb
movzx eax, byte [rbx + 0x1f]
cmp al, 7
ja 0x1401bf8bb
lea edx, [rax + 1]
mov byte [rbx + 0x1f], dl
mov dword [rbx + rax*4 + 0xe8], edi
cmp esi, 1
je 0x1401c060a
cmp dword [rbx + 0x28], esi
jge 0x1401bf8d0
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 0x1401c055f
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 0x1401bf9af
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 0x1401bf9af
mov rax, rdi
shl rax, 5
add rax, qword [r14 + 0x28]
mov rdx, qword [rax]
test rdx, rdx
je 0x1401bf9a5
mov rcx, rsi
call dbg.sqlite3WalkExprNN
add rdi, 1
cmp dword [r14 + 0x30], edi
jg 0x1401bf98a
mov r9d, dword [rsp + 0x88]
test r9d, r9d
je 0x1401bfa9a
mov rax, qword [rsp + 0x40]
test byte [rax + 0x60], 4
jne 0x1401bfa9a
cmp dword [rsp + 0x50], 0
jne 0x1401bfa7f
mov rax, qword [rsp + 0x70]
test byte [rax + 0x44], 8
jne 0x1401bfa7f
mov edi, dword [rbp + 0x90]
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx]
test eax, eax
jle 0x1401bee0b
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 0x1401bfa55
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 0x1401bedf1
lea r8d, [rbx + r15]
test r13d, r13d
jne 0x1401bfa2e
mov byte [r14], 1
cmp qword [rsi + 0x10], 0
je 0x1401bfa46
mov rax, r15
mov rcx, rsi
shl rax, 5
mov rdx, qword [rdi + rax + 8]
call sym.sqlite3ExprCode.part.0
jmp 0x1401bfa46
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 0x1401bf9ef
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 0x1401bf9ef
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 0x1401be708
cmp byte [r14 + 0x20], 0x59
je 0x1401bec91
cmp dword [rsp + 0x68], 0
je 0x1401bec91
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 0x1401be3b0
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 0x1401be94e
mov edx, dword [rdx + 0x370]
jmp 0x1401bd4d5
xor r9d, r9d
xor r8d, r8d
mov edx, 3
mov rcx, rdi
call dbg.windowCodeOp
cmp byte [r14 + 0x22], 0x5a
je 0x1401bf279
cmp byte [r14 + 0x20], 0x59
je 0x1401c0632
mov r8d, dword [rsp + 0x68]
xor r9d, r9d
jmp 0x1401be4ba
mov dword [rsp + 0x20], edx
xor r9d, r9d
mov edx, 0x34
mov rcx, r12
call dbg.growOp3
mov dword [rsp + 0x8c], eax
jmp 0x1401bd96f
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 0x1401c069b
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 0x1401be6b0
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 0x1401be5f8
cmp qword [rax + 0x2f8], 0
jne 0x1401bd825
test r13, r13
je 0x1401bd825
sub dword [r13], 1
jne 0x1401bd825
mov rcx, qword [r13 + 0x10]
mov rdx, r13
mov dword [rsp + 0xb8], r10d
call sym.sqlite3DbNNFreeNN
mov r10d, dword [rsp + 0xb8]
jmp 0x1401bd825
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 0x1401bd3f8
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 0x1401bd64d
mov rcx, qword [rsp + 0x70]
call sym.sqlite3WhereEnd
mov edx, dword [rsp + 0xc4]
mov rcx, rbp
call sym.sqlite3VdbeChangeToNoop.isra.0
jmp 0x1401bef8d
cmp qword [r15 + 0x30], 0
jne 0x1401c08c1
mov rcx, qword [r15 + 0x20]
cmp dword [rcx], 1
jne 0x1401c08c1
mov rax, qword [r15 + 0x28]
cmp dword [rax], 1
jne 0x1401c08c1
cmp qword [rax + 0x30], 0
jne 0x1401c08c1
cmp edx, 1
jne 0x1401c0851
mov rdi, qword [r15 + 0x40]
test rdi, rdi
jne 0x1401c075a
mov rsi, qword [rax + 0x28]
cmp byte [rsi + 0x3f], 0
jne 0x1401c075a
mov rcx, qword [rcx + 8]
cmp byte [rcx], 0xa8
jne 0x1401c075a
cmp r14, qword [rcx + 0x38]
mov rax, qword [r14 + 0x28]
jne 0x1401c075e
mov r8, qword [rax + 8]
test byte [r8 + 5], 1
je 0x1401c075e
test dword [rcx + 4], 0x1000004
jne 0x1401c075e
mov rdx, qword [rsi + 0x60]
mov rcx, qword [rbx]
test rdx, rdx
je 0x1401c09df
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 0x1401bffb5
mov rcx, qword [rsi + 0x10]
mov rax, rcx
mov rdi, rcx
test rcx, rcx
jne 0x1401bfe7d
jmp 0x1401bfff5
mov rdi, qword [rdi + 0x28]
test rdi, rdi
je 0x1401c096a
movzx edx, byte [rdi + 0x64]
and edx, 3
cmp dl, 2
jne 0x1401bfe70
mov rdx, qword [r15 + 0x28]
test byte [rdx + 0x48], 1
je 0x1401bffc8
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 0x1401bfef2
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 0x1401c06b5
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 0x1401bf1ac
mov rax, qword [r15 + 0x28]
test byte [rax + 0x48], 1
jne 0x1401bfff5
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x1401bfff5
test byte [rax + 0x64], 4
jne 0x1401bffe3
movzx edx, word [rax + 0x5c]
cmp dx, word [rsi + 0x3c]
jge 0x1401bffe3
cmp qword [rax + 0x48], 0
je 0x1401c06d9
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x1401bffc8
test rdi, rdi
jne 0x1401bfe97
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 0x1401bff57
lea rax, [0x14038d10e]
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 0x1401bff57
cmp byte [r14 + 0x22], 0x58
je 0x1401c05d6
mov dword [rsp + 0x164], 1
jmp 0x1401bf595
mov rax, qword [rbx]
test byte [rax + 0x60], 8
jne 0x1401bedb7
mov byte [rbx + 0x23], 1
jmp 0x1401bedb7
mov rax, qword [rbx]
test byte [rax + 0x60], 8
jne 0x1401bed04
mov byte [rbx + 0x23], 1
jmp 0x1401bed04
mov rax, qword [rbx]
test byte [rax + 0x60], 8
jne 0x1401becdc
mov byte [rbx + 0x23], 1
jmp 0x1401becdc
mov dword [0x1404013a8], eax
lea rcx, [0x1404013a0]
jmp 0x1401be6ad
mov rax, qword [r14 + 0x28]
cmp dword [rax + 0x10], 0
js 0x1401bdde7
mov rax, qword [rax]
test rax, rax
je 0x1401c0702
test byte [rax + 5], 0x10
jne 0x1401bdde7
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x68], rax
test rax, rax
je 0x1401bdde7
mov rsi, qword [rax + 8]
test rsi, rsi
je 0x1401c016a
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 0x1401bdde7
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 0x1401be57b
mov dword [rsp + 0x20], edi
mov r8d, esi
mov edx, 0x5a
mov rcx, r12
call dbg.growOp3
mov r10d, eax
jmp 0x1401bd7f6
cmp dword [rsp + 0x68], 0
je 0x1401be4b4
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 0x1401c06f0
mov edx, dword [r12 + 0x90]
mov rax, qword [rcx + 0x50]
mov dword [rax + r8*4], edx
jmp 0x1401be4e1
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 0x1401bd89e
xor edx, edx
cmp al, 0x56
mov esi, dword [r12 + 0x90]
sete dl
lea edx, [rdx + rdx + 0x37]
cmp esi, dword [r12 + 0x94]
jge 0x1401c073b
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, [0x1404013a0]
cmp byte [rcx + 0x67], 0
jne 0x1401c040a
movsxd rax, esi
imul rax, rax, 0x18
add rax, qword [r12 + 0x88]
mov dword [rax + 8], edx
movzx eax, byte [r14 + 0x21]
jmp 0x1401be3a8
mov dword [rsp + 0x90], 0
xor r12d, r12d
jmp 0x1401bf957
cmp dword [r14 + 0x30], 1
jne 0x1401bdda6
mov rax, qword [r14 + 0x28]
mov rax, qword [rax]
mov r11, qword [rax + 0x20]
test r11, r11
je 0x1401bdda6
mov esi, dword [r11]
cmp esi, 1
jne 0x1401bdda6
test byte [rax + 7], 1
jne 0x1401bdda6
mov rcx, qword [rsp + 0x40]
test byte [rcx + 0x62], 1
jne 0x1401bdda6
mov rcx, qword [rax + 8]
lea rdx, [0x14039161f]
mov qword [rsp + 0x90], rcx
call sym.sqlite3StrICmp
mov rcx, qword [rsp + 0x90]
test eax, eax
jne 0x1401c09bc
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 0x1401c04d3
movzx eax, byte [rsp + 0x60]
mov byte [r13 + 0x18], al
mov byte [rsp + 0x60], sil
jmp 0x1401bdda6
mov rdx, rbp
call dbg.resizeResolveLabel
jmp 0x1401bf13a
mov rdx, rbp
call dbg.resizeResolveLabel
jmp 0x1401bf04a
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 0x1401bf702
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 0x1401bf2eb
mov eax, dword [rbx + 0x38]
add eax, 1
mov dword [rsp + 0x90], eax
mov dword [rbx + 0x38], eax
jmp 0x1401bf90d
mov eax, dword [rbx + 0x38]
lea edi, [rax + 1]
mov dword [rbx + 0x38], edi
jmp 0x1401bf86f
mov dword [rsp + 0x48], 0
jmp 0x1401bd657
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 0x1401bf702
cmp byte [r14 + 0x20], 0x59
je 0x1401bf595
mov rdx, qword [r14 + 0x30]
mov rcx, qword [rbx]
call sym.windowExprGtZero.isra.0
test eax, eax
je 0x1401bf520
mov dword [rsp + 0x164], 3
movzx edx, byte [r14 + 0x21]
jmp 0x1401bd61d
test r12d, r12d
je 0x1401bf8d0
movzx eax, byte [rbx + 0x1f]
cmp al, 7
ja 0x1401bf8d0
lea edx, [rax + 1]
mov byte [rbx + 0x1f], dl
mov dword [rbx + rax*4 + 0xe8], r12d
jmp 0x1401bf8d0
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 0x1401c0276
mov r8d, dword [rsp + 0x48]
xor r9d, r9d
mov edx, 2
mov rcx, rdi
call dbg.windowCodeOp
jmp 0x1401bfc02
test byte [rsi + 0x30], 0x80
je 0x1401c06ca
movzx eax, byte [rdi + 0x64]
and eax, 3
cmp al, 2
je 0x1401c0079
mov rax, qword [rdi]
lea rdx, str._USING_COVERING_INDEX
jmp 0x1401c0083
test rdi, rdi
je 0x1401c06e8
cmp dx, word [rdi + 0x5c]
jge 0x1401bffe3
mov rdi, rax
jmp 0x1401bffe3
mov rdx, r12
call dbg.resizeResolveLabel
mov rcx, qword [r12 + 0x18]
jmp 0x1401be4e1
mov qword [rsp + 0x68], 0
jmp 0x1401bdde7
mov esi, edi
jmp 0x1401be099
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 0x1401bf226
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 0x1401c035a
mov rax, qword [r14 + 0x28]
cmp dword [r14 + 0x24], 0
jne 0x1401c0864
xor esi, esi
cmp dword [rax + 0x10], 0
js 0x1401c078a
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 0x1401bf29a
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 0x1401c0823
mov rax, qword [r14 + 0x28]
test rax, rax
je 0x1401c0823
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 0x1401c0945
cmp byte [rsp + 0x60], 0
jne 0x1401c08e0
mov rcx, r12
call sym.sqlite3WhereEnd
mov rdx, r14
mov rcx, rbx
call dbg.finalizeAggFunctions
jmp 0x1401bff57
cmp dword [r14 + 0x24], 0
je 0x1401c08d1
test edx, edx
jle 0x1401c0980
mov rax, qword [r14 + 0x28]
xor ecx, ecx
mov r8, qword [rax]
test byte [r8 + 7], 1
jne 0x1401c087b
mov r8, qword [rax + 8]
test byte [r8 + 4], 0x20
jne 0x1401c08d9
add ecx, 1
add rax, 0x20
cmp ecx, edx
jl 0x1401c0866
xor esi, esi
cmp ecx, edx
jne 0x1401c078a
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 0x1401c078a
cmp dword [r14 + 0x24], 0
jne 0x1401c0858
cmp edx, 1
je 0x1401c0987
mov dword [rsp + 0x50], 0
xor esi, esi
jmp 0x1401c078a
test byte [r12 + 0x44], 4
je 0x1401c0839
cmp byte [r12 + 0x41], 0
je 0x1401c0839
movzx eax, byte [r12 + 0x40]
sub eax, 1
cdqe
jmp 0x1401c091b
imul rcx, rax, 0x70
sub rax, 1
mov rcx, qword [r12 + rcx + 0x3c0]
test byte [rcx + 0x38], 4
jne 0x1401c0990
mov edx, eax
cmp rax, 0xffffffffffffffff
jne 0x1401c0905
mov r9d, dword [r12 + 0x34]
xor r8d, r8d
mov edx, 9
mov rcx, rbp
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp3
jmp 0x1401c0839
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x50]
mov edx, 0x47
mov rcx, rbp
mov r8d, 1
call sym.sqlite3VdbeAddOp3
jmp 0x1401c082e
mov rax, qword [r15 + 0x28]
test byte [rax + 0x48], 1
jne 0x1401bfff5
mov rax, rcx
jmp 0x1401bffc8
xor ecx, ecx
jmp 0x1401c0886
mov rax, qword [r14 + 0x28]
jmp 0x1401c0769
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 0x1401c0839
lea rdx, [0x140391623]
call sym.sqlite3StrICmp
test eax, eax
jne 0x1401bdda6
mov byte [rsp + 0x60], 1
mov esi, 2
jmp 0x1401c04b2
mov r12d, 0xffff8000
jmp 0x1401bfe00