Function at 0x10060a31
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x10060a45
xor eax, eax
jmp 0x10060c71
mov eax, edi
call fcn.1002735e
test eax, eax
jne 0x10060a60
push 0x1a841
call fcn.10061fb7
pop ecx
jmp 0x10060c71
push ebx
push dword [edi + 0x44]
call fcn.1002473b
push 0xffffffffffffffff
mov ebx, edi
call fcn.10047120
push 0x44
call fcn.1005960c
xor ebx, ebx
add esp, 0xc
cmp dword [edi + 0x88], ebx
je 0x10060a90
push str.SELECT_CREATE_INDEX_vacuum_db.__substr_sql_14___FROM_sqlite_master_WHERE_sql_LIKE_CREATE_INDEX__
jmp 0x10060b10
xor edx, edx
cmp dword [edi + 4], ebx
jle 0x10060ab1
mov eax, dword [edi + 8]
add eax, 4
mov ecx, dword [eax]
cmp ecx, ebx
je 0x10060aa8
cmp dword [ecx + 0x10], ebx
jne 0x10060b0b
inc edx
add eax, 0x10
cmp edx, dword [edi + 4]
jl 0x10060a9d
push esi
mov esi, edi
call fcn.100609d7
cmp dword [edi + 4], ebx
jle 0x10060aea
and dword [ebp + 8], ebx
mov esi, dword [edi + 8]
add esi, dword [ebp + 8]
mov eax, dword [esi + 4]
test eax, eax
je 0x10060ae0
call fcn.100309f0
and dword [esi + 4], 0
cmp ebx, 1
je 0x10060ae0
and dword [esi + 0xc], 0
add dword [ebp + 8], 0x10
inc ebx
cmp ebx, dword [edi + 4]
jl 0x10060ac1
push 0xffffffffffffffff
mov ebx, edi
call fcn.10047120
lea eax, [edi + 0x140]
pop ecx
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0x17
mov eax, dword [ebp + 8]
mov esi, dword [eax]
jmp 0x10060b50
push 0x1009bf40
push 5
mov eax, edi
call fcn.10026832
push dword [edi + 0x44]
call fcn.10024759
inc dword [ebx + 0x56a0cc4]
mov eax, dword [esi + 0x1c]
mov dword [ebp - 8], eax
push edi
mov eax, esi
call fcn.10060a10
mov ebx, dword [esi + 8]
push esi
push edi
call fcn.10024dae
add esp, 0xc
mov esi, ebx
test ebx, ebx
jne 0x10060b32
mov esi, dword [ebp - 8]
test esi, esi
jne 0x10060b2c
add dword [ebp + 8], 4
dec dword [ebp - 4]
jne 0x10060b04
mov esi, dword [edi + 0x1a4]
jmp 0x10060b97
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea ebx, [eax + 0x10]
mov dword [ebp + 8], 3
mov ecx, dword [ebx]
test ecx, ecx
je 0x10060b84
push dword [ebx - 8]
call ecx
mov eax, dword [ebp - 8]
pop ecx
add ebx, 0x14
dec dword [ebp + 8]
jne 0x10060b75
push eax
push edi
call fcn.10024dae
mov esi, dword [esi]
pop ecx
pop ecx
test esi, esi
jne 0x10060b65
lea esi, [edi + 0x19c]
call 0x1002754c
mov esi, dword [edi + 0x128]
jmp 0x10060bc9
mov ebx, dword [esi + 8]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x10060bbe
push dword [ebx + 8]
call eax
pop ecx
push ebx
push edi
call fcn.10024dae
mov esi, dword [esi]
pop ecx
pop ecx
test esi, esi
jne 0x10060bae
lea esi, [edi + 0x120]
call 0x1002754c
xor ebx, ebx
push ebx
push ebx
mov eax, edi
call fcn.10026832
mov esi, dword [edi + 0xd4]
pop ecx
pop ecx
cmp esi, ebx
je 0x10060bf4
call fcn.10037028
xor esi, esi
cmp dword [edi + 0x80], ebx
jle 0x10060c18
mov ecx, dword [edi + 0x84]
push dword [ecx + esi*4]
mov eax, dword [edi]
push eax
call dword [eax + 0x34]
inc esi
cmp esi, dword [edi + 0x80]
pop ecx
pop ecx
jl 0x10060bfe
push dword [edi + 0x84]
push edi
call fcn.10024dae
mov eax, dword [edi + 8]
mov dword [edi + 0x38], 0xb5357930
push dword [eax + 0x1c]
push edi
call fcn.10024dae
push dword [edi + 0x44]
call fcn.10024759
push dword [edi + 0x44]
mov dword [edi + 0x38], 0x9f3c2d33
call fcn.1002472d
add esp, 0x18
cmp byte [edi + 0xeb], 0
mov edi, 0xeb
add byte [esi + 0x74], bl
invalid
push dword [edi + 0x104]
call fcn.10024d53
pop ecx
push edi