Function at 0x44fd70
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 0x44fdb4
mov eax, dword [edx + 0x10]
xor ecx, ecx
add eax, 0xc
cmp dword [eax], esi
je 0x44fdaa
lea eax, [eax + 0x10]
inc ecx
cmp dword [eax], esi
jne 0x44fda2
mov eax, dword [edx + 0x10]
add ecx, ecx
mov eax, dword [eax + ecx*8]
jmp 0x44fdb7
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebp - 0x20]
xor edx, edx
mov ecx, ebx
push dword [eax + 0x10]
call fcn.00455b10
mov esi, eax
add esp, 8
mov dword [ebp - 0x10], esi
test esi, esi
je 0x44fe15
mov edx, esi
mov ecx, ebx
call fcn.0044f3b0
test eax, eax
jne 0x44fe15
xor edx, edx
mov ecx, str.view
cmp byte [esi + 0x2b], 2
cmovne ecx, edx
cmp byte [esi + 0x2b], 1
jne 0x44fdfb
mov ecx, str.virtual_table
jmp 0x44fdff
test ecx, ecx
je 0x44fe48
push dword [esi]
push ecx
push str.rename_columns_of
push str.cannot__s__s___s_
push ebx
call fcn.0040bbd0
add esp, 0x14
xor esi, esi
mov ebx, dword [ebp - 4]
mov ecx, ebx
mov edx, dword [ebp - 0x20]
call fcn.0045b900
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x44fe34
mov edx, eax
mov ecx, ebx
call fcn.00408080
test esi, esi
je 0x44fe41
mov edx, esi
mov ecx, ebx
call fcn.00408080
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 0x44fe7b
mov eax, dword [edx + 0x10]
xor edi, edi
add eax, 0xc
mov dword [ebp - 8], edi
cmp dword [eax], ecx
je 0x44fe7b
nop dword [eax]
lea eax, [eax + 0x10]
inc edi
cmp dword [eax], ecx
jne 0x44fe70
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.00455030
add esp, 0xc
test eax, eax
jne 0x44fe15
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.004563e0
mov edx, eax
xor esi, esi
mov dword [ebp - 0x18], edx
test edx, edx
je 0x44fe17
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], esi
movsx ecx, word [eax + 0x22]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
jle 0x44fef6
mov ebx, dword [eax + 4]
mov edi, ecx
mov ecx, dword [ebx]
call fcn.0040bda0
test eax, eax
je 0x44feea
mov edx, dword [ebp - 0x18]
inc esi
add ebx, 0x10
cmp esi, edi
jl 0x44fed4
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], esi
cmp esi, ecx
jne 0x44ff10
push dword [ebp + 8]
push str.no_such_column:___T_
push ebx
call fcn.0040bbd0
add esp, 0xc
jmp 0x44fe15
mov esi, dword [ebp - 0x14]
xor eax, eax
push 0
push 0x5dc6ad
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.00455790
add esp, 0x1c
cmp edi, 1
je 0x44ff55
push 0
push 0x5dc6ad
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.00455790
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.00455790
add esp, 0x10
cmp edi, 1
je 0x44ff78
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.00455790
add esp, 8
mov eax, dword [ebx + 0x80]
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.004563e0
mov esi, eax
mov dword [ebp - 8], esi
test esi, esi
je 0x44fe17
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x14]
movzx ecx, byte [ecx]
movzx esi, byte [ecx + 0x5e4238]
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.00455790
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.00455790
add esp, 0x44
mov edx, edi
mov ecx, ebx
push 1
call fcn.0044f490
add esp, 4
mov edx, esi
mov ecx, ebx
push 1
push str.after_rename
push dword [ebp - 0x1c]
call fcn.0044f410
mov esi, dword [ebp - 8]
add esp, 0xc
jmp 0x44fe17