Function at 0x10103380
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 0x101033eb
push edi
push edi
push edi
push str.BEGIN
push ebp
call fcn.10089cf0
add esp, 0x14
mov dword [esp + 0x3c], eax
mov dword [esp + 0x10], 1
jmp 0x101033ef
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x10103430
push ebx
push esi
lea eax, [esp + 0x1c]
push str.SELECT__FROM__Q._q_rowid
push eax
call fcn.10102b10
add esp, 0x10
test eax, eax
je 0x10103420
movzx edi, word [eax + 0x90]
push eax
sub edi, 2
call fcn.10048a80
add esp, 4
jmp 0x10103430
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.10102b10
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10103536
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 0x1010347f
lea eax, [esp + 0x14]
push str.Schema_corrupt_or_not_an_rtree
push eax
call fcn.10102be0
add esp, 8
jmp 0x1010351d
push esi
call fcn.10049b70
add esp, 4
cmp eax, 0x64
jne 0x1010351d
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x101034a4
push eax
call dword [0x10165b48]
add esp, 4
mov eax, dword [esi + 0x78]
test eax, eax
je 0x101034be
mov ecx, 1
cmp cx, word [esi + 0x90]
jae 0x101034be
add eax, 0x28
jmp 0x101034d6
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.10022010
mov eax, 0x10151958
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 + 0x101556f8]
jne 0x101034f6
test edx, edx
jne 0x101034f6
xor eax, eax
jmp 0x101034fb
call fcn.1001ec40
mov dword [esi + 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10103511
push eax
call dword [0x10165b50]
add esp, 4
xor eax, eax
cmp bl, 1
sete al
mov dword [esp + 0x20], eax
push esi
call fcn.10048a80
mov ecx, dword [esp + 0x40]
add esp, 4
cmp eax, 0xb
cmovne ecx, eax
mov dword [esp + 0x3c], ecx
jmp 0x1010353a
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x24], 1
jl 0x10103584
test ecx, ecx
jne 0x10103557
push ecx
push 1
push ecx
xor edx, edx
lea ecx, [esp + 0x20]
call fcn.10102f90
add esp, 0xc
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x14]
cdq
push edx
push eax
mov edx, str._rowid
call fcn.10103300
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x1c]
cdq
push edx
push eax
mov edx, str._parent
call fcn.10103300
add esp, 0x10
push dword [esp + 0x28]
call fcn.10048a80
add esp, 4
push dword [esp + 0x2c]
call fcn.10048a80
add esp, 4
push dword [esp + 0x30]
call fcn.10048a80
add esp, 4
cmp dword [esp + 0x10], 0
je 0x101035e0
push 0
push 0
push 0
push 0x1015fe30
push ebp
call fcn.10089cf0
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