Function at 0x14020c940
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 rdi, qword [rcx + 0x58]
mov r13d, r8d
mov rbp, rcx
mov rsi, rdx
shr r13d, 0x1f
test rdi, rdi
mov r12d, r8d
je 0x14020c9e0
test r13b, r13b
je 0x14020c9e0
movsxd rax, dword [rdi]
lea rbx, [rdi + 8]
test eax, eax
jle 0x14020cac2
sub eax, 1
shl rax, 5
lea r14, [rdi + rax + 0x28]
jmp 0x14020c9b6
test rsi, rsi
je 0x14020c9c4
xor ecx, ecx
mov r9d, 0xffffffff
mov r8, rsi
call sym.sqlite3ExprCompare.part.0
test eax, eax
je 0x14020c9c9
add rbx, 0x20
cmp rbx, r14
je 0x14020cab0
test byte [rbx + 0x14], 8
je 0x14020c9a9
mov rdx, qword [rbx]
test rdx, rdx
jne 0x14020c990
cmp rdx, rsi
jne 0x14020c9a9
mov eax, dword [rbx + 0x18]
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
test rsi, rsi
mov rcx, qword [rbp]
je 0x14020caa0
mov rdx, rsi
call sym.exprDup.constprop.0
test rax, rax
mov rsi, rax
je 0x14020caa0
test byte [rax + 4], 8
jne 0x14020caf0
test rdi, rdi
je 0x14020cbf0
movsxd rax, dword [rdi]
cmp dword [rdi + 4], eax
jle 0x14020cbc0
lea edx, [rax + 1]
mov dword [rdi], edx
mov rdx, rax
shl rdx, 5
add rdx, rdi
mov qword [rdx + 0x10], 0
mov qword [rdx + 0x18], 0
mov qword [rdx + 0x20], 0
mov qword [rdx + 8], rsi
lea ecx, [r13*8]
mov rdx, rax
shl rdx, 5
lea rdx, [rdi + rdx + 0x10]
movzx r13d, byte [rdx + 0xc]
and r13d, 0xfffffff7
or r13d, ecx
test r12d, r12d
mov byte [rdx + 0xc], r13b
jns 0x14020ca7f
mov ecx, dword [rbp + 0x38]
lea r12d, [rcx + 1]
mov dword [rbp + 0x38], r12d
shl rax, 5
mov dword [rdi + rax + 0x20], r12d
mov eax, r12d
mov qword [rbp + 0x58], rdi
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
xor esi, esi
jmp 0x14020ca0b
test rsi, rsi
mov rcx, qword [rbp]
jne 0x14020c9ed
jmp 0x14020ca14
test rdx, rdx
mov rcx, qword [rcx]
je 0x14020ca17
call sym.exprDup.constprop.0
test rax, rax
mov rsi, rax
je 0x14020ca14
test byte [rax + 4], 8
je 0x14020ca14
nop dword [rax]
mov rbx, qword [rbp + 0x10]
movsxd rdi, dword [rbx + 0x90]
cmp edi, dword [rbx + 0x94]
jge 0x14020cc0f
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, r12d
cmp byte [rcx + 0x67], 0
jne 0x14020cb74
test r12d, r12d
js 0x14020cc01
cmp qword [rbp + 0x10], 0
je 0x14020cb74
mov r8d, eax
mov rcx, rbp
mov rdx, rsi
mov dword [rsp + 0x3c], eax
call sym.sqlite3ExprCode.part.0
mov rcx, qword [rbp]
mov eax, dword [rsp + 0x3c]
mov rdx, rsi
mov byte [rbp + 0x23], 1
mov dword [rsp + 0x3c], eax
call sym.sqlite3ExprDeleteNN
mov r8, qword [rbx]
lea rdx, [0x1402b8b80]
mov ecx, dword [rbx + 0x90]
mov eax, dword [rsp + 0x3c]
cmp byte [r8 + 0x67], 0
jne 0x14020cbae
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
mov rcx, qword [rbp]
mov rdx, rdi
mov r8, rsi
call sym.sqlite3ExprListAppendGrow
mov rdi, rax
test rdi, rdi
mov eax, r12d
je 0x14020ca8b
mov eax, dword [rdi]
sub eax, 1
cdqe
jmp 0x14020ca4b
mov rcx, qword [rbp]
mov rdx, rsi
call sym.sqlite3ExprListAppendNew
mov rdi, rax
jmp 0x14020cbd2
mov eax, dword [rbp + 0x38]
add eax, 1
mov dword [rbp + 0x38], eax
jmp 0x14020cb53
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf
mov rcx, rbx
call sym.growOp3
movsxd rdi, eax
jmp 0x14020cb39