Function at 0x1401c8540
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
mov rax, qword [rcx + 0x10]
mov esi, dword [rax + 0x90]
mov qword [rsp + 0x118], rdx
mov r14, rcx
mov rbp, r8
mov qword [rsp + 0x128], r9
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x88], esi
cmp esi, dword [rax + 0x94]
jge 0x1401c8fc0
mov esi, dword [rsp + 0x88]
mov rbx, qword [rsp + 0x58]
lea eax, [rsi + 1]
mov dword [rbx + 0x90], eax
movsxd rax, esi
lea rdx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rax, [rax + rdx*8]
mov qword [rax], 0xf
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
mov rax, qword [rsp + 0x118]
mov rax, qword [rax]
mov rsi, qword [rax + 8]
mov rax, qword [rsp + 0x128]
movzx eax, byte [rax + 0x40]
mov qword [rsp + 0x48], rsi
mov rdx, rax
lea rcx, [rax + rax*2]
movzx edi, dl
lea rax, [rax + rcx*4]
lea r13, [rsi + rax*8 + 8]
lea rax, [rdi + rcx*4]
mov qword [rsp + 0x70], rdi
mov rax, qword [rsi + rax*8 + 0x28]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x118]
movsxd rdx, dword [rax + 0x14]
mov r15, qword [rax + 0x20]
lea rax, [rdx*8]
sub rax, rdx
lea r12, [r15 + rax*8]
mov rax, qword [rsp + 0x128]
mov rax, qword [rax + 0x60]
mov qword [rsp + 0x78], rax
cmp r15, r12
jae 0x1401c9121
mov qword [rsp + 0x110], r14
xor edi, edi
mov r14, r15
xor esi, esi
mov qword [rsp + 0x50], 0
xor ebx, ebx
mov r15, rax
jmp 0x1401c8706
mov r8, rbp
mov rdx, r13
mov rcx, r14
call sym.termCanDriveIndex
test eax, eax
je 0x1401c86f9
movsxd rcx, dword [r14 + 0x20]
mov r11d, 1
movabs rax, 0x8000000000000000
shl r11, cl
cmp ecx, 0x40
cmovge r11, rax
test dil, dil
je 0x1401c8d78
test r11, rsi
jne 0x1401c8788
movzx eax, word [r15 + 0x40]
lea edi, [rbx + 1]
cmp edi, eax
jle 0x1401c86e6
mov rax, qword [rsp + 0x110]
mov r8d, edi
mov rdx, r15
mov qword [rsp + 0x60], r11
mov rcx, qword [rax]
call sym.whereLoopResize.part.0
mov r11, qword [rsp + 0x60]
test eax, eax
jne 0x1401c9077
mov rax, qword [r15 + 0x48]
or rsi, r11
mov qword [rax + rbx*8], r14
movsxd rbx, edi
mov edi, 1
add r14, 0x38
cmp r12, r14
jbe 0x1401c879a
test byte [r14 + 0x12], 2
jne 0x1401c8670
mov rax, qword [rsp + 0x128]
mov r11, qword [r14]
xor r9d, r9d
mov rdx, qword [rsp + 0x48]
movzx r8d, byte [rax + 0x40]
mov rcx, r11
mov qword [rsp + 0x60], r11
call dbg.sqlite3ExprIsSingleTableConstraint
test eax, eax
je 0x1401c8670
mov r11, qword [rsp + 0x60]
test r11, r11
je 0x1401c8764
mov rax, qword [rsp + 0x110]
mov rdx, r11
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rax]
call dbg.exprDup
mov r11, rax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x110]
mov r8, r11
call dbg.sqlite3ExprAnd
mov qword [rsp + 0x50], rax
jmp 0x1401c8670
add r14, 0x38
mov edi, 1
cmp r12, r14
ja 0x1401c8706
mov r14, qword [rsp + 0x110]
mov eax, ebx
not rsi
mov rdi, qword [rsp + 0x78]
mov word [rdi + 0x3c], ax
mov word [rdi + 0x18], ax
mov dword [rdi + 0x38], 0x4241
mov rdi, qword [rsp + 0x70]
lea rax, [rdi + rdi*2]
lea rax, [rdi + rax*4]
mov rdi, qword [rsp + 0x48]
mov rdx, qword [rdi + rax*8 + 0x58]
mov rax, qword [rsp + 0x68]
cmp byte [rax + 0x3f], 2
je 0x1401c87e5
bts rsi, 0x3f
and rsi, rdx
mov rax, qword [rsp + 0x68]
mov r15d, 0x3f
movzx eax, word [rax + 0x36]
cmp ax, 0x3f
mov word [rsp + 0x8e], ax
cmovle r15d, eax
movsx r8d, r15w
mov dword [rsp + 0x90], r8d
test ax, ax
jle 0x1401c8833
xor ecx, ecx
nop word [rax + rax]
mov rax, rsi
shr rax, cl
add ecx, 1
and eax, 1
add ebx, eax
cmp r8d, ecx
jne 0x1401c8820
test rdx, rdx
jns 0x1401c8844
movsx eax, word [rsp + 0x8e]
lea ebx, [rbx + rax - 0x3f]
mov rcx, qword [r14]
lea edx, [rbx + 1]
lea r9, [rsp + 0xb8]
xor r8d, r8d
movsx edx, dx
call dbg.sqlite3AllocateIndexObject
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1401c8d4b
mov rdi, qword [rsp + 0x78]
mov qword [rdi + 0x20], rax
lea rdi, str.auto_index
mov qword [rax], rdi
mov rdi, qword [rsp + 0x68]
mov qword [rax + 0x18], rdi
mov rdi, qword [rsp + 0x118]
mov r15, qword [rdi + 0x20]
cmp r12, r15
jbe 0x1401c9096
xor ecx, ecx
lea rdx, str.BINARY
mov dword [rsp + 0x94], ebx
xor edi, edi
mov qword [rsp + 0x98], rsi
mov rbx, r15
mov rsi, rax
mov r15, rcx
mov byte [rsp + 0x8d], 0
mov qword [rsp + 0x80], rdx
jmp 0x1401c88e5
add rbx, 0x38
cmp r12, rbx
jbe 0x1401c89c0
mov r8, rbp
mov rdx, r13
mov rcx, rbx
call sym.termCanDriveIndex
test eax, eax
je 0x1401c88d8
mov ecx, dword [rbx + 0x20]
mov eax, 1
movabs rdx, 0x8000000000000000
shl rax, cl
cmp ecx, 0x40
cmovge rax, rdx
test rax, r15
jne 0x1401c88d8
mov r10, qword [rbx]
or r15, rax
mov rax, qword [rsi + 8]
movsxd r11, edi
mov qword [rsp + 0xa8], r11
test byte [r10 + 5], 4
mov r9, qword [r10 + 0x18]
mov word [rax + r11*2], cx
mov qword [rsp + 0xa0], r10
mov rdx, qword [r10 + 0x10]
jne 0x1401c8db0
mov r8, r9
mov rcx, r14
call sym.sqlite3BinaryCompareCollSeq
mov r11, qword [rsp + 0xa8]
mov r10, qword [rsp + 0xa0]
lea rdx, str.BINARY
test rax, rax
je 0x1401c8977
mov rdx, qword [rax]
mov rax, qword [rsi + 0x40]
mov rcx, qword [r10 + 0x10]
add edi, 1
mov qword [rax + r11*8], rdx
test rcx, rcx
je 0x1401c88d8
call dbg.sqlite3ExprAffinity
movzx edx, byte [rsp + 0x8d]
cmp al, 0x42
mov eax, 1
cmovne edx, eax
add rbx, 0x38
mov byte [rsp + 0x8d], dl
cmp r12, rbx
ja 0x1401c88e5
nop word [rax + rax]
movzx ebp, byte [rsp + 0x8d]
movsxd rax, edi
mov ebx, dword [rsp + 0x94]
mov rsi, qword [rsp + 0x98]
lea rdx, [rax + rax]
shl rax, 3
and ebp, 1
cmp word [rsp + 0x8e], 0
mov rcx, qword [rsp + 0x60]
mov r8, qword [rcx + 8]
mov rcx, qword [rcx + 0x40]
jle 0x1401c8a38
mov r9d, dword [rsp + 0x90]
mov r10, qword [rsp + 0x80]
xor eax, eax
nop
bt rsi, rax
jae 0x1401c8a25
movsxd rdx, edi
add edi, 1
mov word [r8 + rdx*2], ax
mov qword [rcx + rdx*8], r10
add eax, 1
cmp r9d, eax
jne 0x1401c8a10
movsxd rax, edi
lea rdx, [rax + rax]
shl rax, 3
mov rsi, qword [rsp + 0x70]
lea r9, [rsi + rsi*2]
lea r9, [rsi + r9*4]
mov rsi, qword [rsp + 0x48]
cmp qword [rsi + r9*8 + 0x58], 0
js 0x1401c8ea8
mov r11d, 0xffffffff
mov rsi, qword [rsp + 0x80]
lea r9d, [rbx + 1]
mov word [r8 + rdx], r11w
mov r8d, dword [r14 + 0x34]
mov edx, 0x74
mov qword [rcx + rax], rsi
mov rcx, qword [rsp + 0x58]
lea eax, [r8 + 1]
mov dword [r14 + 0x34], eax
mov rax, qword [rsp + 0x128]
mov dword [rax + 8], r8d
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp3
mov rdx, qword [rsp + 0x60]
mov rcx, r14
call sym.sqlite3VdbeSetP4KeyInfo
mov rax, qword [r14]
test byte [rax + 0x62], 8
jne 0x1401c8abf
test bpl, bpl
jne 0x1401c901e
mov rax, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x70]
movsxd rbx, dword [rax + 0x90]
mov edx, dword [rax + 0x94]
lea rax, [rsi + rsi*2]
lea rax, [rsi + rax*4]
mov rsi, qword [rsp + 0x48]
lea rax, [rsi + rax*8]
test byte [rax + 0x48], 0x20
jne 0x1401c8dd8
mov rax, qword [rsp + 0x128]
mov r8d, dword [rax + 4]
cmp ebx, edx
jge 0x1401c90b2
mov rsi, qword [rsp + 0x58]
lea eax, [rbx + 1]
xor r12d, r12d
mov dword [rsi + 0x90], eax
movsxd rax, ebx
lea rdx, [rax + rax*2]
mov rax, qword [rsi + 0x88]
lea rax, [rax + rdx*8]
mov dword [rax + 4], r8d
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
mov dword [rax], 0x24
mov rdx, qword [rsp + 0x50]
xor esi, esi
test rdx, rdx
je 0x1401c8b76
mov eax, dword [r14 + 0x44]
mov r9d, 0x10
mov rcx, r14
lea esi, [rax - 1]
mov dword [r14 + 0x44], esi
mov r8d, esi
call sym.sqlite3ExprIfFalse
mov rax, qword [rsp + 0x78]
or dword [rax + 0x38], 0x20000
movzx eax, byte [r14 + 0x1f]
test al, al
je 0x1401c8f30
sub eax, 1
mov byte [r14 + 0x1f], al
movzx eax, al
mov ebp, dword [r14 + rax*4 + 0xe8]
mov rax, qword [rsp + 0x128]
mov r9d, ebp
mov rcx, r14
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r8d, dword [rax + 4]
call dbg.sqlite3GenerateIndexKey
mov r13d, eax
mov rax, qword [rsp + 0x128]
mov r8d, dword [rax + 0x34]
test r8d, r8d
jne 0x1401c8f90
mov rax, qword [rsp + 0x128]
mov r15, qword [rsp + 0x58]
mov edx, 0x8a
mov r9d, ebp
mov dword [rsp + 0x20], 0
mov r8d, dword [rax + 8]
mov rcx, r15
call sym.sqlite3VdbeAddOp3
mov edx, dword [r15 + 0x90]
test edx, edx
jle 0x1401c8c3c
mov r9, qword [r15 + 0x88]
movsxd rax, edx
mov r10d, 0x10
lea rax, [rax + rax*2]
lea rax, [r9 + rax*8]
mov word [rax - 0x16], r10w
cmp qword [rsp + 0x50], 0
je 0x1401c8c65
mov rax, qword [rsp + 0x58]
not esi
mov rcx, qword [rax + 0x18]
mov eax, dword [rcx + 0x44]
add eax, dword [rcx + 0x48]
js 0x1401c9084
mov rax, qword [rcx + 0x50]
movsxd rsi, esi
mov dword [rax + rsi*4], edx
mov rsi, qword [rsp + 0x70]
mov rax, qword [rsp + 0x128]
mov r8d, dword [rax + 4]
lea rax, [rsi + rsi*2]
lea rax, [rsi + rax*4]
mov rsi, qword [rsp + 0x48]
test byte [rsi + rax*8 + 0x48], 0x20
je 0x1401c8f40
mov rsi, qword [rsp + 0x58]
add edi, r13d
lea rax, [0x1403f0300]
mov rdx, qword [rsi]
cmp byte [rdx + 0x67], 0
jne 0x1401c8cb5
mov rax, qword [rsi + 0x88]
lea rdx, [r12 + r12*2]
lea rax, [rax + rdx*8]
mov rsi, qword [rsp + 0x70]
mov rdx, qword [r14 + 0x10]
mov dword [rax + 8], edi
mov r9d, r8d
mov rax, qword [rsp + 0x128]
mov r8d, ebx
mov eax, dword [rax + 8]
mov dword [rsp + 0x28], eax
lea rax, [rsi + rsi*2]
lea rax, [rsi + rax*4]
mov rsi, qword [rsp + 0x48]
lea rsi, [rsi + rax*8]
mov eax, dword [rsi + 0x40]
mov dword [rsp + 0x20], eax
mov rcx, qword [r14]
call sym.translateColumnToCopy.isra.0
mov rdi, qword [rsp + 0x58]
mov edx, ebx
mov rcx, rdi
call sym.sqlite3VdbeGoto.isra.0
and byte [rsi + 0x48], 0xdf
mov eax, dword [rdi + 0x90]
mov rsi, qword [rsp + 0x58]
mov rdx, qword [rsi]
cmp byte [rdx + 0x67], 0
jne 0x1401c8f00
mov rdx, qword [rsi + 0x88]
lea rcx, [rbx + rbx*2]
mov dword [rdx + rcx*8 + 8], eax
test ebp, ebp
jne 0x1401c8ff0
movsxd rcx, dword [rsp + 0x88]
lea rcx, [rcx + rcx*2]
lea rdx, [rdx + rcx*8]
mov dword [rdx + 8], eax
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x1401c8d61
mov rcx, qword [r14]
mov rdx, rax
call dbg.sqlite3ExprDeleteNN
nop
add rsp, 0xc8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rdi, qword [rsp + 0x68]
lea rax, [rcx + rcx*2]
mov ecx, 0x11c
lea rdx, str.automatic_index_on__s__s_
shl rax, 3
mov qword [rsp + 0x60], r11
add rax, qword [rdi + 8]
mov r8, qword [rdi]
mov r9, qword [rax]
call dbg.sqlite3_log
mov r11, qword [rsp + 0x60]
jmp 0x1401c86a9
mov r8, rdx
mov rcx, r14
mov rdx, r9
call sym.sqlite3BinaryCompareCollSeq
mov r10, qword [rsp + 0xa0]
mov r11, qword [rsp + 0xa8]
jmp 0x1401c8968
mov esi, dword [rax + 0x3c]
cmp ebx, edx
jge 0x1401c90fc
mov rcx, qword [rsp + 0x58]
lea eax, [rbx + 1]
movsxd r12, ebx
mov dword [rcx + 0x90], eax
movsxd rax, ebx
lea rdx, [rax + rax*2]
mov rax, qword [rcx + 0x88]
lea rax, [rax + rdx*8]
mov qword [rax], 0x47
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
mov rbx, qword [rsp + 0x70]
xor r9d, r9d
mov r8d, esi
mov edx, 0xb
lea rax, [rbx + rbx*2]
lea rax, [rbx + rax*4]
mov rbx, qword [rsp + 0x48]
mov eax, dword [rbx + rax*8 + 0x38]
mov rbx, qword [rsp + 0x58]
mov dword [rsp + 0x20], eax
mov rcx, rbx
call sym.sqlite3VdbeAddOp3
mov rax, rbx
movsxd rbx, dword [rbx + 0x90]
cmp ebx, dword [rax + 0x94]
jge 0x1401c90d7
mov rcx, qword [rsp + 0x58]
lea eax, [rbx + 1]
mov dword [rcx + 0x90], eax
movsxd rax, ebx
lea rdx, [rax + rax*2]
mov rax, qword [rcx + 0x88]
lea rax, [rax + rdx*8]
mov dword [rax + 4], esi
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
mov dword [rax], 0xc
jmp 0x1401c8b42
mov r10, qword [rsp + 0x68]
cmp word [r10 + 0x36], 0x3f
jle 0x1401c8a56
lea eax, [rdi + 1]
mov r11, qword [rsp + 0x80]
mov edx, 0x3f
cdqe
nop dword [rax + rax]
mov word [r8 + rax*2 - 2], dx
movsx r9d, word [r10 + 0x36]
add edx, 1
mov edi, eax
mov qword [rcx + rax*8 - 8], r11
add rax, 1
cmp r9d, edx
jg 0x1401c8ed0
movsxd rax, edi
lea rdx, [rax + rax]
shl rax, 3
jmp 0x1401c8a56
mov dword [0x1403f0308], eax
test ebp, ebp
je 0x1401c8f23
movzx edx, byte [r14 + 0x1f]
cmp dl, 7
ja 0x1401c8f23
lea ecx, [rdx + 1]
mov byte [r14 + 0x1f], cl
mov dword [r14 + rdx*4 + 0xe8], ebp
lea rdx, [0x1403f0300]
jmp 0x1401c8d48
mov eax, dword [r14 + 0x38]
lea ebp, [rax + 1]
mov dword [r14 + 0x38], ebp
jmp 0x1401c8b95
mov rsi, qword [rsp + 0x58]
lea r9d, [rbx + 1]
mov edx, 0x27
mov dword [rsp + 0x20], 0
mov rcx, rsi
call sym.sqlite3VdbeAddOp3
mov eax, dword [rsi + 0x90]
test eax, eax
jle 0x1401c8d0f
mov rcx, qword [rsi + 0x88]
movsxd rdx, eax
mov r8d, 3
lea rdx, [rdx + rdx*2]
lea rdx, [rcx + rdx*8]
mov word [rdx - 0x16], r8w
jmp 0x1401c8d0f
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor r9d, r9d
mov edx, 0xb7
movzx eax, word [rax + 0x18]
mov dword [rsp + 0x20], r13d
mov dword [rsp + 0x28], eax
call sym.sqlite3VdbeAddOp4Int
jmp 0x1401c8beb
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf
mov rcx, rax
mov dword [rsp + 0x20], 0
call dbg.growOp3
mov dword [rsp + 0x88], eax
jmp 0x1401c85c9
movzx ecx, byte [r14 + 0x1f]
cmp cl, 7
ja 0x1401c8d38
mov rbx, qword [rsp + 0x58]
lea edx, [rcx + 1]
mov byte [r14 + 0x1f], dl
mov dword [r14 + rcx*4 + 0xe8], ebp
mov rdx, qword [rbx + 0x88]
jmp 0x1401c8d38
mov rax, qword [rsp + 0x118]
mov r8, qword [rsp + 0x128]
mov rcx, r14
mov rax, qword [rax]
mov rdx, qword [rax + 8]
call sym.sqlite3WhereExplainBloomFilter.isra.0
mov eax, dword [r14 + 0x38]
mov rcx, qword [rsp + 0x58]
mov r8d, 0x2710
mov edx, 0x4d
lea r9d, [rax + 1]
mov rax, qword [rsp + 0x128]
mov dword [r14 + 0x38], r9d
mov dword [rax + 0x34], r9d
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp3
jmp 0x1401c8abf
mov r14, qword [rsp + 0x110]
jmp 0x1401c8d4b
mov rdx, qword [rsp + 0x58]
mov r8d, esi
call dbg.resizeResolveLabel
jmp 0x1401c8c65
lea rcx, str.BINARY
xor eax, eax
xor edx, edx
xor ebp, ebp
mov qword [rsp + 0x80], rcx
xor edi, edi
jmp 0x1401c89e5
mov rcx, qword [rsp + 0x58]
xor r9d, r9d
mov edx, 0x24
xor r12d, r12d
mov dword [rsp + 0x20], 0
call dbg.growOp3
movsxd rbx, eax
jmp 0x1401c8b42
mov rcx, qword [rsp + 0x58]
xor r9d, r9d
mov r8d, esi
mov edx, 0xc
mov dword [rsp + 0x20], 0
call dbg.growOp3
movsxd rbx, eax
jmp 0x1401c8b42
mov rcx, qword [rsp + 0x58]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x47
mov dword [rsp + 0x20], 0
call dbg.growOp3
movsxd r12, eax
jmp 0x1401c8e1d
mov qword [rsp + 0x50], 0
mov rsi, 0xffffffffffffffff
xor eax, eax
xor ebx, ebx
jmp 0x1401c87a7