Function at 0x44d000
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0x565680]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov eax, dword [ebx + 8]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x160], eax
or eax, 0x2800
mov dword [ebx + 8], eax
lea eax, [ebp - 0x150]
xor edx, edx
push eax
mov dword [ebp - 0x158], edx
call fcn.0043c6e0
add esp, 4
cmp byte [ebx + 0x14], 0
jne 0x44d063
push 0
push str.cannot_VACUUM_from_within_a_transaction
push esi
call fcn.0044cbc0
add esp, 0xc
mov esi, 1
jmp 0x44d270
mov eax, dword [ebx + 4]
push edi
mov edi, dword [eax + 4]
lea eax, [ebp - 0x150]
push eax
push str.ATTACH__q_AS_vacuum_db_
mov dword [ebp - 0x15c], edi
call fcn.00443c00
add esp, 8
mov dword [ebp - 0x154], eax
test eax, eax
jne 0x44d096
lea esi, [eax + 7]
jmp 0x44d26f
push eax
push ebx
call fcn.0044cfb0
push dword [ebp - 0x154]
mov esi, eax
call fcn.0043b500
add esp, 0xc
test esi, esi
jne 0x44d26f
mov eax, dword [ebx]
push edi
lea ecx, [eax + eax*2]
mov eax, dword [ebx + 4]
mov esi, dword [eax + ecx*8 - 0x14]
lea edx, [eax - 0x18]
mov dword [ebp - 0x154], esi
lea edx, [edx + ecx*8]
mov dword [ebp - 0x158], edx
call fcn.004276e0
add esp, 4
push eax
push edi
call fcn.004276d0
add esp, 4
push eax
push esi
call fcn.00428610
push str.PRAGMA_vacuum_db.synchronousOFF
push ebx
call fcn.0044cfb0
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x44d26f
push edi
call fcn.00427600
push eax
push dword [ebp - 0x154]
call fcn.004285a0
push str.BEGIN_EXCLUSIVE_
push ebx
call fcn.0044cfb0
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x44d26f
push str.SELECT_CREATE_TABLE_vacuum_db.__substr_sql_14_100000000____FROM_sqlite_master_WHERE_typetable_AND_name_sqlite_sequence___AND_rootpage_0
push ebx
call fcn.0044cf30
mov esi, eax
add esp, 8
test esi, esi
jne 0x44d26f
push str.SELECT_CREATE_INDEX_vacuum_db.__substr_sql_14_100000000___FROM_sqlite_master_WHERE_sql_LIKE_CREATE_INDEX__
push ebx
call fcn.0044cf30
mov esi, eax
add esp, 8
test esi, esi
jne 0x44d26f
push str.SELECT_CREATE_UNIQUE_INDEX_vacuum_db.__substr_sql_21_100000000____FROM_sqlite_master_WHERE_sql_LIKE_CREATE_UNIQUE_INDEX__
push ebx
call fcn.0044cf30
mov esi, eax
add esp, 8
test esi, esi
jne 0x44d26f
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
push ebx
call fcn.0044cf30
mov esi, eax
add esp, 8
test esi, esi
jne 0x44d26f
push str.SELECT_DELETE_FROM_vacuum_db.__quote_name_____FROM_vacuum_db.sqlite_master_WHERE_namesqlite_sequence
push ebx
call fcn.0044cf30
mov esi, eax
add esp, 8
test esi, esi
jne 0x44d26f
push str.SELECT_INSERT_INTO_vacuum_db.__quote_name____SELECT__FROM___quote_name_____FROM_vacuum_db.sqlite_master_WHERE_namesqlite_sequence_
push ebx
call fcn.0044cf30
mov esi, eax
add esp, 8
test esi, esi
jne 0x44d26f
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_
push ebx
call fcn.0044cfb0
mov esi, eax
add esp, 8
test esi, esi
jne 0x44d26f
xor edi, edi
lea esp, [esp]
lea eax, [ebp - 0x164]
push eax
movzx eax, byte [edi + 0x521520]
push eax
push dword [ebp - 0x15c]
call fcn.00427670
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x44d26f
movzx eax, byte [edi + 0x521521]
add eax, dword [ebp - 0x164]
push eax
movzx eax, byte [edi + 0x521520]
push eax
push dword [ebp - 0x154]
call fcn.00428700
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x44d26f
add edi, 2
cmp edi, 8
jb 0x44d1e0
push dword [ebp - 0x154]
mov edi, dword [ebp - 0x15c]
push edi
call fcn.00426be0
mov esi, eax
add esp, 8
test esi, esi
jne 0x44d26f
push dword [ebp - 0x154]
call fcn.00426b50
mov esi, eax
add esp, 4
test esi, esi
jne 0x44d26f
push edi
call fcn.00426b50
add esp, 4
mov esi, eax
pop edi
mov eax, dword [ebp - 0x160]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x158]
mov byte [ebx + 0x14], 1
test eax, eax
je 0x44d2a6
push dword [eax + 4]
call fcn.00426a50
mov eax, dword [ebp - 0x158]
add esp, 4
mov dword [eax + 4], 0
mov dword [eax + 0x14], 0
lea eax, [ebp - 0x150]
push eax
call fcn.0043c110
lea ecx, [ebp - 0x150]
add esp, 4
dec ecx
lea esp, [esp]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x44d2c0
mov eax, dword [str._journal]
mov dword [ecx], eax
mov eax, dword [0x51dd34]
mov dword [ecx + 4], eax
mov al, byte [0x51dd38]
mov byte [ecx + 8], al
lea eax, [ebp - 0x150]
push eax
call fcn.0043c110
push 0
call fcn.0043b500
push 0
push ebx
call fcn.0042b680
mov ecx, dword [ebp - 4]
add esp, 0x10
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e52a4
mov esp, ebp
pop ebp
ret