Function at 0x1800911c0
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x88
mov eax, dword [rcx + 0x40]
xor esi, esi
xor ebx, ebx
mov qword [rsp + 0x48], rsi
mov r15, r9
mov rbp, r8
mov r14d, edx
mov rdi, rcx
test eax, eax
jne 0x180091733
cmp qword [rcx + 0x20], rbx
jne 0x180091221
mov r9, qword [rcx + 0x10]
lea rdx, str.SELECT_data_FROM__Q._q_node_WHERE_nodeno_
mov r8, qword [rcx + 8]
call fcn.180091750
mov qword [rdi + 0x20], rax
mov eax, dword [rdi + 0x40]
test eax, eax
jne 0x180091733
mov rcx, qword [rdi + 0x20]
mov r8, r15
mov edx, 1
call fcn.1800fc770
mov rcx, qword [rdi + 0x20]
call fcn.180101220
cmp eax, 0x64
jne 0x1800912b1
mov rcx, qword [rdi + 0x20]
xor edx, edx
call fcn.1800fd960
mov rcx, qword [rdi + 0x20]
xor edx, edx
movsxd rbp, eax
call fcn.1800fd890
mov r14, rax
call fcn.1800fff70
test eax, eax
je 0x180091273
mov qword [rsp + 0x48], rsi
mov dword [rdi + 0x40], 7
jmp 0x1800912a1
mov rcx, rbp
call fcn.1800ca1d0
mov qword [rsp + 0x48], rax
mov rsi, rax
test rax, rax
jne 0x180091291
mov dword [rdi + 0x40], 7
jmp 0x1800912a1
mov r8, rbp
mov rdx, r14
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov ebx, ebp
mov r14d, dword [rsp + 0xc8]
mov rbp, qword [rsp + 0xd0]
mov rcx, qword [rdi + 0x20]
call fcn.180100c70
mov ecx, dword [rdi + 0x40]
test ecx, ecx
jne 0x1800912f0
mov dword [rdi + 0x40], eax
mov ecx, eax
test eax, eax
jne 0x1800912f0
test rsi, rsi
jne 0x1800912f9
mov r8, r15
lea rdx, str.Node__lld_missing_from_database
mov rcx, rdi
add rsp, 0x88
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
jmp fcn.180091140
test rsi, rsi
je 0x180091733
cmp ebx, 4
jge 0x180091318
mov r9d, ebx
lea rdx, str.Node__lld_is_too_small___d_bytes_
mov r8, r15
mov rcx, rdi
call fcn.180091140
jmp 0x1800916ca
test rbp, rbp
jne 0x180091351
movzx r14d, byte [rsi]
movzx eax, byte [rsi + 1]
shl r14d, 8
add r14d, eax
mov dword [rsp + 0xc8], r14d
cmp r14d, 0x28
jbe 0x180091351
mov r8d, r14d
lea rdx, str.Rtree_depth_out_of_range___d_
mov rcx, rdi
call fcn.180091140
jmp 0x1800916ca
movzx eax, byte [rsi + 3]
movzx ecx, byte [rsi + 2]
shl ecx, 8
add ecx, eax
mov eax, dword [rdi + 0x1c]
inc eax
mov dword [rsp + 0x44], ecx
imul eax, ecx
lea eax, [rax*8 + 4]
cmp eax, ebx
jle 0x180091393
mov r9d, ecx
mov dword [rsp + 0x20], ebx
mov rcx, rdi
lea rdx, str.Node__lld_is_too_small_for_cell_count_of__d___d_bytes_
mov r8, r15
call fcn.180091140
jmp 0x1800916ca
mov qword [rsp + 0x80], r13
xor r13d, r13d
test ecx, ecx
je 0x1800916c2
mov qword [rsp + 0xd8], r12
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
nop dword [rax + rax]
mov edx, dword [rdi + 0x1c]
lea eax, [rdx + 1]
imul eax, r13d
shl eax, 3
movsxd rcx, eax
lea rax, [rsi + 0xc]
add rax, rcx
mov qword [rsp + 0x58], rax
mov r12, qword [rcx + rsi + 4]
xor esi, esi
bswap r12
mov qword [rsp + 0x50], r12
test edx, edx
jle 0x1800914f5
mov r12, rax
lea r14, [rbp + 4]
sub r12, rbp
nop dword [rax]
mov ebp, dword [r12 + r14 - 4]
xor eax, eax
mov ebx, dword [r12 + r14]
bswap ebp
bswap ebx
mov dword [rsp + 0xc0], ebp
movss xmm6, dword [rsp + 0xc0]
mov dword [rsp + 0x40], ebx
movss xmm7, dword [rsp + 0x40]
cmp dword [rdi + 0x18], eax
je 0x180091435
cmp ebp, ebx
setg al
jmp 0x18009143b
comiss xmm6, xmm7
seta al
test eax, eax
je 0x180091459
mov r9d, r13d
mov qword [rsp + 0x20], r15
mov r8d, esi
lea rdx, str.Dimension__d_of_cell__d_on_node__lld_is_corrupt
mov rcx, rdi
call fcn.180091140
cmp qword [rsp + 0xd0], 0
je 0x1800914d1
mov ecx, dword [r14 - 4]
xor eax, eax
mov edx, dword [r14]
mov r8d, dword [rdi + 0x18]
bswap ecx
mov dword [rsp + 0xc0], ecx
bswap edx
mov dword [rsp + 0x40], edx
test r8d, r8d
je 0x18009148c
cmp ebp, ecx
setl al
jmp 0x18009149b
movss xmm0, dword [rsp + 0xc0]
comiss xmm0, xmm6
seta al
test eax, eax
jne 0x1800914b7
test r8d, r8d
je 0x1800914ab
cmp ebx, edx
setg al
jmp 0x1800914b3
comiss xmm7, dword [rsp + 0x40]
seta al
test eax, eax
je 0x1800914d1
mov r9d, r13d
mov qword [rsp + 0x20], r15
mov r8d, esi
lea rdx, str.Dimension__d_of_cell__d_on_node__lld_is_corrupt_relative_to_parent
mov rcx, rdi
call fcn.180091140
inc esi
add r14, 8
cmp esi, dword [rdi + 0x1c]
jl 0x180091400
mov r12, qword [rsp + 0x50]
mov rbp, qword [rsp + 0xd0]
mov r14d, dword [rsp + 0xc8]
test r14d, r14d
jle 0x1800915da
cmp qword [rdi + 0x28], 0
jne 0x180091520
mov r9, qword [rdi + 0x10]
lea rdx, str.SELECT_parentnode_FROM__Q._q_parent_WHERE_nodeno_1
mov r8, qword [rdi + 8]
mov rcx, rdi
call fcn.180091750
mov qword [rdi + 0x28], rax
cmp dword [rdi + 0x40], 0
jne 0x1800915be
mov rbx, qword [rdi + 0x28]
mov r8, r12
mov rcx, rbx
mov edx, 1
call fcn.1800fc770
mov rcx, rbx
call fcn.180101220
cmp eax, 0x65
jne 0x18009156e
lea rax, str.__parent
mov r9, r15
mov r8, r12
mov qword [rsp + 0x20], rax
lea rdx, str.Mapping___lld_____lld__missing_from__s_table
mov rcx, rdi
call fcn.180091140
jmp 0x1800915ad
cmp eax, 0x64
jne 0x1800915ad
xor edx, edx
mov rcx, rbx
call fcn.1800fdd40
cmp rax, r15
je 0x1800915ad
mov qword [rsp + 0x30], r15
lea rcx, str.__parent
mov qword [rsp + 0x28], r12
lea rdx, str.Found___lld_____lld__in__s_table__expected___lld_____lld_
mov qword [rsp + 0x20], rcx
mov r9, rax
mov rcx, rdi
mov r8, r12
call fcn.180091140
mov rcx, rbx
call fcn.180100c70
cmp dword [rdi + 0x40], 0
jne 0x1800915be
mov dword [rdi + 0x40], eax
mov r8, qword [rsp + 0x58]
lea edx, [r14 - 1]
mov r9, r12
mov rcx, rdi
call fcn.1800911c0
inc dword [rdi + 0x3c]
jmp 0x18009169d
cmp qword [rdi + 0x30], 0
jne 0x1800915fc
mov r9, qword [rdi + 0x10]
lea rdx, str.SELECT_nodeno_FROM__Q._q_rowid_WHERE_rowid_1
mov r8, qword [rdi + 8]
mov rcx, rdi
call fcn.180091750
mov qword [rdi + 0x30], rax
cmp dword [rdi + 0x40], 0
jne 0x18009169a
mov rbx, qword [rdi + 0x30]
mov r8, r12
mov rcx, rbx
mov edx, 1
call fcn.1800fc770
mov rcx, rbx
call fcn.180101220
cmp eax, 0x65
jne 0x18009164a
lea rax, str.__rowid
mov r9, r15
mov r8, r12
mov qword [rsp + 0x20], rax
lea rdx, str.Mapping___lld_____lld__missing_from__s_table
mov rcx, rdi
call fcn.180091140
jmp 0x180091689
cmp eax, 0x64
jne 0x180091689
xor edx, edx
mov rcx, rbx
call fcn.1800fdd40
cmp rax, r15
je 0x180091689
mov qword [rsp + 0x30], r15
lea rcx, str.__rowid
mov qword [rsp + 0x28], r12
lea rdx, str.Found___lld_____lld__in__s_table__expected___lld_____lld_
mov qword [rsp + 0x20], rcx
mov r9, rax
mov rcx, rdi
mov r8, r12
call fcn.180091140
mov rcx, rbx
call fcn.180100c70
cmp dword [rdi + 0x40], 0
jne 0x18009169a
mov dword [rdi + 0x40], eax
inc dword [rdi + 0x38]
mov rsi, qword [rsp + 0x48]
inc r13d
cmp r13d, dword [rsp + 0x44]
jl 0x1800913c0
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
mov r12, qword [rsp + 0xd8]
mov r13, qword [rsp + 0x80]
cmp dword [0x180147090], 0
je 0x18009172a
mov rcx, qword [0x18014be20]
test rcx, rcx
je 0x1800916e5
call qword [0x180147110]
mov rcx, rsi
call qword [0x1801470c8]
dec qword [0x18014bdb8]
movsxd rcx, eax
sub qword [0x18014bd70], rcx
mov rcx, rsi
call qword [0x1801470b8]
mov rcx, qword [0x18014be20]
test rcx, rcx
je 0x180091733
add rsp, 0x88
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
jmp qword [0x180147120]
mov rcx, rsi
call qword [0x1801470b8]
add rsp, 0x88
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret