Function at 0x1401aab10
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, 0x88
mov rbx, qword [rdx]
mov r14, qword [rcx + 0x10]
movzx eax, byte [rbx]
mov qword [rsp + 0xd8], rdx
mov rdi, r8
mov r11d, r9d
mov qword [rsp + 0xd0], rcx
lea edx, [rax - 0x2d]
and edx, 0xf7
je 0x1401aac88
cmp al, 0x32
je 0x1401ab058
mov rsi, qword [r8 + 0x60]
test byte [rsi + 0x39], 4
je 0x1401aace8
test r11d, r11d
je 0x1401aab9a
mov rax, qword [rsi + 0x48]
movsxd rdx, r11d
lea rcx, [rax + rdx*8]
nop dword [rax + rax]
mov rdx, qword [rax]
test rdx, rdx
je 0x1401aab91
cmp qword [rdx], rbx
je 0x1401aacb8
add rax, 8
cmp rcx, rax
jne 0x1401aab80
movzx edx, word [rsi + 0x3c]
cmp r11d, edx
jge 0x1401ab490
mov rcx, qword [rsi + 0x48]
sub edx, r11d
movsxd r8, r11d
xor ebp, ebp
sub edx, 1
add rdx, r8
lea rax, [rcx + r8*8]
lea rcx, [rcx + rdx*8 + 8]
nop word [rax + rax]
mov rdx, qword [rax]
cmp rbx, qword [rdx]
sete dl
add rax, 8
movzx edx, dl
add ebp, edx
cmp rcx, rax
jne 0x1401aabc8
mov eax, dword [rbx + 4]
mov dword [rsp + 0x7c], 0
test ah, 0x10
je 0x1401aad28
mov rdx, qword [rbx + 0x20]
mov rdx, qword [rdx + 0x20]
cmp dword [rdx], 1
je 0x1401aad28
mov rcx, qword [rsp + 0xd0]
mov r8d, dword [rbx + 0x2c]
mov rcx, qword [rcx]
test r8d, r8d
mov qword [rsp + 0x48], rcx
je 0x1401aac28
test eax, 0x2000000
jne 0x1401ab4b7
mov r15, qword [rsp + 0x48]
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov dword [rsp + 0xe8], r11d
mov rcx, r15
call dbg.exprDup
cmp byte [r15 + 0x67], 0
mov r11d, dword [rsp + 0xe8]
mov r12, rax
je 0x1401ab12d
test rax, rax
jne 0x1401ab339
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x40], 5
jmp 0x1401aad95
mov rdx, qword [rbx + 0x18]
mov r8d, dword [rsp + 0xf8]
call sym.sqlite3ExprCodeTarget
mov dword [rsp + 0xf8], eax
mov rax, qword [rdi + 0x60]
test byte [rax + 0x3a], 0x20
je 0x1401aacb8
mov rax, qword [rsp + 0xd8]
test byte [rax + 0x15], 8
jne 0x1401aacc8
mov rdx, qword [rsp + 0xd8]
mov rcx, rdi
call dbg.disableTerm
mov eax, dword [rsp + 0xf8]
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsi + 0x20]
test rax, rax
je 0x1401aab68
mov rax, qword [rax + 0x38]
movsxd rdx, r9d
cmp byte [rax + rdx], 0
je 0x1401aab68
mov r9d, dword [rsp + 0xf0]
xor eax, eax
test r9d, r9d
sete al
mov dword [rsp + 0xf0], eax
jmp 0x1401aab68
mov rcx, qword [rsp + 0xd0]
lea rax, [rsp + 0x7c]
xor r9d, r9d
mov rdx, rbx
mov qword [rsp + 0x28], rax
mov r8d, 4
mov qword [rsp + 0x20], 0
mov dword [rsp + 0xe8], r11d
call sym.sqlite3FindInIndex.constprop.0
mov r11d, dword [rsp + 0xe8]
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x40], 4
jne 0x1401aad95
mov edx, dword [rsp + 0xf0]
xor eax, eax
test edx, edx
sete al
mov dword [rsp + 0xf0], eax
mov r8d, dword [rsp + 0x30]
mov dword [rsp + 0x20], 0
mov rcx, r14
cmp dword [rsp + 0xf0], 1
mov dword [rsp + 0xe8], r11d
sbb edx, edx
xor r9d, r9d
and edx, 4
add edx, 0x20
call sym.sqlite3VdbeAddOp3
mov eax, dword [rsi + 0x38]
movsxd r13, dword [rdi + 0x50]
mov r11d, dword [rsp + 0xe8]
mov edx, eax
or dh, 8
test r13d, r13d
mov dword [rsi + 0x38], edx
jne 0x1401aae01
mov rcx, qword [rsp + 0xd0]
mov ecx, dword [rcx + 0x44]
lea edx, [rcx - 1]
mov dword [rsp + 0x48], ecx
mov rcx, qword [rsp + 0xd0]
mov dword [rcx + 0x44], edx
mov dword [rdi + 0x10], edx
test r11d, r11d
je 0x1401aae15
test eax, 0x100000
jne 0x1401aae15
or eax, 0x40800
mov dword [rsi + 0x38], eax
add ebp, r13d
mov rax, qword [rsp + 0xd8]
mov dword [rsp + 0xe8], r11d
mov dword [rdi + 0x50], ebp
movsxd rbp, ebp
mov r15, qword [rdi + 0x58]
lea rbp, [rbp + rbp*4]
shl rbp, 2
mov rax, qword [rax + 8]
lea rdx, [rbp + 0x10]
mov r8, qword [rax]
mov rax, qword [r8]
mov qword [rsp + 0x48], r8
mov rcx, qword [rax]
call sym.sqlite3DbMallocRawNN
test rax, rax
je 0x1401ab0d2
mov r8, qword [rsp + 0x48]
lea rcx, [rax + 0x10]
test r15, r15
mov r11d, dword [rsp + 0xe8]
mov rdx, qword [r8 + 0x60]
mov qword [rax + 8], rbp
mov qword [rax], rdx
mov qword [r8 + 0x60], rax
je 0x1401aaea3
mov r8, qword [r15 - 8]
mov rdx, r15
mov dword [rsp + 0xe8], r11d
call sym.memcpy
mov r11d, dword [rsp + 0xe8]
mov rcx, rax
movzx edx, word [rsi + 0x3c]
lea rax, [r13 + r13*4]
mov qword [rdi + 0x58], rcx
lea r15, [rcx + rax*4]
cmp r11d, edx
jge 0x1401aafd9
mov eax, dword [rsp + 0xf8]
movsxd r13, r11d
xor ecx, ecx
mov ebp, r11d
mov qword [rsp + 0xe0], rdi
shl r13, 3
mov rdi, rbx
mov ebx, ecx
mov r12d, r11d
sub eax, r11d
mov dword [rsp + 0x48], eax
jmp 0x1401aaeff
add ebp, 1
add r13, 8
cmp edx, ebp
jle 0x1401aafce
mov rax, qword [rsi + 0x48]
mov rax, qword [rax + r13]
cmp qword [rax], rdi
jne 0x1401aaef0
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x40], 1
mov edx, dword [r14 + 0x94]
lea r11d, [rax + rbp]
mov eax, dword [r14 + 0x90]
je 0x1401ab080
mov rcx, qword [rsp + 0x38]
xor r9d, r9d
test rcx, rcx
je 0x1401aaf44
movsxd r8, ebx
add ebx, 1
mov r9d, dword [rcx + r8*4]
movd xmm0, dword [rsp + 0x30]
movd xmm1, r9d
cmp eax, edx
punpckldq xmm0, xmm1
jge 0x1401ab0f0
lea edx, [rax + 1]
mov dword [r14 + 0x90], edx
movsxd rdx, eax
lea r8, [rdx + rdx*2]
mov rdx, qword [r14 + 0x88]
lea rdx, [rdx + r8*8]
movq qword [rdx + 4], xmm0
mov dword [rdx + 0xc], r11d
mov qword [rdx + 0x10], 0
mov dword [rdx], 0x5e
mov dword [r15 + 4], eax
xor r9d, r9d
mov r8d, r11d
mov edx, 0x32
mov dword [rsp + 0x20], 0
mov rcx, r14
call sym.sqlite3VdbeAddOp3
cmp r12d, ebp
je 0x1401ab010
mov byte [r15 + 0x10], 0xb8
movzx edx, word [rsi + 0x3c]
add ebp, 1
add r15, 0x14
add r13, 8
cmp edx, ebp
jg 0x1401aaeff
mov rdi, qword [rsp + 0xe0]
mov r11d, r12d
test r11d, r11d
je 0x1401aafeb
test dword [rsi + 0x38], 0x100400
je 0x1401ab472
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x1401aaca0
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax]
call sym.sqlite3DbFreeNN
jmp 0x1401aaca0
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0xf0], 1
mov dword [r15], eax
mov eax, 0x26
adc al, 0
test r12d, r12d
mov byte [r15 + 0x10], al
je 0x1401ab120
mov eax, dword [rsp + 0xf8]
movd xmm2, r12d
sub eax, r12d
movd xmm0, eax
punpckldq xmm0, xmm2
movq qword [r15 + 8], xmm0
jmp 0x1401aafb7
mov r9d, dword [rsp + 0xf8]
xor r8d, r8d
mov edx, 0x4b
mov rcx, r14
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp3
jmp 0x1401aaca0
cmp eax, edx
jge 0x1401ab58d
lea edx, [rax + 1]
movd xmm0, dword [rsp + 0x30]
movd xmm3, r11d
mov dword [r14 + 0x90], edx
movsxd rdx, eax
lea r8, [rdx + rdx*2]
mov rdx, qword [r14 + 0x88]
punpckldq xmm0, xmm3
lea rdx, [rdx + r8*8]
movq qword [rdx + 4], xmm0
mov dword [rdx + 0xc], 0
mov qword [rdx + 0x10], 0
mov dword [rdx], 0x87
jmp 0x1401aaf8e
mov qword [rdi + 0x58], 0
mov dword [rdi + 0x50], 0
jmp 0x1401aafeb
mov r8d, dword [rsp + 0x30]
mov dword [rsp + 0x20], r11d
mov edx, 0x5e
mov rcx, r14
mov dword [rsp + 0x50], r11d
call dbg.growOp3
mov r11d, dword [rsp + 0x50]
jmp 0x1401aaf8e
mov dword [r15 + 0xc], 0
jmp 0x1401aafb7
mov r15, qword [rax + 0x20]
test r15, r15
je 0x1401ab35b
movsxd rax, r11d
mov rcx, r15
mov rdx, qword [r15 + 0x20]
mov qword [rsp + 0x60], r14
shl rax, 3
cmp rcx, r15
mov dword [rsp + 0x6c], ebp
mov qword [rsp + 0x58], rax
movzx eax, word [rsi + 0x3c]
mov qword [rsp + 0xe0], rdi
mov dword [rsp + 0xe8], r11d
je 0x1401ab2eb
nop dword [rax + rax]
xor r14d, r14d
cmp eax, dword [rsp + 0xe8]
jle 0x1401ab497
xor r13d, r13d
mov qword [rsp + 0x50], r15
mov rbp, qword [rsp + 0x58]
mov r15, rbx
mov edi, dword [rsp + 0xe8]
xor r9d, r9d
mov qword [rsp + 0x40], r12
mov rbx, rdx
mov qword [rsp + 0x30], r13
jmp 0x1401ab1cb
movzx eax, word [rsi + 0x3c]
add edi, 1
add rbp, 8
cmp edi, eax
jge 0x1401ab258
mov rax, qword [rsi + 0x48]
mov rax, qword [rax + rbp]
cmp r15, qword [rax]
jne 0x1401ab1b8
movsxd r12, dword [rax + 0x24]
shl r12, 5
lea r13, [rbx + r12]
mov r8, qword [r13 - 0x18]
test r8, r8
je 0x1401ab1b8
mov rcx, qword [rsp + 0xd0]
mov rdx, r9
call sym.sqlite3ExprListAppend
test r14, r14
mov qword [r13 - 0x18], 0
mov r9, rax
je 0x1401ab1b8
add r12, r14
mov rdx, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
add edi, 1
mov r8, qword [r12 - 0x18]
add rbp, 8
mov rcx, qword [rsp + 0xd0]
call sym.sqlite3ExprListAppend
mov r9, qword [rsp + 0x38]
mov qword [r12 - 0x18], 0
mov qword [rsp + 0x30], rax
movzx eax, word [rsi + 0x3c]
cmp edi, eax
jl 0x1401ab1cb
nop word [rax + rax]
mov rdx, rbx
mov r12, qword [rsp + 0x40]
mov rbx, r15
test rdx, rdx
mov r15, qword [rsp + 0x50]
mov r13, qword [rsp + 0x30]
je 0x1401ab286
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x30], r9
call dbg.exprListDeleteNN
mov r9, qword [rsp + 0x30]
test r14, r14
je 0x1401ab2ab
mov rcx, qword [rsp + 0x48]
mov rdx, r14
mov qword [rsp + 0x30], r9
call dbg.exprListDeleteNN
mov rax, qword [r12 + 0x10]
mov r9, qword [rsp + 0x30]
mov qword [rax + 0x20], r13
test r13, r13
mov qword [r15 + 0x20], r9
je 0x1401ab2bf
cmp dword [r13], 1
je 0x1401ab448
mov rax, qword [r15 + 0x48]
test rax, rax
jne 0x1401ab418
mov r15, qword [r15 + 0x50]
test r15, r15
je 0x1401ab315
mov rcx, qword [r12 + 0x20]
mov rdx, qword [r15 + 0x20]
movzx eax, word [rsi + 0x3c]
cmp rcx, r15
jne 0x1401ab178
mov rcx, qword [r12 + 0x10]
cmp dword [rsp + 0xe8], eax
mov r14, qword [rcx + 0x20]
jl 0x1401ab188
test rdx, rdx
je 0x1401ab5ed
xor r9d, r9d
xor r13d, r13d
jmp 0x1401ab272
mov rax, qword [rsp + 0x48]
mov r14, qword [rsp + 0x60]
mov ebp, dword [rsp + 0x6c]
mov rdi, qword [rsp + 0xe0]
cmp byte [rax + 0x67], 0
mov r11d, dword [rsp + 0xe8]
je 0x1401ab35b
mov rcx, qword [rsp + 0x48]
mov rdx, r12
mov dword [rsp + 0xe8], r11d
call dbg.sqlite3ExprDeleteNN
mov r11d, dword [rsp + 0xe8]
jmp 0x1401aac65
mov rax, qword [rsp + 0xd0]
movsxd r13, ebp
mov dword [rsp + 0xe8], r11d
shl r13, 2
mov rcx, qword [rax]
test rcx, rcx
je 0x1401ab5b9
mov rdx, r13
call sym.sqlite3DbMallocRawNN
mov r11d, dword [rsp + 0xe8]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1401ab3b7
mov r8, r13
xor edx, edx
mov dword [rsp + 0xe8], r11d
call sym.memset
mov r11d, dword [rsp + 0xe8]
lea rax, [rsp + 0x7c]
xor r9d, r9d
mov r8d, 4
mov rcx, qword [rsp + 0xd0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
mov rdx, r12
mov dword [rsp + 0xe8], r11d
mov qword [rsp + 0x20], rax
call sym.sqlite3FindInIndex.constprop.0
mov rcx, qword [rsp + 0x48]
mov rdx, r12
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x7c]
mov dword [rbx + 0x2c], eax
mov dword [rsp + 0x30], eax
call dbg.sqlite3ExprDeleteNN
mov r11d, dword [rsp + 0xe8]
jmp 0x1401aad79
movsxd rdx, dword [rax]
test edx, edx
jle 0x1401ab2cc
shl rdx, 5
add rdx, rax
nop word [rax + rax]
xor ecx, ecx
add rax, 0x20
mov word [rax], cx
cmp rdx, rax
jne 0x1401ab430
jmp 0x1401ab2cc
mov rdx, qword [r12 + 0x10]
mov rdi, qword [r13 + 8]
mov qword [r13 + 8], 0
test rdx, rdx
je 0x1401ab468
mov rcx, qword [rsp + 0x48]
call dbg.sqlite3ExprDeleteNN
mov qword [r12 + 0x10], rdi
jmp 0x1401ab2bf
mov dword [rsp + 0x20], r11d
mov r8d, dword [rdi + 8]
xor r9d, r9d
mov rcx, r14
mov edx, 0x7d
call sym.sqlite3VdbeAddOp3
jmp 0x1401aafeb
xor ebp, ebp
jmp 0x1401aabdf
test rdx, rdx
je 0x1401ab2bf
mov rcx, qword [rsp + 0x48]
call dbg.exprListDeleteNN
mov qword [r15 + 0x20], 0
jmp 0x1401ab2bf
mov rcx, qword [rbx + 0x10]
movzx edx, byte [rcx]
cmp dl, 0xb0
jne 0x1401ab4c7
movzx edx, byte [rcx + 2]
cmp dl, 0xb1
je 0x1401ab61d
cmp dl, 0x8a
mov eax, 1
jne 0x1401ab4e4
mov rax, qword [rcx + 0x20]
mov rax, qword [rax + 0x20]
mov eax, dword [rax]
cmp eax, ebp
mov rcx, qword [rsp + 0x48]
mov dword [rsp + 0xe8], r11d
cmovl eax, ebp
movsxd r13, eax
shl r13, 2
test rcx, rcx
je 0x1401ab5d3
mov rdx, r13
call sym.sqlite3DbMallocRawNN
mov r11d, dword [rsp + 0xe8]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1401ab53f
mov r8, r13
xor edx, edx
mov dword [rsp + 0xe8], r11d
call sym.memset
mov r11d, dword [rsp + 0xe8]
lea rax, [rsp + 0x7c]
xor r9d, r9d
mov r8d, 4
mov rcx, qword [rsp + 0xd0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
mov rdx, rbx
mov dword [rsp + 0xe8], r11d
mov qword [rsp + 0x20], rax
call sym.sqlite3FindInIndex.constprop.0
mov r11d, dword [rsp + 0xe8]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x30], eax
jmp 0x1401aad79
mov r8d, dword [rsp + 0x30]
mov r9d, r11d
mov edx, 0x87
mov rcx, r14
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x50], r11d
call dbg.growOp3
mov r11d, dword [rsp + 0x50]
jmp 0x1401aaf8e
mov rcx, r13
call sym.sqlite3Malloc
mov r11d, dword [rsp + 0xe8]
mov qword [rsp + 0x38], rax
jmp 0x1401ab393
mov rcx, r13
call sym.sqlite3Malloc
mov r11d, dword [rsp + 0xe8]
mov qword [rsp + 0x38], rax
jmp 0x1401ab51b
test r14, r14
je 0x1401ab2bf
mov rcx, qword [rsp + 0x48]
mov rdx, r14
call dbg.exprListDeleteNN
mov rax, qword [r12 + 0x10]
mov qword [rax + 0x20], 0
mov qword [r15 + 0x20], 0
jmp 0x1401ab2bf
mov rax, qword [rcx + 0x20]
mov eax, dword [rax]
jmp 0x1401ab4e4