Function at 0x44dbd0
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 0x44dc14
mov eax, dword [edx + 0x10]
xor ecx, ecx
add eax, 0xc
cmp dword [eax], esi
je 0x44dc0a
lea eax, [eax + 0x10]
inc ecx
cmp dword [eax], esi
jne 0x44dc02
mov eax, dword [edx + 0x10]
add ecx, ecx
mov eax, dword [eax + ecx*8]
jmp 0x44dc17
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebp - 0x20]
xor edx, edx
mov ecx, ebx
push dword [eax + 0x10]
call fcn.00453970
mov esi, eax
add esp, 8
mov dword [ebp - 0x10], esi
test esi, esi
je 0x44dc75
mov edx, esi
mov ecx, ebx
call fcn.0044d210
test eax, eax
jne 0x44dc75
xor edx, edx
mov ecx, str.view
cmp byte [esi + 0x2b], 2
cmovne ecx, edx
cmp byte [esi + 0x2b], 1
jne 0x44dc5b
mov ecx, str.virtual_table
jmp 0x44dc5f
test ecx, ecx
je 0x44dca8
push dword [esi]
push ecx
push str.rename_columns_of
push str.cannot__s__s___s_
push ebx
call fcn.00409a30
add esp, 0x14
xor esi, esi
mov ebx, dword [ebp - 4]
mov ecx, ebx
mov edx, dword [ebp - 0x20]
call fcn.00459760
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x44dc94
mov edx, eax
mov ecx, ebx
call fcn.00405ec0
test esi, esi
je 0x44dca1
mov edx, esi
mov ecx, ebx
call fcn.00405ec0
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 0x44dcdb
mov eax, dword [edx + 0x10]
xor edi, edi
add eax, 0xc
mov dword [ebp - 8], edi
cmp dword [eax], ecx
je 0x44dcdb
nop dword [eax]
lea eax, [eax + 0x10]
inc edi
cmp dword [eax], ecx
jne 0x44dcd0
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.00452e90
add esp, 0xc
test eax, eax
jne 0x44dc75
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.00454240
mov edx, eax
xor esi, esi
mov dword [ebp - 0x18], edx
test edx, edx
je 0x44dc77
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], esi
movsx ecx, word [eax + 0x22]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
jle 0x44dd56
mov ebx, dword [eax + 4]
mov edi, ecx
mov ecx, dword [ebx]
call fcn.00409c00
test eax, eax
je 0x44dd4a
mov edx, dword [ebp - 0x18]
inc esi
add ebx, 0x10
cmp esi, edi
jl 0x44dd34
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], esi
cmp esi, ecx
jne 0x44dd70
push dword [ebp + 8]
push str.no_such_column:___T_
push ebx
call fcn.00409a30
add esp, 0xc
jmp 0x44dc75
mov esi, dword [ebp - 0x14]
xor eax, eax
push 0
push 0x5d2d2d
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.004535f0
add esp, 0x1c
cmp edi, 1
je 0x44ddb5
push 0
push 0x5d2d2d
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.004535f0
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.004535f0
add esp, 0x10
cmp edi, 1
je 0x44ddd8
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.004535f0
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.00454240
mov esi, eax
mov dword [ebp - 8], esi
test esi, esi
je 0x44dc77
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x14]
movzx ecx, byte [ecx]
movzx esi, byte [ecx + 0x5da8b8]
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.004535f0
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.004535f0
add esp, 0x44
mov edx, edi
mov ecx, ebx
push 1
call fcn.0044d2f0
add esp, 4
mov edx, esi
mov ecx, ebx
push 1
push str.after_rename
push dword [ebp - 0x1c]
call fcn.0044d270
mov esi, dword [ebp - 8]
add esp, 0xc
jmp 0x44dc77