Function at 0x455ae0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, edx
mov eax, ecx
mov dword [ebp - 0x20], esi
xor ebx, ebx
push edi
mov dword [ebp - 4], eax
mov esi, dword [esi + 8]
mov edi, dword [eax]
mov dword [ebp - 0x28], edi
test esi, esi
je 0x455b22
mov edx, dword [edi + 0x10]
xor ecx, ecx
cmp dword [edx + 0xc], esi
lea eax, [edx + 0xc]
je 0x455b18
nop
lea eax, [eax + 0x10]
inc ecx
cmp dword [eax], esi
jne 0x455b10
add ecx, ecx
mov eax, dword [edx + ecx*8]
mov ecx, dword [ebp - 0x20]
jmp 0x455b27
mov ecx, edx
mov eax, dword [ecx + 0xc]
push eax
push dword [ecx + 0x10]
mov ecx, dword [ebp - 4]
xor edx, edx
call fcn.0045b800
mov esi, eax
add esp, 8
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x455b7f
mov ecx, dword [ebp - 4]
mov edx, esi
call fcn.00454da0
test eax, eax
jne 0x455b7f
xor ecx, ecx
mov eax, str.view
cmp dword [esi + 0xc], ecx
cmove eax, ecx
cmp dword [esi + 0x38], ecx
je 0x455b68
mov eax, str.virtual_table
jmp 0x455b6c
test eax, eax
je 0x455bb6
push dword [esi]
push eax
push str.cannot_rename_columns_of__s___s_
push dword [ebp - 4]
call fcn.00419050
add esp, 0x10
xor esi, esi
mov edx, dword [ebp - 0x20]
mov ecx, edi
call fcn.00462740
test ebx, ebx
je 0x455e4d
test edi, edi
je 0x455e44
cmp dword [edi + 0x1e8], 0
je 0x455e24
mov edx, ebx
mov ecx, edi
call fcn.004159a0
jmp 0x455e4d
mov ecx, dword [esi + 0x48]
mov edx, 0xfff0bdc0
mov dword [ebp - 0x10], edx
test ecx, ecx
je 0x455bdf
mov eax, dword [edi + 0x10]
xor edx, edx
add eax, 0xc
mov dword [ebp - 0x10], edx
cmp dword [eax], ecx
je 0x455bdf
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x455bd4
mov dword [ebp - 0x10], edx
mov eax, dword [edi + 0x10]
mov ecx, edx
add ecx, ecx
mov edx, 0x1a
push 0
push dword [esi]
mov eax, dword [eax + ecx*8]
mov ecx, dword [ebp - 4]
push eax
mov dword [ebp - 0x14], eax
call fcn.0045adb0
add esp, 0xc
test eax, eax
jne 0x455b7f
mov eax, dword [ebp + 8]
test eax, eax
je 0x455c68
mov esi, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x455c2d
xor ebx, ebx
mov ecx, ebx
mov dword [ebp - 0x18], ebx
call fcn.00419140
mov esi, dword [ebp - 0x1c]
jmp 0x455c6d
xor eax, eax
mov ecx, esi
add ecx, 1
adc eax, eax
push eax
push ecx
mov ecx, edi
call fcn.00415d30
mov ebx, eax
add esp, 8
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x455c5c
push esi
push dword [ebp - 0x24]
push ebx
call fcn.004bf9c0
add esp, 0xc
mov byte [esi + ebx], 0
mov ecx, ebx
call fcn.00419140
mov esi, dword [ebp - 0x1c]
jmp 0x455c6d
xor ebx, ebx
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x455b7f
movsx ecx, word [esi + 0x2a]
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x24], ecx
test ecx, ecx
jle 0x455cae
mov ecx, dword [esi + 4]
mov edi, dword [ebp - 0x24]
mov dword [ebp - 8], ecx
nop
mov edx, dword [ecx]
mov esi, ebx
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x455cc8
test ecx, ecx
jne 0x455cda
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
cmp eax, ecx
jne 0x455cf3
push ebx
push str.no_such_column:___s_
push dword [ebp - 4]
call fcn.00419050
add esp, 0xc
jmp 0x455b7f
movzx eax, byte [eax + 0x4f1158]
movzx ecx, byte [ecx + 0x4f1158]
sub ecx, eax
jne 0x455cdd
inc edx
jmp 0x455c96
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
inc eax
add ecx, 0x10
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
cmp eax, edi
jl 0x455c90
jmp 0x455ca8
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov eax, dword [ebp + 0xc]
mov byte [ecx + 0x15], 1
test eax, eax
je 0x455d65
mov esi, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x455d26
xor esi, esi
mov ecx, esi
mov dword [ebp - 8], esi
call fcn.00419140
mov eax, dword [ebp + 0xc]
jmp 0x455d6a
xor eax, eax
mov ecx, esi
add ecx, 1
adc eax, eax
push eax
push ecx
mov ecx, edi
call fcn.00415d30
add esp, 8
mov dword [ebp - 8], eax
test eax, eax
je 0x455d56
push esi
push dword [ebp - 0x28]
push eax
call fcn.004bf9c0
mov edx, dword [ebp - 8]
add esp, 0xc
mov byte [esi + edx], 0
mov esi, dword [ebp - 8]
mov ecx, esi
call fcn.00419140
mov eax, dword [ebp + 0xc]
jmp 0x455d6a
xor esi, esi
mov dword [ebp - 8], esi
test esi, esi
je 0x455b81
mov eax, dword [eax]
xor ebx, ebx
mov edx, dword [ebp - 8]
movzx eax, byte [eax]
movzx esi, byte [eax + 0x4f0700]
mov eax, dword [ebp - 0x1c]
and esi, 0x80
cmp dword [ebp - 0x10], 1
sete bl
mov eax, dword [eax]
push eax
push ebx
push esi
push edx
push dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
push str.sqlite_master
push eax
push str.UPDATE___w_._s_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__AND_sql_NOT_LIKE_create_virtual__
push dword [ebp - 4]
call fcn.0045b520
mov eax, dword [ebp - 0x1c]
add esp, 0x2c
push esi
mov esi, dword [ebp - 8]
push esi
push dword [ebp - 0xc]
push dword [eax]
push dword [ebp - 0x14]
push str.sqlite_master
push str.UPDATE_temp._s_SET_sql__sqlite_rename_column_sql__type__name___Q___Q___d___Q___d__1__WHERE_type_IN__trigger__view_
push dword [ebp - 4]
call fcn.0045b520
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
call fcn.00454e50
mov eax, dword [ebp - 0x14]
push ebx
mov ebx, dword [ebp - 4]
push eax
push str.sqlite_master
push eax
push str.SELECT_1_FROM___w_._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d_NULL
push ebx
call fcn.0045b520
add esp, 0x38
cmp dword [ebp - 0x10], 1
je 0x455e1c
push dword [ebp - 0x14]
push str.sqlite_master
push str.SELECT_1_FROM_temp._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1_NULL
push ebx
call fcn.0045b520
add esp, 0x10
mov ebx, dword [ebp - 0x18]
jmp 0x455b81
cmp ebx, dword [edi + 0x138]
jb 0x455e44
cmp ebx, dword [edi + 0x13c]
jae 0x455e44
mov eax, dword [edi + 0x134]
mov dword [ebx], eax
mov dword [edi + 0x134], ebx
jmp 0x455e4d
push ebx
call fcn.00415930
add esp, 4
test esi, esi
je 0x455e9c
test edi, edi
je 0x455e93
cmp dword [edi + 0x1e8], 0
je 0x455e6e
mov edx, esi
mov ecx, edi
call fcn.004159a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, dword [edi + 0x138]
jb 0x455e93
cmp esi, dword [edi + 0x13c]
jae 0x455e93
mov eax, dword [edi + 0x134]
mov dword [esi], eax
mov dword [edi + 0x134], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.00415930
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret