Function at 0x44afa0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov eax, edx
mov dword [ebp - 0x18], 0
mov ebx, ecx
mov dword [ebp - 0x20], eax
push esi
push edi
mov esi, dword [eax + 8]
mov edx, dword [ebx]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], edx
test esi, esi
je 0x44afe4
mov eax, dword [edx + 0x10]
xor ecx, ecx
add eax, 0xc
cmp dword [eax], esi
je 0x44afda
lea eax, [eax + 0x10]
inc ecx
cmp dword [eax], esi
jne 0x44afd2
mov eax, dword [edx + 0x10]
add ecx, ecx
mov eax, dword [eax + ecx*8]
jmp 0x44afe7
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebp - 0x20]
xor edx, edx
mov ecx, ebx
push dword [eax + 0x10]
call fcn.00450fc0
mov esi, eax
add esp, 8
mov dword [ebp - 0x10], esi
test esi, esi
je 0x44b045
mov edx, esi
mov ecx, ebx
call fcn.0044a5f0
test eax, eax
jne 0x44b045
xor edx, edx
mov ecx, str.view
cmp byte [esi + 0x2b], 2
cmovne ecx, edx
cmp byte [esi + 0x2b], 1
jne 0x44b02b
mov ecx, str.virtual_table
jmp 0x44b02f
test ecx, ecx
je 0x44b078
push dword [esi]
push ecx
push str.rename_columns_of
push str.cannot__s__s___s_
push ebx
call fcn.00409b70
add esp, 0x14
xor esi, esi
mov ebx, dword [ebp - 4]
mov ecx, ebx
mov edx, dword [ebp - 0x20]
call fcn.00456cc0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x44b064
mov edx, eax
mov ecx, ebx
call fcn.004059a0
test esi, esi
je 0x44b071
mov edx, esi
mov ecx, ebx
call fcn.004059a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x3c]
mov edi, 0xffff8000
mov edx, dword [ebp - 4]
mov dword [ebp - 8], edi
test ecx, ecx
je 0x44b0ab
mov eax, dword [edx + 0x10]
xor edi, edi
add eax, 0xc
mov dword [ebp - 8], edi
cmp dword [eax], ecx
je 0x44b0ab
nop dword [eax]
lea eax, [eax + 0x10]
inc edi
cmp dword [eax], ecx
jne 0x44b0a0
mov dword [ebp - 8], edi
mov eax, dword [edx + 0x10]
mov ecx, edi
add ecx, ecx
mov edx, 0x1a
push 0
push dword [esi]
mov eax, dword [eax + ecx*8]
mov ecx, ebx
push eax
mov dword [ebp - 0x14], eax
call fcn.00450540
add esp, 0xc
test eax, eax
jne 0x44b045
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.00451890
mov edx, eax
xor esi, esi
mov dword [ebp - 0x18], edx
test edx, edx
je 0x44b047
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], esi
movsx ecx, word [eax + 0x22]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
jle 0x44b126
mov ebx, dword [eax + 4]
mov edi, ecx
mov ecx, dword [ebx]
call fcn.00409d40
test eax, eax
je 0x44b11a
mov edx, dword [ebp - 0x18]
inc esi
add ebx, 0x10
cmp esi, edi
jl 0x44b104
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], esi
cmp esi, ecx
jne 0x44b140
push dword [ebp + 8]
push str.no_such_column:___T_
push ebx
call fcn.00409b70
add esp, 0xc
jmp 0x44b045
mov esi, dword [ebp - 0x14]
xor eax, eax
push 0
push 0x5cbbd8
cmp edi, 1
mov byte [ebx + 0x10], 1
sete al
push eax
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 ebx
mov dword [ebp - 0x1c], eax
call fcn.00450c40
add esp, 0x1c
cmp edi, 1
je 0x44b185
push 0
push 0x5cbbd8
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 ebx
call fcn.00450c40
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 ebx
call fcn.00450c40
add esp, 0x10
cmp edi, 1
je 0x44b1a8
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 ebx
call fcn.00450c40
add esp, 8
mov eax, dword [ebx + 0x78]
mov ecx, ebx
mov edx, dword [ebp + 0xc]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov ecx, dword [ebp - 4]
call fcn.00451890
mov esi, eax
mov dword [ebp - 8], esi
test esi, esi
je 0x44b047
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x14]
movzx ecx, byte [ecx]
movzx esi, byte [ecx + 0x5d3558]
mov ecx, dword [ebp - 0x10]
and esi, 0x80
mov ecx, dword [ecx]
push ecx
push dword [ebp - 0x1c]
push esi
push dword [ebp - 8]
push dword [ebp - 0xc]
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 ebx
call fcn.00450c40
mov eax, dword [ebp - 0x10]
push esi
push dword [ebp - 8]
mov esi, dword [ebp - 0x14]
push dword [ebp - 0xc]
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 ebx
call fcn.00450c40
add esp, 0x44
mov edx, edi
mov ecx, ebx
push 1
call fcn.0044a6d0
add esp, 4
mov edx, esi
mov ecx, ebx
push 1
push str.after_rename
push dword [ebp - 0x1c]
call fcn.0044a650
mov esi, dword [ebp - 8]
add esp, 0xc
jmp 0x44b047