Function at 0x100d7af0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x20], edx
mov ecx, 0x10103106
call fcn.100d96c4
xor eax, eax
xor esi, esi
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x28]
test eax, eax
jne 0x100d7e95
cmp dword [edi + 0x14], esi
jne 0x100d7b46
push dword [edi + 8]
push dword [edi + 4]
push str.SELECT_data_FROM__Q._q_node_WHERE_nodeno_
push edi
call fcn.100d78e0
mov dword [edi + 0x14], eax
add esp, 0x10
mov eax, dword [edi + 0x28]
test eax, eax
jne 0x100d7e95
mov ebx, dword [ebp + 0x10]
push ebx
push dword [ebp + 0xc]
push 1
push dword [edi + 0x14]
call fcn.100651a0
push dword [edi + 0x14]
call fcn.10064030
add esp, 0x14
cmp eax, 0x64
jne 0x100d7bcd
push 0
push dword [edi + 0x14]
call fcn.10064690
push 0
push dword [edi + 0x14]
mov ebx, eax
call fcn.10064620
add esp, 0x10
mov dword [esp + 0x30], eax
call fcn.100b6e10
test eax, eax
je 0x100d7b9c
xor eax, eax
mov dword [edi + 0x28], 7
mov dword [esp + 0x10], eax
jmp 0x100d7bca
mov eax, ebx
cdq
push edx
push eax
call fcn.1003e840
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x100d7bba
mov dword [edi + 0x28], 7
jmp 0x100d7bca
push ebx
push dword [esp + 0x34]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov esi, ebx
mov ebx, dword [ebp + 0x10]
push dword [edi + 0x14]
call fcn.100631f0
mov ecx, dword [edi + 0x28]
add esp, 4
test ecx, ecx
jne 0x100d7c0a
mov ecx, eax
mov dword [edi + 0x28], eax
test ecx, ecx
jne 0x100d7c0a
mov edx, dword [esp + 0x10]
test edx, edx
jne 0x100d7c16
mov eax, dword [ebp + 0xc]
push ebx
push eax
push str.Node__lld_missing_from_database
push edi
call fcn.100d7970
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x10]
test edx, edx
je 0x100d7e95
cmp esi, 4
jge 0x100d7c43
mov eax, dword [ebp + 0xc]
push esi
push ebx
push eax
push str.Node__lld_is_too_small___d_bytes_
push edi
call fcn.100d7970
mov edx, dword [esp + 0x24]
add esp, 0x14
push edx
call fcn.1003ea80
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 8], 0
jne 0x100d7c81
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
shl ecx, 8
add eax, ecx
mov dword [esp + 0x20], eax
cmp eax, 0x28
jbe 0x100d7c81
push eax
push str.Rtree_depth_out_of_range___d_
push edi
call fcn.100d7970
mov eax, dword [esp + 0x1c]
add esp, 0xc
push eax
call fcn.1003ea80
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx ecx, byte [edx + 2]
movzx eax, byte [edx + 3]
shl ecx, 8
add ecx, eax
mov eax, dword [edi + 0x10]
inc eax
mov dword [esp + 0x44], ecx
imul eax, ecx
lea eax, [eax*8 + 4]
cmp eax, esi
jle 0x100d7ccd
mov eax, dword [ebp + 0xc]
push esi
push ecx
push ebx
push eax
push str.Node__lld_is_too_small_for_cell_count_of__d___d_bytes_
push edi
call fcn.100d7970
mov edx, dword [esp + 0x28]
add esp, 0x18
push edx
call fcn.1003ea80
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
mov dword [esp + 0x14], esi
test ecx, ecx
je 0x100d7e8c
nop dword [eax + eax]
mov ecx, dword [edi + 0x10]
lea eax, [ecx + 1]
imul eax, esi
mov ebx, dword [edx + eax*8 + 4]
mov dword [esp + 0x1c], ebx
mov ebx, dword [edx + eax*8 + 8]
lea edx, [edx + eax*8]
mov esi, dword [esp + 0x1c]
add edx, 0xc
bswap ebx
bswap esi
mov dword [esp + 0x30], ebx
xor ebx, ebx
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x2c], edx
test ecx, ecx
jle 0x100d7e2b
mov eax, dword [ebp + 8]
sub edx, eax
mov dword [esp + 0x34], edx
lea ecx, [eax + 4]
mov dword [esp + 0x18], ecx
nop dword [eax]
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + ebx*8]
mov eax, dword [esp + 0x34]
bswap edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], edx
mov esi, dword [eax + ecx]
xor eax, eax
bswap esi
mov dword [esp + 0x28], esi
cmp dword [edi + 0xc], eax
je 0x100d7d5c
cmp edx, esi
setg al
jmp 0x100d7d6a
movss xmm0, dword [esp + 0x24]
comiss xmm0, dword [esp + 0x28]
seta al
test eax, eax
je 0x100d7d8f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esp + 0x1c]
push ebx
push str.Dimension__d_of_cell__d_on_node__lld_is_corrupt
push edi
call fcn.100d7970
mov edx, dword [esp + 0x50]
add esp, 0x18
mov ecx, dword [esp + 0x18]
cmp dword [ebp + 8], 0
je 0x100d7e16
mov eax, dword [esp + 0x18]
mov ecx, dword [ecx - 4]
bswap ecx
mov dword [esp + 0x38], ecx
mov eax, dword [eax]
bswap eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
xor eax, eax
cmp dword [edi + 0xc], eax
je 0x100d7dc0
cmp edx, ecx
setl al
jmp 0x100d7dce
movss xmm0, dword [esp + 0x38]
comiss xmm0, dword [esp + 0x24]
seta al
test eax, eax
jne 0x100d7df2
cmp dword [edi + 0xc], eax
je 0x100d7de0
cmp esi, dword [esp + 0x3c]
setg al
jmp 0x100d7dee
movss xmm0, dword [esp + 0x28]
comiss xmm0, dword [esp + 0x40]
seta al
test eax, eax
je 0x100d7e12
push dword [ebp + 0x10]
mov esi, dword [esp + 0x18]
push dword [ebp + 0xc]
push esi
push ebx
push str.Dimension__d_of_cell__d_on_node__lld_is_corrupt_relative_to_parent
push edi
call fcn.100d7970
mov ecx, dword [esp + 0x30]
add esp, 0x18
jmp 0x100d7e1a
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
inc ebx
add ecx, 8
mov dword [esp + 0x18], ecx
cmp ebx, dword [edi + 0x10]
jl 0x100d7d30
cmp dword [esp + 0x20], 0
mov ecx, edi
push dword [ebp + 0x10]
mov ebx, dword [esp + 0x34]
push dword [ebp + 0xc]
push dword [esp + 0x24]
push ebx
jle 0x100d7e69
xor edx, edx
call fcn.100d79e0
push dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov ecx, edi
push ebx
push dword [esp + 0x44]
lea edx, [edx - 1]
call fcn.100d7af0
add esp, 0x1c
inc dword [edi + 0x24]
jmp 0x100d7e79
mov edx, 1
call fcn.100d79e0
add esp, 0x10
inc dword [edi + 0x20]
mov edx, dword [esp + 0x10]
inc esi
mov dword [esp + 0x14], esi
cmp esi, dword [esp + 0x44]
jl 0x100d7ce0
push edx
call fcn.1003ea80
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret