Function at 0x10102f90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x3c
push ebx
mov ebx, dword [esp + 0x44]
xorps xmm0, xmm0
push ebp
mov ebp, ecx
mov dword [esp + 8], 0
push esi
push edi
mov esi, edx
movlpd qword [esp + 0x20], xmm0
xor edi, edi
movlpd qword [esp + 0x28], xmm0
cmp byte [ebp + 0x55], 0
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x38], xmm0
movlpd qword [esp + 0x40], xmm0
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebx
je 0x10102ffb
push edi
push edi
push edi
push str.BEGIN
push ebp
call fcn.10089af0
add esp, 0x14
mov dword [esp + 0x3c], eax
mov dword [esp + 0x10], 1
jmp 0x10102fff
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x10103040
push ebx
push esi
lea eax, [esp + 0x1c]
push str.SELECT__FROM__Q._q_rowid
push eax
call fcn.10102720
add esp, 0x10
test eax, eax
je 0x10103030
movzx edi, word [eax + 0x90]
push eax
sub edi, 2
call fcn.10048cf0
add esp, 4
jmp 0x10103040
mov eax, dword [esp + 0x3c]
xor ecx, ecx
cmp eax, 7
cmovne eax, ecx
mov dword [esp + 0x3c], eax
push ebx
push esi
lea eax, [esp + 0x1c]
push str.SELECT__FROM__Q._Q
push eax
call fcn.10102720
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10103146
movzx ecx, word [esi + 0x90]
sub ecx, edi
dec ecx
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x24], eax
cmp ecx, 2
jge 0x1010308f
lea eax, [esp + 0x14]
push str.Schema_corrupt_or_not_an_rtree
push eax
call fcn.101027f0
add esp, 8
jmp 0x1010312d
push esi
call fcn.10049de0
add esp, 4
cmp eax, 0x64
jne 0x1010312d
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x101030b4
push eax
call dword [0x10165b88]
add esp, 4
mov eax, dword [esi + 0x78]
test eax, eax
je 0x101030ce
mov ecx, 1
cmp cx, word [esi + 0x90]
jae 0x101030ce
add eax, 0x28
jmp 0x101030e6
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.10022380
mov eax, 0x10150a48
movzx eax, word [eax + 0x10]
mov ecx, dword [esi]
and eax, 0x3f
mov edx, dword [esi + 0x24]
cmp byte [ecx + 0x57], 0
mov bl, byte [eax + 0x101547e0]
jne 0x10103106
test edx, edx
jne 0x10103106
xor eax, eax
jmp 0x1010310b
call fcn.1001f020
mov dword [esi + 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10103121
push eax
call dword [0x10165b90]
add esp, 4
xor eax, eax
cmp bl, 1
sete al
mov dword [esp + 0x20], eax
push esi
call fcn.10048cf0
mov ecx, dword [esp + 0x40]
add esp, 4
cmp eax, 0xb
cmovne ecx, eax
mov dword [esp + 0x3c], ecx
jmp 0x1010314a
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x24], 1
jl 0x10103194
test ecx, ecx
jne 0x10103167
push ecx
push 1
push ecx
xor edx, edx
lea ecx, [esp + 0x20]
call fcn.10102ba0
add esp, 0xc
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x14]
cdq
push edx
push eax
mov edx, str._rowid
call fcn.10102f10
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x1c]
cdq
push edx
push eax
mov edx, str._parent
call fcn.10102f10
add esp, 0x10
push dword [esp + 0x28]
call fcn.10048cf0
add esp, 4
push dword [esp + 0x2c]
call fcn.10048cf0
add esp, 4
push dword [esp + 0x30]
call fcn.10048cf0
add esp, 4
cmp dword [esp + 0x10], 0
je 0x101031f0
push 0
push 0
push 0
push 0x1015ef40
push ebp
call fcn.10089af0
mov esi, dword [esp + 0x50]
add esp, 0x14
mov edx, dword [esp + 0x54]
test esi, esi
mov ecx, dword [esp + 0x40]
cmove esi, eax
mov eax, esi
mov dword [edx], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x40]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
mov eax, dword [esp + 0x30]
pop ebx
add esp, 0x3c
ret