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

Disassembly:
lea r12, [rsp - 0x18]
cmp r12, qword [r14 + 0x10]
jbe 0x695037
push rbp
mov rbp, rsp
sub rsp, 0x90
movq qword [rsp + 0x88], xmm15
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rbx
mov dword [rsp + 0xb0], ecx
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xc0], rsi
mov byte [rsp + 0x2f], 0
mov dword [rsp + 0x38], 0
mov ebx, 0x40
nop dword [rax]
call sym.modernc.org_libc._TLS_.Alloc
lea rcx, [sym.modernc.org_sqlite_lib._rtreeUpdate.deferwrap1]
mov qword [rsp + 0x78], rcx
mov rcx, qword [rsp + 0xa0]
mov qword [rsp + 0x80], rcx
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x88], rdx
mov byte [rsp + 0x2f], 1
mov rdx, qword [rsp + 0xa8]
cmp dword [rdx + 0x5c], 0
nop
jne 0x6949eb
mov qword [rsp + 0x58], rax
nop
inc dword [rdx + 0x48]
mov rbx, rax
mov edi, 0x30
mov rax, rcx
xor ecx, ecx
call sym.modernc.org_libc.Xmemset
mov edx, dword [rsp + 0xb0]
cmp edx, 1
jle 0x6949e5
lea r8d, [rdx - 4]
mov rbx, qword [rsp + 0xa8]
mov r9, rbx
movzx r10d, byte [r9 + 0x25]
movzx r9d, byte [r9 + 0x26]
cmp r10d, r8d
cmovl r8d, r10d
mov dword [rsp + 0x3c], r8d
test r9d, r9d
jne 0x6949da
xor eax, eax
jmp 0x694f4b
xor eax, eax
nop dword [rax]
jmp 0x694cad
xor eax, eax
xor ecx, ecx
jmp 0x694a12
mov dword [rsp + 0x38], 0x206
mov byte [rsp + 0x2f], 0
mov rdx, qword [rsp + 0x88]
mov rax, qword [rdx]
call rax
mov eax, dword [rsp + 0x38]
add rsp, 0x90
pop rbp
ret
mov r8, qword [rsp + 0xb8]
mov r9, r8
mov rbx, qword [r8]
mov r8, rbx
movzx r8d, word [r8 + 0x14]
and r8d, 0x3f
lea r10, [0x009bafc0]
movzx r8d, byte [r10 + r8]
cmp r8d, 5
je 0x694a80
mov dword [rsp + 0x48], ecx
mov rax, qword [rsp + 0xa0]
call sym.modernc.org_sqlite_lib._sqlite3VdbeIntValue
mov rbx, qword [rsp + 0xa8]
mov rcx, rax
mov rax, qword [rsp + 0xa0]
call sym.modernc.org_sqlite_lib._rtreeDeleteRowid
mov ecx, dword [rsp + 0x48]
mov edx, dword [rsp + 0xb0]
mov r9, qword [rsp + 0xb8]
nop word [rax + rax]
test eax, eax
jne 0x694bcd
cmp edx, 1
jle 0x694bcd
mov rsi, qword [rsp + 0x58]
lea rdx, [rsi + 0x30]
mov qword [rsp + 0x70], rdx
mov r8, rdx
mov qword [rdx], 0
test ecx, ecx
je 0x694ab1
xor eax, eax
jmp 0x694adb
mov rax, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xa8]
mov rcx, rsi
call sym.modernc.org_sqlite_lib._rtreeNewRowid
mov rsi, qword [rsp + 0x58]
mov r8, qword [rsp + 0x70]
mov r9, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0xc0]
mov r10, rdx
mov rdi, rsi
mov r11, qword [rsi]
mov qword [rdx], r11
test eax, eax
jne 0x694b2a
mov rax, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xa8]
mov rcx, rdi
xor edi, edi
mov rsi, r8
call sym.modernc.org_sqlite_lib._ChooseLeaf
mov rdi, qword [rsp + 0x58]
mov r8, qword [rsp + 0x70]
mov r9, qword [rsp + 0xb8]
mov r10, qword [rsp + 0xc0]
test eax, eax
jne 0x694b84
mov rcx, qword [r8]
mov rax, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xa8]
xor esi, esi
call sym.modernc.org_sqlite_lib._rtreeInsertCell
mov dword [rsp + 0x34], eax
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rdx]
mov rbx, qword [rsp + 0xa8]
mov rax, qword [rsp + 0xa0]
call sym.modernc.org_sqlite_lib._nodeRelease
mov edx, dword [rsp + 0x34]
test edx, edx
cmove edx, eax
mov r9, qword [rsp + 0xb8]
mov r10, qword [rsp + 0xc0]
mov eax, edx
test eax, eax
jne 0x694bc5
mov rbx, qword [rsp + 0xa8]
mov rdx, rbx
cmp byte [rdx + 0x29], 0
je 0x694bcd
mov rbx, qword [rdx + 0xb8]
mov qword [rsp + 0x50], rbx
mov rdi, qword [r10]
mov rax, qword [rsp + 0xa0]
mov ecx, 1
call sym.modernc.org_sqlite_lib.Xsqlite3_bind_int64
xor eax, eax
nop dword [rax]
jmp 0x694c4b
mov rbx, qword [rsp + 0xa8]
mov dword [rsp + 0x34], eax
mov rbx, qword [rsp + 0xa8]
mov rax, qword [rsp + 0xa0]
call sym.modernc.org_sqlite_lib._rtreeRelease
mov ecx, dword [rsp + 0x34]
mov dword [rsp + 0x38], ecx
mov byte [rsp + 0x2f], 0
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rdx]
nop
call rcx
mov eax, dword [rsp + 0x38]
add rsp, 0x90
pop rbp
ret
mov dword [rsp + 0x40], eax
lea ecx, [rax + 2]
movzx edx, byte [rdx + 0x25]
lea edx, [rax + rdx]
lea edx, [rdx + 3]
movsxd rdx, edx
mov rsi, qword [rsp + 0xb8]
lea rdx, [rsi + rdx*8]
mov rdi, qword [rdx]
mov rbx, qword [rsp + 0x50]
mov rax, qword [rsp + 0xa0]
nop
call sym.modernc.org_sqlite_lib.Xsqlite3_bind_value
mov eax, dword [rsp + 0x40]
inc eax
mov rdx, qword [rsp + 0xa8]
movzx r8d, byte [rdx + 0x29]
cmp eax, r8d
jl 0x694c0f
mov rax, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x50]
call sym.modernc.org_sqlite_lib.Xsqlite3_step
mov rax, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x50]
nop dword [rax]
call sym.modernc.org_sqlite_lib.Xsqlite3_reset
mov rbx, qword [rsp + 0xa8]
jmp 0x694bcd
mov eax, dword [rsp + 0x44]
add eax, 2
mov edx, dword [rsp + 0xb0]
mov rbx, qword [rsp + 0xa8]
mov r8d, dword [rsp + 0x3c]
cmp eax, r8d
jge 0x694d6b
mov dword [rsp + 0x44], eax
lea ecx, [rax + 3]
movsxd rcx, ecx
mov rdx, qword [rsp + 0xb8]
lea rcx, [rdx + rcx*8]
mov rbx, qword [rcx]
lea ecx, [rax + 1]
mov dword [rsp + 0x4c], ecx
movsxd rsi, ecx
mov rdi, qword [rsp + 0x58]
lea rsi, [rdi + rsi*4]
lea rsi, [rsi + 8]
mov qword [rsp + 0x70], rsi
lea r8d, [rax + 4]
movsxd r8, r8d
lea r8, [rdx + r8*8]
mov qword [rsp + 0x68], r8
movsxd r9, eax
lea r9, [rdi + r9*4]
lea r9, [r9 + 8]
mov qword [rsp + 0x60], r9
mov rax, qword [rsp + 0xa0]
call sym.modernc.org_sqlite_lib._sqlite3VdbeIntValue
mov rcx, qword [rsp + 0x60]
mov dword [rcx], eax
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rcx]
mov rax, qword [rsp + 0xa0]
call sym.modernc.org_sqlite_lib._sqlite3VdbeIntValue
mov rcx, qword [rsp + 0x70]
mov rdx, rcx
mov dword [rcx], eax
mov rcx, qword [rsp + 0x60]
mov ecx, dword [rcx]
cmp dword [rdx], ecx
jge 0x694c92
mov rax, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xa8]
mov ecx, dword [rsp + 0x4c]
call sym.modernc.org_sqlite_lib._rtreeConstraintError
jmp 0x694bcd
mov r8, qword [rsp + 0xb8]
lea r9, [r8 + 0x10]
mov r9, qword [r9]
mov r10, r9
movzx r9d, word [r9 + 0x14]
and r9d, 0x3f
lea r11, [0x009bafc0]
movzx r9d, byte [r11 + r9]
cmp r9d, 5
jne 0x694da5
xor eax, eax
xor ecx, ecx
nop dword [rax]
jmp 0x694a12
mov rax, qword [rsp + 0xa0]
mov rbx, r10
call sym.modernc.org_sqlite_lib._sqlite3VdbeIntValue
mov rsi, qword [rsp + 0x58]
mov rdi, rsi
mov qword [rsi], rax
mov rcx, qword [rsp + 0xb8]
mov rdx, rcx
mov rbx, qword [rcx]
mov rcx, rbx
movzx ecx, word [rcx + 0x14]
and ecx, 0x3f
lea rsi, [0x009bafc0]
movzx ecx, byte [rsi + rcx]
cmp ecx, 5
jne 0x694def
mov ecx, 1
jmp 0x694e19
mov rax, qword [rsp + 0xa0]
call sym.modernc.org_sqlite_lib._sqlite3VdbeIntValue
mov rsi, qword [rsp + 0x58]
mov rdi, rsi
cmp qword [rsi], rax
setne cl
mov rdx, qword [rsp + 0xb8]
lea rsi, [0x009bafc0]
test cl, cl
jne 0x694e25
xor eax, eax
nop
jmp 0x694efe
mov rdx, qword [rsp + 0xa8]
mov rbx, qword [rdx + 0x88]
mov rdi, qword [rdi]
mov rax, qword [rsp + 0xa0]
mov ecx, 1
call sym.modernc.org_sqlite_lib.Xsqlite3_bind_int64
mov rdx, qword [rsp + 0xa8]
mov rbx, qword [rdx + 0x88]
mov rax, qword [rsp + 0xa0]
call sym.modernc.org_sqlite_lib.Xsqlite3_step
mov dword [rsp + 0x30], eax
mov rdx, qword [rsp + 0xa8]
mov rbx, qword [rdx + 0x88]
mov rax, qword [rsp + 0xa0]
call sym.modernc.org_sqlite_lib.Xsqlite3_reset
mov edx, dword [rsp + 0x30]
cmp edx, 0x64
jne 0x694eea
mov rbx, qword [rsp + 0xa8]
mov rdx, rbx
mov rdx, qword [rdx + 0x18]
movzx edx, byte [rdx + 0x6c]
dec edx
movsxd rax, edx
cmp rax, 5
jae 0x694f26
lea rdx, [0x009b872c]
movzx edx, byte [rax + rdx]
cmp edx, 5
jne 0x694ed3
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rdx]
mov rax, qword [rsp + 0xa0]
call sym.modernc.org_sqlite_lib._rtreeDeleteRowid
jmp 0x694eea
mov rax, qword [rsp + 0xa0]
xor ecx, ecx
nop dword [rax]
call sym.modernc.org_sqlite_lib._rtreeConstraintError
jmp 0x694bcd
mov rdx, qword [rsp + 0xb8]
lea rsi, [0x009bafc0]
mov rdi, qword [rsp + 0x58]
mov edx, dword [rsp + 0xb0]
mov rbx, qword [rsp + 0xa8]
mov r8, qword [rsp + 0xb8]
lea r11, [0x009bafc0]
mov ecx, 1
jmp 0x694a12
mov ecx, 5
call sym.runtime.panicIndex
mov eax, dword [rsp + 0x44]
add eax, 2
mov edx, dword [rsp + 0xb0]
mov rbx, qword [rsp + 0xa8]
mov r8d, dword [rsp + 0x3c]
cmp eax, r8d
jge 0x694d6b
mov dword [rsp + 0x44], eax
movsxd rcx, eax
mov qword [rsp + 0x70], rcx
lea edx, [rax + 3]
movsxd rdx, edx
mov rsi, qword [rsp + 0xb8]
lea rdx, [rsi + rdx*8]
mov rbx, qword [rdx]
mov rax, qword [rsp + 0xa0]
nop dword [rax]
call sym.modernc.org_sqlite_lib._rtreeValueDown
mov ecx, dword [rsp + 0x44]
lea edx, [rcx + 1]
mov dword [rsp + 0x4c], edx
movsxd rsi, edx
mov rdi, qword [rsp + 0x58]
lea rsi, [rdi + rsi*4]
lea rsi, [rsi + 8]
mov qword [rsp + 0x68], rsi
lea r8d, [rcx + 4]
movsxd r8, r8d
mov r9, qword [rsp + 0xb8]
lea r8, [r9 + r8*8]
mov r10, qword [rsp + 0x70]
lea r10, [rdi + r10*4]
lea r10, [r10 + 8]
mov qword [rsp + 0x70], r10
movss dword [r10], xmm0
mov rbx, qword [r8]
mov rax, qword [rsp + 0xa0]
call sym.modernc.org_sqlite_lib._rtreeValueUp
mov rcx, qword [rsp + 0x68]
mov rdx, rcx
movss dword [rcx], xmm0
mov rcx, qword [rsp + 0x70]
movss xmm0, dword [rcx]
movss xmm1, dword [rdx]
ucomiss xmm0, xmm1
nop dword [rax + rax]
jbe 0x694f30
mov rax, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xa8]
mov ecx, dword [rsp + 0x4c]
call sym.modernc.org_sqlite_lib._rtreeConstraintError
nop
jmp 0x694bcd
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], ecx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov ecx, dword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
jmp sym.modernc.org_sqlite_lib._rtreeUpdate