Function at 0x10103410
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 0x1010347b
push edi
push edi
push edi
push str.BEGIN
push ebp
call fcn.10089d60
add esp, 0x14
mov dword [esp + 0x3c], eax
mov dword [esp + 0x10], 1
jmp 0x1010347f
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x101034c0
push ebx
push esi
lea eax, [esp + 0x1c]
push str.SELECT__FROM__Q._q_rowid
push eax
call fcn.10102ba0
add esp, 0x10
test eax, eax
je 0x101034b0
movzx edi, word [eax + 0x90]
push eax
sub edi, 2
call fcn.10048b00
add esp, 4
jmp 0x101034c0
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.10102ba0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x101035c6
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 0x1010350f
lea eax, [esp + 0x14]
push str.Schema_corrupt_or_not_an_rtree
push eax
call fcn.10102c70
add esp, 8
jmp 0x101035ad
push esi
call fcn.10049bf0
add esp, 4
cmp eax, 0x64
jne 0x101035ad
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10103534
push eax
call dword [0x10165b48]
add esp, 4
mov eax, dword [esi + 0x78]
test eax, eax
je 0x1010354e
mov ecx, 1
cmp cx, word [esi + 0x90]
jae 0x1010354e
add eax, 0x28
jmp 0x10103566
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.100220a0
mov eax, 0x10151998
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 + 0x10155738]
jne 0x10103586
test edx, edx
jne 0x10103586
xor eax, eax
jmp 0x1010358b
call fcn.1001ecd0
mov dword [esi + 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x101035a1
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.10048b00
mov ecx, dword [esp + 0x40]
add esp, 4
cmp eax, 0xb
cmovne ecx, eax
mov dword [esp + 0x3c], ecx
jmp 0x101035ca
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x24], 1
jl 0x10103614
test ecx, ecx
jne 0x101035e7
push ecx
push 1
push ecx
xor edx, edx
lea ecx, [esp + 0x20]
call fcn.10103020
add esp, 0xc
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x14]
cdq
push edx
push eax
mov edx, str._rowid
call fcn.10103390
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x1c]
cdq
push edx
push eax
mov edx, str._parent
call fcn.10103390
add esp, 0x10
push dword [esp + 0x28]
call fcn.10048b00
add esp, 4
push dword [esp + 0x2c]
call fcn.10048b00
add esp, 4
push dword [esp + 0x30]
call fcn.10048b00
add esp, 4
cmp dword [esp + 0x10], 0
je 0x10103670
push 0
push 0
push 0
push 0x1015fe58
push ebp
call fcn.10089d60
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