Function at 0x1401b0490
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, 0x58
movzx edi, byte [rdx + 0x24]
mov r15d, dword [rsp + 0xd0]
mov rbx, qword [rcx + 0x10]
mov r12, rdx
mov rdx, qword [rdx]
and edi, 1
mov r14d, r9d
mov eax, edi
mov r9d, dword [rsp + 0xc0]
mov rbp, rcx
mov qword [rsp + 0xb0], r8
xor eax, 1
movzx eax, al
mov r13d, dword [rdx]
mov dword [rsp + 0x48], eax
add eax, r13d
add eax, dword [rsp + 0xc8]
test r15d, r15d
mov dword [rsp + 0x3c], eax
mov eax, dword [r12 + 8]
mov dword [rsp + 0x38], eax
je 0x1401b0770
mov eax, r14d
sub eax, r15d
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0xb0]
mov esi, dword [rax + 0xc]
test esi, esi
je 0x1401b0796
add esi, 1
mov eax, dword [rbp + 0x44]
mov rcx, rbp
mov r8d, dword [rsp + 0x34]
sub eax, 1
cmp r9d, 1
mov dword [rbp + 0x44], eax
mov dword [r12 + 0x1c], eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 5
mov dword [rsp + 0x20], eax
call sym.sqlite3ExprCodeExprList.isra.0
test dil, dil
je 0x1401b07b0
test r15d, r15d
jne 0x1401b0566
mov eax, dword [rsp + 0xc8]
test eax, eax
jg 0x1401b0650
mov eax, dword [rsp + 0x38]
test eax, eax
jg 0x1401b0687
test esi, esi
jne 0x1401b0a40
mov edi, dword [rsp + 0x34]
lea r15d, [rdi + rax]
mov rax, qword [r12 + 0x28]
mov ecx, dword [rbp + 0x38]
mov edi, dword [r12 + 8]
mov r13, qword [rbp + 0x10]
test rax, rax
lea r14d, [rcx + 1]
mov dword [rbp + 0x38], r14d
je 0x1401b05c2
mov rcx, qword [rsp + 0xb0]
xor r9d, r9d
mov r8d, dword [rax]
movzx eax, byte [rax + 4]
mov rdx, qword [rcx + 0x20]
mov rcx, rbp
mov dword [rsp + 0x20], eax
call sym.sqlite3ExprCodeExprList.isra.0
mov r9d, dword [rsp + 0x3c]
mov dword [rsp + 0x20], r14d
mov edx, 0x61
mov rcx, r13
mov eax, dword [rsp + 0x34]
sub r9d, edi
lea r8d, [rax + rdi]
call sym.sqlite3VdbeAddOp3
mov eax, dword [rsp + 0x3c]
mov r9d, r14d
mov rcx, rbx
mov edi, dword [rsp + 0x38]
movzx edx, byte [r12 + 0x24]
mov dword [rsp + 0x20], r15d
sub eax, edi
mov dword [rsp + 0x28], eax
mov r8d, dword [r12 + 0xc]
and edx, 1
sub edx, 0x76
movzx edx, dl
call sym.sqlite3VdbeAddOp4Int
test esi, esi
je 0x1401b063e
mov eax, dword [r12 + 0x20]
test eax, eax
je 0x1401b0a20
mov rcx, qword [rbx]
lea rdx, [0x1403b4900]
cmp byte [rcx + 0x67], 0
je 0x1401b0a00
mov dword [rdx + 8], eax
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov edx, dword [rsp + 0xc8]
mov r8d, r14d
mov eax, dword [rsp + 0x34]
mov rcx, qword [rbp + 0x10]
mov dword [rsp + 0x20], edx
mov edx, dword [rsp + 0x48]
add eax, r13d
lea r9d, [rax + rdx]
mov edx, 0x4f
call sym.sqlite3VdbeAddOp3
mov eax, dword [rsp + 0x38]
test eax, eax
jle 0x1401b0572
mov rcx, qword [r12 + 0x28]
mov edx, dword [rbp + 0x38]
mov r15d, dword [r12 + 8]
mov rax, qword [rbp + 0x10]
test rcx, rcx
lea r14d, [rdx + 1]
mov dword [rbp + 0x38], r14d
je 0x1401b06d1
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xb0]
xor r9d, r9d
mov r8d, dword [rcx]
movzx ecx, byte [rcx + 4]
mov rdx, qword [rax + 0x20]
mov dword [rsp + 0x20], ecx
mov rcx, rbp
call sym.sqlite3ExprCodeExprList.isra.0
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x34]
mov edx, 0x61
mov dword [rsp + 0x20], r14d
mov r9d, dword [rsp + 0x3c]
lea r8d, [rcx + r15]
mov rcx, rax
sub r9d, r15d
call sym.sqlite3VdbeAddOp3
mov eax, dword [rbp + 0x38]
mov r15d, dword [r12 + 8]
lea edx, [rax + 1]
add eax, r15d
test dil, dil
mov dword [rsp + 0x40], edx
mov dword [rbp + 0x38], eax
jne 0x1401b07e0
mov ecx, dword [rsp + 0x34]
mov r10d, dword [rbx + 0x90]
cmp r10d, dword [rbx + 0x94]
lea r8d, [rcx + r13]
jge 0x1401b0b38
lea eax, [r10 + 1]
mov dword [rbx + 0x90], eax
movsxd rax, r10d
lea rdx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rax, [rax + rdx*8]
mov dword [rax + 4], r8d
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
mov dword [rax], 0x11
mov eax, r15d
jmp 0x1401b0832
mov eax, dword [rcx + 0x38]
lea esi, [rax + 1]
mov dword [rsp + 0x34], esi
mov esi, dword [rsp + 0x3c]
add eax, esi
mov dword [rcx + 0x38], eax
mov rax, qword [rsp + 0xb0]
mov esi, dword [rax + 0xc]
test esi, esi
jne 0x1401b051b
mov rax, qword [rsp + 0xb0]
mov esi, dword [rax + 8]
jmp 0x1401b051e
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x20], 0
mov edx, 0x7e
mov rcx, rbx
mov r8d, dword [r12 + 0xc]
lea r9d, [rax + r13]
call sym.sqlite3VdbeAddOp3
jmp 0x1401b0552
mov r10d, dword [rbx + 0x90]
cmp r10d, dword [rbx + 0x94]
mov r8d, dword [r12 + 0xc]
jge 0x1401b0b10
lea eax, [r10 + 1]
mov dword [rbx + 0x90], eax
movsxd rax, r10d
lea rdx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rax, [rax + rdx*8]
mov dword [rax + 4], r8d
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
mov dword [rax], 0x78
mov eax, r15d
mov r9d, dword [rsp + 0x34]
mov edx, 0x5a
mov dword [rsp + 0x20], eax
mov rcx, rbx
mov r8d, dword [rsp + 0x40]
mov dword [rsp + 0x4c], r10d
lea rdi, [0x1403b4900]
call sym.sqlite3VdbeAddOp3
mov rdx, qword [rbx]
movsxd rax, dword [r12 + 0x18]
mov r10d, dword [rsp + 0x4c]
cmp byte [rdx + 0x67], 0
jne 0x1401b087b
lea rdx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rdi, [rax + rdx*8]
mov rax, qword [rbp]
mov dword [rsp + 0x4c], r10d
cmp byte [rax + 0x67], 0
jne 0x1401b063e
mov ecx, dword [rsp + 0x48]
mov eax, r13d
xor edx, edx
sub eax, r15d
mov r15, qword [rdi + 0x10]
add eax, ecx
add eax, dword [rsp + 0xc8]
mov rcx, qword [r15 + 0x18]
movzx r8d, word [r15 + 6]
mov dword [rdi + 8], eax
call sym.memset
mov r8, r15
mov edx, 0xffffffff
mov rcx, rbx
mov r9d, 0xfffffff8
call sym.sqlite3VdbeChangeP4
movzx edx, word [r15 + 6]
mov rcx, rbp
movzx eax, word [r15 + 8]
mov r8d, dword [rsp + 0x38]
sub eax, edx
mov rdx, qword [r12]
lea r9d, [rax - 1]
call dbg.sqlite3KeyInfoFromExprList
xor r9d, r9d
mov edx, 0xe
mov rcx, rbx
mov qword [rdi + 0x10], rax
movsxd rdi, dword [rbx + 0x90]
lea r8d, [rdi + 1]
mov dword [rsp + 0x20], r8d
call sym.sqlite3VdbeAddOp3
mov eax, dword [rbp + 0x44]
mov edx, 0xa
mov rcx, rbx
lea r9d, [rax - 1]
mov eax, dword [rbp + 0x38]
mov dword [rbp + 0x44], r9d
mov dword [r12 + 0x14], r9d
lea r8d, [rax + 1]
mov dword [rbp + 0x38], r8d
mov dword [r12 + 0x10], r8d
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp3
xor r9d, r9d
mov edx, 0x92
mov rcx, rbx
mov dword [rsp + 0x20], 0
mov r8d, dword [r12 + 0xc]
call sym.sqlite3VdbeAddOp3
test esi, esi
mov r10d, dword [rsp + 0x4c]
jne 0x1401b0ae0
mov rcx, qword [rbx]
lea rax, [0x1403b4900]
mov edx, dword [rbx + 0x90]
cmp byte [rcx + 0x67], 0
jne 0x1401b099a
movsxd rax, r10d
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
mov eax, dword [r12 + 8]
mov edx, 0x4f
mov rcx, qword [rbp + 0x10]
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x34]
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp3
mov rcx, qword [rbx]
lea rdx, [0x1403b4900]
mov eax, dword [rbx + 0x90]
cmp byte [rcx + 0x67], 0
jne 0x1401b09e3
mov rdx, qword [rbx + 0x88]
lea rcx, [rdi + rdi*2]
lea rdx, [rdx + rcx*8]
test esi, esi
mov dword [rdx + 8], eax
jne 0x1401b0a49
mov eax, dword [rsp + 0x34]
mov edi, dword [rsp + 0x38]
lea r15d, [rax + rdi]
jmp 0x1401b0ace
mov rdx, qword [rbx + 0x88]
movsxd rsi, esi
lea rcx, [rsi + rsi*2]
lea rdx, [rdx + rcx*8]
jmp 0x1401b063b
mov rcx, qword [rbx]
lea rdx, [0x1403b4900]
mov eax, dword [rbx + 0x90]
cmp byte [rcx + 0x67], 0
jne 0x1401b063b
jmp 0x1401b0a00
mov eax, dword [rbx + 0x90]
xor r14d, r14d
mov edi, dword [r12 + 0xc]
mov r8d, esi
mov edx, 0x3c
mov rcx, rbx
lea r9d, [rax + 4]
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp3
xor r9d, r9d
mov edx, 0x20
mov rcx, rbx
mov dword [rsp + 0x20], 0
mov r8d, edi
call sym.sqlite3VdbeAddOp3
mov esi, dword [rsp + 0x34]
xor r9d, r9d
mov r8d, edi
mov eax, dword [rsp + 0x38]
mov edx, 0x28
mov rcx, rbx
lea r15d, [rsi + rax]
sub r13d, eax
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r15d
call sym.sqlite3VdbeAddOp4Int
xor r9d, r9d
mov r8d, edi
mov edx, 0x82
mov dword [rsp + 0x20], 0
mov rcx, rbx
mov esi, eax
call sym.sqlite3VdbeAddOp3
test r14d, r14d
jne 0x1401b05e4
jmp 0x1401b0582
mov r8d, esi
mov edx, 0x11
mov rcx, rbx
mov dword [rsp + 0x48], r10d
mov dword [rsp + 0x20], 0
mov r9d, dword [r12 + 0x1c]
call sym.sqlite3VdbeAddOp3
mov r10d, dword [rsp + 0x48]
jmp 0x1401b0972
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov edx, 0x78
mov rcx, rbx
call dbg.growOp3
mov r10d, eax
mov eax, dword [r12 + 8]
jmp 0x1401b0832
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov edx, 0x11
mov rcx, rbx
call dbg.growOp3
mov r10d, eax
mov eax, dword [r12 + 8]
jmp 0x1401b0832