Function at 0x140063b10
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, 0x48
xor edi, edi
mov rbx, qword [rdx + 0x28]
mov rsi, qword [rcx + 0x10]
mov rbp, rdx
mov edx, dword [rdx + 0x30]
test edx, edx
jle 0x140063bd1
mov qword [rsp + 0x90], rcx
jmp 0x140063b73
movsxd rax, dword [rsi + 0x90]
mov rcx, qword [rsi + 0x88]
shl rax, 5
lea rax, [rcx + rax - 0x20]
mov byte [rax + 1], 0xf9
mov qword [rax + 0x10], rdx
add edi, 1
add rbx, 0x20
cmp dword [rbp + 0x30], edi
jle 0x140063bd1
mov r10, qword [rbx]
mov r12d, dword [rbx + 0x18]
mov r14, qword [r10 + 0x20]
test r12d, r12d
jns 0x140063be8
xor r9d, r9d
test r14, r14
je 0x140063b8e
mov r9d, dword [r14]
mov eax, dword [rbp + 0x20]
add eax, dword [rbp + 0xc]
mov edx, 0xa5
mov rcx, rsi
mov dword [rsp + 0x20], 0
lea r8d, [rax + rdi]
call sym.sqlite3VdbeAddOp3
mov rcx, qword [rsi]
mov rdx, qword [rbx + 8]
cmp byte [rcx + 0x67], 0
je 0x140063b48
test byte [rdx + 4], 0x10
je 0x140063b67
call sym.sqlite3DbNNFreeNN
add edi, 1
add rbx, 0x20
cmp dword [rbp + 0x30], edi
jg 0x140063b73
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov eax, dword [r14]
mov rcx, qword [rsp + 0x90]
xor r15d, r15d
mov edx, eax
mov dword [rsp + 0x30], eax
call sym.sqlite3GetTempRange
cmp byte [rbx + 0x1c], 0
mov dword [rsp + 0x34], eax
je 0x140063c1e
mov rax, qword [r10 + 0x10]
cmp byte [rbx + 0x1d], 1
mov rax, qword [rax + 0x20]
mov r15d, dword [rax]
adc r15d, 0
mov r8d, r12d
mov edx, 0x24
xor r9d, r9d
mov rcx, rsi
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp3
mov r12d, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x30]
sub r12d, r15d
lea edx, [rax - 1]
lea r13d, [r15 + rdx]
test edx, edx
js 0x140063c8d
mov dword [rsp + 0x3c], edi
mov edi, r13d
mov r13d, edx
nop
lea eax, [r12 + rdi]
mov r8d, dword [rbx + 0x18]
mov r9d, edi
mov edx, 0x5e
mov dword [rsp + 0x20], eax
mov rcx, rsi
call sym.sqlite3VdbeAddOp3
mov eax, edi
sub edi, 1
cmp eax, r15d
jne 0x140063c60
mov edi, dword [rsp + 0x3c]
mov edx, r13d
cmp byte [rbx + 0x1e], 0
jne 0x140063da0
mov eax, dword [rbp + 0x20]
add eax, dword [rbp + 0xc]
xor r8d, r8d
mov rcx, rsi
add eax, edi
mov r9d, dword [rsp + 0x34]
mov edx, 0xa2
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp3
mov rcx, qword [rsi]
mov r8, qword [rbx + 8]
cmp byte [rcx + 0x67], 0
jne 0x140063d88
movsxd rdx, dword [rsi + 0x90]
mov rcx, qword [rsi + 0x88]
mov rax, rdx
shl rdx, 5
lea rdx, [rcx + rdx - 0x20]
mov byte [rdx + 1], 0xf9
mov qword [rdx + 0x10], r8
test eax, eax
jle 0x140063d03
movzx edx, byte [rsp + 0x30]
shl rax, 5
add rax, qword [rsi + 0x88]
mov word [rax - 0x1e], dx
mov r8d, dword [rbx + 0x18]
mov r15d, dword [rsp + 0x38]
mov edx, 0x27
mov rcx, rsi
mov dword [rsp + 0x20], 0
lea r9d, [r15 + 1]
call sym.sqlite3VdbeAddOp3
mov rcx, qword [rsi]
mov edx, dword [rsi + 0x90]
lea rax, [0x14018a240]
cmp byte [rcx + 0x67], 0
jne 0x140063d49
movsxd rax, r15d
shl rax, 5
add rax, qword [rsi + 0x88]
cmp dword [rsp + 0x30], 1
mov dword [rax + 8], edx
je 0x140063e80
mov rcx, qword [rsp + 0x90]
mov eax, dword [rsp + 0x30]
cmp eax, dword [rcx + 0x28]
jle 0x140063b8b
movd xmm1, dword [rsp + 0x34]
movd xmm0, eax
punpckldq xmm0, xmm1
movq qword [rcx + 0x28], xmm0
jmp 0x140063b8b
test byte [r8 + 4], 0x10
jne 0x140063ec0
movsxd rax, dword [rsi + 0x90]
jmp 0x140063ceb
mov rax, qword [rsp + 0x90]
movzx eax, byte [rax + 0x1f]
test al, al
je 0x140063ed8
mov rcx, qword [rsp + 0x90]
sub eax, 1
mov byte [rcx + 0x1f], al
movzx eax, al
mov r12d, dword [rcx + rax*4 + 0xe8]
mov eax, dword [rsp + 0x30]
cmp word [rbx + 0x1c], 1
mov r13d, dword [rsp + 0x34]
adc eax, r15d
lea r15d, [rdx + rax]
sub r13d, eax
test edx, edx
js 0x140063e43
mov dword [rsp + 0x3c], edi
mov edi, r15d
mov r15d, r13d
mov r13d, eax
nop word cs:[rax + rax]
mov r8d, dword [rbx + 0x18]
mov dword [rsp + 0x20], r12d
mov r9d, edi
mov rcx, rsi
mov edx, 0x5e
call sym.sqlite3VdbeAddOp3
lea r9d, [r15 + rdi]
mov r8d, r12d
mov rcx, rsi
mov dword [rsp + 0x20], 0
mov edx, 0xb6
call sym.sqlite3VdbeAddOp3
mov eax, edi
sub edi, 1
cmp eax, r13d
jne 0x140063e00
mov edi, dword [rsp + 0x3c]
test r12d, r12d
je 0x140063c97
mov rax, qword [rsp + 0x90]
movzx eax, byte [rax + 0x1f]
cmp al, 7
ja 0x140063c97
mov rcx, qword [rsp + 0x90]
lea edx, [rax + 1]
mov byte [rcx + 0x1f], dl
mov dword [rcx + rax*4 + 0xe8], r12d
jmp 0x140063c97
mov ecx, dword [rsp + 0x34]
test ecx, ecx
je 0x140063b8b
mov rax, qword [rsp + 0x90]
movzx eax, byte [rax + 0x1f]
cmp al, 7
ja 0x140063b8b
mov r11, qword [rsp + 0x90]
lea edx, [rax + 1]
mov byte [r11 + 0x1f], dl
mov dword [r11 + rax*4 + 0xe8], ecx
jmp 0x140063b8b
mov rdx, r8
call sym.sqlite3DbNNFreeNN
movsxd rax, dword [rsi + 0x90]
jmp 0x140063ceb
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x38]
lea r12d, [rax + 1]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x90]
mov dword [rax + 0x38], r12d
jmp 0x140063dcd