Function at 0x7f22e0
Capabilities:
Reference sql statements

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
mov ebp, dword [rcx + 0x40]
test ebp, ebp
mov rbx, rcx
mov dword [rsp + 0x3c], edx
mov r13, r8
mov r12, r9
je 0x7f2315
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rcx + 0x20]
test rcx, rcx
je 0x7f2630
mov r8, r12
mov edx, 1
xor esi, esi
call fcn.00764b60
mov rcx, qword [rbx + 0x20]
xor r15d, r15d
call fcn.007c57e0
cmp eax, 0x64
je 0x7f25e0
mov rcx, qword [rbx + 0x20]
call fcn.0079eb60
mov r10d, dword [rbx + 0x40]
test r10d, r10d
je 0x7f24d0
test r15, r15
je 0x7f2304
cmp esi, 3
jle 0x7f2580
test r13, r13
je 0x7f2691
movzx eax, byte [r15 + 2]
movzx edx, byte [r15 + 3]
shl eax, 8
lea edi, [rax + rdx]
mov edx, dword [rbx + 0x1c]
mov ecx, edi
mov dword [rsp + 0x58], edi
lea eax, [rdx + 1]
imul ecx, eax
lea ecx, [rcx*8 + 3]
cmp ecx, esi
jge 0x7f2671
test edi, edi
je 0x7f2595
mov ecx, dword [rsp + 0x3c]
mov qword [rsp + 0x50], r15
lea esi, [rcx - 1]
mov dword [rsp + 0x5c], esi
imul eax, ebp
mov rsi, qword [rsp + 0x50]
xor edi, edi
test edx, edx
lea eax, [rax*8 + 4]
cdqe
lea r15, [rsi + rax]
mov r14, qword [r15]
lea rax, [r15 + 8]
mov qword [rsp + 0x48], rax
bswap r14
mov qword [rsp + 0x40], r14
jg 0x7f2467
jmp 0x7f2530
cmp r14d, esi
setg al
test al, al
jne 0x7f249d
test r13, r13
je 0x7f245a
mov ecx, dword [rbx + 0x18]
mov eax, dword [r13 + rdi*8]
mov edx, dword [r13 + rdi*8 + 4]
test ecx, ecx
bswap eax
bswap edx
jne 0x7f2510
movd xmm0, eax
movd xmm2, r14d
comiss xmm0, xmm2
ja 0x7f2440
movd xmm0, esi
movd xmm3, edx
comiss xmm0, xmm3
jbe 0x7f245a
nop word [rax + rax]
mov qword [rsp + 0x20], r12
mov r9d, ebp
mov r8d, r10d
mov rcx, rbx
lea rdx, str.Dimension__d_of_cell__d_on_node__lld_is_corrupt_relative_to_parent
call fcn.007877b0
add rdi, 1
cmp dword [rbx + 0x1c], edi
jle 0x7f2530
mov r8d, dword [rbx + 0x18]
mov r10d, edi
mov r14d, dword [r15 + rdi*8 + 8]
mov esi, dword [r15 + rdi*8 + 0xc]
test r8d, r8d
bswap r14d
bswap esi
jne 0x7f23f0
movd xmm0, r14d
movd xmm1, esi
comiss xmm0, xmm1
seta al
test al, al
je 0x7f23fe
mov r8d, r10d
mov qword [rsp + 0x20], r12
mov r9d, ebp
mov rcx, rbx
lea rdx, str.Dimension__d_of_cell__d_on_node__lld_is_corrupt
mov dword [rsp + 0x38], r10d
call fcn.007877b0
mov r10d, dword [rsp + 0x38]
jmp 0x7f23fe
test eax, eax
mov dword [rbx + 0x40], eax
jne 0x7f235c
test r15, r15
jne 0x7f2361
lea rdx, str.Node__lld_missing_from_database
mov r8, r12
mov rcx, rbx
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp fcn.007877b0
cmp esi, edx
jg 0x7f2440
cmp r14d, eax
jl 0x7f2440
add rdi, 1
cmp dword [rbx + 0x1c], edi
jg 0x7f2467
nop
mov r9d, dword [rsp + 0x3c]
test r9d, r9d
je 0x7f25b0
mov rsi, qword [rsp + 0x40]
xor edx, edx
mov r9, r12
mov rcx, rbx
add ebp, 1
mov r8, rsi
call fcn.007e8f30
mov r8, qword [rsp + 0x48]
mov r9, rsi
mov rcx, rbx
mov edx, dword [rsp + 0x5c]
call fcn.007f22e0
add dword [rbx + 0x3c], 1
cmp ebp, dword [rsp + 0x58]
je 0x7f25d2
mov edx, dword [rbx + 0x1c]
lea eax, [rdx + 1]
jmp 0x7f23b9
mov r9d, esi
mov r8, r12
mov rcx, rbx
lea rdx, str.Node__lld_is_too_small___d_bytes_
call fcn.007877b0
mov rcx, r15
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp fcn.00740fd0
mov r8, qword [rsp + 0x40]
mov r9, r12
mov edx, 1
mov rcx, rbx
add ebp, 1
call fcn.007e8f30
add dword [rbx + 0x38], 1
cmp ebp, dword [rsp + 0x58]
jne 0x7f2570
mov r15, qword [rsp + 0x50]
jmp 0x7f2595
mov rcx, qword [rbx + 0x20]
xor edx, edx
call fcn.00752960
mov rcx, qword [rbx + 0x20]
xor edx, edx
mov esi, eax
call fcn.00765bc0
mov rdi, rax
call fcn.00778510
test eax, eax
jne 0x7f2660
movsxd r14, esi
mov rcx, r14
call fcn.0074a560
test rax, rax
mov r15, rax
je 0x7f2660
mov r8, r14
mov rdx, rdi
mov rcx, rax
call sub.msvcrt.dll_memcpy
jmp 0x7f2346
mov r9, qword [rbx + 0x10]
mov rcx, rbx
mov r8, qword [rbx + 8]
lea rdx, str.SELECT_data_FROM__Q._q_node_WHERE_nodeno_
call fcn.007e0430
mov r11d, dword [rbx + 0x40]
mov rcx, rax
mov qword [rbx + 0x20], rax
test r11d, r11d
je 0x7f2322
jmp 0x7f2304
mov dword [rbx + 0x40], 7
xor esi, esi
xor r15d, r15d
jmp 0x7f2346
mov r9d, dword [rsp + 0x58]
mov dword [rsp + 0x20], esi
mov r8, r12
mov rcx, rbx
lea rdx, str.Node__lld_is_too_small_for_cell_count_of__d___d_bytes_
call fcn.007877b0
jmp 0x7f2595
movzx eax, byte [r15]
movzx edx, byte [r15 + 1]
shl eax, 8
add eax, edx
cmp eax, 0x28
mov dword [rsp + 0x3c], eax
jle 0x7f2373
lea rdx, str.Rtree_depth_out_of_range___d_
mov r8d, eax
mov rcx, rbx
call fcn.007877b0
jmp 0x7f2595