Function at 0x100d71b0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, ecx
mov dword [esp + 8], edx
push edi
mov edi, dword [ebp + 0xc]
mov ecx, 0x10103106
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ebx
call fcn.100d96c4
cmp dword [ebp + 8], 0x67
jle 0x100d720b
push str.Too_many_columns_for_an_rtree_table
push 0x100f1c04
call fcn.10041480
mov dword [ebx], eax
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 1
push 1
push esi
call fcn.100a3220
mov edi, dword [edi + 4]
add esp, 0xc
lea ecx, [edi + 1]
nop
mov al, byte [edi]
inc edi
test al, al
jne 0x100d7220
mov eax, dword [esp + 0x18]
sub edi, ecx
mov ebx, dword [eax + 8]
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x100d7233
sub ebx, ecx
call fcn.100b6e10
test eax, eax
jne 0x100d7530
lea eax, [edi + 0x1fa]
add eax, ebx
push 0
push eax
call fcn.1003e840
mov esi, eax
add esp, 8
test esi, esi
je 0x100d7530
lea eax, [edi + 0x1fa]
add eax, ebx
push eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esi + 0x28], 1
lea ecx, [esi + 0x1f8]
mov dword [esi], 0x10100460
lea eax, [ecx + 1]
mov dword [esi + 0x20], ecx
add eax, edi
cmp dword [esp + 0xc], 0
push edi
mov edi, dword [esp + 0x1c]
mov dword [esi + 0x24], eax
setne al
mov byte [esi + 0x16], al
push dword [edi + 4]
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push ebx
push dword [edi + 8]
push dword [esi + 0x24]
call sub.VCRUNTIME140.dll_memcpy
mov ebx, dword [esp + 0x20]
add esp, 0xc
push ebx
call fcn.10041250
add esp, 4
mov dword [esp + 0xc], eax
push dword [edi + 0xc]
push str.CREATE_TABLE_x__s
push eax
call fcn.10041690
mov edi, 4
add esp, 0xc
cmp dword [ebp + 8], edi
jle 0x100d7330
mov ebx, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
mov cl, byte [esi + 0x19]
mov eax, dword [edx + edi*4]
cmp byte [eax], 0x2b
jne 0x100d730d
inc cl
mov byte [esi + 0x19], cl
mov eax, dword [edx + edi*4]
inc eax
jmp 0x100d7317
test cl, cl
jne 0x100d732c
inc byte [esi + 0x15]
mov eax, dword [edx + edi*4]
push eax
push 0x100f09a8
push ebx
call fcn.10041690
inc edi
add esp, 0xc
cmp edi, dword [ebp + 8]
jl 0x100d72f3
mov ebx, dword [esp + 0x14]
push 0x100f0988
push dword [esp + 0x10]
call fcn.10041690
push dword [esp + 0x14]
call fcn.10041120
add esp, 0xc
mov dword [esp + 0xc], eax
test eax, eax
jne 0x100d7357
lea edi, [eax + 7]
jmp 0x100d73a3
cmp edi, dword [ebp + 8]
jge 0x100d7372
push str.Auxiliary_rtree_columns_must_be_last
push 0x100f1c04
call fcn.10041480
mov edi, 1
jmp 0x100d7396
push eax
push ebx
call fcn.100a2a70
mov edi, eax
add esp, 8
test edi, edi
je 0x100d739f
push ebx
call fcn.100b92b0
add esp, 4
push eax
push 0x100f1c04
call fcn.10041480
mov ecx, dword [esp + 0x18]
add esp, 8
mov dword [ecx], eax
mov eax, dword [esp + 0xc]
push eax
call fcn.1003ea80
add esp, 4
test edi, edi
jne 0x100d73f4
mov cl, byte [esi + 0x15]
mov al, cl
shr al, 1
mov byte [esi + 0x14], al
cmp al, 1
jae 0x100d73c5
mov eax, str.Too_few_columns_for_an_rtree_table
jmp 0x100d73db
cmp cl, 0xa
jbe 0x100d73d1
mov eax, str.Too_many_columns_for_an_rtree_table
jmp 0x100d73db
test cl, 1
je 0x100d7404
mov eax, str.Wrong_number_of_columns_for_an_rtree_table
push eax
push 0x100f1c04
call fcn.10041480
mov ecx, dword [esp + 0x18]
add esp, 8
mov edi, 1
mov dword [ecx], eax
mov ecx, esi
call fcn.100d28f0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x20]
add cl, 2
shl cl, 2
cmp dword [ebp + 0x18], 0
mov byte [esi + 0x17], cl
je 0x100d7461
push eax
push str.PRAGMA__Q.page_size
mov dword [esp + 0x1c], 0
call fcn.10041480
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], eax
push ecx
mov edx, eax
mov ecx, ebx
call fcn.100d7130
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x100d748c
movzx eax, byte [esi + 0x17]
mov ecx, dword [esp + 0x14]
imul eax, eax, 0x33
add ecx, 0xffffffc0
mov dword [esi + 0x10], ecx
add eax, 4
cmp eax, ecx
jge 0x100d74c1
mov dword [esi + 0x10], eax
jmp 0x100d74c1
push dword [esi + 0x24]
push eax
push str.SELECT_length_data__FROM__q._q_node_WHERE_nodeno__1
call fcn.10041480
add esp, 0xc
mov dword [esp + 0xc], eax
lea ecx, [esi + 0x10]
mov edx, eax
push ecx
mov ecx, ebx
call fcn.100d7130
mov edi, eax
add esp, 4
test edi, edi
je 0x100d749d
push ebx
call fcn.100b92b0
add esp, 4
push eax
push 0x100f1c04
jmp 0x100d74b3
cmp dword [esi + 0x10], 0x1c0
jge 0x100d74c1
push dword [esi + 0x24]
mov edi, 0x10b
push str.undersize_RTree_blobs_in___q_node_
call fcn.10041480
mov ecx, dword [esp + 0x18]
add esp, 8
mov dword [ecx], eax
push dword [esp + 0xc]
call fcn.1003ea80
add esp, 4
test edi, edi
jne 0x100d73f4
mov eax, dword [esp + 0x18]
mov edx, ebx
push dword [ebp + 0x18]
mov ecx, esi
push dword [eax + 8]
push dword [eax + 4]
call fcn.100d6c60
mov edi, eax
add esp, 0xc
test edi, edi
je 0x100d7521
push ebx
call fcn.100b92b0
add esp, 4
push eax
push 0x100f1c04
call fcn.10041480
mov ecx, dword [esp + 0x18]
add esp, 8
mov dword [ecx], eax
mov ecx, esi
call fcn.100d28f0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x1c]
mov dword [eax], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret