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

Disassembly:
lea r12, [rsp - 0x50]
cmp r12, qword [r14 + 0x10]
jbe 0x69f1d2
push rbp
mov rbp, rsp
sub rsp, 0xc8
movq qword [rsp + 0xc0], xmm15
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe0], rbx
mov dword [rsp + 0xf0], edi
mov qword [rsp + 0xf8], rsi
mov qword [rsp + 0x100], r8
mov qword [rsp + 0x108], r9
mov dword [rsp + 0x110], r10d
mov byte [rsp + 0x33], 0
mov dword [rsp + 0x38], 0
mov ebx, 0x10
call sym.modernc.org_libc._TLS_.Alloc
lea rcx, [sym.modernc.org_sqlite_lib._geopolyInit.deferwrap1]
mov qword [rsp + 0xa0], rcx
mov rcx, qword [rsp + 0xd8]
mov qword [rsp + 0xa8], rcx
lea rdx, [rsp + 0xa0]
mov qword [rsp + 0xc0], rdx
mov byte [rsp + 0x33], 1
lea rdx, [0x00728b40]
mov qword [rsp + 0xb0], rdx
lea rdx, [0x007c98e0]
mov qword [rsp + 0xb8], rdx
add rax, 8
mov qword [rsp + 0x88], rax
lea rbx, [rsp + 0xb0]
mov edi, 1
mov rcx, rdi
call sym.modernc.org_libc.VaList
mov rbx, qword [rsp + 0xe0]
mov ecx, 1
mov rdi, rax
mov rax, qword [rsp + 0xd8]
nop dword [rax]
call sym.modernc.org_sqlite_lib.Xsqlite3_vtab_config
mov rax, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xe0]
mov ecx, 2
xor edi, edi
nop dword [rax]
call sym.modernc.org_sqlite_lib.Xsqlite3_vtab_config
mov rcx, qword [rsp + 0xf8]
lea rdx, [rcx + 8]
mov rsi, rdx
mov rdx, qword [rdx]
test rdx, rdx
jne 0x69eb62
xor eax, eax
nop
jmp 0x69eb75
xor eax, eax
jmp 0x69eb6d
lea rdx, [rdi + 1]
inc rax
mov rdi, rdx
cmp byte [rdx], 0
jne 0x69eb66
mov qword [rsp + 0x80], rsi
lea rdx, [rcx + 0x10]
mov qword [rsp + 0x78], rdx
mov rdi, rdx
mov rdx, qword [rdx]
test rdx, rdx
je 0x69eb98
xor ebx, ebx
jmp 0x69f1ae
xor edx, edx
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x68], rdx
lea rbx, [rax + rdx*2]
lea rbx, [rbx + 0x3d0]
mov qword [rsp + 0x60], rbx
mov rax, qword [rsp + 0xd8]
nop dword [rax]
call sym.modernc.org_sqlite_lib.Xsqlite3_malloc64
test rax, rax
je 0x69ee05
mov qword [rsp + 0x50], rax
mov rbx, rax
xor ecx, ecx
mov rdi, qword [rsp + 0x60]
mov rax, qword [rsp + 0xd8]
call sym.modernc.org_libc.Xmemset
mov rdx, qword [rsp + 0x50]
mov rsi, rdx
mov dword [rdx + 0x48], 1
mov rdx, rsi
lea r8, [0x009bdc80]
mov qword [rsi], r8
mov rsi, rdx
lea r8, [rsi + 0x3c8]
mov qword [rdx + 0x30], r8
mov rdx, rsi
mov r8, qword [rsi + 0x30]
mov rcx, qword [rsp + 0x70]
lea r8, [r8 + rcx]
lea r8, [r8 + 1]
mov qword [rsi + 0x38], r8
mov rsi, rdx
mov r8, qword [rdx + 0x38]
mov r9, qword [rsp + 0x68]
lea r8, [r8 + r9]
lea r8, [r8 + 1]
mov qword [rdx + 0x40], r8
mov rdx, rsi
mov byte [rsi + 0x26], 0
mov rsi, rdx
mov byte [rdx + 0x24], 2
mov rdx, rsi
mov byte [rsi + 0x25], 4
test rcx, rcx
je 0x69ecb5
movabs rbx, 0x3ffffffffffff
cmp rcx, rbx
ja 0x69f19f
mov rsi, rdx
mov rax, qword [rdx + 0x30]
mov rdi, qword [rsp + 0x80]
mov r8, rdi
mov rdi, qword [rdi]
test byte [rax], al
test byte [rdi], al
cmp rdi, rax
je 0x69ecca
mov rbx, rdi
call sym.runtime.memmove
movabs rbx, 0x3ffffffffffff
mov rsi, qword [rsp + 0x50]
mov r8, qword [rsp + 0x80]
mov r9, qword [rsp + 0x68]
jmp 0x69ecca
movabs rbx, 0x3ffffffffffff
mov rsi, rdx
mov r8, qword [rsp + 0x80]
test r9, r9
je 0x69ed2c
cmp r9, rbx
ja 0x69f197
mov rdi, rsi
mov rax, qword [rsi + 0x38]
mov rsi, qword [rsp + 0x78]
mov r10, rsi
mov rsi, qword [rsi]
test byte [rax], al
test byte [rsi], al
cmp rsi, rax
je 0x69ed27
mov rbx, rsi
mov rcx, r9
call sym.runtime.memmove
mov rdx, qword [rsp + 0x68]
test rdx, rdx
movabs rbx, 0x3ffffffffffff
mov rdi, qword [rsp + 0x50]
mov r8, qword [rsp + 0x80]
mov r9, rdx
mov r10, qword [rsp + 0x78]
jmp 0x69ed34
test r9, r9
jmp 0x69ed34
mov rdi, rsi
mov r10, qword [rsp + 0x78]
je 0x69ed76
cmp r9, rbx
ja 0x69f18f
mov rdx, rdi
mov rax, qword [rdi + 0x40]
mov rsi, r10
mov rbx, qword [r10]
test byte [rax], al
test byte [rbx], al
cmp rbx, rax
je 0x69ed7c
mov rcx, r9
call sym.runtime.memmove
mov rdx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x78]
mov r8, qword [rsp + 0x80]
mov r9, qword [rsp + 0x68]
jmp 0x69ed7c
mov rdx, rdi
mov rsi, r10
mov rdx, qword [rdx + 0x40]
add rdx, r9
mov rdi, qword [0x00a30e10]
add rdi, 0x705c
test byte [rdx], al
test byte [rdi], al
cmp rdi, rdx
je 0x69eda8
mov r9d, dword [rdi]
movzx edi, word [rdi + 4]
mov dword [rdx], r9d
mov word [rdx + 4], di
mov rax, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xe0]
call sym.modernc.org_sqlite_lib.Xsqlite3_str_new
mov qword [rsp + 0x48], rax
mov rcx, qword [0x00a30e10]
add rcx, 0x741c
mov rbx, rax
xor edi, edi
mov rax, qword [rsp + 0xd8]
nop dword [rax]
call sym.modernc.org_sqlite_lib.Xsqlite3_str_vappendf
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov byte [rcx + 0x29], 1
mov rcx, rdx
mov byte [rdx + 0x2a], 1
mov eax, 3
nop dword [rax]
jmp 0x69eec1
mov dword [rsp + 0x38], 7
mov byte [rsp + 0x33], 0
mov rdx, qword [rsp + 0xc0]
mov rax, qword [rdx]
call rax
mov eax, dword [rsp + 0x38]
add rsp, 0xc8
pop rbp
ret
mov dword [rsp + 0x3c], eax
movzx esi, byte [rcx + 0x29]
inc esi
mov byte [rcx + 0x29], sil
movups xmmword [rsp + 0xb0], xmm15
movsxd rsi, eax
mov r8, qword [rsp + 0xf8]
lea rsi, [r8 + rsi*8]
mov rsi, qword [rsi]
mov qword [rsp + 0x58], rsi
lea rsi, [0x00728cc0]
mov qword [rsp + 0xb0], rsi
lea r9, [rsp + 0x58]
mov qword [rsp + 0xb8], r9
lea rbx, [rsp + 0xb0]
mov ecx, 1
mov rdi, rcx
mov rax, qword [rsp + 0x88]
call sym.modernc.org_libc.VaList
mov rcx, qword [0x00a30e10]
add rcx, 0x7432
mov rbx, qword [rsp + 0x48]
mov rdi, rax
mov rax, qword [rsp + 0xd8]
call sym.modernc.org_sqlite_lib.Xsqlite3_str_vappendf
mov eax, dword [rsp + 0x3c]
inc eax
mov rcx, qword [rsp + 0x50]
mov edx, dword [rsp + 0xf0]
cmp edx, eax
jg 0x69ee2c
mov rcx, qword [0x00a30e10]
add rcx, 0x7095
mov rax, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0x48]
xor edi, edi
call sym.modernc.org_sqlite_lib.Xsqlite3_str_vappendf
mov rax, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0x48]
nop
call sym.modernc.org_sqlite_lib.Xsqlite3_str_finish
test rax, rax
jne 0x69ef14
mov ecx, 7
jmp 0x69efd3
mov qword [rsp + 0x40], rax
mov rbx, qword [rsp + 0xe0]
mov rcx, rax
mov rax, qword [rsp + 0xd8]
call sym.modernc.org_sqlite_lib.Xsqlite3_declare_vtab
test eax, eax
je 0x69efcc
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xe0]
call sym.modernc.org_sqlite_lib.Xsqlite3_errmsg
movups xmmword [rsp + 0xb0], xmm15
mov qword [rsp + 0x98], rax
lea rcx, [0x00728cc0]
mov qword [rsp + 0xb0], rcx
lea rdx, [rsp + 0x98]
mov qword [rsp + 0xb8], rdx
mov rax, qword [rsp + 0x88]
lea rbx, [rsp + 0xb0]
mov edi, 1
mov rcx, rdi
call sym.modernc.org_libc.VaList
mov rbx, qword [0x00a30e10]
add rbx, 0x1265
mov rcx, rax
mov rax, qword [rsp + 0xd8]
call sym.modernc.org_sqlite_lib.Xsqlite3_mprintf
mov rcx, qword [rsp + 0x108]
mov qword [rcx], rax
mov eax, dword [rsp + 0x34]
mov ecx, eax
mov rax, qword [rsp + 0x40]
mov dword [rsp + 0x34], ecx
mov rbx, rax
mov rax, qword [rsp + 0xd8]
call sym.modernc.org_sqlite_lib.Xsqlite3_free
mov ecx, dword [rsp + 0x34]
test ecx, ecx
jne 0x69f10b
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
movzx r8d, byte [rdx + 0x25]
shl r8d, 2
add r8d, 8
mov byte [rdx + 0x27], r8b
mov rax, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xe0]
mov edi, dword [rsp + 0x110]
mov rsi, qword [rsp + 0x108]
call sym.modernc.org_sqlite_lib._getNodeSize
test eax, eax
je 0x69f03b
mov ecx, eax
jmp 0x69f10b
mov rdx, qword [rsp + 0x80]
mov rdi, qword [rdx]
mov rdx, qword [rsp + 0x78]
mov rsi, qword [rdx]
mov rax, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0xe0]
mov r8d, dword [rsp + 0x110]
call sym.modernc.org_sqlite_lib._rtreeSqlInit
test eax, eax
je 0x69f156
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xe0]
call sym.modernc.org_sqlite_lib.Xsqlite3_errmsg
movups xmmword [rsp + 0xb0], xmm15
mov qword [rsp + 0x90], rax
lea rcx, [0x00728cc0]
mov qword [rsp + 0xb0], rcx
lea rcx, [rsp + 0x90]
mov qword [rsp + 0xb8], rcx
mov rax, qword [rsp + 0x88]
lea rbx, [rsp + 0xb0]
mov ecx, 1
mov rdi, rcx
call sym.modernc.org_libc.VaList
mov rbx, qword [0x00a30e10]
add rbx, 0x1265
mov rcx, rax
mov rax, qword [rsp + 0xd8]
call sym.modernc.org_sqlite_lib.Xsqlite3_mprintf
mov rcx, qword [rsp + 0x108]
mov qword [rcx], rax
mov ecx, dword [rsp + 0x34]
mov dword [rsp + 0x34], ecx
mov rax, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0x50]
nop dword [rax]
call sym.modernc.org_sqlite_lib._rtreeRelease
mov ecx, dword [rsp + 0x34]
test ecx, ecx
mov edx, 1
cmove ecx, edx
mov dword [rsp + 0x38], ecx
mov byte [rsp + 0x33], 0
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rdx]
call rcx
mov eax, dword [rsp + 0x38]
add rsp, 0xc8
pop rbp
ret
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x50]
mov qword [rax], rcx
mov dword [rsp + 0x38], 0
mov byte [rsp + 0x33], 0
mov rdx, qword [rsp + 0xc0]
mov rax, qword [rdx]
nop
call rax
mov eax, dword [rsp + 0x38]
add rsp, 0xc8
pop rbp
ret
mov rdx, r9
call sym.runtime.panicSlice3AlenU
mov rdx, r9
call sym.runtime.panicSlice3AlenU
mov rdx, rcx
call sym.runtime.panicSlice3AlenU
lea rdx, [r8 + 1]
inc rbx
mov r8, rdx
cmp byte [rdx], 0
jne 0x69f1a7
mov rdx, rbx
jmp 0x69eb9a
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov dword [rsp + 0x20], edi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
mov dword [rsp + 0x40], r10d
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov edi, dword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
mov r10d, dword [rsp + 0x40]
jmp sym.modernc.org_sqlite_lib._geopolyInit