Function at 0x450e10
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
jne 0x450e55
push str.cannot_VACUUM_from_within_a_transaction
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00438030
add esp, 0xc
mov eax, 1
jmp 0x4511e0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x40]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
or edx, 0x2800
mov eax, dword [ebp + 0xc]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00432630
add esp, 4
push eax
call fcn.00432870
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], str.ATTACH__AS_vacuum_db_
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004514a0
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x450ecb
jmp 0x451184
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
sub edx, 1
shl edx, 4
mov eax, dword [ebp + 0xc]
add edx, dword [eax + 8]
mov dword [ebp - 0x28], edx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
sub edx, 1
shl edx, 4
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + edx + 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.004512d0
add esp, 4
mov dword [ebp - 0x18], eax
push 0
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.0042f090
add esp, 4
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.004511f0
add esp, 0x10
test eax, eax
jne 0x450f59
cmp dword [ebp - 0x1c], 0
jne 0x450f4e
push 0
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004511f0
add esp, 0x10
test eax, eax
jne 0x450f59
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 0x1e]
test eax, eax
je 0x450f65
mov dword [ebp - 0xc], 7
jmp 0x451184
push str.PRAGMA_vacuum_db.synchronousOFF
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004514a0
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x450f84
jmp 0x451184
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx + 0x21]
test eax, eax
jl 0x450f9b
mov ecx, dword [ebp + 0xc]
movsx edx, byte [ecx + 0x21]
mov dword [ebp - 0x34], edx
jmp 0x450faa
mov eax, dword [ebp - 0x14]
push eax
call fcn.004513a0
add esp, 4
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00451310
add esp, 8
push str.BEGIN_EXCLUSIVE_
mov eax, dword [ebp + 0xc]
push eax
call fcn.004514a0
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x450fd9
jmp 0x451184
push str.SELECT_CREATE_TABLE_vacuum_db.__substr_sql_14____FROM_sqlite_master_WHERE_typetable_AND_name_sqlite_sequence___AND_rootpage_0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00451500
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x450ff8
jmp 0x451184
push str.SELECT_CREATE_INDEX_vacuum_db.__substr_sql_14___FROM_sqlite_master_WHERE_sql_LIKE_CREATE_INDEX__
mov edx, dword [ebp + 0xc]
push edx
call fcn.00451500
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x451017
jmp 0x451184
push str.SELECT_CREATE_UNIQUE_INDEX_vacuum_db.__substr_sql_21____FROM_sqlite_master_WHERE_sql_LIKE_CREATE_UNIQUE_INDEX__
mov eax, dword [ebp + 0xc]
push eax
call fcn.00451500
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x451036
jmp 0x451184
push str.SELECT_INSERT_INTO_vacuum_db.__quote_name____SELECT__FROM___quote_name____FROM_sqlite_master_WHERE_type__table_AND_name_sqlite_sequence___AND_rootpage_0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00451500
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x451055
jmp 0x451184
push str.SELECT_DELETE_FROM_vacuum_db.__quote_name_____FROM_vacuum_db.sqlite_master_WHERE_namesqlite_sequence
mov edx, dword [ebp + 0xc]
push edx
call fcn.00451500
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x451074
jmp 0x451184
push str.SELECT_INSERT_INTO_vacuum_db.__quote_name____SELECT__FROM___quote_name_____FROM_vacuum_db.sqlite_master_WHERE_namesqlite_sequence_
mov eax, dword [ebp + 0xc]
push eax
call fcn.00451500
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x451093
jmp 0x451184
push str.INSERT_INTO_vacuum_db.sqlite_master___SELECT_type__name__tbl_name__rootpage__sql____FROM_sqlite_master___WHERE_typeview_OR_typetrigger______OR__typetable_AND_rootpage0_
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004514a0
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4510b2
jmp 0x451184
mov dword [ebp - 0x2c], 0
jmp 0x4510c4
mov edx, dword [ebp - 0x2c]
add edx, 2
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 8
jge 0x451117
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x4ae938]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.00432560
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x4ae939]
add edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax + 0x4ae938]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004325b0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x451115
jmp 0x451184
jmp 0x4510bb
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00451400
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x451132
jmp 0x451184
mov edx, dword [ebp - 4]
push edx
call fcn.0044f620
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x451149
jmp 0x451184
mov eax, dword [ebp - 4]
push eax
call fcn.004513a0
add esp, 4
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00451310
add esp, 8
push 1
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.0042f090
add esp, 4
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004511f0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x20]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0x3c], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dword [eax + 0x40], ecx
mov edx, dword [ebp + 0xc]
mov byte [edx + 0x1c], 1
cmp dword [ebp - 0x28], 0
je 0x4511cf
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
push ecx
call fcn.00434050
add esp, 4
mov edx, dword [ebp - 0x28]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x28]
mov dword [eax + 0xc], 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0044b4b0
add esp, 8
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret