Function at 0x14015d0d0
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]
movzx eax, byte [rbx]
mov qword [rsp + 0xd8], rdx
lea edx, [rax - 0x2d]
mov r14, r8
and edx, 0xf7
mov qword [rsp + 0xd0], rcx
mov dword [rsp + 0xe8], r9d
je 0x14015d2d0
mov r15, qword [rcx + 0x10]
cmp al, 0x32
je 0x14015d8b8
mov rsi, qword [r8 + 0x60]
test byte [rsi + 0x39], 4
je 0x14015d288
mov r12d, dword [rsp + 0xe8]
test r12d, r12d
jle 0x14015d16a
mov rax, qword [rsi + 0x48]
mov edx, dword [rsp + 0xe8]
lea rcx, [rax + rdx*8]
nop dword [rax]
mov rdx, qword [rax]
test rdx, rdx
je 0x14015d161
cmp qword [rdx], rbx
je 0x14015d328
add rax, 8
cmp rcx, rax
jne 0x14015d150
movzx ecx, word [rsi + 0x3c]
cmp dword [rsp + 0xe8], ecx
jge 0x14015db3b
mov edx, dword [rsp + 0xe8]
movsxd r9, dword [rsp + 0xe8]
xor r12d, r12d
mov r8, qword [rsi + 0x48]
not edx
add edx, ecx
lea rax, [r8 + r9*8]
add rdx, r9
lea rcx, [r8 + rdx*8 + 8]
nop dword [rax]
mov rdx, qword [rax]
cmp rbx, qword [rdx]
sete dl
add rax, 8
movzx edx, dl
add r12d, edx
cmp rcx, rax
jne 0x14015d1a8
mov eax, dword [rbx + 4]
mov dword [rsp + 0x7c], 0
test ah, 0x10
je 0x14015d348
mov rdx, qword [rbx + 0x20]
mov rdx, qword [rdx + 0x20]
cmp dword [rdx], 1
je 0x14015d348
mov ebp, dword [rbx + 0x2c]
test ebp, ebp
je 0x14015d630
test eax, 0x2000000
je 0x14015d630
mov rcx, qword [rbx + 0x10]
movzx edx, byte [rcx]
cmp dl, 0xb0
jne 0x14015d20b
movzx edx, byte [rcx + 2]
cmp dl, 0xb1
je 0x14015dbd5
mov eax, 1
cmp dl, 0x8a
jne 0x14015d228
mov rax, qword [rcx + 0x20]
mov rax, qword [rax + 0x20]
mov eax, dword [rax]
cmp eax, r12d
cmovl eax, r12d
movsxd rdx, eax
mov rax, qword [rsp + 0xd0]
shl rdx, 2
mov rcx, qword [rax]
call sym.sqlite3DbMallocZero
mov rcx, qword [rsp + 0xd0]
xor r9d, r9d
mov rdx, rbx
mov qword [rsp + 0x30], rax
mov rdi, rax
lea rax, [rsp + 0x7c]
mov r8d, 4
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
call sym.sqlite3FindInIndex
mov r8d, dword [rsp + 0x7c]
mov dword [rsp + 0x38], eax
jmp 0x14015d386
mov rax, qword [rsi + 0x20]
test rax, rax
je 0x14015d12d
movsxd rdx, dword [rsp + 0xe8]
mov rax, qword [rax + 0x38]
cmp byte [rax + rdx], 0
je 0x14015d12d
mov r13d, dword [rsp + 0xf0]
xor eax, eax
test r13d, r13d
sete al
mov dword [rsp + 0xf0], eax
jmp 0x14015d12d
mov rdx, qword [rbx + 0x18]
mov r8d, dword [rsp + 0xf8]
call sym.sqlite3ExprCodeTarget
mov r11d, eax
mov rax, qword [r14 + 0x60]
test byte [rax + 0x3a], 0x20
je 0x14015d2fc
mov rax, qword [rsp + 0xd8]
test byte [rax + 0x15], 8
jne 0x14015d30c
mov rdx, qword [rsp + 0xd8]
mov rcx, r14
call sym.disableTerm
mov eax, r11d
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, qword [rsp + 0xd8]
mov rcx, r14
call sym.disableTerm
mov r11d, dword [rsp + 0xf8]
jmp 0x14015d30c
lea rax, [rsp + 0x7c]
mov r8d, 4
xor r9d, r9d
mov rdx, rbx
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0xd0]
mov qword [rsp + 0x20], 0
call sym.sqlite3FindInIndex
mov r8d, dword [rsp + 0x7c]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 4
je 0x14015d920
mov r10d, dword [rsp + 0xf0]
test r10d, r10d
je 0x14015d898
mov ecx, 0x20
mov edx, 0x20
movsxd rax, dword [r15 + 0x90]
cmp eax, dword [r15 + 0x94]
jge 0x14015d980
lea edx, [rax + 1]
xor r9d, r9d
mov dword [r15 + 0x90], edx
lea rdx, [rax + rax*2]
mov rax, qword [r15 + 0x88]
lea rax, [rax + rdx*8]
mov byte [rax], cl
mov word [rax + 2], r9w
mov dword [rax + 4], r8d
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
mov byte [rax + 1], 0
mov eax, dword [rsi + 0x38]
movsxd rdi, dword [r14 + 0x50]
mov edx, eax
or dh, 8
mov dword [rsi + 0x38], edx
test edi, edi
jne 0x14015d42f
mov rcx, qword [rsp + 0xd0]
mov ecx, dword [rcx + 0x44]
lea edx, [rcx - 1]
mov dword [rsp + 0x40], ecx
mov rcx, qword [rsp + 0xd0]
mov dword [rcx + 0x44], edx
mov dword [r14 + 0x10], edx
mov ecx, dword [rsp + 0xe8]
test ecx, ecx
jle 0x14015d449
test eax, 0x100000
jne 0x14015d449
or eax, 0x40800
mov dword [rsi + 0x38], eax
mov rax, qword [rsp + 0xd8]
add r12d, edi
mov dword [r14 + 0x50], r12d
movsxd r12, r12d
mov rax, qword [rax + 8]
lea rbp, [r12 + r12*4]
mov r12, qword [r14 + 0x58]
shl rbp, 2
mov r13, qword [rax]
lea rdx, [rbp + 0x10]
mov rax, qword [r13]
mov rcx, qword [rax]
call sym.sqlite3DbMallocRawNN
test rax, rax
je 0x14015d950
mov rdx, qword [r13 + 0x60]
lea rcx, [rax + 0x10]
mov qword [rax + 8], rbp
mov qword [rax], rdx
mov qword [r13 + 0x60], rax
test r12, r12
je 0x14015d4af
mov r8, qword [r12 - 8]
mov rdx, r12
call sym.memcpy
mov rcx, rax
lea rax, [rdi + rdi*4]
mov qword [r14 + 0x58], rcx
movzx edx, word [rsi + 0x3c]
lea r12, [rcx + rax*4]
cmp edx, dword [rsp + 0xe8]
jle 0x14015d5eb
cmp dword [rsp + 0xf0], 1
mov eax, 0x27
mov edi, dword [rsp + 0xe8]
mov qword [rsp + 0xe0], r14
adc al, 0xff
movsxd rbp, dword [rsp + 0xe8]
xor ecx, ecx
mov r14, rbx
mov byte [rsp + 0x48], al
mov eax, dword [rsp + 0xf8]
mov ebx, ecx
shl rbp, 3
sub eax, edi
mov dword [rsp + 0x40], eax
jmp 0x14015d51f
add edi, 1
add rbp, 8
cmp edx, edi
jle 0x14015d5e3
mov rax, qword [rsi + 0x48]
mov rax, qword [rax + rbp]
cmp qword [rax], r14
jne 0x14015d510
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x38], 1
mov r8d, dword [rsp + 0x7c]
lea r13d, [rax + rdi]
je 0x14015d900
mov rcx, qword [rsp + 0x30]
xor r9d, r9d
test rcx, rcx
je 0x14015d55b
movsxd rax, ebx
add ebx, 1
mov r9d, dword [rcx + rax*4]
mov dword [rsp + 0x20], r13d
mov edx, 0x5e
mov rcx, r15
call sym.sqlite3VdbeAddOp3
mov dword [r12 + 4], eax
movsxd rax, dword [r15 + 0x90]
cmp eax, dword [r15 + 0x94]
jge 0x14015d8e0
lea edx, [rax + 1]
mov dword [r15 + 0x90], edx
lea rdx, [rax + rax*2]
mov rax, qword [r15 + 0x88]
lea rax, [rax + rdx*8]
mov dword [rax + 4], r13d
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
mov dword [rax], 0x32
cmp dword [rsp + 0xe8], edi
je 0x14015d850
mov byte [r12 + 0x10], 0xb9
movzx edx, word [rsi + 0x3c]
add edi, 1
add r12, 0x14
add rbp, 8
cmp edx, edi
jg 0x14015d51f
mov r14, qword [rsp + 0xe0]
mov edx, dword [rsp + 0xe8]
test edx, edx
jle 0x14015d603
test dword [rsi + 0x38], 0x100400
je 0x14015dac5
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x14015d620
mov rdx, rax
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax]
call sym.sqlite3DbFreeNN
mov r11d, dword [rsp + 0xf8]
jmp 0x14015d2e4
mov rax, qword [rsp + 0xd0]
mov rdx, rbx
mov rdi, qword [rax]
mov rcx, rdi
mov qword [rsp + 0x40], rdi
call sym.exprDup.constprop.0
cmp byte [rdi + 0x67], 0
mov qword [rsp + 0x30], rax
jne 0x14015d998
mov rdi, qword [rax + 0x20]
test rdi, rdi
je 0x14015db68
movsxd rax, dword [rsp + 0xe8]
mov qword [rsp + 0x60], r15
mov r15, rdi
xor r10d, r10d
mov dword [rsp + 0x6c], r12d
mov r11, qword [r15 + 0x20]
shl rax, 3
mov qword [rsp + 0xe0], r14
mov qword [rsp + 0x48], rax
mov rax, rdi
cmp r15, rax
je 0x14015d83c
movzx edx, word [rsi + 0x3c]
cmp dword [rsp + 0xe8], edx
jge 0x14015db30
mov qword [rsp + 0x38], r15
mov rbp, qword [rsp + 0x48]
xor r14d, r14d
xor r13d, r13d
mov edi, dword [rsp + 0xe8]
mov r12, r10
mov r15, r11
jmp 0x14015d6df
add edi, 1
add rbp, 8
cmp edi, edx
jge 0x14015d7b0
mov rax, qword [rsi + 0x48]
mov rax, qword [rax + rbp]
cmp rbx, qword [rax]
jne 0x14015d6d0
movsxd r10, dword [rax + 0x24]
shl r10, 5
lea r11, [r15 + r10]
mov r8, qword [r11 - 0x18]
test r8, r8
je 0x14015d6d0
test r13, r13
je 0x14015da68
movsxd rax, dword [r13]
cmp eax, dword [r13 + 4]
jge 0x14015d9f8
lea edx, [rax + 1]
shl rax, 5
add rax, r13
mov dword [r13], edx
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0
mov qword [rax + 0x20], 0
mov qword [rax + 8], r8
mov qword [r11 - 0x18], 0
test r12, r12
je 0x14015d79d
add r10, r12
mov r8, qword [r10 - 0x18]
test r14, r14
je 0x14015db43
movsxd rax, dword [r14]
cmp eax, dword [r14 + 4]
jge 0x14015daa0
lea edx, [rax + 1]
shl rax, 5
add rax, r14
mov dword [r14], edx
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0
mov qword [rax + 0x20], 0
mov qword [rax + 8], r8
mov qword [r10 - 0x18], 0
movzx edx, word [rsi + 0x3c]
add edi, 1
add rbp, 8
cmp edi, edx
jl 0x14015d6df
mov r11, r15
mov r15, qword [rsp + 0x38]
mov r10, r12
test r11, r11
je 0x14015d7d7
mov rcx, qword [rsp + 0x40]
mov rdx, r11
mov qword [rsp + 0x38], r10
call sym.exprListDeleteNN
mov r10, qword [rsp + 0x38]
test r10, r10
je 0x14015d7f6
mov rcx, qword [rsp + 0x40]
mov rdx, r10
call sym.exprListDeleteNN
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x10]
mov qword [rax + 0x20], r14
mov qword [r15 + 0x20], r13
test r14, r14
je 0x14015d809
cmp dword [r14], 1
je 0x14015da30
mov rdx, qword [r15 + 0x48]
test rdx, rdx
jne 0x14015d9c0
mov r15, qword [r15 + 0x50]
test r15, r15
je 0x14015dae9
mov rax, qword [rsp + 0x30]
mov r11, qword [r15 + 0x20]
xor r10d, r10d
mov rax, qword [rax + 0x20]
cmp r15, rax
jne 0x14015d6a0
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x10]
mov r10, qword [rax + 0x20]
jmp 0x14015d6a0
mov eax, dword [rsp + 0x7c]
mov dword [r12], eax
movzx eax, byte [rsp + 0x48]
mov byte [r12 + 0x10], al
mov eax, dword [rsp + 0xe8]
test eax, eax
jle 0x14015d968
mov eax, dword [rsp + 0xf8]
sub eax, dword [rsp + 0xe8]
mov dword [r12 + 8], eax
mov eax, dword [rsp + 0xe8]
mov dword [r12 + 0xc], eax
jmp 0x14015d5cc
mov dword [rsp + 0xf0], 0
mov ecx, 0x24
mov edx, 0x24
jmp 0x14015d3ac
mov r9d, dword [rsp + 0xf8]
xor r8d, r8d
mov edx, 0x4b
mov rcx, r15
call sym.sqlite3VdbeAddOp3.constprop.0
mov r11d, dword [rsp + 0xf8]
jmp 0x14015d2e4
xor r9d, r9d
mov r8d, r13d
mov edx, 0x32
mov rcx, r15
mov dword [rsp + 0x20], 0
call sym.growOp3
jmp 0x14015d5b9
mov r9d, r13d
mov edx, 0x87
mov rcx, r15
call sym.sqlite3VdbeAddOp3.constprop.0
mov dword [r12 + 4], eax
jmp 0x14015d572
mov r11d, dword [rsp + 0xf0]
test r11d, r11d
jne 0x14015d898
mov dword [rsp + 0xf0], 1
mov ecx, 0x20
mov edx, 0x20
jmp 0x14015d3ac
mov qword [r14 + 0x58], 0
mov dword [r14 + 0x50], 0
jmp 0x14015d603
mov dword [r12 + 0xc], 0
jmp 0x14015d5cc
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, r15
call sym.growOp3
jmp 0x14015d3fb
cmp qword [rsp + 0x30], 0
jne 0x14015db06
mov dword [rsp + 0x38], 5
mov r8d, dword [rsp + 0x7c]
jmp 0x14015d391
mov ecx, dword [rdx]
test ecx, ecx
jle 0x14015d816
sub ecx, 1
lea rax, [rdx + 0x20]
shl rcx, 5
lea rdx, [rdx + rcx + 0x40]
nop word [rax + rax]
xor edi, edi
add rax, 0x20
mov word [rax - 0x20], di
cmp rdx, rax
jne 0x14015d9e0
jmp 0x14015d816
mov rax, qword [rsp + 0xd0]
mov rdx, r13
mov qword [rsp + 0x58], r10
mov qword [rsp + 0x50], r11
mov rcx, qword [rax]
call sym.sqlite3ExprListAppendGrow
mov r11, qword [rsp + 0x50]
mov r10, qword [rsp + 0x58]
mov r13, rax
jmp 0x14015d742
mov rax, qword [rsp + 0x30]
mov rdi, qword [r14 + 8]
mov qword [r14 + 8], 0
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x14015da54
mov rcx, qword [rsp + 0x40]
call sym.sqlite3ExprDeleteNN
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x10], rdi
jmp 0x14015d809
mov rax, qword [rsp + 0xd0]
mov rdx, r8
mov qword [rsp + 0x58], r10
mov qword [rsp + 0x50], r11
mov rcx, qword [rax]
call sym.sqlite3ExprListAppendNew
mov r11, qword [rsp + 0x50]
mov r10, qword [rsp + 0x58]
mov r13, rax
jmp 0x14015d742
mov rax, qword [rsp + 0xd0]
mov rdx, r14
mov qword [rsp + 0x50], r10
mov rcx, qword [rax]
call sym.sqlite3ExprListAppendGrow
mov r10, qword [rsp + 0x50]
mov r14, rax
jmp 0x14015d795
mov eax, dword [rsp + 0xe8]
xor r9d, r9d
mov edx, 0x7d
mov rcx, r15
mov dword [rsp + 0x20], eax
mov r8d, dword [r14 + 8]
call sym.sqlite3VdbeAddOp3
jmp 0x14015d603
mov rax, qword [rsp + 0x40]
mov r15, qword [rsp + 0x60]
mov r12d, dword [rsp + 0x6c]
mov r14, qword [rsp + 0xe0]
cmp byte [rax + 0x67], 0
je 0x14015db68
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
call sym.sqlite3ExprDeleteNN
mov dword [rsp + 0x38], 5
mov r8d, dword [rsp + 0x7c]
mov qword [rsp + 0x30], 0
jmp 0x14015d391
xor r14d, r14d
xor r13d, r13d
jmp 0x14015d7bb
xor r12d, r12d
jmp 0x14015d1c0
mov rax, qword [rsp + 0xd0]
mov rdx, r8
mov qword [rsp + 0x50], r10
mov rcx, qword [rax]
call sym.sqlite3ExprListAppendNew
mov r10, qword [rsp + 0x50]
mov r14, rax
jmp 0x14015d795
mov rax, qword [rsp + 0xd0]
movsxd rdx, r12d
shl rdx, 2
mov rcx, qword [rax]
call sym.sqlite3DbMallocZero
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xd0]
xor r9d, r9d
mov rdi, rax
lea rax, [rsp + 0x7c]
mov r8d, 4
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
call sym.sqlite3FindInIndex
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x7c]
mov dword [rbx + 0x2c], eax
call sym.sqlite3ExprDeleteNN
mov qword [rsp + 0x30], rdi
mov r8d, dword [rsp + 0x7c]
jmp 0x14015d386
mov rax, qword [rcx + 0x20]
mov eax, dword [rax]
jmp 0x14015d228