Function at 0x44a000
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0x2c
push ebx
push ebp
mov eax, edx
xor ebp, ebp
push esi
mov esi, ecx
mov dword [esp + 0x1c], eax
xor ebx, ebx
mov dword [esp + 0x10], esi
mov edx, dword [eax + 8]
push edi
mov edi, dword [esi]
test edx, edx
je 0x44a043
mov esi, dword [edi + 0x10]
xor ecx, ecx
cmp dword [esi + 0xc], edx
lea eax, [esi + 0xc]
je 0x44a038
nop dword [eax]
lea eax, [eax + 0x10]
inc ecx
cmp dword [eax], edx
jne 0x44a030
add ecx, ecx
mov eax, dword [esi + ecx*8]
mov esi, dword [esp + 0x14]
jmp 0x44a046
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [esp + 0x24]
xor edx, edx
mov ecx, esi
push dword [eax + 0x10]
call fcn.004519e0
add esp, 8
mov dword [esp + 0x28], eax
test eax, eax
je 0x44a436
mov edx, eax
mov ecx, esi
call fcn.00449190
test eax, eax
jne 0x44a436
mov edx, dword [esp + 0x28]
mov ecx, str.view
cmp byte [edx + 0x2b], 2
cmovne ecx, ebx
cmp byte [edx + 0x2b], 1
jne 0x44a094
mov ecx, str.virtual_table
jmp 0x44a098
test ecx, ecx
je 0x44a0c0
push dword [edx]
push ecx
push str.rename_columns_of
push str.cannot__s__s___s_
push esi
call fcn.00407e20
mov edx, dword [esp + 0x34]
add esp, 0x14
mov ecx, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
jmp fcn.00459e90
mov ecx, dword [edx + 0x3c]
mov edx, 0xffff8000
mov dword [esp + 0x2c], edx
test ecx, ecx
je 0x44a0ec
mov eax, dword [edi + 0x10]
xor edx, edx
add eax, 0xc
mov dword [esp + 0x2c], edx
cmp dword [eax], ecx
je 0x44a0ec
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x44a0e0
mov dword [esp + 0x2c], edx
mov eax, dword [edi + 0x10]
add edx, edx
mov edx, dword [eax + edx*8]
mov eax, dword [esi]
mov dword [esp + 0x18], edx
mov ecx, dword [eax + 0x168]
test ecx, ecx
je 0x44a180
cmp byte [eax + 0xb1], bl
jne 0x44a180
cmp byte [esi + 0xd0], bl
jne 0x44a180
push dword [esi + 0xf8]
mov esi, dword [esp + 0x2c]
push 0
push dword [esi]
push edx
push 0x1a
push dword [eax + 0x16c]
call ecx
mov esi, eax
add esp, 0x18
cmp esi, 1
jne 0x44a152
push str.not_authorized
push dword [esp + 0x18]
call fcn.00407e20
mov eax, dword [esp + 0x1c]
mov dword [eax + 0xc], 0x17
jmp 0x44a175
test esi, esi
je 0x44a180
cmp esi, 2
je 0x44a178
push str.authorizer_malfunction
push dword [esp + 0x18]
mov esi, 1
call fcn.00407e20
mov eax, dword [esp + 0x1c]
mov dword [eax + 0xc], esi
add esp, 8
test esi, esi
jne 0x44a436
mov eax, dword [esp + 0x40]
test eax, eax
je 0x44a420
mov ebp, dword [eax]
mov esi, dword [eax + 4]
test ebp, ebp
je 0x44a1c4
xor eax, eax
mov ecx, esi
add ecx, 1
adc eax, eax
push eax
push ecx
mov ecx, edi
call fcn.00404910
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
je 0x44a1cc
push esi
push ebp
mov ebp, eax
push ebp
call fcn.004bbbe0
add esp, 0xc
mov byte [esi + ebp], bl
jmp 0x44a1d0
xor ebp, ebp
mov dword [esp + 0x1c], ebp
jmp 0x44a1d0
mov ebp, dword [esp + 0x1c]
mov ecx, ebp
call fcn.00407eb0
test ebp, ebp
je 0x44a436
mov edx, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x24], eax
movsx ecx, word [edx + 0x22]
mov dword [esp + 0x34], ecx
test ecx, ecx
jle 0x44a21f
mov ecx, dword [edx + 4]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x30], ecx
mov edx, dword [ecx]
mov esi, ebp
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x44a248
test ecx, ecx
jne 0x44a25a
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
xor ebx, ebx
cmp eax, ecx
jne 0x44a277
push dword [esp + 0x40]
push str.no_such_column:___T_
push dword [esp + 0x1c]
call fcn.00407e20
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov ecx, edi
call fcn.00459e90
jmp 0x44a445
movzx eax, byte [eax + 0x4e0968]
movzx ecx, byte [ecx + 0x4e0968]
sub ecx, eax
jne 0x44a25d
inc edx
jmp 0x44a206
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
inc eax
add ecx, 0x10
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], ecx
cmp eax, ebx
jl 0x44a200
jmp 0x44a219
mov ebx, dword [esp + 0x14]
xor eax, eax
cmp dword [esp + 0x2c], 1
push 0
push 0x4d9c3c
sete al
mov byte [ebx + 0x10], 1
push eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x24]
push eax
push eax
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
call fcn.00451500
add esp, 0x1c
cmp dword [esp + 0x2c], 1
je 0x44a2e7
mov esi, dword [esp + 0x18]
push 0
push 0x4d9c3c
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.00451500
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.00451500
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.00451500
add esp, 0x18
jmp 0x44a2fb
mov eax, dword [esp + 0x18]
push eax
push eax
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.00451500
add esp, 0x10
mov eax, dword [ebx + 0x74]
mov ecx, ebx
mov esi, dword [esp + 0x44]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
test esi, esi
je 0x44a41c
mov eax, dword [esi]
mov ebp, dword [esi + 4]
mov dword [esp + 0x34], eax
test eax, eax
je 0x44a351
xor eax, eax
mov ecx, ebp
add ecx, 1
adc eax, eax
push eax
push ecx
mov ecx, edi
call fcn.00404910
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x44a353
push ebp
push dword [esp + 0x38]
push ebx
call fcn.004bbbe0
add esp, 0xc
mov byte [ebx + ebp], 0
jmp 0x44a353
xor ebx, ebx
mov ecx, ebx
call fcn.00407eb0
test ebx, ebx
je 0x44a432
mov eax, dword [esi]
mov ebp, dword [esp + 0x30]
movzx eax, byte [eax]
movzx esi, byte [eax + 0x4e5a10]
mov eax, dword [esp + 0x28]
and esi, 0x80
mov eax, dword [eax]
push eax
push ebp
push esi
push ebx
push dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x30]
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 dword [esp + 0x38]
call fcn.00451500
mov eax, dword [esp + 0x50]
push esi
mov esi, dword [esp + 0x40]
push ebx
push dword [esp + 0x54]
push dword [eax]
mov eax, dword [esp + 0x50]
push eax
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 esi
call fcn.00451500
mov edx, dword [esp + 0x70]
add esp, 0x44
mov ecx, esi
push 1
call fcn.00449260
add esp, 4
mov byte [esi + 0x10], 1
push 1
push str.after_rename
push ebp
mov ebp, dword [esp + 0x24]
push ebp
push ebp
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 esi
call fcn.00451500
add esp, 0x1c
cmp dword [esp + 0x2c], 1
je 0x44a432
push 1
push str.after_rename
push ebp
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 esi
call fcn.00451500
mov edx, dword [esp + 0x34]
add esp, 0x14
mov ecx, edi
call fcn.00459e90
mov ebp, dword [esp + 0x1c]
jmp 0x44a445
xor ebx, ebx
jmp 0x44a436
mov edx, dword [esp + 0x20]
mov ecx, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
jmp fcn.00459e90
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ecx, edi
call fcn.00459e90
test ebp, ebp
je 0x44a4a0
test edi, edi
je 0x44a497
cmp dword [edi + 0x210], 0
je 0x44a45d
mov edx, ebp
mov ecx, edi
call fcn.00404550
jmp 0x44a4a0
cmp ebp, dword [edi + 0x164]
jae 0x44a497
cmp ebp, dword [edi + 0x15c]
jb 0x44a47e
mov eax, dword [edi + 0x158]
mov dword [ebp], eax
mov dword [edi + 0x158], ebp
jmp 0x44a4a0
cmp ebp, dword [edi + 0x160]
jb 0x44a497
mov eax, dword [edi + 0x150]
mov dword [ebp], eax
mov dword [edi + 0x150], ebp
jmp 0x44a4a0
push ebp
call fcn.004044e0
add esp, 4
test ebx, ebx
je 0x44a50e
test edi, edi
je 0x44a505
cmp dword [edi + 0x210], 0
je 0x44a4c1
mov edx, ebx
mov ecx, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
jmp fcn.00404550
cmp ebx, dword [edi + 0x164]
jae 0x44a505
cmp ebx, dword [edi + 0x15c]
jb 0x44a4e7
mov eax, dword [edi + 0x158]
mov dword [ebx], eax
mov dword [edi + 0x158], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
cmp ebx, dword [edi + 0x160]
jb 0x44a505
mov eax, dword [edi + 0x150]
mov dword [ebx], eax
mov dword [edi + 0x150], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
push ebx
call fcn.004044e0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret