Function at 0x14015c12b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xc0
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
mov qword [rbp - 0x40], rax
mov word [rbp - 0x1e], 0
mov dword [rbp - 0x24], 0
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0x10]
mov qword [rbp - 0x48], rax
mov rax, qword [rbp + 0x28]
mov rax, qword [rax + 0x20]
mov qword [rbp - 0x50], rax
mov dword [rbp - 0xc], 0
mov eax, dword [rbp - 0xc]
mov dword [rbp - 4], eax
mov rax, qword [rbp + 0x18]
mov rax, qword [rax + 0x20]
mov qword [rbp - 0x18], rax
jmp 0x14015c249
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x12]
and eax, 0xffffffbf
mov edx, eax
mov rax, qword [rbp - 0x18]
mov word [rax + 0x12], dx
mov rax, qword [rbp - 0x18]
mov edx, dword [rax + 0x1c]
mov rax, qword [rbp + 0x28]
mov eax, dword [rax + 0x44]
cmp edx, eax
jne 0x14015c233
mov rax, qword [rbp - 0x18]
mov rax, qword [rax + 0x28]
and rax, qword [rbp + 0x20]
test rax, rax
jne 0x14015c236
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx eax, ax
and ah, 0xf7
test eax, eax
je 0x14015c239
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x12]
movzx eax, ax
and eax, 0x80
test eax, eax
jne 0x14015c23c
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax + 0x3c]
movzx eax, al
and eax, 0x58
test eax, eax
je 0x14015c218
mov rdx, qword [rbp + 0x28]
mov rax, qword [rbp - 0x18]
mov rcx, rax
call sym.constraintCompatibleWithOuterJoin
test eax, eax
je 0x14015c23f
add dword [rbp - 0xc], 1
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x12]
or eax, 0x40
mov edx, eax
mov rax, qword [rbp - 0x18]
mov word [rax + 0x12], dx
jmp 0x14015c240
nop
jmp 0x14015c240
nop
jmp 0x14015c240
nop
jmp 0x14015c240
nop
jmp 0x14015c240
nop
add dword [rbp - 4], 1
add qword [rbp - 0x18], 0x38
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x14]
cmp dword [rbp - 4], eax
jl 0x14015c194
mov dword [rbp - 0x1c], 0
cmp qword [rbp - 0x48], 0
je 0x14015c42d
mov rax, qword [rbp - 0x48]
mov eax, dword [rax]
mov dword [rbp - 0x54], eax
mov dword [rbp - 4], 0
jmp 0x14015c3bb
mov rax, qword [rbp - 0x48]
mov edx, dword [rbp - 4]
movsxd rdx, edx
shl rdx, 5
add rax, rdx
add rax, 8
mov rax, qword [rax]
mov qword [rbp - 0x60], rax
mov rax, qword [rbp - 0x60]
mov rcx, rax
call sym.sqlite3ExprIsConstant
test eax, eax
jne 0x14015c3b0
mov rax, qword [rbp - 0x48]
mov edx, dword [rbp - 4]
movsxd rdx, edx
shl rdx, 5
add rax, rdx
add rax, 0x18
movzx eax, byte [rax]
movzx eax, al
and eax, 2
test eax, eax
jne 0x14015c3c9
mov rax, qword [rbp - 0x60]
movzx eax, byte [rax]
cmp al, 0xa7
jne 0x14015c2f7
mov rax, qword [rbp - 0x60]
mov edx, dword [rax + 0x2c]
mov rax, qword [rbp + 0x28]
mov eax, dword [rax + 0x44]
cmp edx, eax
je 0x14015c3b3
mov rax, qword [rbp - 0x60]
movzx eax, byte [rax]
cmp al, 0x71
jne 0x14015c3cc
mov rax, qword [rbp - 0x60]
mov rax, qword [rax + 0x10]
mov qword [rbp - 0x68], rax
mov rax, qword [rbp - 0x68]
movzx eax, byte [rax]
cmp al, 0xa7
jne 0x14015c3cc
mov rax, qword [rbp - 0x68]
mov edx, dword [rax + 0x2c]
mov rax, qword [rbp + 0x28]
mov eax, dword [rax + 0x44]
cmp edx, eax
jne 0x14015c3cc
mov rax, qword [rbp - 0x68]
movzx edx, word [rax + 0x30]
mov rax, qword [rbp - 0x60]
mov word [rax + 0x30], dx
mov rax, qword [rbp - 0x68]
movzx eax, word [rax + 0x30]
test ax, ax
js 0x14015c3b6
mov rax, qword [rbp - 0x50]
mov rcx, qword [rax + 8]
mov rax, qword [rbp - 0x68]
movzx eax, word [rax + 0x30]
movsx rdx, ax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 3
add rax, rcx
mov rcx, rax
call sym.sqlite3ColumnColl
mov qword [rbp - 0x30], rax
cmp qword [rbp - 0x30], 0
jne 0x14015c396
lea rax, [0x14036d1dc]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x60]
mov rax, qword [rax + 8]
mov rdx, qword [rbp - 0x30]
mov rcx, rax
call sym.sqlite3_stricmp
test eax, eax
jne 0x14015c3cc
jmp 0x14015c3b7
nop
jmp 0x14015c3b7
nop
jmp 0x14015c3b7
nop
add dword [rbp - 4], 1
mov eax, dword [rbp - 4]
cmp eax, dword [rbp - 0x54]
jl 0x14015c280
jmp 0x14015c3cd
nop
jmp 0x14015c3cd
nop
mov eax, dword [rbp - 4]
cmp eax, dword [rbp - 0x54]
jne 0x14015c42d
mov eax, dword [rbp - 0x54]
mov dword [rbp - 0x1c], eax
mov rax, qword [rbp + 0x10]
movzx eax, word [rax + 0x3c]
movzx eax, ax
and eax, 0x80
test eax, eax
je 0x14015c414
mov rax, qword [rbp + 0x10]
movzx eax, word [rax + 0x3c]
movzx eax, ax
and eax, 0x200
test eax, eax
je 0x14015c40a
mov eax, 3
jmp 0x14015c40f
mov eax, 2
mov dword [rbp - 0x24], eax
jmp 0x14015c42d
mov rax, qword [rbp + 0x10]
movzx eax, word [rax + 0x3c]
movzx eax, ax
and eax, 0x40
test eax, eax
je 0x14015c42d
mov dword [rbp - 0x24], 1
mov eax, dword [rbp - 0xc]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
mov rdx, rax
mov eax, dword [rbp - 0x1c]
cdqe
shl rax, 3
add rdx, rax
mov eax, dword [rbp - 0xc]
cdqe
shl rax, 3
add rax, rdx
lea rdx, [rax + 0x88]
mov rax, qword [rbp - 0x40]
mov rax, qword [rax]
mov rcx, rax
call sym.sqlite3DbMallocZero
mov qword [rbp - 0x70], rax
cmp qword [rbp - 0x70], 0
jne 0x14015c49a
mov rax, qword [rbp - 0x40]
lea rdx, [0x14036d5ec]
mov rcx, rax
call sym.sqlite3ErrorMsg
mov eax, 0
jmp 0x14015c876
mov rax, qword [rbp - 0x70]
add rax, 0x60
mov qword [rbp - 0x78], rax
mov eax, dword [rbp - 0xc]
cdqe
add rax, 4
lea rdx, [rax*8]
mov rax, qword [rbp - 0x78]
add rax, rdx
mov qword [rbp - 0x80], rax
mov eax, dword [rbp - 0xc]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp - 0x80]
add rax, rdx
mov qword [rbp - 0x88], rax
mov eax, dword [rbp - 0x1c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp - 0x88]
add rax, rdx
mov qword [rbp - 0x90], rax
mov rax, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x80]
mov qword [rax + 8], rdx
mov rax, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x88]
mov qword [rax + 0x18], rdx
mov rax, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x90]
mov qword [rax + 0x20], rdx
mov rax, qword [rbp - 0x78]
mov rdx, qword [rbp + 0x18]
mov qword [rax], rdx
mov rax, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x40]
mov qword [rax + 8], rdx
mov rax, qword [rbp - 0x78]
mov edx, dword [rbp - 0x24]
mov dword [rax + 0x10], edx
mov rax, qword [rbp - 0x78]
mov dword [rax + 0x14], 0
mov dword [rbp - 8], 0
mov eax, dword [rbp - 8]
mov dword [rbp - 4], eax
mov rax, qword [rbp + 0x18]
mov rax, qword [rax + 0x20]
mov qword [rbp - 0x18], rax
jmp 0x14015c78e
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x12]
movzx eax, ax
and eax, 0x40
test eax, eax
je 0x14015c784
mov eax, dword [rbp - 8]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp - 0x80]
add rdx, rax
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x20]
mov dword [rdx], eax
mov eax, dword [rbp - 8]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp - 0x80]
add rdx, rax
mov eax, dword [rbp - 4]
mov dword [rdx + 8], eax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
and ax, 0x3fff
mov word [rbp - 0x32], ax
cmp word [rbp - 0x32], 1
jne 0x14015c62f
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x12]
test ax, ax
js 0x14015c629
mov rax, qword [rbp - 0x78]
mov edx, dword [rax + 0x14]
cmp dword [rbp - 8], 0x1f
jg 0x14015c61b
mov eax, dword [rbp - 8]
mov r8d, 1
mov ecx, eax
shl r8d, cl
mov eax, r8d
jmp 0x14015c620
mov eax, 0
or edx, eax
mov rax, qword [rbp - 0x78]
mov dword [rax + 0x14], edx
mov word [rbp - 0x32], 2
cmp word [rbp - 0x32], 0x40
jne 0x14015c663
mov eax, dword [rbp - 8]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp - 0x80]
add rdx, rax
mov rax, qword [rbp - 0x18]
movzx eax, byte [rax + 0x17]
mov byte [rdx + 4], al
jmp 0x14015c77e
movzx eax, word [rbp - 0x32]
and eax, 0x180
test eax, eax
je 0x14015c6c4
cmp word [rbp - 0x32], 0x100
jne 0x14015c69e
mov eax, dword [rbp - 8]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp - 0x80]
add rax, rdx
mov byte [rax + 4], 0x47
jmp 0x14015c77e
mov eax, dword [rbp - 8]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp - 0x80]
add rax, rdx
mov byte [rax + 4], 0x48
jmp 0x14015c77e
mov eax, dword [rbp - 8]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp - 0x80]
add rax, rdx
movzx edx, word [rbp - 0x32]
mov byte [rax + 4], dl
movzx eax, word [rbp - 0x32]
and eax, 0x3c
test eax, eax
je 0x14015c77e
mov rax, qword [rbp - 0x18]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov rcx, rax
call sym.sqlite3ExprIsVector
test eax, eax
je 0x14015c77e
cmp dword [rbp - 8], 0xf
jg 0x14015c72e
mov eax, dword [rbp - 8]
mov edx, 1
mov ecx, eax
shl edx, cl
mov eax, edx
mov edx, eax
movzx eax, word [rbp - 0x1e]
or eax, edx
mov word [rbp - 0x1e], ax
cmp word [rbp - 0x32], 0x10
jne 0x14015c756
mov eax, dword [rbp - 8]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp - 0x80]
add rax, rdx
mov byte [rax + 4], 8
cmp word [rbp - 0x32], 4
jne 0x14015c77e
mov eax, dword [rbp - 8]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp - 0x80]
add rax, rdx
mov byte [rax + 4], 0x20
add dword [rbp - 8], 1
jmp 0x14015c785
nop
add dword [rbp - 4], 1
add qword [rbp - 0x18], 0x38
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x14]
cmp dword [rbp - 4], eax
jl 0x14015c578
mov rax, qword [rbp - 0x70]
mov edx, dword [rbp - 8]
mov dword [rax], edx
mov dword [rbp - 8], 0
mov eax, dword [rbp - 8]
mov dword [rbp - 4], eax
jmp 0x14015c851
mov rax, qword [rbp - 0x48]
mov edx, dword [rbp - 4]
movsxd rdx, edx
shl rdx, 5
add rax, rdx
add rax, 8
mov rax, qword [rax]
mov qword [rbp - 0x98], rax
mov rax, qword [rbp - 0x98]
mov rcx, rax
call sym.sqlite3ExprIsConstant
test eax, eax
jne 0x14015c84c
mov rax, qword [rbp - 0x98]
movzx eax, word [rax + 0x30]
mov edx, dword [rbp - 8]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp - 0x88]
add rdx, rcx
cwde
mov dword [rdx], eax
mov rax, qword [rbp - 0x48]
mov edx, dword [rbp - 4]
movsxd rdx, edx
shl rdx, 5
add rax, rdx
add rax, 0x18
movzx edx, byte [rax]
mov eax, dword [rbp - 8]
cdqe
lea rcx, [rax*8]
mov rax, qword [rbp - 0x88]
add rax, rcx
and edx, 1
mov byte [rax + 4], dl
add dword [rbp - 8], 1
jmp 0x14015c84d
nop
add dword [rbp - 4], 1
mov eax, dword [rbp - 4]
cmp eax, dword [rbp - 0x1c]
jl 0x14015c7b9
mov rax, qword [rbp - 0x70]
mov edx, dword [rbp - 8]
mov dword [rax + 0x10], edx
mov rax, qword [rbp + 0x30]
movzx edx, word [rbp - 0x1e]
mov word [rax], dx
mov rax, qword [rbp - 0x70]
add rsp, 0xc0
pop rbp
ret