Function at 0x100724f0
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
mov eax, edx
mov dword [esp + 0x14], 0
push edi
mov edi, ecx
mov dword [esp + 0x20], eax
xor ecx, ecx
mov dword [esp + 0x34], edi
mov edx, dword [eax + 8]
mov dword [esp + 0x2c], ecx
mov ebx, dword [edi]
mov dword [esp + 0x14], ebx
test edx, edx
je 0x1007253f
mov esi, dword [ebx + 0x10]
cmp dword [esi + 0xc], edx
lea eax, [esi + 0xc]
je 0x10072538
nop dword [eax]
lea eax, [eax + 0x10]
inc ecx
cmp dword [eax], edx
jne 0x10072530
add ecx, ecx
mov eax, dword [esi + ecx*8]
jmp 0x10072542
mov eax, dword [eax + 0xc]
mov ebp, dword [esp + 0x20]
xor edx, edx
push eax
mov ecx, edi
push dword [ebp + 0x10]
call fcn.10079df0
mov esi, eax
add esp, 8
mov dword [esp + 0x1c], esi
test esi, esi
je 0x100727f9
mov edx, esi
mov ecx, edi
call fcn.10071720
test eax, eax
jne 0x100727f9
xor edx, edx
mov ecx, str.view
cmp byte [esi + 0x2b], 2
cmovne ecx, edx
cmp byte [esi + 0x2b], 1
jne 0x10072590
mov ecx, str.virtual_table
jmp 0x10072594
test ecx, ecx
je 0x100725ba
push dword [esi]
push ecx
push str.rename_columns_of
push str.cannot__s__s___s_
push edi
call fcn.1002a530
add esp, 0x14
mov edx, ebp
mov ecx, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
jmp fcn.10081e70
mov ecx, dword [esi + 0x3c]
mov ebp, 0xffff8000
test ecx, ecx
je 0x100725da
mov eax, dword [ebx + 0x10]
xor ebp, ebp
add eax, 0xc
cmp dword [eax], ecx
je 0x100725da
lea eax, [eax + 0x10]
inc ebp
cmp dword [eax], ecx
jne 0x100725d2
mov eax, dword [ebx + 0x10]
mov ecx, ebp
add ecx, ecx
mov edx, 0x1a
push 0
mov esi, dword [eax + ecx*8]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x2c], esi
push dword [ecx]
mov ecx, edi
push esi
call fcn.10078f70
add esp, 0xc
test eax, eax
jne 0x100727f9
mov edx, dword [esp + 0x40]
mov ecx, ebx
call fcn.1007a800
mov dword [esp + 0x18], eax
test eax, eax
je 0x100727f9
mov eax, dword [esp + 0x1c]
xor ebx, ebx
mov dword [esp + 0x24], ebx
movsx ecx, word [eax + 0x22]
mov dword [esp + 0x30], ecx
test ecx, ecx
jle 0x10072665
mov eax, dword [eax + 4]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov edx, dword [eax]
mov esi, edi
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x10072693
test ecx, ecx
jne 0x100726a5
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x24], ebx
cmp ebx, ecx
jne 0x100726be
push dword [esp + 0x40]
push str.no_such_column:___T_
push edi
call fcn.1002a530
add esp, 0xc
mov ebx, dword [esp + 0x14]
mov ecx, ebx
mov edx, dword [esp + 0x20]
call fcn.10081e70
mov edx, dword [esp + 0x18]
jmp 0x1007280c
movzx eax, byte [eax + 0x10161ab0]
movzx ecx, byte [ecx + 0x10161ab0]
sub ecx, eax
jne 0x100726a8
inc edx
jmp 0x10072646
mov eax, dword [esp + 0x24]
inc ebx
mov ecx, dword [esp + 0x30]
add eax, 0x10
mov dword [esp + 0x24], eax
cmp ebx, ecx
jl 0x10072640
jmp 0x10072659
push 0
xor ebx, ebx
mov byte [edi + 0x10], 1
push 0x10166843
cmp ebp, 1
sete bl
push ebx
push esi
push esi
push str.SELECT_1_FROM___w_.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d___Q___d_NULL
push edi
call fcn.10079910
add esp, 0x1c
cmp ebp, 1
je 0x1007271a
push 0
push 0x10166843
push esi
push str.SELECT_1_FROM_temp.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1___Q___d_NULL
push edi
call fcn.10079910
add esp, 0x14
push esi
push esi
push str.UPDATE___w_.sqlite_master_SET_sql__sqlite_rename_quotefix__Q__sql_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual__
push edi
call fcn.10079910
push str.UPDATE_temp.sqlite_master_SET_sql__sqlite_rename_quotefix_temp__sql_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual__
push edi
call fcn.10079910
add esp, 0x18
jmp 0x1007272a
push esi
push esi
push str.UPDATE___w_.sqlite_master_SET_sql__sqlite_rename_quotefix__Q__sql_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual__
push edi
call fcn.10079910
add esp, 0x10
mov eax, dword [edi + 0x80]
mov ecx, edi
mov esi, dword [esp + 0x44]
test eax, eax
mov edx, esi
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov ecx, dword [esp + 0x14]
call fcn.1007a800
mov dword [esp + 0x2c], eax
test eax, eax
je 0x100727f5
mov ecx, dword [esi]
movzx ecx, byte [ecx]
movzx esi, byte [ecx + 0x10160ea8]
mov ecx, dword [esp + 0x1c]
and esi, 0x80
mov ecx, dword [ecx]
push ecx
push ebx
push esi
push eax
push dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
push ecx
push eax
push eax
push str.UPDATE___w_.sqlite_master_SET_sql__sqlite_rename_column_sql__type__name___Q___Q___d___Q___d___d__WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X__AND__type___index_OR_tbl_name___Q_
push edi
call fcn.10079910
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x44]
push esi
mov esi, dword [esp + 0x54]
push ecx
push dword [esp + 0x54]
push dword [eax]
push esi
push str.UPDATE_temp.sqlite_master_SET_sql__sqlite_rename_column_sql__type__name___Q___Q___d___Q___d__1__WHERE_type_IN__trigger__view_
push edi
call fcn.10079910
add esp, 0x44
mov edx, ebp
mov ecx, edi
push 1
call fcn.100717f0
add esp, 4
mov byte [edi + 0x10], 1
push 1
push str.after_rename
push ebx
push esi
push esi
push str.SELECT_1_FROM___w_.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d___Q___d_NULL
push edi
call fcn.10079910
add esp, 0x1c
cmp ebp, 1
je 0x100727f5
push 1
push str.after_rename
push esi
push str.SELECT_1_FROM_temp.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1___Q___d_NULL
push edi
call fcn.10079910
add esp, 0x14
jmp 0x1007267b
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov ecx, ebx
call fcn.10081e70
mov edx, dword [esp + 0x18]
test edx, edx
je 0x10072813
mov ecx, ebx
call fcn.10026a90
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1007282b
mov edx, eax
mov ecx, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
jmp fcn.10026a90
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret