Function at 0x44e920
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + 0x43]
test ecx, ecx
jne 0x44e95e
push str.cannot_VACUUM_from_within_a_transaction
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0044d020
add esp, 0xc
mov eax, 1
jmp 0x44edc7
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x9c], 1
jle 0x44e989
push str.cannot_VACUUM___SQL_statements_in_progress
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0044d020
add esp, 0xc
mov eax, 1
jmp 0x44edc7
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x58]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x5c]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
mov dl, byte [ecx + 0x4c]
mov byte [ebp - 0x25], dl
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
or ecx, 0x10202800
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
and ecx, 0xfff5ff7f
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x4c], 0
mov ecx, dword [ebp + 0x10]
shl ecx, 4
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x10]
mov ecx, dword [ecx + eax]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp + 0x10]
shl edx, 4
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + edx + 4]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.00416fa0
add esp, 4
push eax
call fcn.00424850
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x20], edx
push str.ATTACHAS_vacuum_db
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0044f170
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x44ea41
jmp 0x44ed48
mov edx, dword [ebp - 0x20]
shl edx, 4
mov eax, dword [ebp + 0xc]
add edx, dword [eax + 0x10]
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
call fcn.0044d090
add esp, 4
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0044eec0
add esp, 4
mov dword [ebp - 0x18], eax
mov edx, dword [ebp + 0x10]
shl edx, 4
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + edx + 0xc]
mov eax, dword [edx + 0x50]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0044d050
add esp, 8
push 0
mov edx, dword [ebp - 0x14]
push edx
call fcn.0044edd0
add esp, 8
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.0044edd0
add esp, 8
push 0x21
mov ecx, dword [ebp - 4]
push ecx
call fcn.00447750
add esp, 8
push str.BEGIN
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0044f170
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x44eae0
jmp 0x44ed48
push 2
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00420160
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x44eafc
jmp 0x44ed48
mov edx, dword [ebp - 0x14]
push edx
call fcn.00416fa0
add esp, 4
push eax
call fcn.0041d000
add esp, 4
cmp eax, 5
jne 0x44eb20
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x50], 0
push 0
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.0041f4c0
add esp, 4
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00424520
add esp, 0x10
test eax, eax
jne 0x44eb71
cmp dword [ebp - 0x1c], 0
jne 0x44eb66
push 0
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x50]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00424520
add esp, 0x10
test eax, eax
jne 0x44eb71
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 0x45]
test eax, eax
je 0x44eb7d
mov dword [ebp - 0xc], 7
jmp 0x44ed48
mov ecx, dword [ebp + 0xc]
movsx edx, byte [ecx + 0x48]
test edx, edx
jl 0x44eb94
mov eax, dword [ebp + 0xc]
movsx ecx, byte [eax + 0x48]
mov dword [ebp - 0x3c], ecx
jmp 0x44eba3
mov edx, dword [ebp - 0x14]
push edx
call fcn.0044efb0
add esp, 4
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0044ef20
add esp, 8
mov edx, dword [ebp + 0xc]
mov al, byte [ebp - 0x20]
mov byte [edx + 0x98], al
mov ecx, dword [ebp - 0x30]
push ecx
push str.SELECT_sql_FROM___w_.sqlite_master_WHERE_typetableAND_name__sqlite_sequence_AND_coalesce_rootpage_1__0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0044f230
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x44ebe6
jmp 0x44ed48
mov ecx, dword [ebp - 0x30]
push ecx
push str.SELECT_sql_FROM___w_.sqlite_master_WHERE_typeindex_AND_length_sql__10
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0044f230
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x44ec0d
jmp 0x44ed48
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0x98], 0
mov edx, dword [ebp - 0x30]
push edx
push str.SELECTINSERT_INTO_vacuum_db.quote_name__SELECTFROM__w_.quote_name_FROM_vacuum_db.sqlite_master_WHERE_typetableAND_coalesce_rootpage_1__0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0044f230
add esp, 0x10
mov dword [ebp - 0xc], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
and eax, 0xefffffff
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x18], eax
cmp dword [ebp - 0xc], 0
je 0x44ec4f
jmp 0x44ed48
mov edx, dword [ebp - 0x30]
push edx
push str.INSERT_INTO_vacuum_db.sqlite_master_SELECTFROM___w_.sqlite_master_WHERE_type_IN_view_trigger__OR_typetableAND_rootpage0_
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0044f230
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x44ec76
jmp 0x44ed48
mov dword [ebp - 0x34], 0
jmp 0x44ec88
mov edx, dword [ebp - 0x34]
add edx, 2
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 0xa
jge 0x44ecdb
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x34]
movzx edx, byte [ecx + 0x4abc88]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.00424300
add esp, 0xc
mov ecx, dword [ebp - 0x34]
movzx edx, byte [ecx + 0x4abc89]
add edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x34]
movzx ecx, byte [eax + 0x4abc88]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00424380
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x44ecd9
jmp 0x44ed48
jmp 0x44ec7f
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0044f010
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x44ecf6
jmp 0x44ed48
mov edx, dword [ebp - 4]
push edx
call fcn.0044d090
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x44ed0d
jmp 0x44ed48
mov eax, dword [ebp - 4]
push eax
call fcn.0044efb0
add esp, 4
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0044ef20
add esp, 8
push 1
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.0041f4c0
add esp, 4
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00424520
add esp, 0x10
mov dword [ebp - 0xc], eax
mov edx, dword [ebp + 0xc]
mov byte [edx + 0x98], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0x18], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x58], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov dword [ecx + 0x5c], edx
mov eax, dword [ebp + 0xc]
mov cl, byte [ebp - 0x25]
mov byte [eax + 0x4c], cl
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
mov edx, dword [ebp - 0x14]
push edx
call fcn.00424520
add esp, 0x10
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x43], 1
cmp dword [ebp - 0x2c], 0
je 0x44edb8
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
push edx
call fcn.00426840
add esp, 4
mov eax, dword [ebp - 0x2c]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp + 0xc]
push edx
call fcn.004487a0
add esp, 4
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret