Function at 0x140205670
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 0x140205710
test r13b, r13b
je 0x140205710
movsxd rax, dword [rdi]
lea rbx, [rdi + 8]
test eax, eax
jle 0x1402057f2
sub eax, 1
shl rax, 5
lea r14, [rdi + rax + 0x28]
jmp 0x1402056e6
test rsi, rsi
je 0x1402056f4
xor ecx, ecx
mov r9d, 0xffffffff
mov r8, rsi
call sym.sqlite3ExprCompare.part.0
test eax, eax
je 0x1402056f9
add rbx, 0x20
cmp rbx, r14
je 0x1402057e0
test byte [rbx + 0x14], 8
je 0x1402056d9
mov rdx, qword [rbx]
test rdx, rdx
jne 0x1402056c0
cmp rdx, rsi
jne 0x1402056d9
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 0x1402057d0
mov rdx, rsi
call sym.exprDup.constprop.0
test rax, rax
mov rsi, rax
je 0x1402057d0
test byte [rax + 4], 8
jne 0x140205820
test rdi, rdi
je 0x140205920
movsxd rax, dword [rdi]
cmp dword [rdi + 4], eax
jle 0x1402058f0
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 0x1402057af
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 0x14020573b
test rsi, rsi
mov rcx, qword [rbp]
jne 0x14020571d
jmp 0x140205744
test rdx, rdx
mov rcx, qword [rcx]
je 0x140205747
call sym.exprDup.constprop.0
test rax, rax
mov rsi, rax
je 0x140205744
test byte [rax + 4], 8
je 0x140205744
nop dword [rax]
mov rbx, qword [rbp + 0x10]
movsxd rdi, dword [rbx + 0x90]
cmp edi, dword [rbx + 0x94]
jge 0x14020593f
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 0x1402058a4
test r12d, r12d
js 0x140205931
cmp qword [rbp + 0x10], 0
je 0x1402058a4
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, [0x1402b1b40]
mov ecx, dword [rbx + 0x90]
mov eax, dword [rsp + 0x3c]
cmp byte [r8 + 0x67], 0
jne 0x1402058de
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 0x1402057bb
mov eax, dword [rdi]
sub eax, 1
cdqe
jmp 0x14020577b
mov rcx, qword [rbp]
mov rdx, rsi
call sym.sqlite3ExprListAppendNew
mov rdi, rax
jmp 0x140205902
mov eax, dword [rbp + 0x38]
add eax, 1
mov dword [rbp + 0x38], eax
jmp 0x140205883
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf
mov rcx, rbx
call sym.growOp3
movsxd rdi, eax
jmp 0x140205869