Function at 0x1401ccd30
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, 0xc8
xor ebp, ebp
xor r12d, r12d
mov rax, qword [rcx + 0x10]
mov r14, rdx
mov rbx, rcx
mov edx, 0xf
mov rcx, rax
mov rdi, r9
mov qword [rsp + 0x90], r8
mov qword [rsp + 0x48], rax
call sym.sqlite3VdbeAddOp0
movzx esi, byte [rdi + 0x40]
xor r11d, r11d
mov r15, qword [rdi + 0x60]
mov dword [rsp + 0x9c], eax
mov rax, qword [r14]
movzx edx, sil
mov dword [rsp + 0x70], esi
mov rax, qword [rax + 8]
imul rdx, rdx, 0x68
mov qword [rsp + 0x58], r11
mov byte [rsp + 0x68], 0
mov qword [rsp + 0x50], rax
mov rsi, qword [rsp + 0x50]
lea rsi, [rsi + rdx + 8]
mov qword [rsp + 0x80], rsi
mov rsi, qword [rsp + 0x50]
mov rax, qword [rsi + rdx + 0x28]
mov rsi, qword [r14 + 0x20]
mov qword [rsp + 0x60], rax
movsxd rax, dword [r14 + 0x14]
imul rax, rax, 0x38
add rax, rsi
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
cmp rsi, rax
jae 0x1401cced8
test byte [rsi + 0x12], 2
jne 0x1401cce2e
mov r13, qword [rsi]
movzx r8d, byte [rdi + 0x40]
mov rdx, qword [rsp + 0x50]
mov rcx, r13
call sym.sqlite3ExprIsSingleTableConstraint
test eax, eax
je 0x1401cce2e
mov rcx, qword [rbx]
xor r8d, r8d
mov rdx, r13
call sym.sqlite3ExprDup
mov rdx, qword [rsp + 0x58]
mov rcx, rbx
mov r8, rax
call sym.sqlite3ExprAnd
mov qword [rsp + 0x58], rax
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x80]
mov rcx, rsi
call sym.termCanDriveIndex
test eax, eax
je 0x1401ccecf
movabs r13, 0x8000000000000000
movsxd rcx, dword [rsi + 0x20]
cmp ecx, 0x3f
jg 0x1401cce6a
mov r13d, 1
shl r13, cl
cmp byte [rsp + 0x68], 0
jne 0x1401cce95
mov rax, qword [rsp + 0x60]
imul rcx, rcx, 0x18
lea rdx, str.automatic_index_on__s__s_
add rcx, qword [rax + 8]
mov r8, qword [rax]
mov r9, qword [rcx]
mov ecx, 0x11c
call sym.sqlite3_log
mov byte [rsp + 0x68], 1
test rbp, r13
jne 0x1401ccecf
mov rcx, qword [rbx]
lea r8d, [r12 + 1]
mov rdx, r15
mov dword [rsp + 0x74], r8d
call sym.whereLoopResize
test eax, eax
jne 0x1401cd396
mov rax, qword [r15 + 0x48]
mov r8d, dword [rsp + 0x74]
or rbp, r13
mov qword [rax + r12*8], rsi
movsxd r12, r8d
add rsi, 0x38
jmp 0x1401ccddb
movsxd rax, dword [rsp + 0x70]
mov rsi, qword [rsp + 0x50]
mov word [r15 + 0x3c], r12w
mov word [r15 + 0x18], r12w
imul rax, rax, 0x68
mov dword [r15 + 0x38], 0x4241
mov qword [rsp + 0x68], 0xffffffffffffffff
mov r8, qword [rsi + rax + 0x58]
mov rax, qword [rsp + 0x60]
cmp byte [rax + 0x3f], 2
je 0x1401ccf21
not rbp
bts rbp, 0x3f
and rbp, r8
mov qword [rsp + 0x68], rbp
mov rax, qword [rsp + 0x60]
mov edx, 0x3f
movsx eax, word [rax + 0x36]
cmp ax, dx
cmovle edx, eax
xor ecx, ecx
movsx esi, dx
mov dword [rsp + 0x98], esi
mov esi, dword [rsp + 0x98]
cmp ecx, esi
jge 0x1401ccf5e
mov rdx, qword [rsp + 0x68]
shr rdx, cl
inc ecx
and edx, 1
add r12d, edx
jmp 0x1401ccf41
test r8, r8
jns 0x1401ccf68
lea r12d, [r12 + rax - 0x3f]
mov rcx, qword [rbx]
lea edx, [r12 + 1]
lea r9, [rsp + 0xb8]
xor r8d, r8d
movsx edx, dx
call sym.sqlite3AllocateIndexObject
mov rbp, rax
test rax, rax
je 0x1401cd396
mov qword [r15 + 0x20], rax
lea rax, str.auto_index
xor r10d, r10d
xor esi, esi
mov qword [rbp], rax
mov rax, qword [rsp + 0x60]
mov byte [rsp + 0x74], 0
mov r13, qword [r14 + 0x20]
mov qword [rbp + 0x18], rax
mov qword [rsp + 0x78], r10
mov rax, qword [rsp + 0x88]
cmp r13, rax
jae 0x1401cd088
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x80]
mov rcx, r13
call sym.termCanDriveIndex
test eax, eax
je 0x1401cd07f
mov ecx, dword [r13 + 0x20]
mov eax, 1
shl rax, 0x3f
cmp ecx, 0x3f
jg 0x1401cd005
mov eax, 1
shl rax, cl
test qword [rsp + 0x78], rax
jne 0x1401cd07f
or qword [rsp + 0x78], rax
mov rax, qword [rbp + 8]
movsxd r8, esi
mov rdx, qword [r13]
mov qword [rsp + 0xa8], r8
mov word [rax + r8*2], cx
mov rcx, rbx
mov qword [rsp + 0xa0], rdx
call sym.sqlite3ExprCompareCollSeq
mov rdx, qword [rsp + 0xa0]
mov r8, qword [rsp + 0xa8]
lea rcx, str.BINARY
test rax, rax
je 0x1401cd058
mov rcx, qword [rax]
mov rax, qword [rbp + 0x40]
inc esi
mov qword [rax + r8*8], rcx
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x1401cd07f
call sym.sqlite3ExprAffinity
mov cl, byte [rsp + 0x74]
cmp al, 0x42
mov al, 1
cmovne ecx, eax
mov byte [rsp + 0x74], cl
add r13, 0x38
jmp 0x1401ccfba
mov rcx, qword [rbp + 8]
mov rdx, qword [rbp + 0x40]
xor eax, eax
lea r9, str.BINARY
mov r11d, dword [rsp + 0x98]
cmp eax, r11d
jge 0x1401cd0c3
mov r11, qword [rsp + 0x68]
bt r11, rax
jae 0x1401cd0bf
movsxd r8, esi
inc esi
mov word [rcx + r8*2], ax
mov qword [rdx + r8*8], r9
inc eax
jmp 0x1401cd099
movsxd rax, dword [rsp + 0x70]
mov r10, qword [rsp + 0x50]
imul rax, rax, 0x68
cmp qword [r10 + rax + 0x58], 0
jns 0x1401cd106
movsxd rsi, esi
mov eax, 0x3f
lea r9, str.BINARY
mov r11, qword [rsp + 0x60]
movsx r8d, word [r11 + 0x36]
cmp r8d, eax
jle 0x1401cd106
mov word [rcx + rsi*2], ax
inc eax
mov qword [rdx + rsi*8], r9
inc rsi
jmp 0x1401cd0e8
mov r8d, dword [rbx + 0x34]
movsxd rax, esi
lea r9d, [r12 + 1]
mov word [rcx + rax*2], 0xffff
lea rcx, str.BINARY
mov qword [rdx + rax*8], rcx
lea eax, [r8 + 1]
mov rcx, qword [rsp + 0x48]
mov edx, 0x74
mov dword [rbx + 0x34], eax
mov dword [rdi + 8], r8d
call sym.sqlite3VdbeAddOp2
mov rdx, rbp
mov rcx, rbx
call sym.sqlite3VdbeSetP4KeyInfo
mov rax, qword [rbx]
test byte [rax + 0x62], 8
jne 0x1401cd18e
test byte [rsp + 0x74], 1
je 0x1401cd18e
mov rax, qword [r14]
mov r8, rdi
mov rcx, rbx
mov rdx, qword [rax + 8]
call sym.sqlite3WhereExplainBloomFilter.isra.0
mov eax, dword [rbx + 0x38]
mov rcx, qword [rsp + 0x48]
mov r8d, 0x2710
mov edx, 0x4d
lea r9d, [rax + 1]
mov dword [rbx + 0x38], r9d
mov dword [rdi + 0x34], r9d
call sym.sqlite3VdbeAddOp2
movsxd r13, dword [rsp + 0x70]
mov rax, qword [rsp + 0x50]
imul r13, r13, 0x68
add r13, rax
test byte [r13 + 0x48], 0x20
je 0x1401cd1f7
mov rcx, qword [rsp + 0x48]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x47
mov r12d, dword [r13 + 0x3c]
call sym.sqlite3VdbeAddOp2
mov rcx, qword [rsp + 0x48]
xor r9d, r9d
mov edx, 0xb
mov dword [rsp + 0x60], eax
mov eax, dword [r13 + 0x38]
mov r8d, r12d
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp3
mov rcx, qword [rsp + 0x48]
mov r8d, r12d
mov edx, 0xc
call sym.sqlite3VdbeAddOp1
mov r12d, eax
jmp 0x1401cd215
mov r8d, dword [rdi + 4]
mov rcx, qword [rsp + 0x48]
mov edx, 0x24
call sym.sqlite3VdbeAddOp1
xor r9d, r9d
mov dword [rsp + 0x60], r9d
mov r12d, eax
xor r13d, r13d
cmp qword [rsp + 0x58], 0
je 0x1401cd249
mov eax, dword [rbx + 0x44]
mov rdx, qword [rsp + 0x58]
mov r9d, 0x10
mov rcx, rbx
lea r13d, [rax - 1]
mov dword [rbx + 0x44], r13d
mov r8d, r13d
call sym.sqlite3ExprIfFalse
or dword [r15 + 0x38], 0x20000
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sym.sqlite3GetTempReg
mov qword [rsp + 0x30], rdx
mov r14d, eax
xor eax, eax
mov qword [rsp + 0x28], rdx
mov rdx, rbp
mov dword [rsp + 0x38], eax
mov r9d, r14d
mov dword [rsp + 0x20], r8d
mov r8d, dword [rdi + 4]
call sym.sqlite3GenerateIndexKey
mov r8d, dword [rdi + 0x34]
mov ebp, eax
test r8d, r8d
je 0x1401cd2a7
movzx eax, word [r15 + 0x18]
mov dword [rsp + 0x20], ebp
xor r9d, r9d
mov edx, 0xb5
mov rcx, qword [rsp + 0x48]
mov dword [rsp + 0x28], eax
call sym.sqlite3VdbeAddOp4Int
mov rcx, qword [rsp + 0x48]
mov r8d, dword [rdi + 8]
mov edx, 0x8a
mov r9d, r14d
call sym.sqlite3VdbeAddOp2
mov rcx, qword [rsp + 0x48]
mov edx, 0x10
call sym.sqlite3VdbeChangeP5
cmp qword [rsp + 0x58], 0
je 0x1401cd2e1
mov rcx, qword [rsp + 0x48]
mov edx, r13d
call sym.sqlite3VdbeResolveLabel
movsxd r9, dword [rsp + 0x70]
mov rax, qword [rsp + 0x50]
mov r8d, dword [rdi + 4]
imul r9, r9, 0x68
add rax, r9
mov r9, rax
lea r13, [rax + 0x30]
test byte [rax + 0x48], 0x20
je 0x1401cd34a
mov edx, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
mov dword [rsp + 0x50], r8d
add ebp, esi
call sym.sqlite3VdbeGetOp
mov r8d, dword [rsp + 0x50]
mov edx, r12d
mov rcx, rbx
mov dword [rax + 8], ebp
mov eax, dword [rdi + 8]
mov dword [rsp + 0x20], eax
mov r9d, dword [r9 + 0x40]
call sym.translateColumnToCopy
mov rcx, qword [rsp + 0x48]
mov edx, r12d
call sym.sqlite3VdbeGoto
and byte [r13 + 0x18], 0xdf
jmp 0x1401cd36d
mov rcx, qword [rsp + 0x48]
mov edx, 0x27
lea r9d, [r12 + 1]
call sym.sqlite3VdbeAddOp2
mov rcx, qword [rsp + 0x48]
mov edx, 3
call sym.sqlite3VdbeChangeP5
mov rcx, qword [rsp + 0x48]
mov edx, r12d
call sym.sqlite3VdbeJumpHere
mov edx, r14d
mov rcx, rbx
call sym.sqlite3ReleaseTempReg
mov edx, dword [rsp + 0x9c]
mov rcx, qword [rsp + 0x48]
call sym.sqlite3VdbeJumpHere
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rbx]
add rsp, 0xc8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sym.sqlite3ExprDelete