Function at 0x44cd00
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0x564690]
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.0043c3c0
add esp, 4
cmp byte [ebx + 0x14], 0
jne 0x44cd63
push 0
push str.cannot_VACUUM_from_within_a_transaction
push esi
call fcn.0044c8c0
add esp, 0xc
mov esi, 1
jmp 0x44cf70
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.004438e0
add esp, 8
mov dword [ebp - 0x154], eax
test eax, eax
jne 0x44cd96
lea esi, [eax + 7]
jmp 0x44cf6f
push eax
push ebx
call fcn.0044ccb0
push dword [ebp - 0x154]
mov esi, eax
call fcn.0044c220
add esp, 0xc
test esi, esi
jne 0x44cf6f
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.004273f0
add esp, 4
push eax
push edi
call fcn.004273e0
add esp, 4
push eax
push esi
call fcn.00428320
push str.PRAGMA_vacuum_db.synchronousOFF
push ebx
call fcn.0044ccb0
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x44cf6f
push edi
call fcn.00427310
push eax
push dword [ebp - 0x154]
call fcn.004282b0
push str.BEGIN_EXCLUSIVE_
push ebx
call fcn.0044ccb0
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x44cf6f
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.0044cc30
mov esi, eax
add esp, 8
test esi, esi
jne 0x44cf6f
push str.SELECT_CREATE_INDEX_vacuum_db.__substr_sql_14_100000000___FROM_sqlite_master_WHERE_sql_LIKE_CREATE_INDEX__
push ebx
call fcn.0044cc30
mov esi, eax
add esp, 8
test esi, esi
jne 0x44cf6f
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.0044cc30
mov esi, eax
add esp, 8
test esi, esi
jne 0x44cf6f
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.0044cc30
mov esi, eax
add esp, 8
test esi, esi
jne 0x44cf6f
push str.SELECT_DELETE_FROM_vacuum_db.__quote_name_____FROM_vacuum_db.sqlite_master_WHERE_namesqlite_sequence
push ebx
call fcn.0044cc30
mov esi, eax
add esp, 8
test esi, esi
jne 0x44cf6f
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.0044cc30
mov esi, eax
add esp, 8
test esi, esi
jne 0x44cf6f
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.0044ccb0
mov esi, eax
add esp, 8
test esi, esi
jne 0x44cf6f
xor edi, edi
lea esp, [esp]
lea eax, [ebp - 0x164]
push eax
movzx eax, byte [edi + 0x520340]
push eax
push dword [ebp - 0x15c]
call fcn.00427380
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x44cf6f
movzx eax, byte [edi + 0x520341]
add eax, dword [ebp - 0x164]
push eax
movzx eax, byte [edi + 0x520340]
push eax
push dword [ebp - 0x154]
call fcn.00428410
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x44cf6f
add edi, 2
cmp edi, 8
jb 0x44cee0
push dword [ebp - 0x154]
mov edi, dword [ebp - 0x15c]
push edi
call fcn.004268f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x44cf6f
push dword [ebp - 0x154]
call fcn.00426860
mov esi, eax
add esp, 4
test esi, esi
jne 0x44cf6f
push edi
call fcn.00426860
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 0x44cfa6
push dword [eax + 4]
call fcn.00426760
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.0043be00
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 0x44cfc0
mov eax, dword [str._journal]
mov dword [ecx], eax
mov eax, dword [0x51cb54]
mov dword [ecx + 4], eax
mov al, byte [0x51cb58]
mov byte [ecx + 8], al
lea eax, [ebp - 0x150]
push eax
call fcn.0043be00
push 0
call fcn.0044c220
push 0
push ebx
call fcn.0042b390
mov ecx, dword [ebp - 4]
add esp, 0x10
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e50b4
mov esp, ebp
pop ebp
ret