Function at 0x1401ea160
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, 0x128
movups xmmword [rsp + 0x110], xmm6
mov rdi, qword [rcx]
mov rbx, qword [rdi]
mov qword [rsp + 0x178], rdx
mov edx, dword [rdx + 4]
mov rsi, qword [rsp + 0x178]
mov qword [rsp + 0x170], rcx
mov eax, edx
mov qword [rsp + 0x98], rbx
or eax, 0x40
mov dword [rsi + 4], eax
cmp byte [rbx + 0x67], 0
jne 0x1401eacc4
movzx eax, dx
mov ebp, edx
mov dword [rsp + 0x58], 1
mov dword [rsp + 0xa8], eax
and ebp, 0x40
jne 0x1401eac99
cmp word [rcx + 0x24], 0
je 0x1401ea1ec
mov eax, dword [rdi + 0x94]
add eax, 1
mov dword [rdi + 0x94], eax
mov dword [rsi + 0x10], eax
mov rax, qword [rsp + 0x178]
cmp qword [rdi + 0x198], 0
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x178]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x178]
mov rax, qword [rax + 0x68]
je 0x1401eacce
and edx, 0x200000
je 0x1401eacce
test rax, rax
je 0x1401eb838
mov ecx, dword [rdi + 0x30]
mov dword [rax + 4], 1
test ecx, ecx
je 0x1401eace2
mov rbx, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rbx
call sym.sqlite3SrcListAssignCursors
mov rax, rbx
lea rbx, [rbx + 8]
mov eax, dword [rax]
mov qword [rsp + 0xe0], rbx
test eax, eax
jle 0x1401ea36c
mov r15, rbx
lea r13, [0x140344560]
jmp 0x1401ea29f
add ebp, 1
add r15, 0x68
cmp ebp, eax
jge 0x1401ea36c
cmp qword [r15 + 0x20], 0
jne 0x1401ea290
mov r8, qword [r15 + 0x10]
test r8, r8
je 0x1401ead00
mov r12, qword [rdi + 0x198]
test r12, r12
je 0x1401ea2d1
mov eax, dword [rdi + 0x30]
test eax, eax
jne 0x1401ea2d1
cmp qword [r15 + 8], 0
je 0x1401eae3c
mov rcx, qword [r15]
test rcx, rcx
je 0x1401eb1b1
mov rax, qword [rdi]
mov rdx, qword [rax + 0x20]
cmp rcx, qword [rdx + 0x18]
je 0x1401ea2fb
lea rax, [rdx + 0x20]
mov rdx, rax
add rax, 0x20
cmp rcx, qword [rax - 8]
jne 0x1401ea2ee
mov r9, qword [rdx]
xor edx, edx
mov rcx, rdi
call sym.sqlite3LocateTable
mov qword [r15 + 0x20], rax
mov rsi, rax
test rax, rax
je 0x1401eacc4
mov eax, dword [rax + 0x2c]
cmp eax, 0xfffe
ja 0x1401ec3a8
movzx edx, byte [rsi + 0x3f]
add eax, 1
mov dword [rsi + 0x2c], eax
cmp dl, 1
je 0x1401eb1a0
movzx eax, byte [r15 + 0x40]
test al, 4
jne 0x1401eb1ba
test dl, dl
jne 0x1401eb107
test al, 2
jne 0x1401eadba
mov rax, qword [rsp + 0x38]
add ebp, 1
add r15, 0x68
mov eax, dword [rax]
cmp ebp, eax
jl 0x1401ea29f
mov eax, dword [rdi + 0x30]
mov dword [rsp + 0x58], eax
test eax, eax
jne 0x1401eacc4
mov rax, qword [rsp + 0x178]
mov rax, qword [rax + 0x28]
lea rbx, [rax + 0x70]
mov rcx, rax
mov eax, dword [rax]
mov qword [rsp + 0x50], rbx
cmp eax, 1
jle 0x1401ea4b9
mov dword [rsp + 0x64], 1
lea rsi, [0x140344560]
mov qword [rsp + 0x40], rdi
mov rdi, rcx
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rbx + 0x20]
cmp qword [rbx - 0x48], 0
mov qword [rsp + 0x80], rcx
je 0x1401eb1ec
test rcx, rcx
je 0x1401eb1ec
movzx edx, byte [rbx + 0x3c]
xor ebx, ebx
test dl, 0x20
sete bl
add ebx, 1
and edx, 4
mov dword [rsp + 0xa0], ebx
jne 0x1401eb69e
mov rax, qword [rsp + 0x50]
mov rbx, qword [rax + 0x48]
mov qword [rsp + 0x88], rbx
test byte [rax + 0x41], 4
jne 0x1401eabbe
cmp qword [rsp + 0x88], 0
mov ebx, dword [rsp + 0x64]
je 0x1401ea49c
mov ebp, dword [rax + 0x44]
mov r14d, dword [rsp + 0xa0]
mov r12, qword [rsp + 0x88]
or dword [r12 + 4], r14d
cmp byte [r12], 0xac
mov dword [r12 + 0x34], ebp
je 0x1401eb1f5
mov rcx, qword [r12 + 0x10]
mov r8d, r14d
mov edx, ebp
call sym.sqlite3SetJoinExpr
mov r12, qword [r12 + 0x18]
test r12, r12
jne 0x1401ea436
mov r14, qword [rsp + 0x50]
mov rax, qword [rsp + 0x178]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rax + 0x30]
mov r8, qword [r14 + 0x48]
call sym.sqlite3ExprAnd
mov rcx, qword [rsp + 0x178]
mov qword [rcx + 0x30], rax
or byte [r14 + 0x41], 8
mov qword [r14 + 0x48], 0
mov eax, dword [rdi]
lea edx, [rax - 1]
add qword [rsp + 0x50], 0x68
add dword [rsp + 0x64], 1
cmp edx, ebx
jg 0x1401ea3b5
mov rdi, qword [rsp + 0x40]
mov rax, qword [rsp + 0xb8]
mov eax, dword [rax]
test eax, eax
jle 0x1401ec348
mov rsi, qword [rsp + 0xb8]
sub eax, 1
xor r9d, r9d
shl rax, 5
lea rbx, [rsi + 8]
lea r8, [rsi + rax + 0x28]
mov qword [rsp + 0xc8], rbx
mov rax, rbx
jmp 0x1401ea509
add rax, 0x20
or r9d, dword [rdx + 4]
cmp r8, rax
je 0x1401ec2fa
mov rdx, qword [rax]
movzx ecx, byte [rdx]
cmp cl, 0xb4
je 0x1401ea522
cmp cl, 0x8d
jne 0x1401ea4f8
mov rcx, qword [rdx + 0x18]
cmp byte [rcx], 0xb4
jne 0x1401ea4f8
mov rax, qword [rdi]
lea rbx, str._ROWID_
xor ebp, ebp
mov rsi, rdi
movq xmm6, rbx
mov dword [rsp + 0xc4], r9d
mov r12, rbp
mov rdi, qword [rsp + 0x98]
mov rax, qword [rax + 0x30]
lea r13, [0x140344560]
mov dword [rsp + 0xd4], 0
and eax, 0x44
mov dword [rsp + 0xb4], eax
mov eax, dword [rsp + 0xa8]
and eax, 0x800
mov dword [rsp + 0x48], eax
lea rax, str.ROWID
movq xmm0, rax
punpcklqdq xmm6, xmm0
jmp 0x1401ea634
cmp al, 0x8d
jne 0x1401ea59f
mov rax, qword [rbx + 0x18]
cmp byte [rax], 0xb4
je 0x1401ec313
mov r8, qword [rsp + 0xa8]
mov rdx, r12
mov rcx, rsi
call sym.sqlite3ExprListAppend
mov r12, rax
test rax, rax
je 0x1401ea5fd
mov eax, dword [rax]
mov rbx, qword [rsp + 0xc8]
sub eax, 1
mov rdx, qword [rbx + 8]
cdqe
shl rax, 5
add rax, r12
mov qword [rax + 0x10], rdx
lea rcx, [rax + 0x10]
movzx eax, byte [rbx + 0x14]
mov edx, eax
mov byte [rsp + 0x30], al
movzx eax, byte [rcx + 0xc]
and edx, 3
and eax, 0xfffffffc
or eax, edx
mov byte [rcx + 0xc], al
mov qword [rbx + 8], 0
mov rax, qword [rsp + 0xc8]
mov qword [rax], 0
mov rbx, qword [rsp + 0xb8]
add dword [rsp + 0xd4], 1
add qword [rsp + 0xc8], 0x20
mov eax, dword [rsp + 0xd4]
cmp dword [rbx], eax
jle 0x1401ec171
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax]
mov ecx, dword [rax + 4]
mov qword [rsp + 0xa8], rax
mov rbx, rax
movzx eax, byte [rax]
or dword [rsp + 0xc4], ecx
cmp al, 0xb4
jne 0x1401ea58e
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x34]
mov dword [rsp + 0xb0], eax
mov rax, qword [rsp + 0x38]
mov r8d, dword [rax]
test r8d, r8d
jle 0x1401ec394
mov qword [rsp + 0x70], 0
mov rax, qword [rsp + 0xe0]
mov dword [rsp + 0x78], 0
mov dword [rsp + 0xd0], 1
mov qword [rsp + 0x40], rax
mov qword [rsp + 0xd8], rsi
mov eax, dword [rsp + 0xd0]
sub eax, 1
mov dword [rsp + 0xec], eax
mov rax, qword [rsp + 0x40]
mov rbx, qword [rax + 0x20]
mov rsi, qword [rax + 0x18]
mov qword [rsp + 0x30], rbx
test rsi, rsi
je 0x1401ec0de
cmp byte [rdi + 0x67], 0
jne 0x1401ebf57
mov rax, qword [rsp + 0x40]
test byte [rax + 0x41], 0x20
jne 0x1401ec122
mov r9, qword [rsp + 0x70]
test r9, r9
je 0x1401ea72c
xor edx, edx
jmp 0x1401ea71b
movzx ebx, byte [r13 + rcx]
cmp byte [r13 + rax], bl
jne 0x1401ec0e6
add rdx, 1
movzx eax, byte [r9 + rdx]
movzx ecx, byte [rsi + rdx]
cmp eax, ecx
jne 0x1401ea706
test eax, eax
jne 0x1401ea717
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x60]
mov qword [rsp + 0x68], rcx
test rcx, rcx
je 0x1401ec364
mov rdx, qword [rdi + 0x20]
cmp rcx, qword [rdx + 0x18]
je 0x1401ea75e
lea rax, [rdx + 0x20]
mov rdx, rax
add rax, 0x20
cmp rcx, qword [rax - 8]
jne 0x1401ea751
mov qword [rsp + 0x68], 0
mov rax, qword [rdx]
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0xd0]
mov qword [rsp + 0x90], 0
mov dword [rsp + 0xe8], eax
cmp eax, r8d
jge 0x1401ea7ab
mov rax, qword [rsp + 0x40]
test byte [rax + 0xa9], 4
je 0x1401ea7ab
mov ebx, dword [rsp + 0x48]
test ebx, ebx
jne 0x1401ec1d8
mov rax, qword [rsp + 0x30]
movsx ebp, word [rax + 0x36]
mov dword [rsp + 0x64], ebp
test byte [rax + 0x31], 2
jne 0x1401ea7cc
cmp dword [rsp + 0x48], 1
mov eax, ebp
sbb eax, 0xffffffff
mov dword [rsp + 0x64], eax
mov r10d, dword [rsp + 0x64]
test r10d, r10d
jle 0x1401ebf33
mov r9d, dword [rsp + 0xec]
mov qword [rsp + 0x88], rsi
mov r14, qword [rsp + 0xd8]
test r9d, r9d
setg dl
cmp qword [rsp + 0x70], 0
sete al
xor ebx, ebx
and edx, eax
mov rax, qword [rsp + 0x68]
mov byte [rsp + 0xc3], dl
add rax, 8
mov qword [rsp + 0x50], rax
xor eax, eax
mov rsi, rax
jmp 0x1401eaa4b
mov rcx, qword [rsp + 0x40]
test byte [rcx + 0x3c], 0x40
je 0x1401ea83b
mov edx, dword [rsp + 0x48]
test edx, edx
je 0x1401ebfa3
mov rax, qword [rsp + 0x88]
test rax, rax
je 0x1401eab4b
mov rcx, rax
call sym.strlen
mov rcx, rdi
mov r8d, eax
and r8d, 0x3fffffff
lea edx, [r8 + 0x49]
mov dword [rsp + 0x78], r8d
call sym.sqlite3DbMallocRawNN
mov r8d, dword [rsp + 0x78]
test rax, rax
mov r10, rax
jne 0x1401ebe8c
mov r9, rbp
mov r8, r10
mov edx, 0x8d
mov rcx, r14
mov qword [rsp + 0x78], r10
call sym.sqlite3PExpr
cmp byte [r14 + 0x134], 1
mov rbp, rax
jbe 0x1401ea8ba
mov rax, qword [rsp + 0xa8]
mov rdx, qword [rax + 0x10]
test rdx, rdx
jne 0x1401ebc15
mov rax, qword [rsp + 0x80]
test rax, rax
je 0x1401ea97c
mov rcx, rax
call sym.strlen
mov rcx, rdi
mov r9d, eax
and r9d, 0x3fffffff
lea edx, [r9 + 0x49]
mov dword [rsp + 0x78], r9d
call sym.sqlite3DbMallocRawNN
mov r10, rax
test rax, rax
je 0x1401ea966
movsxd r9, dword [rsp + 0x78]
mov qword [rax], 0
lea rcx, [r10 + 0x48]
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0
mov qword [rax + 0x20], 0
mov qword [rax + 0x28], 0
mov qword [rax + 0x30], 0
mov qword [rax + 0x38], 0
mov qword [rax + 0x40], 0
mov byte [rax], 0x3b
mov eax, 0xffffffff
mov word [r10 + 0x32], ax
mov qword [r10 + 8], rcx
test r9d, r9d
jne 0x1401ec140
mov byte [r10 + r9 + 0x48], 0
mov dword [r10 + 0x28], 1
mov r9, rbp
mov r8, r10
mov edx, 0x8d
mov rcx, r14
call sym.sqlite3PExpr
mov rbp, rax
test rbp, rbp
je 0x1401ea991
test byte [rbp + 4], 3
jne 0x1401ea991
mov eax, dword [rsp + 0xb0]
mov dword [rbp + 0x34], eax
test r12, r12
je 0x1401ec069
movsxd r10, dword [r12]
cmp r10d, dword [r12 + 4]
jge 0x1401ebcd3
lea eax, [r10 + 1]
mov dword [r12], eax
mov rax, r10
shl rax, 5
add rax, r12
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0
mov qword [rax + 0x20], 0
mov qword [rax + 8], rbp
mov ebp, dword [rsp + 0x48]
test ebp, ebp
je 0x1401ea9ed
cmp byte [r14 + 0x134], 1
jbe 0x1401ebcfd
cmp dword [rsp + 0xb4], 4
mov qword [rsp + 0x78], r10
je 0x1401ebbd4
mov rdx, r15
mov rcx, rdi
call sym.sqlite3DbStrDup
mov r10, qword [rsp + 0x78]
mov dword [rsp + 0x78], 1
mov r8, rax
shl r10, 5
lea rax, [r12 + r10]
and byte [rax + 0x1c], 0xfc
mov qword [rax + 0x10], r8
add qword [rsp + 0x50], 0x20
add ebx, 1
add rsi, 0x18
cmp ebx, dword [rsp + 0x64]
je 0x1401ebf33
mov rax, qword [rsp + 0x30]
movsx ebp, word [rax + 0x36]
cmp ebp, ebx
je 0x1401ebae6
mov rbp, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rbp + 8]
add rax, rsi
mov r15, qword [rax]
test rcx, rcx
je 0x1401eaab0
movsxd rdx, ebx
shl rdx, 5
movzx edx, byte [rcx + rdx + 0x1c]
and edx, 3
cmp dl, 3
je 0x1401eaa2b
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1401eaab0
mov qword [rsp + 0x20], 0
mov r8, rcx
mov rcx, qword [rsp + 0x50]
xor r9d, r9d
xor edx, edx
call sym.sqlite3MatchEName
test eax, eax
je 0x1401eaa2b
mov rax, qword [rbp + 8]
add rax, rsi
mov rcx, qword [rsp + 0x178]
movzx eax, word [rax + 0x12]
test byte [rcx + 6], 2
jne 0x1401eaaca
test al, 2
jne 0x1401eaa2b
test ah, 4
je 0x1401eba50
cmp qword [rsp + 0x70], 0
je 0x1401ebf90
test r15, r15
je 0x1401ebe19
mov rcx, r15
call sym.strlen
mov rcx, rdi
mov r8d, eax
and r8d, 0x3fffffff
lea edx, [r8 + 0x49]
mov dword [rsp + 0x78], r8d
call sym.sqlite3DbMallocRawNN
mov r8d, dword [rsp + 0x78]
test rax, rax
mov rbp, rax
jne 0x1401ebc4a
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
cmp eax, 1
jg 0x1401ea824
cmp byte [r14 + 0x134], 1
jbe 0x1401ea97c
mov rax, qword [rsp + 0x88]
test rax, rax
jne 0x1401ea84c
mov edx, 0x49
mov rcx, rdi
call sym.sqlite3DbMallocRawNN
mov r10, rax
test rax, rax
je 0x1401ea880
mov ecx, 0xffffffff
lea r9, [r10 + 0x48]
mov qword [r10], 0
mov qword [r10 + 0x30], 0
mov qword [r10 + 0x10], 0
mov qword [r10 + 0x18], 0
mov qword [r10 + 0x20], 0
mov qword [r10 + 0x28], 0
mov qword [r10 + 0x38], 0
mov qword [r10 + 0x40], 0
mov byte [r10], 0x3b
mov word [r10 + 0x32], cx
mov qword [r10 + 8], r9
jmp 0x1401ebf1a
mov qword [rsp + 0x78], 0
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x88]
mov r9d, dword [rax]
test r9d, r9d
jle 0x1401ec446
mov rax, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
shl rax, 4
mov rbp, qword [rbx + rax + 8]
mov rdx, rbp
call sym.sqlite3ColumnIndex
mov dword [rsp + 0x90], eax
test eax, eax
js 0x1401eac7a
mov eax, dword [rsp + 0x64]
lea r13, [rdi + 0x28]
xor r14d, r14d
lea ebx, [rax - 1]
mov rax, qword [rsp + 0x50]
test byte [rax + 0x41], 0x10
je 0x1401eb2a3
nop word cs:[rax + rax]
mov r12, qword [r13]
mov rdx, rbp
mov rcx, r12
call sym.sqlite3ColumnIndex
test eax, eax
js 0x1401eac6d
mov r8, qword [r12 + 8]
movsxd rdx, eax
lea rdx, [rdx + rdx*2]
lea rdx, [r8 + rdx*8]
test byte [rdx + 0x12], 2
je 0x1401eb67a
add r14d, 1
add r13, 0x68
cmp r14d, ebx
jle 0x1401eac40
mov rdi, qword [rsp + 0x40]
mov r8, rbp
lea rdx, str.cannot_join_using_column__s___column_not_present_in_both_tables
mov rcx, rdi
call sym.sqlite3ErrorMsg
mov dword [rsp + 0x58], 2
mov eax, dword [rsp + 0x58]
movups xmm6, xmmword [rsp + 0x110]
add rsp, 0x128
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r8, r9
mov rcx, rdi
call sym.sqlite3ErrorMsg
mov dword [rsp + 0x58], 2
jmp 0x1401eac99
test rax, rax
je 0x1401ea252
mov ecx, dword [rdi + 0x30]
test ecx, ecx
jne 0x1401ea252
mov rdx, qword [rdi + 0x198]
mov qword [rax + 8], rdx
mov qword [rdi + 0x198], rax
jmp 0x1401ea252
mov r12, qword [r15 + 0x28]
test r12, r12
je 0x1401ead2b
mov rax, qword [rsp + 0x170]
cmp qword [rax + 0x10], 0
je 0x1401ead2b
mov rdx, r12
mov rcx, rax
call sym.sqlite3WalkSelect.part.0
test eax, eax
jne 0x1401eacc4
mov r12, qword [r15 + 0x28]
mov rcx, qword [rdi]
mov edx, 0x68
call sym.sqlite3DbMallocZero
mov qword [r15 + 0x20], rax
mov rbx, rax
test rax, rax
je 0x1401eacc4
mov rdx, qword [r15 + 0x18]
mov rcx, qword [rdi]
mov dword [rax + 0x2c], 1
test rdx, rdx
je 0x1401eb0f0
call sym.sqlite3DbStrDup
mov qword [rbx], rax
nop dword [rax + rax]
mov rax, r12
mov r12, qword [r12 + 0x50]
test r12, r12
jne 0x1401ead68
mov rdx, qword [rax + 0x20]
lea r9, [rbx + 8]
lea r8, [rbx + 0x36]
mov rcx, rdi
call sym.sqlite3ColumnsFromExprList.isra.0
mov eax, 0xffffffff
mov edx, dword [rdi + 0x30]
or dword [rbx + 0x30], 0x4200
mov word [rbx + 0x34], ax
mov eax, 0xc8
mov word [rbx + 0x3a], ax
test edx, edx
jne 0x1401eacc4
movzx eax, byte [r15 + 0x40]
test al, 2
je 0x1401ea356
mov rax, qword [r15 + 0x20]
mov r8, qword [r15 + 0x58]
mov r10, qword [rax + 0x10]
test r10, r10
je 0x1401eae19
nop dword [rax + rax]
mov r9, qword [r10]
xor ecx, ecx
jmp 0x1401eadf1
movzx ebx, byte [r13 + rdx]
cmp byte [r13 + rax], bl
jne 0x1401eae10
add rcx, 1
movzx eax, byte [r9 + rcx]
movzx edx, byte [r8 + rcx]
cmp eax, edx
jne 0x1401eade0
test eax, eax
jne 0x1401eaded
mov qword [r15 + 0x60], r10
jmp 0x1401ea356
mov r10, qword [r10 + 0x28]
test r10, r10
jne 0x1401eadd0
xor r9d, r9d
lea rdx, str.no_such_index:__s
mov rcx, rdi
call sym.sqlite3ErrorMsg
mov byte [rdi + 0x1d], 1
mov dword [rsp + 0x58], 2
jmp 0x1401eac99
test byte [r15 + 0x41], 2
jne 0x1401ea2d1
mov ebx, dword [r12]
lea r11, [r12 + 0x10]
xor r10d, r10d
test ebx, ebx
jle 0x1401eb0d0
mov r9, qword [r11]
xor ecx, ecx
jmp 0x1401eae7d
movzx esi, byte [r13 + rdx]
cmp byte [r13 + rax], sil
jne 0x1401eb0bf
add rcx, 1
movzx eax, byte [r8 + rcx]
movzx edx, byte [r9 + rcx]
cmp eax, edx
jne 0x1401eae68
test eax, eax
jne 0x1401eae79
movsxd rax, r10d
lea rsi, [rax + rax*2]
mov qword [rsp + 0x40], rax
shl rsi, 4
add rsi, r12
mov rdx, qword [rsi + 0x28]
test rdx, rdx
jne 0x1401eacb9
test byte [r15 + 0x40], 4
jne 0x1401eb1be
mov r14, qword [rdi]
mov edx, 0x68
mov rcx, r14
call sym.sqlite3DbMallocZero
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1401eacc4
mov rbx, qword [rsi + 0x30]
test rbx, rbx
je 0x1401eb7f4
mov rax, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rcx, r14
lea rax, [rax + rax*2]
mov qword [r15 + 0x20], rsi
shl rax, 4
mov dword [rsi + 0x2c], 1
add rax, r12
mov rdx, qword [rax + 0x10]
mov qword [rsp + 0x58], rax
call sym.sqlite3DbStrDup
or dword [rsi + 0x30], 0x4200
xor r8d, r8d
mov rcx, r14
mov qword [rsi], rax
mov eax, 0xc8
mov r11d, 0xffffffff
mov word [rsi + 0x3a], ax
mov rax, qword [rsp + 0x58]
mov word [rsi + 0x34], r11w
mov rdx, qword [rax + 0x20]
call sym.sqlite3SelectDup
mov qword [r15 + 0x28], rax
cmp byte [r14 + 0x67], 0
mov qword [rsp + 0x30], rax
jne 0x1401eacc4
mov esi, dword [rax + 4]
mov r11d, esi
mov dword [rsp + 0x50], esi
or r11d, 0x4000000
mov dword [rax + 4], r11d
test byte [r15 + 0x40], 2
jne 0x1401eba2a
or byte [r15 + 0x41], 1
mov rax, qword [rsp + 0x30]
mov qword [r15 + 0x60], rbx
add dword [rbx], 1
movzx ebx, byte [rax]
mov byte [rsp + 0x70], bl
add ebx, 0x7a
mov byte [rsp + 0x78], bl
cmp bl, 1
ja 0x1401eb9fe
mov dword [rsp + 0x50], 0xffffffff
mov dword [rsp + 0x64], ebp
mov qword [rsp + 0x68], r12
mov r12, rax
mov rbp, qword [r12 + 0x28]
mov esi, dword [rbp]
test esi, esi
jle 0x1401eb9f0
lea r8, [rbp + 0x10]
xor r9d, r9d
jmp 0x1401eafe9
add r9d, 1
add r8, 0x68
cmp r9d, esi
je 0x1401eb099
mov ebx, r11d
and ebx, 0x2000
cmp qword [r8], 0
jne 0x1401eafd8
mov r10, qword [r8 + 8]
test r10, r10
je 0x1401eafd8
mov rax, qword [rsp + 0x58]
xor ecx, ecx
mov r14, qword [rax + 0x10]
jmp 0x1401eb021
movzx edx, byte [r13 + rdx]
cmp byte [r13 + rax], dl
jne 0x1401eafd8
add rcx, 1
movzx eax, byte [r10 + rcx]
movzx edx, byte [r14 + rcx]
cmp eax, edx
jne 0x1401eb010
test eax, eax
jne 0x1401eb01d
mov rax, qword [rsp + 0x48]
mov qword [r8 + 0x18], rax
add dword [rax + 0x2c], 1
movsxd rax, r9d
lea rdx, [rax + rax*2]
lea rax, [rax + rdx*4]
or byte [rbp + rax*8 + 0x48], 0x40
test ebx, ebx
jne 0x1401eb7d5
mov r10d, dword [rsp + 0x50]
or r11d, 0x2000
mov dword [r12 + 4], r11d
test r10d, r10d
jns 0x1401eb07b
mov eax, dword [rdi + 0x34]
mov dword [rsp + 0x50], eax
add eax, 1
mov dword [rdi + 0x34], eax
mov eax, dword [rsp + 0x50]
add r9d, 1
mov ebx, 0x2000
add r8, 0x68
mov dword [r8 - 0x2c], eax
cmp r9d, esi
jne 0x1401eafe9
test ebx, ebx
je 0x1401eb8ae
mov r12, qword [r12 + 0x50]
movzx eax, byte [rsp + 0x70]
cmp al, byte [r12]
jne 0x1401eb8ae
mov r11d, dword [r12 + 4]
jmp 0x1401eafb8
add r10d, 1
add r11, 0x30
cmp r10d, ebx
jne 0x1401eae5b
mov eax, dword [r12 + 4]
test eax, eax
jne 0x1401ea2d1
mov r12, qword [r12 + 8]
test r12, r12
jne 0x1401eae47
jmp 0x1401ea2d1
mov r8, r15
lea rdx, [0x140336c4e]
call sym.sqlite3MPrintf
mov qword [rbx], rax
jmp 0x1401ead68
mov rax, qword [rsp + 0x170]
cmp word [rsi + 0x36], 0
movzx ebx, word [rax + 0x24]
jg 0x1401eb23b
mov rdx, rsi
mov rcx, rdi
call sym.viewGetColumnNames
test eax, eax
jne 0x1401eacc4
movzx eax, byte [rsi + 0x3f]
cmp al, 2
je 0x1401eb244
cmp al, 1
jne 0x1401eb14c
cmp byte [r15 + 0x40], 0
js 0x1401eb868
mov rdx, qword [r15 + 0x28]
mov ecx, 0xffffffff
mov r8d, 1
movzx r12d, word [rsi + 0x36]
mov rax, qword [rsp + 0x170]
mov word [rsi + 0x36], cx
mov word [rax + 0x24], r8w
test rdx, rdx
je 0x1401eb185
cmp qword [rax + 0x10], 0
je 0x1401eb185
mov rcx, rax
call sym.sqlite3WalkSelect.part.0
mov rax, qword [rsp + 0x170]
and bx, 0xff
mov word [rax + 0x24], bx
mov word [rsi + 0x36], r12w
jmp 0x1401eadad
mov rax, qword [rsp + 0x170]
movzx ebx, word [rax + 0x24]
jmp 0x1401eb11e
mov r9, qword [r15 + 8]
jmp 0x1401ea2fe
mov r8, qword [r15 + 0x10]
lea rdx, str._s_is_not_a_function
mov rcx, rdi
call sym.sqlite3ErrorMsg
mov dword [rsp + 0x58], 2
jmp 0x1401eac99
mov rbx, qword [rsp + 0x40]
mov r11d, dword [rbx + 0x30]
test r11d, r11d
jne 0x1401eacc4
mov ebx, dword [rsp + 0x64]
jmp 0x1401ea49e
mov rax, qword [r12 + 0x20]
test rax, rax
je 0x1401ea44b
mov r13d, dword [rax]
test r13d, r13d
jle 0x1401ea44b
xor r13d, r13d
movsxd rcx, r13d
mov r8d, r14d
mov edx, ebp
add r13d, 1
shl rcx, 5
mov rcx, qword [rax + rcx + 8]
call sym.sqlite3SetJoinExpr
mov rax, qword [r12 + 0x20]
cmp r13d, dword [rax]
jl 0x1401eb212
jmp 0x1401ea44b
cmp dl, 2
jne 0x1401eb14c
mov rax, qword [rsp + 0x98]
test byte [rax + 0x33], 0x80
jne 0x1401eb272
mov rax, qword [rax + 0x20]
mov rax, qword [rax + 0x38]
cmp qword [rsi + 0x60], rax
je 0x1401eb272
mov r8, qword [rsi]
lea rdx, str.access_to_view___s__prohibited
mov rcx, rdi
call sym.sqlite3ErrorMsg
mov rdx, qword [rsi + 0x40]
mov rcx, qword [rsp + 0x98]
xor r8d, r8d
call sym.sqlite3SelectDup
mov qword [r15 + 0x28], rax
mov rdx, rax
jmp 0x1401eb150
add r14d, 1
add r13, 0x68
cmp ebx, r14d
jl 0x1401eac7a
mov rcx, qword [r13]
mov rdx, rbp
call sym.sqlite3ColumnIndex
mov r12d, eax
test eax, eax
js 0x1401eb292
movsxd r15, r14d
lea rax, [r15 + r15*2]
lea rax, [r15 + rax*4]
lea rax, [rdi + rax*8]
test byte [rax + 0x49], 0x20
je 0x1401eb2de
mov rdx, qword [rax + 0x30]
movsxd rax, r12d
shl rax, 5
add rax, qword [rdx + 0x20]
or byte [rax + 0x1c], 0x40
mov rcx, qword [rsp + 0x70]
mov r9d, r12d
mov r8d, r14d
mov rdx, rdi
call sym.sqlite3CreateColumnExpr
mov qword [rsp + 0x48], rax
lea rax, [r15 + r15*2]
lea rax, [r15 + rax*4]
lea rax, [rdi + rax*8]
test byte [rax + 0x49], 0x20
je 0x1401eb31b
mov rdx, qword [rax + 0x30]
movsxd rax, r12d
shl rax, 5
add rax, qword [rdx + 0x20]
or byte [rax + 0x1c], 0x40
test byte [rdi + 0x44], 0x40
jne 0x1401eb3f0
mov r14d, dword [rsp + 0x90]
mov r8d, dword [rsp + 0x64]
mov rdx, rdi
mov rcx, qword [rsp + 0x70]
mov r9d, r14d
mov ebx, r8d
call sym.sqlite3CreateColumnExpr
mov rbp, rax
mov rax, qword [rsp + 0x50]
test byte [rax + 0x41], 0x20
je 0x1401eb366
mov rdx, qword [rax + 0x28]
movsxd rax, r14d
shl rax, 5
add rax, qword [rdx + 0x20]
or byte [rax + 0x1c], 0x40
mov r14, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
mov r9, rbp
mov edx, 0x35
mov rcx, r14
call sym.sqlite3PExpr
mov r8, rax
test rax, rax
je 0x1401eb3da
mov eax, dword [rsp + 0xa0]
or dword [r8 + 4], eax
mov rcx, r14
mov eax, dword [rbp + 0x2c]
mov dword [r8 + 0x34], eax
mov rax, qword [rsp + 0x178]
mov rdx, qword [rax + 0x30]
call sym.sqlite3ExprAnd
mov rcx, qword [rsp + 0x178]
add qword [rsp + 0x78], 1
mov qword [rcx + 0x30], rax
mov rcx, qword [rsp + 0x88]
mov rax, qword [rsp + 0x78]
cmp dword [rcx], eax
jg 0x1401eabe8
jmp 0x1401ea49c
mov rax, qword [rsp + 0x178]
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
mov rdx, qword [rax + 0x30]
jmp 0x1401eb3a9
xor r12d, r12d
mov eax, dword [rsp + 0x64]
mov qword [rsp + 0x30], r12
lea ebx, [rax - 1]
mov rax, qword [rsp + 0x50]
add r14d, 1
movzx eax, byte [rax + 0x41]
mov byte [rsp + 0x68], al
shr al, 4
and eax, 1
cmp r14d, ebx
jg 0x1401eb46d
test al, al
lea rax, [r15 + r15*2]
lea rax, [r15 + rax*4]
lea r15, [rdi + rax*8]
je 0x1401eb4e7
nop
mov r12, qword [r15 + 0x90]
mov rdx, rbp
mov rcx, r12
call sym.sqlite3ColumnIndex
test eax, eax
js 0x1401eb460
mov rcx, qword [r12 + 8]
movsxd rdx, eax
lea rdx, [rdx + rdx*2]
lea rdx, [rcx + rdx*8]
test byte [rdx + 0x12], 2
je 0x1401eb653
add r14d, 1
add r15, 0x68
cmp r14d, ebx
jle 0x1401eb430
mov r12, qword [rsp + 0x30]
test r12, r12
je 0x1401eb325
movsxd rax, dword [r12]
cmp eax, dword [r12 + 4]
jge 0x1401eb9d3
lea edx, [rax + 1]
mov rbx, qword [rsp + 0x48]
shl rax, 5
add rax, r12
mov dword [r12], edx
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0
mov qword [rax + 0x20], 0
mov qword [rax + 8], rbx
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
lea r8, str.coalesce
mov rdx, r12
call sym.sqlite3ExprFunction
mov qword [rsp + 0x48], rax
jmp 0x1401eb325
add r14d, 1
add r15, 0x68
cmp ebx, r14d
jl 0x1401eb46d
mov rcx, qword [r15 + 0x90]
mov rdx, rbp
call sym.sqlite3ColumnIndex
mov r13d, eax
test eax, eax
js 0x1401eb4da
movsxd r15, r14d
lea rax, [r15 + r15*2]
lea rax, [r15 + rax*4]
lea rax, [rdi + rax*8]
test byte [rax + 0x49], 0x20
je 0x1401eb525
mov rdx, qword [rax + 0x30]
movsxd rax, r13d
shl rax, 5
add rax, qword [rdx + 0x20]
or byte [rax + 0x1c], 0x40
lea rax, [r15 + r15*2]
lea rax, [r15 + rax*4]
lea rax, [rdi + rax*8]
test byte [rax + 0x49], 4
je 0x1401eb635
mov rax, qword [rax + 0x50]
mov edx, dword [rax]
test edx, edx
jle 0x1401eb635
sub edx, 1
lea r10, [rax + 8]
shl rdx, 4
lea r11, [rax + rdx + 0x18]
nop dword [rax]
mov r8, qword [r10]
xor ecx, ecx
jmp 0x1401eb581
movzx edx, byte [rsi + rdx]
cmp byte [rsi + rax], dl
jne 0x1401eb628
add rcx, 1
movzx eax, byte [r8 + rcx]
movzx edx, byte [rbp + rcx]
cmp eax, edx
jne 0x1401eb570
test eax, eax
jne 0x1401eb57d
cmp qword [rsp + 0x30], 0
je 0x1401eb682
mov rcx, qword [rsp + 0x30]
movsxd rax, dword [rcx]
cmp eax, dword [rcx + 4]
jge 0x1401eb65b
lea edx, [rax + 1]
shl rax, 5
mov dword [rcx], edx
add rax, rcx
mov rcx, qword [rsp + 0x48]
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0
mov qword [rax + 0x20], 0
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0x70]
mov r9d, r13d
mov r8d, r14d
mov rdx, rdi
call sym.sqlite3CreateColumnExpr
mov qword [rsp + 0x48], rax
lea rax, [r15 + r15*2]
lea rax, [r15 + rax*4]
lea rax, [rdi + rax*8]
test byte [rax + 0x49], 0x20
je 0x1401eb3ff
mov rdx, qword [rax + 0x30]
movsxd rax, r13d
shl rax, 5
add rax, qword [rdx + 0x20]
or byte [rax + 0x1c], 0x40
jmp 0x1401eb3ff
add r10, 0x10
cmp r11, r10
jne 0x1401eb560
mov rcx, qword [rsp + 0x40]
mov r8, rbp
mov r12, qword [rsp + 0x30]
lea rdx, str.ambiguous_reference_to__s_in_USING__
call sym.sqlite3ErrorMsg
jmp 0x1401eb472
mov r13d, eax
jmp 0x1401eb4fd
mov rax, qword [rsp + 0x40]
mov rdx, rcx
mov r8, qword [rsp + 0x48]
mov rcx, qword [rax]
call sym.sqlite3ExprListAppendGrow
mov qword [rsp + 0x30], rax
jmp 0x1401eb5dd
mov r12d, eax
jmp 0x1401eb2b6
mov rax, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rax]
call sym.sqlite3ExprListAppendNew
mov qword [rsp + 0x30], rax
jmp 0x1401eb5dd
mov rbx, qword [rsp + 0x50]
test byte [rbx + 0x41], 4
jne 0x1401eba06
mov r12, qword [rbx + 0x48]
test r12, r12
jne 0x1401eba06
movzx ecx, word [rcx + 0x36]
mov ebx, dword [rsp + 0x64]
xor edx, edx
mov word [rsp + 0x30], cx
sub ebx, 1
test cx, cx
jle 0x1401eb1da
mov qword [rsp + 0x48], rdi
mov rbp, rdx
mov rdi, qword [rsp + 0x80]
lea rax, [rbp + rbp*2]
mov rdx, qword [rdi + 8]
lea rax, [rdx + rax*8]
test byte [rax + 0x12], 2
jne 0x1401eb743
mov r15, qword [rax]
mov rax, qword [rsp + 0x48]
xor r13d, r13d
lea rdi, [rax + 0x28]
nop word [rax + rax]
mov r14, qword [rdi]
mov rdx, r15
mov rcx, r14
call sym.sqlite3ColumnIndex
test eax, eax
js 0x1401eb736
mov rdx, qword [r14 + 8]
cdqe
lea rax, [rax + rax*2]
lea rax, [rdx + rax*8]
test byte [rax + 0x12], 2
je 0x1401eb780
add r13d, 1
add rdi, 0x68
cmp r13d, ebx
jle 0x1401eb710
movsx eax, word [rsp + 0x30]
add rbp, 1
cmp eax, ebp
jg 0x1401eb6dd
mov rdi, qword [rsp + 0x48]
test r12, r12
je 0x1401eb767
mov rax, qword [rsp + 0x50]
or byte [rax + 0x41], 0x14
mov qword [rax + 0x48], r12
mov rax, qword [rsp + 0x40]
mov r10d, dword [rax + 0x30]
test r10d, r10d
je 0x1401ea3f9
jmp 0x1401eacc4
mov rcx, qword [rsp + 0x40]
mov rdx, r12
xor r8d, r8d
call sym.sqlite3IdListAppend
mov r12, rax
test rax, rax
je 0x1401eb7bf
mov eax, dword [r12]
mov rdx, r15
lea r13d, [rax - 1]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call sym.sqlite3DbStrDup
mov r8, rax
movsxd rax, r13d
shl rax, 4
mov qword [r12 + rax + 8], r8
mov rax, qword [rsp + 0x80]
movzx eax, word [rax + 0x36]
mov word [rsp + 0x30], ax
jmp 0x1401eb743
mov r8, r14
lea rdx, str.multiple_references_to_recursive_table:__s
mov rcx, rdi
call sym.sqlite3ErrorMsg
mov dword [rsp + 0x58], 2
jmp 0x1401eac99
mov edx, 0x14
mov rcx, r14
call sym.sqlite3DbMallocZero
mov qword [rsi + 0x30], rax
mov rbx, rax
test rax, rax
je 0x1401ec42c
mov r8, rax
lea rdx, [sym.sqlite3DbFree]
mov rcx, rdi
call sym.sqlite3ParserAddCleanup
test rax, rax
je 0x1401ec42c
movzx eax, byte [rsi + 0x38]
mov byte [rbx + 0x12], al
jmp 0x1401eaee5
mov rcx, qword [rsp + 0x98]
mov edx, 0x40
call sym.sqlite3DbMallocZero
mov rbx, qword [rsp + 0x178]
mov qword [rbx + 0x68], rax
test rax, rax
jne 0x1401ea240
jmp 0x1401eacc4
mov rdx, qword [rsi + 0x50]
test rdx, rdx
je 0x1401eb14c
mov rax, qword [rsp + 0x98]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x30], rax
movzx eax, byte [rsp + 0x30]
shr al, 7
cmp byte [rdx + 0x1e], al
jbe 0x1401eb14c
mov r8, qword [rsi]
lea rdx, str.unsafe_use_of_virtual_table___s_
mov rcx, rdi
call sym.sqlite3ErrorMsg
jmp 0x1401eb14c
mov rax, qword [rsp + 0x30]
mov rcx, r12
mov ebp, dword [rsp + 0x64]
mov r12, qword [rsp + 0x68]
mov r11d, dword [rax + 4]
mov rax, qword [rsp + 0x40]
lea rbx, str.circular_reference:__s
lea rax, [rax + rax*2]
shl rax, 4
and r11d, 0x2000
mov qword [r12 + rax + 0x28], rbx
mov rax, qword [rsp + 0x170]
mov rbx, qword [rdi + 0x198]
mov qword [rdi + 0x198], r12
mov rax, qword [rax + 0x10]
je 0x1401ec407
mov rsi, qword [rsp + 0x30]
mov rdx, qword [rsi + 0x68]
mov rsi, rcx
mov qword [rcx + 0x68], rdx
test rax, rax
je 0x1401ec3fa
mov rdx, rcx
mov rcx, qword [rsp + 0x170]
call sym.sqlite3WalkSelect.part.0
mov qword [rsi + 0x68], 0
test eax, eax
jne 0x1401ec3ee
mov qword [rdi + 0x198], r12
mov rax, qword [rsp + 0x30]
mov rdx, rax
mov rax, qword [rax + 0x50]
test rax, rax
jne 0x1401eb948
mov rax, qword [rsp + 0x40]
mov rdx, qword [rdx + 0x20]
lea rax, [rax + rax*2]
shl rax, 4
add rax, r12
mov r10, qword [rax + 0x18]
test r10, r10
je 0x1401ec3cf
test rdx, rdx
je 0x1401eb989
mov r9d, dword [rdx]
mov edx, dword [r10]
cmp r9d, edx
jne 0x1401ec3d7
mov rax, qword [rsp + 0x48]
mov rdx, r10
mov rcx, rdi
lea r9, [rax + 8]
lea r8, [rax + 0x36]
call sym.sqlite3ColumnsFromExprList.isra.0
cmp byte [rsp + 0x78], 1
jbe 0x1401ec451
mov rax, qword [rsp + 0x40]
lea rax, [rax + rax*2]
shl rax, 4
mov qword [r12 + rax + 0x28], 0
movzx eax, byte [r15 + 0x40]
mov qword [rdi + 0x198], rbx
jmp 0x1401ea34e
mov rax, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
mov rdx, r12
mov rcx, qword [rax]
call sym.sqlite3ExprListAppendGrow
mov r12, rax
jmp 0x1401eb4b9
mov ebx, r11d
and ebx, 0x2000
jmp 0x1401eb099
mov rcx, rax
jmp 0x1401eb8c3
mov rdi, qword [rsp + 0x40]
xor r8d, r8d
lea rdx, str.a_NATURAL_join_may_not_have_an_ON_or_USING_clause
mov rcx, rdi
call sym.sqlite3ErrorMsg
mov dword [rsp + 0x58], 2
jmp 0x1401eac99
mov r8, qword [r15 + 0x58]
lea rdx, str.no_such_index:___s_
mov rcx, rdi
call sym.sqlite3ErrorMsg
mov dword [rsp + 0x58], 2
jmp 0x1401eac99
cmp byte [rsp + 0xc3], 0
je 0x1401eaadf
mov ecx, dword [rsp + 0x48]
test ecx, ecx
jne 0x1401eaadf
mov rax, qword [rsp + 0x40]
test byte [rax + 0x41], 4
je 0x1401eaadf
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 0x48]
mov eax, dword [rdx]
test eax, eax
jle 0x1401eaadf
sub eax, 1
lea r9, [rdx + 8]
shl rax, 4
lea r10, [rdx + rax + 0x18]
mov r8, qword [r9]
xor ecx, ecx
jmp 0x1401ebab9
movzx edx, byte [r13 + rdx]
cmp byte [r13 + rax], dl
jne 0x1401ebad8
add rcx, 1
movzx eax, byte [r8 + rcx]
movzx edx, byte [r15 + rcx]
cmp eax, edx
jne 0x1401ebaa8
test eax, eax
jne 0x1401ebab5
mov dword [rsp + 0x78], 1
jmp 0x1401eaa2b
add r9, 0x10
cmp r10, r9
jne 0x1401eba9c
jmp 0x1401eaae8
lea rax, [0x1403312cd]
movups xmmword [rsp + 0xf0], xmm6
xor r15d, r15d
mov qword [rsp + 0x100], rax
mov dword [rsp + 0xa0], r15d
xor r10d, r10d
test ebp, ebp
je 0x1401ebb63
mov rax, qword [rsp + 0x30]
mov r9, qword [rsp + r15*8 + 0xf0]
xor r10d, r10d
mov r11, qword [rax + 8]
nop dword [rax + rax]
mov r8, qword [r11]
test r9, r9
je 0x1401ebb77
test r8, r8
je 0x1401ebb80
xor ecx, ecx
jmp 0x1401ebb51
movzx edx, byte [r13 + rdx]
cmp byte [r13 + rax], dl
jne 0x1401ebb80
add rcx, 1
movzx eax, byte [r9 + rcx]
movzx edx, byte [r8 + rcx]
cmp eax, edx
jne 0x1401ebb40
test eax, eax
jne 0x1401ebb4d
cmp ebp, r10d
je 0x1401ebb8d
add r15, 1
cmp r15, 3
jne 0x1401ebb00
jmp 0x1401eaa2b
test r8, r8
je 0x1401ebb63
nop dword [rax]
add r10d, 1
add r11, 0x18
cmp ebp, r10d
jne 0x1401ebb28
movsxd rax, dword [rsp + 0xa0]
mov r15, qword [rsp + rax*8 + 0xf0]
test r15, r15
je 0x1401eaa2b
cmp byte [rsp + 0xc3], 0
je 0x1401eaae8
mov eax, dword [rsp + 0x48]
test eax, eax
jne 0x1401eaae8
mov rax, qword [rsp + 0x40]
test byte [rax + 0x41], 4
je 0x1401eaae8
jmp 0x1401eba79
mov r8, qword [rsp + 0x88]
mov r9, r15
lea rdx, str._s._s
mov rcx, rdi
call sym.sqlite3MPrintf
mov r10, qword [rsp + 0x78]
mov dword [rsp + 0x78], 1
mov r8, rax
mov rax, r10
shl rax, 5
add rax, r12
and byte [rax + 0x1c], 0xfc
mov qword [rax + 0x10], r8
jmp 0x1401eaa2b
mov rax, qword [r14 + 0x1a0]
test rax, rax
je 0x1401ea8ba
mov r10, qword [rsp + 0x78]
jmp 0x1401ebc3d
mov rax, qword [rax + 0x18]
test rax, rax
je 0x1401ea8ba
cmp rdx, qword [rax]
jne 0x1401ebc30
mov qword [rax], r10
jmp 0x1401ea8ba
mov r9d, 0xffffffff
lea rcx, [rax + 0x48]
mov qword [rax + 0x30], 0
mov word [rax + 0x32], r9w
movsxd r9, r8d
mov qword [rax], 0
add r9, rcx
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0
mov qword [rax + 0x20], 0
mov qword [rax + 0x28], 0
mov qword [rax + 0x38], 0
mov qword [rax + 0x40], 0
mov byte [rax], 0x3b
mov qword [rax + 8], rcx
test r8d, r8d
je 0x1401ebcc3
and r8d, 0x3fffffff
mov rdx, r15
mov qword [rsp + 0x78], r9
call sym.memcpy
mov r9, qword [rsp + 0x78]
mov byte [r9], 0
mov dword [rbp + 0x28], 1
jmp 0x1401eab1c
mov rcx, qword [r14]
mov rdx, r12
mov r8, rbp
call sym.sqlite3ExprListAppendGrow
mov r12, rax
test r12, r12
je 0x1401ebf2b
mov eax, dword [r12]
lea r10d, [rax - 1]
movsxd r10, r10d
jmp 0x1401ea9d7
cmp qword [rsp + 0x68], 0
mov qword [rsp + 0x78], r10
je 0x1401ec0f9
mov rax, qword [rsp + 0x50]
mov rcx, rdi
mov rdx, qword [rax + 8]
call sym.sqlite3DbStrDup
mov r10, qword [rsp + 0x78]
mov r8, rax
mov rax, r10
mov rdx, r10
shl rax, 5
mov qword [r12 + rax + 0x10], r8
mov rax, qword [rsp + 0x30]
movsx ebp, word [rax + 0x36]
cmp ebp, ebx
sete al
shl rdx, 5
add eax, 2
lea rcx, [r12 + rdx + 0x10]
and eax, 3
mov edx, eax
movzx eax, byte [rcx + 0xc]
and eax, 0xfffffffc
or eax, edx
mov byte [rcx + 0xc], al
mov rax, qword [rsp + 0x40]
test byte [rax + 0x41], 4
jne 0x1401ec07c
cmp qword [rsp + 0x90], 0
je 0x1401ebdf3
mov rax, qword [rsp + 0x90]
mov eax, dword [rax]
test eax, eax
jle 0x1401ebdf3
mov rcx, qword [rsp + 0x90]
sub eax, 1
shl rax, 4
lea r9, [rcx + 8]
lea r11, [rcx + rax + 0x18]
mov r8, qword [r9]
xor ecx, ecx
jmp 0x1401ebdc1
movzx edx, byte [r13 + rdx]
cmp byte [r13 + rax], dl
jne 0x1401ebdea
add rcx, 1
movzx eax, byte [r8 + rcx]
movzx edx, byte [r15 + rcx]
cmp eax, edx
jne 0x1401ebdb0
test eax, eax
jne 0x1401ebdbd
shl r10, 5
or byte [r12 + r10 + 0x1d], 1
mov dword [rsp + 0x78], 1
jmp 0x1401eaa2b
add r9, 0x10
cmp r11, r9
jne 0x1401ebda1
mov dword [rsp + 0x78], 1
cmp ebp, ebx
jle 0x1401eaa2b
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 8]
test byte [rax + rsi + 0x13], 4
je 0x1401eaa2b
jmp 0x1401ebdd3
mov edx, 0x49
mov rcx, rdi
call sym.sqlite3DbMallocRawNN
mov rbp, rax
test rax, rax
je 0x1401eab1c
mov edx, 0xffffffff
lea r9, [rbp + 0x48]
mov qword [rbp], 0
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x10], 0
mov qword [rbp + 0x18], 0
mov qword [rbp + 0x20], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x40], 0
mov byte [rbp], 0x3b
mov word [rbp + 0x32], dx
mov qword [rbp + 8], r9
jmp 0x1401ebcc3
lea rcx, [rax + 0x48]
mov r11d, 0xffffffff
movsxd r9, r8d
mov qword [rax], 0
mov qword [rax + 0x30], 0
add r9, rcx
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0
mov qword [rax + 0x20], 0
mov qword [rax + 0x28], 0
mov qword [rax + 0x38], 0
mov qword [rax + 0x40], 0
mov byte [rax], 0x3b
mov word [rax + 0x32], r11w
mov qword [rax + 8], rcx
test r8d, r8d
je 0x1401ebf1a
mov rdx, qword [rsp + 0x88]
and r8d, 0x3fffffff
mov qword [rsp + 0x78], r10
mov qword [rsp + 0xa0], r9
call sym.memcpy
mov r9, qword [rsp + 0xa0]
mov r10, qword [rsp + 0x78]
mov byte [r9], 0
mov dword [r10 + 0x28], 1
jmp 0x1401ea880
mov dword [rsp + 0x78], 1
mov rax, qword [rsp + 0x38]
mov r8d, dword [rax]
add qword [rsp + 0x40], 0x68
add dword [rsp + 0xd0], 1
cmp r8d, dword [rsp + 0xe8]
jg 0x1401ea6b3
mov ebx, dword [rsp + 0x78]
mov rsi, qword [rsp + 0xd8]
test ebx, ebx
jne 0x1401ea60c
mov r8, qword [rsp + 0x70]
test r8, r8
je 0x1401ec394
lea rdx, str.no_such_table:__s
mov rcx, rsi
call sym.sqlite3ErrorMsg
jmp 0x1401ea60c
mov r8d, dword [rsp + 0x48]
test r8d, r8d
jne 0x1401eaadf
jmp 0x1401eaa2b
sub eax, dword [rsp + 0xec]
cmp eax, 1
jle 0x1401ea83b
sub eax, 2
mov r10, rcx
add rax, 1
lea rdx, [rax + rax*2]
lea rax, [rax + rdx*4]
lea rax, [rcx + rax*8]
mov qword [rsp + 0x78], rax
mov rax, r10
add r10, 0x68
test byte [rax + 0xa9], 4
je 0x1401ec059
mov rax, qword [r10 + 0x48]
test rax, rax
je 0x1401ec059
mov edx, dword [rax]
test edx, edx
jle 0x1401ec059
sub edx, 1
lea r9, [rax + 8]
shl rdx, 4
lea r11, [rax + rdx + 0x18]
nop dword [rax]
mov r8, qword [r9]
xor ecx, ecx
jmp 0x1401ec021
movzx edx, byte [r13 + rdx]
cmp byte [r13 + rax], dl
jne 0x1401ec050
add rcx, 1
movzx eax, byte [r8 + rcx]
movzx edx, byte [r15 + rcx]
cmp eax, edx
jne 0x1401ec010
test eax, eax
jne 0x1401ec01d
cmp byte [r14 + 0x134], 1
ja 0x1401eab3a
jmp 0x1401ea97c
add r9, 0x10
cmp r11, r9
jne 0x1401ec000
cmp r10, qword [rsp + 0x78]
jne 0x1401ebfce
jmp 0x1401ea83b
mov rcx, qword [r14]
mov rdx, rbp
call sym.sqlite3ExprListAppendNew
mov r12, rax
jmp 0x1401ebce4
mov rdx, qword [rax + 0x48]
mov eax, dword [rdx]
test eax, eax
jle 0x1401ebd70
sub eax, 1
lea r9, [rdx + 8]
shl rax, 4
lea r11, [rdx + rax + 0x18]
mov r8, qword [r9]
xor ecx, ecx
jmp 0x1401ec0b9
movzx edx, byte [r13 + rdx]
cmp byte [r13 + rax], dl
jne 0x1401ec0d0
add rcx, 1
movzx eax, byte [r8 + rcx]
movzx edx, byte [r15 + rcx]
cmp eax, edx
jne 0x1401ec0a8
test eax, eax
jne 0x1401ec0b5
jmp 0x1401ebdd3
add r9, 0x10
cmp r11, r9
jne 0x1401ec09a
jmp 0x1401ebd70
mov rsi, qword [rbx]
jmp 0x1401ea6df
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0xe8], eax
jmp 0x1401ebf3b
mov qword [rsp + 0x20], r15
mov r9, qword [rsp + 0x88]
mov rcx, rdi
lea rdx, str._s._s._s
mov r8, qword [rsp + 0x80]
call sym.sqlite3MPrintf
jmp 0x1401ebd1f
mov qword [rsp + 0x80], 0
mov rax, qword [rax + 0x28]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x68], rax
jmp 0x1401ea772
mov r8d, r9d
mov rdx, qword [rsp + 0x80]
mov qword [rsp + 0xa0], r10
and r8d, 0x3fffffff
call sym.memcpy
mov r10, qword [rsp + 0xa0]
movsxd r9, dword [rsp + 0x78]
jmp 0x1401ea958
mov rcx, qword [rsp + 0x98]
mov rdx, rbx
mov rbp, r12
mov rdi, rsi
call sym.exprListDeleteNN
mov rax, qword [rsp + 0x178]
mov qword [rax + 0x20], r12
test rbp, rbp
je 0x1401eac99
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x90]
cmp dword [rbp], eax
jg 0x1401ec378
test dword [rsp + 0xc4], 0x400008
je 0x1401eac99
mov rax, qword [rsp + 0x178]
or dword [rax + 4], 0x40000
jmp 0x1401eac99
mov rax, qword [rax + 0xb0]
mov r11d, dword [rax]
mov qword [rsp + 0x90], rax
test r11d, r11d
jle 0x1401ea7ab
xor ebp, ebp
lea r14, [rsp + 0xf0]
lea r15, str..._s
mov rax, rbp
mov rbp, rsi
mov rsi, rax
mov rbx, qword [rsp + 0x90]
mov rax, rsi
shl rax, 4
mov rbx, qword [rbx + rax + 8]
mov qword [rsp + 0xf0], rbx
test rbx, rbx
je 0x1401ec2f3
mov rcx, rbx
call sym.strlen
and eax, 0x3fffffff
mov r8, r14
xor r9d, r9d
mov edx, 0x3b
mov rcx, rdi
mov dword [rsp + 0xf8], eax
call sym.sqlite3ExprAlloc
mov r8, rax
test rax, rax
je 0x1401ec272
test byte [rax + 4], 3
jne 0x1401ec272
mov eax, dword [rsp + 0xb0]
mov dword [r8 + 0x34], eax
mov rcx, qword [rsp + 0xd8]
mov rdx, r12
call sym.sqlite3ExprListAppend
mov r12, rax
test rax, rax
je 0x1401ec2d7
mov eax, dword [rax]
mov r8, rbx
mov rdx, r15
mov rcx, rdi
add rsi, 1
sub eax, 1
mov dword [rsp + 0x50], eax
call sym.sqlite3MPrintf
mov r8, rax
movsxd rax, dword [rsp + 0x50]
shl rax, 5
add rax, r12
movzx edx, byte [rax + 0x1c]
mov qword [rax + 0x10], r8
and edx, 0x7c
or edx, 0xffffff82
mov byte [rax + 0x1c], dl
mov rax, qword [rsp + 0x90]
cmp dword [rax], esi
jg 0x1401ec20d
jmp 0x1401ec2eb
mov rax, qword [rsp + 0x90]
add rsi, 1
cmp dword [rax], esi
jg 0x1401ec20d
mov rsi, rbp
jmp 0x1401ea7ab
xor eax, eax
jmp 0x1401ec23f
mov rax, qword [rsp + 0x178]
mov dword [rsp + 0xc4], r9d
mov rbp, qword [rax + 0x20]
jmp 0x1401ec193
mov rbx, qword [rsp + 0xa8]
mov eax, dword [rax + 0x34]
mov rdx, qword [rbx + 0x10]
mov dword [rsp + 0xb0], eax
mov rax, qword [rsp + 0x38]
mov rbx, qword [rdx + 8]
mov r8d, dword [rax]
mov qword [rsp + 0x70], rbx
test r8d, r8d
jg 0x1401ea68b
jmp 0x1401ebf6b
mov rax, qword [rsp + 0x178]
mov dword [rsp + 0xc4], 0
mov rbp, qword [rax + 0x20]
jmp 0x1401ec193
lea rax, [0x140332b94]
mov qword [rsp + 0x80], rax
jmp 0x1401ea772
lea rdx, str.too_many_columns_in_result_set
mov rcx, rdi
call sym.sqlite3ErrorMsg
mov dword [rsp + 0x58], 2
jmp 0x1401eac99
lea rdx, str.no_tables_specified
mov rcx, rsi
call sym.sqlite3ErrorMsg
jmp 0x1401ea60c
mov r8, qword [rsi]
lea rdx, str.too_many_references_to___s_:_max_65535
mov rcx, rdi
call sym.sqlite3ErrorMsg
mov qword [r15 + 0x20], 0
mov dword [rsp + 0x58], 2
jmp 0x1401eac99
mov r10, rdx
jmp 0x1401eb989
mov dword [rsp + 0x20], edx
mov r8, qword [rax + 0x10]
mov rcx, rdi
lea rdx, str.table__s_has__d_values_for__d_columns
call sym.sqlite3ErrorMsg
mov qword [rdi + 0x198], rbx
jmp 0x1401eacc4
mov qword [rcx + 0x68], 0
jmp 0x1401eb93c
test rax, rax
je 0x1401eb93c
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x170]
call sym.sqlite3WalkSelect.part.0
test eax, eax
je 0x1401eb93c
jmp 0x1401ec3ee
mov rdx, qword [rsp + 0x48]
mov rcx, r14
call sym.sqlite3DbFreeNN
mov dword [rsp + 0x58], 2
jmp 0x1401eac99
mov ebx, dword [rsp + 0x64]
mov eax, dword [rdi]
jmp 0x1401ea49e
mov rsi, qword [rsp + 0x30]
lea rax, str.recursive_reference_in_a_subquery:__s
lea rdx, str.multiple_recursive_references:__s
test byte [rsi + 5], 0x20
cmove rdx, rax
mov rax, qword [rsp + 0x40]
lea rax, [rax + rax*2]
shl rax, 4
mov qword [r12 + rax + 0x28], rdx
mov rax, qword [rsp + 0x170]
cmp qword [rax + 0x10], 0
je 0x1401eb9ac
mov rdx, rsi
mov rcx, rax
call sym.sqlite3WalkSelect.part.0
jmp 0x1401eb9ac