Function at 0x44ab30
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0x559680]
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.0043a200
add esp, 4
cmp byte [ebx + 0x14], 0
jne 0x44ab93
push 0
push str.cannot_VACUUM_from_within_a_transaction
push esi
call fcn.0044a6f0
add esp, 0xc
mov esi, 1
jmp 0x44ada0
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.00441710
add esp, 8
mov dword [ebp - 0x154], eax
test eax, eax
jne 0x44abc6
lea esi, [eax + 7]
jmp 0x44ad9f
push eax
push ebx
call fcn.0044aae0
push dword [ebp - 0x154]
mov esi, eax
call fcn.0044a050
add esp, 0xc
test esi, esi
jne 0x44ad9f
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.00425220
add esp, 4
push eax
push edi
call fcn.00425210
add esp, 4
push eax
push esi
call fcn.00426150
push str.PRAGMA_vacuum_db.synchronousOFF
push ebx
call fcn.0044aae0
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x44ad9f
push edi
call fcn.00425140
push eax
push dword [ebp - 0x154]
call fcn.004260e0
push str.BEGIN_EXCLUSIVE_
push ebx
call fcn.0044aae0
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x44ad9f
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.0044aa60
mov esi, eax
add esp, 8
test esi, esi
jne 0x44ad9f
push str.SELECT_CREATE_INDEX_vacuum_db.__substr_sql_14_100000000___FROM_sqlite_master_WHERE_sql_LIKE_CREATE_INDEX__
push ebx
call fcn.0044aa60
mov esi, eax
add esp, 8
test esi, esi
jne 0x44ad9f
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.0044aa60
mov esi, eax
add esp, 8
test esi, esi
jne 0x44ad9f
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.0044aa60
mov esi, eax
add esp, 8
test esi, esi
jne 0x44ad9f
push str.SELECT_DELETE_FROM_vacuum_db.__quote_name_____FROM_vacuum_db.sqlite_master_WHERE_namesqlite_sequence
push ebx
call fcn.0044aa60
mov esi, eax
add esp, 8
test esi, esi
jne 0x44ad9f
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.0044aa60
mov esi, eax
add esp, 8
test esi, esi
jne 0x44ad9f
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.0044aae0
mov esi, eax
add esp, 8
test esi, esi
jne 0x44ad9f
xor edi, edi
lea esp, [esp]
lea eax, [ebp - 0x164]
push eax
movzx eax, byte [edi + 0x515ac0]
push eax
push dword [ebp - 0x15c]
call fcn.004251b0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x44ad9f
movzx eax, byte [edi + 0x515ac1]
add eax, dword [ebp - 0x164]
push eax
movzx eax, byte [edi + 0x515ac0]
push eax
push dword [ebp - 0x154]
call fcn.00426240
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x44ad9f
add edi, 2
cmp edi, 8
jb 0x44ad10
push dword [ebp - 0x154]
mov edi, dword [ebp - 0x15c]
push edi
call fcn.00424720
mov esi, eax
add esp, 8
test esi, esi
jne 0x44ad9f
push dword [ebp - 0x154]
call fcn.00424690
mov esi, eax
add esp, 4
test esi, esi
jne 0x44ad9f
push edi
call fcn.00424690
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 0x44add6
push dword [eax + 4]
call fcn.00424590
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.00439c40
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 0x44adf0
mov eax, dword [str._journal]
mov dword [ecx], eax
mov eax, dword [0x5122d8]
mov dword [ecx + 4], eax
mov al, byte [0x5122dc]
mov byte [ecx + 8], al
lea eax, [ebp - 0x150]
push eax
call fcn.00439c40
push 0
call fcn.0044a050
push 0
push ebx
call fcn.004291c0
mov ecx, dword [ebp - 4]
add esp, 0x10
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004df4f4
mov esp, ebp
pop ebp
ret