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

Disassembly:
lea r12, [rsp - 0x80]
cmp r12, qword [r14 + 0x10]
jbe 0x699e99
push rbp
mov rbp, rsp
sub rsp, 0xf8
movq qword [rsp + 0xf0], xmm15
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x110], rbx
mov dword [rsp + 0x118], ecx
mov qword [rsp + 0x120], rdi
mov qword [rsp + 0x128], rsi
mov byte [rsp + 0x33], 0
mov ebx, 0x30
call sym.modernc.org_libc._TLS_.Alloc
mov qword [rsp + 0x58], rax
lea rcx, [sym.modernc.org_sqlite_lib._rtreeCheckNode.deferwrap1]
mov qword [rsp + 0x80], rcx
mov rcx, qword [rsp + 0x108]
mov qword [rsp + 0x88], rcx
lea rdx, [rsp + 0x80]
mov qword [rsp + 0xf0], rdx
mov byte [rsp + 0x33], 1
mov rdi, rax
mov dword [rax], 0
mov rax, rcx
mov rbx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x128]
call sym.modernc.org_sqlite_lib._rtreeCheckGetNode
test rax, rax
je 0x699d1b
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x58]
mov rsi, rdx
mov edx, dword [rdx]
cmp edx, 4
jl 0x699c7d
mov r8, qword [rsp + 0x120]
nop dword [rax]
test r8, r8
jne 0x699b61
mov rbx, rax
movzx r9d, byte [rax]
shl r9d, 8
lea r10, [rbx + 1]
movzx r10d, byte [r10]
add r9d, r10d
nop
cmp r9d, 0x28
jle 0x699b6c
movups xmmword [rsp + 0xc0], xmm15
mov dword [rsp + 0x48], r9d
lea rdx, [0x00728b40]
mov qword [rsp + 0xc0], rdx
lea rax, [rsi + 0x10]
lea rdx, [rsp + 0x48]
mov qword [rsp + 0xc8], rdx
lea rbx, [rsp + 0xc0]
mov ecx, 1
mov rdi, rcx
call sym.modernc.org_libc.VaList
mov rcx, qword [0x00a30e10]
add rcx, 0x728c
mov rbx, qword [rsp + 0x110]
mov rdi, rax
mov rax, qword [rsp + 0x108]
call sym.modernc.org_sqlite_lib._rtreeCheckAppendMsg
mov rax, qword [rsp + 0x108]
mov rbx, qword [rsp + 0x60]
call sym.modernc.org_sqlite_lib.Xsqlite3_free
mov byte [rsp + 0x33], 0
mov rdx, qword [rsp + 0xf0]
mov rsi, qword [rdx]
call rsi
add rsp, 0xf8
pop rbp
nop
ret
mov rbx, rax
mov r9d, dword [rsp + 0x118]
lea r10, [rbx + 2]
mov r11, qword [rsp + 0x110]
mov r12, r11
mov r11d, dword [r11 + 0x1c]
shl r11d, 3
add r11d, 8
movzx r10d, byte [r10]
shl r10d, 8
lea r13, [rbx + 3]
movzx r13d, byte [r13]
add r10d, r13d
imul r11d, r10d
add r11d, 4
cmp edx, r11d
jl 0x699bb9
mov dword [rsp + 0x34], r10d
mov dword [rsp + 0x3c], r9d
xor eax, eax
jmp 0x699d6f
movups xmmword [rsp + 0x90], xmm15
movups xmmword [rsp + 0xa0], xmm15
movups xmmword [rsp + 0xb0], xmm15
mov rdx, qword [rsp + 0x128]
mov qword [rsp + 0x70], rdx
lea rdx, [0x00728bc0]
mov qword [rsp + 0x90], rdx
lea rax, [rsi + 0x10]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x98], rdx
mov dword [rsp + 0x44], r10d
lea rdx, [0x00728b40]
mov qword [rsp + 0xa0], rdx
lea r8, [rsp + 0x44]
mov qword [rsp + 0xa8], r8
mov esi, dword [rsi]
mov dword [rsp + 0x40], esi
mov qword [rsp + 0xb0], rdx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0xb8], rdx
lea rbx, [rsp + 0x90]
mov ecx, 3
mov rdi, rcx
call sym.modernc.org_libc.VaList
mov rcx, qword [0x00a30e10]
add rcx, 0x72aa
mov rbx, qword [rsp + 0x110]
mov rdi, rax
mov rax, qword [rsp + 0x108]
call sym.modernc.org_sqlite_lib._rtreeCheckAppendMsg
jmp 0x699d36
movups xmmword [rsp + 0xd0], xmm15
movups xmmword [rsp + 0xe0], xmm15
mov rdx, qword [rsp + 0x128]
mov qword [rsp + 0x78], rdx
lea rdx, [0x00728bc0]
mov qword [rsp + 0xd0], rdx
lea rax, [rsi + 0x10]
lea rdx, [rsp + 0x78]
mov qword [rsp + 0xd8], rdx
mov edx, dword [rsi]
mov dword [rsp + 0x4c], edx
lea rdx, [0x00728b40]
mov qword [rsp + 0xe0], rdx
lea rdx, [rsp + 0x4c]
mov qword [rsp + 0xe8], rdx
lea rbx, [rsp + 0xd0]
mov ecx, 2
mov rdi, rcx
call sym.modernc.org_libc.VaList
mov rcx, qword [0x00a30e10]
add rcx, 0x726a
mov rbx, qword [rsp + 0x110]
mov rdi, rax
mov rax, qword [rsp + 0x108]
call sym.modernc.org_sqlite_lib._rtreeCheckAppendMsg
jmp 0x699d36
mov byte [rsp + 0x33], 0
mov rdx, qword [rsp + 0xf0]
mov rax, qword [rdx]
call rax
add rsp, 0xf8
pop rbp
ret
mov rax, qword [rsp + 0x108]
mov rbx, qword [rsp + 0x60]
call sym.modernc.org_sqlite_lib.Xsqlite3_free
jmp 0x699d1b
mov eax, dword [rsp + 0x38]
inc eax
mov rbx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x120]
mov r9d, dword [rsp + 0x3c]
mov r10d, dword [rsp + 0x34]
mov r12, qword [rsp + 0x110]
cmp eax, r10d
jge 0x699d36
mov dword [rsp + 0x38], eax
mov edx, dword [r12 + 0x1c]
shl edx, 3
add edx, 8
imul edx, eax
add edx, 4
movsxd rdx, edx
mov qword [rsp + 0x68], rdx
lea rsi, [rdx + rbx]
mov rax, qword [rsp + 0x108]
mov rbx, rsi
call sym.modernc.org_sqlite_lib._readInt64
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
lea rsi, [rdx + rcx]
lea rsi, [rsi + 8]
mov qword [rsp + 0x68], rsi
mov rbx, qword [rsp + 0x110]
mov edi, dword [rsp + 0x38]
mov r8, qword [rsp + 0x120]
mov rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x128]
call sym.modernc.org_sqlite_lib._rtreeCheckCellCoord
mov ecx, dword [rsp + 0x3c]
test ecx, ecx
jle 0x699e51
mov rax, qword [rsp + 0x108]
mov rbx, qword [rsp + 0x110]
xor ecx, ecx
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x128]
call sym.modernc.org_sqlite_lib._rtreeCheckMapping
mov ecx, dword [rsp + 0x3c]
lea edx, [rcx - 1]
mov rax, qword [rsp + 0x108]
mov rbx, qword [rsp + 0x110]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x50]
mov ecx, edx
call sym.modernc.org_sqlite_lib._rtreeCheckNode
mov rdx, qword [rsp + 0x110]
mov r8, rdx
inc dword [rdx + 0x3c]
jmp 0x699d4a
mov rax, qword [rsp + 0x108]
mov rbx, qword [rsp + 0x110]
mov ecx, 1
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x128]
call sym.modernc.org_sqlite_lib._rtreeCheckMapping
mov rdx, qword [rsp + 0x110]
mov r8, rdx
inc dword [rdx + 0x38]
jmp 0x699d4a
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._rtreeCheckNode