Function at 0x100f5270
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x10155004]
xor eax, esp
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov dword [esp + 0x24], eax
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ecx - 6]
mov dword [esp + 0x24], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], str.Wrong_number_of_columns_for_an_rtree_table
mov dword [esp + 0x38], str.Too_few_columns_for_an_rtree_table
mov dword [esp + 0x3c], str.Too_many_columns_for_an_rtree_table
mov dword [esp + 0x40], str.Auxiliary_rtree_columns_must_be_last
cmp eax, 0x61
ja 0x100f5720
push 1
push 1
push ebx
call fcn.100aed00
add esp, 0xc
push 2
push ebx
call fcn.100aed00
mov edi, dword [edi + 4]
add esp, 8
lea ecx, [edi + 1]
nop
mov al, byte [edi]
inc edi
test al, al
jne 0x100f5300
mov ebx, dword [esp + 0x20]
sub edi, ecx
mov ebx, dword [ebx + 8]
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x100f5313
sub ebx, ecx
call fcn.100cb360
test eax, eax
jne 0x100f5709
lea eax, [ebx + 0x100]
lea eax, [edi + eax*2]
push 0
push eax
call fcn.10025910
mov esi, eax
add esp, 8
test esi, esi
je 0x100f5709
lea eax, [ebx + 0x100]
lea eax, [edi + eax*2]
push eax
push 0
push esi
call fcn.10117800
lea ecx, [esi + 0x1f8]
mov dword [esi + 0x2c], 1
lea eax, [edi + 1]
mov dword [esi], 0x101577c8
add eax, ecx
mov dword [esi + 0x20], ecx
add esp, 0xc
mov dword [esi + 0x24], eax
inc eax
add eax, ebx
cmp dword [esp + 0x24], 0
mov dword [esi + 0x28], eax
push edi
mov edi, dword [esp + 0x24]
setne al
mov byte [esi + 0x16], al
push dword [edi + 4]
push ecx
call fcn.10118c90
add esp, 0xc
push ebx
push dword [edi + 8]
push dword [esi + 0x24]
call fcn.10118c90
add esp, 0xc
push ebx
push dword [edi + 8]
push dword [esi + 0x28]
call fcn.10118c90
mov ecx, dword [esi + 0x28]
add esp, 0xc
mov eax, dword [str._node]
push dword [esp + 0x10]
mov dword [ecx + ebx], eax
mov ax, word [0x1014dfb8]
mov word [ecx + ebx + 4], ax
call fcn.100283d0
mov ebx, dword [esp + 0x24]
lea edx, [esp + 0x2c]
add esp, 4
mov dword [esp + 0x28], 0
mov edi, eax
mov dword [esp + 0x18], edi
mov ecx, dword [ebx + 0xc]
call fcn.100ca210
push dword [ebx + 0xc]
push eax
push str.CREATE_TABLE_x__.s_INT
push edi
call fcn.100287b0
mov ebx, 4
add esp, 0x10
cmp dword [esp + 0x1c], ebx
jle 0x100f5495
nop word [eax + eax]
mov eax, dword [esp + 0x20]
mov edi, dword [eax + ebx*4]
mov al, byte [esi + 0x19]
cmp byte [edi], 0x2b
jne 0x100f5451
lea ecx, [edi + 1]
mov dword [esp + 0x28], 0
inc al
lea edx, [esp + 0x28]
push ecx
mov byte [esi + 0x19], al
call fcn.100ca210
push eax
push str.__.s
jmp 0x100f547e
test al, al
jne 0x100f5491
inc byte [esi + 0x15]
lea edx, [esp + 0x28]
mov ecx, edi
mov dword [esp + 0x28], 0
call fcn.100ca210
push edi
push eax
mov eax, dword [esp + 0x2c]
neg eax
sbb eax, eax
and eax, 4
push dword [eax + 0x1013dc64]
push dword [esp + 0x24]
call fcn.100287b0
inc ebx
add esp, 0x10
cmp ebx, dword [esp + 0x1c]
jl 0x100f5420
mov edi, dword [esp + 0x18]
push 0x1014dff4
push edi
call fcn.100287b0
push edi
call fcn.100282e0
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
jne 0x100f54d8
push eax
lea edi, [eax + 7]
call fcn.10025b30
add esp, 4
mov ecx, esi
call fcn.100f0b50
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.10115f0d
mov esp, ebp
pop ebp
ret
cmp ebx, dword [esp + 0x1c]
jge 0x100f551f
push str.Auxiliary_rtree_columns_must_be_last
push 0x101468e4
call fcn.100285d0
mov ecx, dword [esp + 0x1c]
mov edi, 1
mov dword [ecx], eax
push dword [esp + 0x20]
call fcn.10025b30
add esp, 0xc
mov ecx, esi
call fcn.100f0b50
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.10115f0d
mov esp, ebp
pop ebp
ret
mov ebx, dword [esp + 0x10]
push eax
push ebx
call fcn.100ae1b0
mov edi, eax
add esp, 8
test edi, edi
je 0x100f554f
push ebx
call fcn.100cdad0
add esp, 4
push eax
push 0x101468e4
call fcn.100285d0
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
jmp 0x100f54f8
push dword [esp + 0x18]
call fcn.10025b30
mov cl, byte [esi + 0x15]
add esp, 4
mov al, cl
shr al, 1
mov byte [esi + 0x14], al
cmp al, 1
jae 0x100f5570
mov eax, str.Too_few_columns_for_an_rtree_table
jmp 0x100f5586
cmp cl, 0xa
jbe 0x100f557c
mov eax, str.Too_many_columns_for_an_rtree_table
jmp 0x100f5586
test cl, 1
je 0x100f55a4
mov eax, str.Wrong_number_of_columns_for_an_rtree_table
push eax
push 0x101468e4
call fcn.100285d0
mov ecx, dword [esp + 0x1c]
add esp, 8
mov edi, 1
mov dword [ecx], eax
jmp 0x100f5504
mov eax, dword [esi + 0x20]
add cl, 2
shl cl, 2
cmp dword [ebp + 0x18], 0
mov byte [esi + 0x17], cl
je 0x100f5615
push eax
push str.PRAGMA__Q.page_size
mov dword [esp + 0x2c], 0
call fcn.100285d0
mov ecx, dword [esp + 0x18]
mov ebx, eax
lea eax, [esp + 0x2c]
mov edx, ebx
push eax
call fcn.100f5200
add esp, 0xc
mov dword [esp + 0x1c], eax
mov edi, eax
test eax, eax
jne 0x100f5644
movzx ecx, byte [esi + 0x17]
mov edx, dword [esp + 0x24]
imul eax, ecx, 0x33
add edx, 0xffffffc0
mov dword [esi + 0x10], edx
add eax, 4
cmp eax, edx
jge 0x100f5693
push ebx
mov dword [esi + 0x10], eax
call fcn.10025b30
add esp, 4
jmp 0x100f56aa
push dword [esi + 0x24]
push eax
push str.SELECT_length_data__FROM__q._q_node_WHERE_nodeno__1
call fcn.100285d0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov ebx, eax
lea eax, [esi + 0x10]
mov edx, ebx
push eax
call fcn.100f5200
add esp, 4
mov dword [esp + 0x1c], eax
mov edi, eax
test eax, eax
je 0x100f5667
push dword [esp + 0x10]
call fcn.100cdad0
add esp, 4
push eax
push 0x101468e4
call fcn.100285d0
mov ecx, dword [esp + 0x1c]
push ebx
mov dword [ecx], eax
jmp 0x100f54fc
cmp dword [esi + 0x10], 0x1c0
jge 0x100f5693
push dword [esi + 0x24]
push str.undersize_RTree_blobs_in___q_node_
call fcn.100285d0
mov ecx, dword [esp + 0x1c]
push ebx
mov dword [ecx], eax
call fcn.10025b30
mov edi, 0x10b
jmp 0x100f5501
push ebx
call fcn.10025b30
mov eax, dword [esp + 0x20]
add esp, 4
mov edi, eax
test eax, eax
jne 0x100f5504
mov eax, dword [esp + 0x20]
mov ecx, esi
push dword [ebp + 0x18]
mov ebx, dword [esp + 0x14]
mov edx, ebx
push dword [eax + 8]
push dword [eax + 4]
call fcn.100f4cd0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x100f56ef
push ebx
call fcn.100cdad0
add esp, 4
push eax
push 0x101468e4
call fcn.100285d0
mov ecx, dword [esp + 0x1c]
add esp, 8
mov dword [ecx], eax
jmp 0x100f5504
mov eax, dword [esp + 0x2c]
mov dword [eax], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.10115f0d
mov esp, ebp
pop ebp
ret
mov eax, 7
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.10115f0d
mov esp, ebp
pop ebp
ret
xor eax, eax
mov edx, 4
cmp ecx, 6
cmovge eax, edx
push dword [esp + eax + 0x38]
push 0x101468e4
call fcn.100285d0
mov ecx, dword [esp + 0x4c]
add esp, 8
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10115f0d
mov esp, ebp
pop ebp
ret