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

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov r12, qword [rcx + 0x58]
mov r14d, r8d
mov rbp, rcx
mov r13, rdx
mov esi, r8d
shr r14d, 0x1f
test r12, r12
je 0x140207940
test r14b, r14b
je 0x140207940
mov eax, dword [r12]
lea rbx, [r12 + 8]
test eax, eax
jle 0x140207a10
sub eax, 1
shl rax, 5
lea rdi, [r12 + rax + 0x28]
jmp 0x1402078fd
add rbx, 0x20
cmp rbx, rdi
je 0x140207a10
test byte [rbx + 0x14], 8
je 0x1402078f0
mov rdx, qword [rbx]
test rdx, rdx
je 0x140207b10
test r13, r13
je 0x140207b10
xor ecx, ecx
mov r9d, 0xffffffff
mov r8, r13
call sym.sqlite3ExprCompare.part.0
test eax, eax
jne 0x1402078f0
mov eax, dword [rbx + 0x18]
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
test r13, r13
je 0x140207a00
mov rcx, qword [rbp]
mov rdx, r13
call sym.exprDup.constprop.0
mov r13, rax
test rax, rax
je 0x140207a00
test byte [rax + 4], 8
jne 0x140207a3b
test r12, r12
je 0x140207b60
movsxd rax, dword [r12]
cmp eax, dword [r12 + 4]
jge 0x140207b3a
lea edx, [rax + 1]
mov dword [r12], edx
mov rdx, rax
shl rdx, 5
add rdx, r12
mov qword [rdx + 0x10], 0
mov qword [rdx + 0x18], 0
mov qword [rdx + 0x20], 0
mov qword [rdx + 8], r13
mov rdx, rax
lea ecx, [r14*8]
shl rdx, 5
lea rdx, [r12 + rdx + 0x10]
movzx r14d, byte [rdx + 0xc]
and r14d, 0xfffffff7
or r14d, ecx
mov byte [rdx + 0xc], r14b
test esi, esi
jns 0x1402079e1
mov esi, dword [rbp + 0x38]
add esi, 1
mov dword [rbp + 0x38], esi
shl rax, 5
mov dword [r12 + rax + 0x20], esi
mov eax, esi
mov qword [rbp + 0x58], r12
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
xor r13d, r13d
jmp 0x14020796b
test r13, r13
je 0x140207b28
mov rcx, qword [rbp]
mov rdx, r13
call sym.exprDup.constprop.0
mov r13, rax
test rax, rax
je 0x140207b28
test byte [rax + 4], 8
je 0x140207974
mov rbx, qword [rbp + 0x10]
movsxd rdi, dword [rbx + 0x90]
cmp edi, dword [rbx + 0x94]
jge 0x140207b7f
lea eax, [rdi + 1]
mov dword [rbx + 0x90], eax
movsxd rax, edi
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 rcx, qword [rbp]
mov byte [rbp + 0x23], 0
mov eax, esi
cmp byte [rcx + 0x67], 0
jne 0x140207abd
test esi, esi
js 0x140207b71
cmp qword [rbp + 0x10], 0
je 0x140207abd
mov r8d, eax
mov rcx, rbp
mov rdx, r13
mov dword [rsp + 0x3c], eax
call sym.sqlite3ExprCode.part.0
mov rcx, qword [rbp]
mov eax, dword [rsp + 0x3c]
mov byte [rbp + 0x23], 1
mov rdx, r13
mov dword [rsp + 0x3c], eax
call sym.sqlite3ExprDeleteNN
mov r8, qword [rbx]
mov eax, dword [rsp + 0x3c]
lea rdx, [0x1402ba140]
mov ecx, dword [rbx + 0x90]
cmp byte [r8 + 0x67], 0
jne 0x140207af7
mov rdx, qword [rbx + 0x88]
lea r8, [rdi + rdi*2]
lea rdx, [rdx + r8*8]
mov dword [rdx + 8], ecx
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
cmp rdx, r13
jne 0x1402078f0
mov eax, dword [rbx + 0x18]
jmp 0x14020792f
movsxd rax, dword [r12]
xor r13d, r13d
cmp eax, dword [r12 + 4]
jl 0x140207983
mov rcx, qword [rbp]
mov rdx, r12
mov r8, r13
call sym.sqlite3ExprListAppendGrow
mov r12, rax
test r12, r12
jne 0x140207ba2
mov eax, esi
jmp 0x1402079ec
mov rcx, qword [rbp]
mov rdx, r13
call sym.sqlite3ExprListAppendNew
mov r12, rax
jmp 0x140207b4c
mov eax, dword [rbp + 0x38]
add eax, 1
mov dword [rbp + 0x38], eax
jmp 0x140207a9c
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf
mov rcx, rbx
mov dword [rsp + 0x20], 0
call sym.growOp3
movsxd rdi, eax
jmp 0x140207a84
mov eax, dword [r12]
sub eax, 1
cdqe
jmp 0x1402079b0