Function at 0x1401e85a0
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, 0xb8
movups xmmword [rsp + 0x80], xmm6
movups xmmword [rsp + 0x90], xmm7
movups xmmword [rsp + 0xa0], xmm8
mov r12d, 0x206
mov eax, dword [rcx + 0x5c]
mov r13, rcx
mov esi, edx
mov rbx, r8
mov rdi, r9
test eax, eax
jne 0x1401e87aa
mov eax, dword [rcx + 0x48]
lea rbp, [rsp + 0x50]
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
lea edx, [rax + 1]
mov dword [rcx + 0x48], edx
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
cmp esi, 1
jle 0x1401e87e0
movzx r14d, byte [rcx + 0x25]
lea eax, [rsi - 4]
cmp r14d, eax
cmovg r14d, eax
cmp byte [rcx + 0x26], 0
je 0x1401e8848
movsd xmm1, qword [0x14033d640]
movsd xmm2, qword [0x14033d648]
mov r15, rbp
xor r12d, r12d
test r14d, r14d
jg 0x1401e871f
jmp 0x1401e8a60
test dl, 8
jne 0x1401e89b0
xor ecx, ecx
and edx, 0x12
je 0x1401e86a8
mov r9, qword [rax + 8]
test r9, r9
je 0x1401e86a8
mov edx, dword [rax + 0x10]
movzx r8d, byte [rax + 0x16]
mov rcx, r9
call sym.memIntValue.isra.0
mov ecx, eax
nop dword [rax + rax]
mov rdx, qword [rbx + r12*8 + 0x20]
mov dword [r15 + 8], ecx
lea r9d, [r12 + 1]
movzx ecx, word [rdx + 0x14]
test cl, 0x24
jne 0x1401e8930
test cl, 8
jne 0x1401e89e0
xor eax, eax
and ecx, 0x12
je 0x1401e8700
mov rcx, qword [rdx + 8]
test rcx, rcx
je 0x1401e8700
mov r10d, dword [rdx + 0x10]
movzx r8d, byte [rdx + 0x16]
mov dword [rsp + 0x3c], r9d
mov edx, r10d
call sym.memIntValue.isra.0
mov r9d, dword [rsp + 0x3c]
nop word [rax + rax]
mov dword [r15 + 0xc], eax
cmp dword [r15 + 8], eax
jg 0x1401e8b20
add r12, 2
add r15, 8
cmp r14d, r12d
jle 0x1401e8a60
mov rax, qword [rbx + r12*8 + 0x18]
movzx edx, word [rax + 0x14]
test dl, 0x24
je 0x1401e8678
mov ecx, dword [rax]
jmp 0x1401e86a8
mov r8, qword [rcx]
mov rdx, r8
mov rcx, r13
call sym.rtreeDeleteRowid
mov r12d, eax
test eax, eax
jne 0x1401e8792
cmp esi, 1
jle 0x1401e8792
mov qword [rsp + 0x48], 0
test r14d, r14d
je 0x1401e8b61
mov r8, qword [rsp + 0x50]
mov qword [rdi], r8
lea r9, [rsp + 0x48]
xor r8d, r8d
mov rdx, rbp
mov rcx, r13
call sym.ChooseLeaf
mov r12d, eax
test eax, eax
je 0x1401e8bf0
mov eax, dword [r13 + 0x48]
sub eax, 1
mov dword [r13 + 0x48], eax
test eax, eax
jne 0x1401e87aa
mov rcx, r13
call sym.rtreeRelease.part.0
nop
movups xmm6, xmmword [rsp + 0x80]
movups xmm7, xmmword [rsp + 0x90]
mov eax, r12d
movups xmm8, xmmword [rsp + 0xa0]
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [r8]
lea r9, [0x140341860]
xor r12d, r12d
movzx edx, word [rcx + 0x14]
mov r8, rdx
and r8d, 0x3f
cmp byte [r9 + r8], 5
je 0x1401e8799
xor r14d, r14d
test dl, 0x24
jne 0x1401e8740
test dl, 8
jne 0x1401e8d08
xor r8d, r8d
and edx, 0x12
je 0x1401e8743
mov r9, qword [rcx + 8]
test r9, r9
je 0x1401e8743
movzx r8d, byte [rcx + 0x16]
mov edx, dword [rcx + 0x10]
mov rcx, r9
call sym.memIntValue.isra.0
mov r8, rax
jmp 0x1401e8743
test r14d, r14d
jle 0x1401e8a60
movsd xmm7, qword [0x14033dba0]
mov r15, rbp
xor r12d, r12d
pxor xmm8, xmm8
movsd xmm6, qword [0x14033dba8]
jmp 0x1401e88da
test al, 0x24
jne 0x1401e8998
pxor xmm0, xmm0
test al, 0x12
jne 0x1401e8a10
mov rdx, qword [rbx + r12*8 + 0x20]
movss dword [r15 + 8], xmm0
lea r9d, [r12 + 1]
movzx eax, word [rdx + 0x14]
test al, 8
jne 0x1401e8940
test al, 0x24
jne 0x1401e8988
pxor xmm0, xmm0
test al, 0x12
jne 0x1401e8a30
movss xmm1, dword [r15 + 8]
movss dword [r15 + 0xc], xmm0
comiss xmm1, xmm0
ja 0x1401e8b20
add r12, 2
add r15, 8
cmp r14d, r12d
jle 0x1401e8a60
mov rdx, qword [rbx + r12*8 + 0x18]
movzx eax, word [rdx + 0x14]
test al, 8
je 0x1401e8870
movsd xmm2, qword [rdx]
pxor xmm0, xmm0
pxor xmm1, xmm1
cvtsd2ss xmm0, xmm2
cvtss2sd xmm1, xmm0
comisd xmm1, xmm2
jbe 0x1401e8884
movupd xmm0, xmm2
movupd xmm3, xmm7
cmpltsd xmm0, xmm8
andpd xmm3, xmm0
andnpd xmm0, xmm6
orpd xmm0, xmm3
mulsd xmm0, xmm2
cvtsd2ss xmm0, xmm0
jmp 0x1401e8884
mov eax, dword [rdx]
jmp 0x1401e8700
movsd xmm1, qword [rdx]
pxor xmm0, xmm0
pxor xmm2, xmm2
cvtsd2ss xmm0, xmm1
cvtss2sd xmm2, xmm0
comisd xmm1, xmm2
jbe 0x1401e88b4
pxor xmm2, xmm2
movsd xmm0, qword [0x14033dba8]
comisd xmm2, xmm1
ja 0x1401e8978
movsd xmm0, qword [0x14033dba0]
mulsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
jmp 0x1401e88b4
pxor xmm1, xmm1
cvtsi2sd xmm1, qword [rdx]
jmp 0x1401e8944
pxor xmm2, xmm2
cvtsi2sd xmm2, qword [rdx]
jmp 0x1401e88eb
movsd xmm0, qword [rax]
comisd xmm1, xmm0
ja 0x1401e8d9b
comisd xmm0, xmm2
mov ecx, 0xffffffff
ja 0x1401e86a8
cvttsd2si rcx, xmm0
jmp 0x1401e86a8
movsd xmm0, qword [rdx]
comisd xmm1, xmm0
ja 0x1401e8da2
comisd xmm0, xmmword [0x14033d648]
mov eax, 0xffffffff
ja 0x1401e8700
cvttsd2si rax, xmm0
jmp 0x1401e8700
mov r9d, dword [rdx + 0x10]
mov rcx, qword [rdx + 8]
movzx r8d, byte [rdx + 0x16]
mov edx, r9d
call sym.memRealValue.isra.0
movupd xmm2, xmm0
jmp 0x1401e88eb
mov r10d, dword [rdx + 0x10]
mov rcx, qword [rdx + 8]
mov dword [rsp + 0x3c], r9d
movzx r8d, byte [rdx + 0x16]
mov edx, r10d
call sym.memRealValue.isra.0
mov r9d, dword [rsp + 0x3c]
movupd xmm1, xmm0
jmp 0x1401e8944
mov rcx, qword [rbx + 0x10]
lea r14, [0x140341860]
movzx eax, word [rcx + 0x14]
and eax, 0x3f
cmp byte [r14 + rax], 5
je 0x1401e8b40
call sym.sqlite3VdbeIntValue
mov rcx, qword [rbx]
mov qword [rsp + 0x50], rax
mov r8, rax
movzx eax, word [rcx + 0x14]
and eax, 0x3f
cmp byte [r14 + rax], 5
je 0x1401e8aae
call sym.sqlite3VdbeIntValue
mov r8, qword [rsp + 0x50]
cmp rax, r8
je 0x1401e8ce0
mov rcx, qword [r13 + 0x88]
mov rdx, r8
call sym.sqlite3_bind_int64.constprop.0.isra.0
mov rcx, qword [r13 + 0x88]
call sym.sqlite3_step
mov rcx, qword [r13 + 0x88]
mov r15d, eax
call sym.sqlite3_reset
mov r12d, eax
cmp r15d, 0x64
je 0x1401e8d71
mov rcx, qword [rbx]
movzx edx, word [rcx + 0x14]
mov rax, rdx
and eax, 0x3f
cmp byte [r14 + rax], 5
jne 0x1401e8cc0
test r12d, r12d
jne 0x1401e8792
mov qword [rsp + 0x48], 0
mov r8, qword [rsp + 0x50]
jmp 0x1401e8771
mov edx, r9d
mov rcx, r13
call sym.rtreeConstraintError
mov r12d, eax
mov eax, dword [r13 + 0x48]
sub eax, 1
jmp 0x1401e8799
mov rcx, qword [rbx]
movzx edx, word [rcx + 0x14]
mov rax, rdx
and eax, 0x3f
cmp byte [r14 + rax], 5
jne 0x1401e87ff
mov qword [rsp + 0x48], 0
mov rsi, qword [r13 + 0x90]
xor edx, edx
mov rcx, rsi
call sym.vdbeUnbind
test eax, eax
jne 0x1401e8b88
mov rax, qword [rsi]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1401e8b88
call qword [0x1402ba750]
mov rsi, qword [r13 + 0x90]
mov edx, 1
mov rcx, rsi
call sym.vdbeUnbind
test eax, eax
je 0x1401e8ca0
mov rcx, qword [r13 + 0x90]
call sym.sqlite3_step
mov rcx, qword [r13 + 0x90]
call sym.sqlite3_reset
mov rsi, qword [r13 + 0x18]
mov r12d, eax
mov rcx, rsi
call sym.sqlite3SafetyCheckOk
test eax, eax
je 0x1401e8d40
mov rax, qword [rsi + 0x38]
mov qword [rsp + 0x50], rax
mov qword [rdi], rax
test r12d, r12d
jne 0x1401e8792
jmp 0x1401e8774
mov rdx, qword [rsp + 0x48]
xor r9d, r9d
mov r8, rbp
mov rcx, r13
call sym.rtreeInsertCell
mov rdx, qword [rsp + 0x48]
mov esi, eax
test rdx, rdx
je 0x1401e8cd0
sub dword [rdx + 0x10], 1
jne 0x1401e8cd0
mov rcx, r13
call sym.nodeRelease.part.0
test esi, esi
jne 0x1401e8cd8
test eax, eax
jne 0x1401e8c93
cmp byte [r13 + 0x29], 0
je 0x1401e8792
mov r14, qword [r13 + 0xb8]
mov rdx, qword [rdi]
mov rcx, r14
call sym.sqlite3_bind_int64.constprop.0.isra.0
cmp byte [r13 + 0x29], 0
je 0x1401e8c83
nop dword [rax]
movzx eax, byte [r13 + 0x25]
lea edx, [r12 + 2]
mov rcx, r14
lea eax, [r12 + rax + 3]
add r12d, 1
cdqe
mov r8, qword [rbx + rax*8]
call sym.sqlite3_bind_value
movzx eax, byte [r13 + 0x29]
cmp r12d, eax
jl 0x1401e8c58
mov rcx, r14
call sym.sqlite3_step
mov rcx, r14
call sym.sqlite3_reset
mov r12d, eax
jmp 0x1401e8792
mov rax, qword [rsi]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1401e8ba4
call qword [0x1402ba750]
jmp 0x1401e8ba4
mov r14d, 1
jmp 0x1401e8802
test esi, esi
je 0x1401e8c31
mov r12d, esi
jmp 0x1401e8792
mov rcx, qword [rbx]
movzx edx, word [rcx + 0x14]
mov rax, rdx
and eax, 0x3f
cmp byte [r14 + rax], 5
jne 0x1401e8cc0
mov qword [rsp + 0x48], 0
jmp 0x1401e8771
movsd xmm0, qword [rcx]
movsd xmm1, qword [0x14033d640]
comisd xmm1, xmm0
ja 0x1401e8da9
comisd xmm0, xmmword [0x14033d648]
movabs r8, 0x7fffffffffffffff
ja 0x1401e8743
cvttsd2si r8, xmm0
jmp 0x1401e8743
lea rax, [0x14033123c]
mov r9d, 0x2b9b3
lea r8, str.misuse
mov ecx, 0x15
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
call sym.sqlite3_log
xor eax, eax
jmp 0x1401e8bd7
mov rcx, qword [r13 + 0x18]
call sym.sqlite3_vtab_on_conflict
cmp eax, 5
jne 0x1401e8d94
mov rdx, qword [rsp + 0x50]
mov rcx, r13
call sym.rtreeDeleteRowid
mov r12d, eax
jmp 0x1401e8ae5
xor edx, edx
jmp 0x1401e8b23
xor ecx, ecx
jmp 0x1401e86a8
xor eax, eax
jmp 0x1401e8700
movabs r8, 0x8000000000000000
jmp 0x1401e8743