Function at 0x10103c60
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 0x10103ccb
push edi
push edi
push edi
push str.BEGIN
push ebp
call fcn.10089a20
add esp, 0x14
mov dword [esp + 0x3c], eax
mov dword [esp + 0x10], 1
jmp 0x10103ccf
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x10103d10
push ebx
push esi
lea eax, [esp + 0x1c]
push str.SELECT__FROM__Q._q_rowid
push eax
call fcn.101033f0
add esp, 0x10
test eax, eax
je 0x10103d00
movzx edi, word [eax + 0x90]
push eax
sub edi, 2
call fcn.10048ca0
add esp, 4
jmp 0x10103d10
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.101033f0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10103e14
movzx eax, word [esi + 0x90]
sub eax, edi
dec eax
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x24], eax
cmp eax, 1
jge 0x10103d5d
lea eax, [esp + 0x14]
push str.Schema_corrupt_or_not_an_rtree
push eax
call fcn.101034c0
add esp, 8
jmp 0x10103dfb
push esi
call fcn.10049d90
add esp, 4
cmp eax, 0x64
jne 0x10103dfb
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10103d82
push eax
call dword [0x10165b88]
add esp, 4
mov eax, dword [esi + 0x78]
test eax, eax
je 0x10103d9c
mov ecx, 1
cmp cx, word [esi + 0x90]
jae 0x10103d9c
add eax, 0x28
jmp 0x10103db4
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.10022340
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 0x10103dd4
test edx, edx
jne 0x10103dd4
xor eax, eax
jmp 0x10103dd9
call fcn.1001f000
mov dword [esi + 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10103def
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.10048ca0
mov ecx, dword [esp + 0x40]
add esp, 4
cmp eax, 0xb
cmovne ecx, eax
mov dword [esp + 0x3c], ecx
jmp 0x10103e18
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x24], 1
jl 0x10103e62
test ecx, ecx
jne 0x10103e35
push ecx
push 1
push ecx
xor edx, edx
lea ecx, [esp + 0x20]
call fcn.10103870
add esp, 0xc
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x14]
cdq
push edx
push eax
mov edx, str._rowid
call fcn.10103be0
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x1c]
cdq
push edx
push eax
mov edx, str._parent
call fcn.10103be0
add esp, 0x10
push dword [esp + 0x28]
call fcn.10048ca0
add esp, 4
push dword [esp + 0x2c]
call fcn.10048ca0
add esp, 4
push dword [esp + 0x30]
call fcn.10048ca0
add esp, 4
cmp dword [esp + 0x10], 0
je 0x10103ebe
push 0
push 0
push 0
push 0x1015ef38
push ebp
call fcn.10089a20
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