Function at 0x43dd90
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c10a
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xb20
mov eax, dword [0x47b018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x770], ecx
mov dword [ebp - 4], 0
mov eax, 0x47bf10
lea esi, [ebp - 0x1c]
call fcn.0040b4c0
mov byte [ebp - 4], 1
mov byte [ebp - 4], 2
push str.SQLite_Version:
mov eax, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push eax
call fcn.00414b90
add esp, 8
mov dword [ebp - 0x774], eax
call fcn.00414870
push eax
mov ecx, dword [ebp - 0x774]
push ecx
call fcn.00414b90
add esp, 8
mov dword [ebp - 0x778], eax
mov edx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push edx
mov ecx, dword [ebp - 0x778]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP90.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
mov dword [ebp - 0x77c], eax
mov eax, dword [ebp - 0x77c]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.004392e0
push str.TABLE_CREATING_...
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push ecx
call fcn.00414b90
add esp, 8
mov dword [ebp - 0x780], eax
mov edx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push edx
mov ecx, dword [ebp - 0x780]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov dword [ebp - 0x20], 5
mov dword [ebp - 0x20], 4
push 0
push 0
push 0x444d10
push 0
mov eax, dword [ebp - 0x20]
push eax
push 2
push str.AddToFts
push 1
call fcn.00448420
add esp, 4
mov ecx, dword [eax + 4]
push ecx
call sub.sqlite3.dll_sqlite3_create_function16
add esp, 0x20
push 0
push 0
push 0x443fb0
push 0
mov edx, dword [ebp - 0x20]
push edx
push 3
push 0x45ca48
push 1
call fcn.00448420
add esp, 4
mov eax, dword [eax + 4]
push eax
call sub.sqlite3.dll_sqlite3_create_function16
add esp, 0x20
push 0
push 0
push 0x444490
push 0
mov ecx, dword [ebp - 0x20]
push ecx
push 3
push 0x45ca5c
push 1
call fcn.00448420
add esp, 4
mov edx, dword [eax + 4]
push edx
call sub.sqlite3.dll_sqlite3_create_function16
add esp, 0x20
push 0
push 0
push 0x445450
push 0
mov eax, dword [ebp - 0x20]
push eax
push 4
push str.DelThumbNail
push 1
call fcn.00448420
add esp, 4
mov ecx, dword [eax + 4]
push ecx
call sub.sqlite3.dll_sqlite3_create_function16
add esp, 0x20
push 0
push 0
push 0x444b60
push 0
mov edx, dword [ebp - 0x20]
push edx
push 2
push str.UpdateThumbnaiId2
push 1
call fcn.00448420
add esp, 4
mov eax, dword [eax + 4]
push eax
call sub.sqlite3.dll_sqlite3_create_function16
add esp, 0x20
push 0
push 0
push 0x4449b0
push 0
mov ecx, dword [ebp - 0x20]
push ecx
push 2
push str.UpdateThumbnaiId1
push 1
call fcn.00448420
add esp, 4
mov edx, dword [eax + 4]
push edx
call sub.sqlite3.dll_sqlite3_create_function16
add esp, 0x20
push 0
push 0x43d5f0
push 1
call fcn.00448420
add esp, 4
mov eax, dword [eax + 4]
push eax
call sub.sqlite3.dll_sqlite3_busy_handler
add esp, 0xc
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__DBVersion
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x38]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x784], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov dword [ebp - 0x788], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x789], al
movzx eax, byte [ebp - 0x789]
test eax, eax
jne 0x43e07a
mov dword [ebp - 0x58], str.SELECT_version_FROM_DBVersion
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0xec]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x790], eax
mov eax, dword [ebp - 0x790]
mov dword [ebp - 0x794], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x794]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xec]
call fcn.00438e00
push 0x45cb94
push 0
lea ecx, [ebp - 0x38]
call fcn.00438540
push eax
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
jmp 0x43e0dc
mov dword [ebp - 0x58], str._PRAGMA_page_size__4096_
mov edx, dword [ebp - 0x58]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str._create_table_DBVersion__DbId_Integer_primary_key_version_Text_default_1.0__
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.Insert_into_DBVersion___version___values__1.0_
mov ecx, dword [ebp - 0x58]
push ecx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
push 0x45cce8
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push 0x45ccf0
lea edx, [ebp - 0x54]
push edx
call dword [sym.imp.MSVCP90.dll_bool___cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
add esp, 8
mov byte [ebp - 0x795], al
movzx eax, byte [ebp - 0x795]
test eax, eax
jne 0x43e126
push 0x45ccf8
lea ecx, [ebp - 0x54]
push ecx
call dword [sym.imp.MSVCP90.dll_bool___cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
add esp, 8
mov byte [ebp - 0x796], al
movzx edx, byte [ebp - 0x796]
test edx, edx
je 0x440401
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__MediaBasics
mov eax, dword [ebp - 0x58]
push eax
lea ecx, [ebp - 0x104]
push ecx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x79c], eax
mov edx, dword [ebp - 0x79c]
mov dword [ebp - 0x7a0], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x7a0]
push eax
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x104]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x7a1], al
movzx ecx, byte [ebp - 0x7a1]
test ecx, ecx
je 0x43e1de
push str.create_table_MediaBasics_...
mov edx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push edx
call fcn.00414b90
add esp, 8
mov dword [ebp - 0x7a8], eax
mov eax, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push eax
mov ecx, dword [ebp - 0x7a8]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov dword [ebp - 0x58], str.create_table_MediaBasics____t_t_t_t_t___MediaId_______________________INTEGER____PRIMARY_KEY_AUTOINCREMENT__t_t_t_t_t___EventId_______________________INTEGER_t_t_t__t_t_t_t_t___ShootingDate__________________DateTime_t____not_null_COLLATE_NOCASE__t_t_t_t_t___CreationDate_t_t_t_t___DateTime_t____not_null_COLLATE_NOCASE__t_t_t_t_t___ModifiedDate__________________DateTime______not_null_COLLATE_NOCASE__t_t_t_t_t___FileSize_______________________REAL_t_____not_null_COLLATE_NOCASE__t_t_t_t_t___FileName_______________________TEXT_tCOLLATE_NOCASE__t_t_t_t_t___Height_________________________INTEGER__t_t_t_t_t___Width__________________________INTEGER__t_t_t_t_t___MediaType_____________________INTEGER_t____________not_null__t_t_t_t_t___FileType_________________________INTEGER_t_t_t_not_NULL__t_t_t_t_t___Duration_t_t_t_t_t_tREAL_t_t_t__not_null__t_t_t_t_t___FavoritesRateing________________INTEGER_t_t_t__DEFAULT_0__t_t_t_t_t___Caption_________________________TEXT_COLLATE_NOCASE__t_t_t_t_t___Description_____________________TEXT_COLLATE_NOCASE__t_t_t_t_t___DisplayState____________________INTEGER_t_t_t_DEFAULT_0__t_t_t_t_t___AccessCount_____________________INTEGER__t_t_t_t_t___LastAccessTime__________________DateTime_COLLATE_NOCASE__t_t_t_t_t___GlueContentForFTS_______________TEXT_COLLATE_NOCASE__t_t_t_t_t___ThumbnailId1_t_t_t_t_t_INTEGER__t_t_t_t_t___ThumbnailId2_t_t_t_t_t_INTEGER__t_t_t_t_t___ThumbnailCount_t_t_t_t_INTEGER__t_t_t_t_t___RotateStates_t_t_t_t_t_INTEGER__t_t_t_t_t___BlackBox_t_t_t_t_t_t_BLOB__t_t_t_t_t___CHECK_FavoritesRateing_0_and_FavoritesRateing_5___t_t_t_t_t___UNIQUE_EventId_FileName___
mov ecx, dword [ebp - 0x58]
push ecx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1_from_sqlite_master_where_name__ProjectMetadata
mov edx, dword [ebp - 0x58]
push edx
lea eax, [ebp - 0x11c]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x7ac], eax
mov ecx, dword [ebp - 0x7ac]
mov dword [ebp - 0x7b0], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x7b0]
push edx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x11c]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x7b1], al
movzx eax, byte [ebp - 0x7b1]
test eax, eax
je 0x43e26a
mov dword [ebp - 0x58], str.create_table_ProjectMetadata__MediaId_INTEGER__PRIMARY_KEY__t_t_t_t_t_t_subProjType_INTEGER__projOwnerId_text_
mov ecx, dword [ebp - 0x58]
push ecx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1_from_sqlite_master_where_name__BlackList
mov edx, dword [ebp - 0x58]
push edx
lea eax, [ebp - 0x134]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x7b8], eax
mov ecx, dword [ebp - 0x7b8]
mov dword [ebp - 0x7bc], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x7bc]
push edx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x134]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x7bd], al
movzx eax, byte [ebp - 0x7bd]
test eax, eax
je 0x43e2f6
mov dword [ebp - 0x58], str.create_table_BlackList_uri_TEXT_
mov ecx, dword [ebp - 0x58]
push ecx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__ImageMetadata
mov edx, dword [ebp - 0x58]
push edx
lea eax, [ebp - 0x14c]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x7c4], eax
mov ecx, dword [ebp - 0x7c4]
mov dword [ebp - 0x7c8], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x7c8]
push edx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14c]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x7c9], al
movzx eax, byte [ebp - 0x7c9]
test eax, eax
je 0x43e3af
push str.create_table_ImageMetadata_...
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push ecx
call fcn.00414b90
add esp, 8
mov dword [ebp - 0x7d0], eax
mov edx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push edx
mov ecx, dword [ebp - 0x7d0]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov dword [ebp - 0x58], str.create_table_ImageMetadata__t_t_t_t_t_____t_t_t_t_t___MediaId__________________________t_t_INTEGER______________t_tPRIMARY_KEY__t_t_t_t_t___BitsPerPixel_____________________t_t_INTEGER_t_t_t__t_t_____t_t_t_t_t___EXIFMake_________________________t_t_TEXT_COLLATE_NOCASE____t_t_t_t_t___EXIFModel________________________t_t_TEXT_COLLATE_NOCASE____t_t_t_t_t___EXIFSoftWare_____________________t_t_TEXT_COLLATE_NOCASE__t__t_t_t_t_t___EXIFDate_________________________t_t_DateTime_COLLATE_NOCASE___t_t_t_t_t___EXIFDateTimeOriginal_____________t_t_DateTime_COLLATE_NOCASE___t_t_t_t_t___EXIFDateTimeDigitized____________t_t_DateTime_COLLATE_NOCASE___t_t_t_t_t___ExifOrinetation__________________t_t_INTEGER_t__t_t_t_t_t___ResolutionUnit___________________t_t_INTEGER_t__t_t_t_t_t___YCbCrPositioning_________________t_t_INTEGER__t_t_t_t_t___ExposureProgram__________________t_t_INTEGER__t_t_t_t_t___ISOSpeedRatings__________________t_t_INTEGER__t_t_t_t_t___MeteringMode_____________________t_t_INTEGER__t_t_t_t_t___Flash____________________________t_t_INTEGER__t_t_t_t_t___ColorSpace_______________________t_t_INTEGER__t_t_t_t_t___FocalLengthln35__________________t_t_INTEGER__t_t_t_t_t___ExposureMode_____________________t_t_INTEGER__t_t_t_t_t___WhiteBalance_____________________t_t_INTEGER__t_t_t_t_t___SceneCaptureType_________________t_t_INTEGER__t_t_t_t_t___SensingMethod____________________t_t_INTEGER__t_t_t_t_t___Contrast_________________________t_t_INTEGER_t__t_t_t_t_t___Saturation_______________________t_t_INTEGER_t__t_t_t_t_t___Sharpness________________________t_t_INTEGER_t__t_t_t_t_t___subjDistanceRange________________t_t_INTEGER__t_t_t_t_t_t___XResolution______________________t_____tINTEGER__t_t_t_t_t___YResolution______________________t_t_INTEGER__t_t_t_t_t___ExposureTime_____________________t_t_INTEGER__t_t_t_t_t___Fnumber__________________________t_t_INTEGER__t_t_t_t_t___CompressedBPP____________________t_t_INTEGER__t_t_t_t_t___Aperture_________________________t_t_REAL__t_t_t_t_t_t___MaxAperture______________________t_t_REAL__t_t_t_t_t_t___FocalLenth_______________________t_t_REAL__t_t_t_t_t_t___FocalXRes________________________t_t_REAL__t_t_t_t_t_t___FocalYRes________________________t_t_REAL__t_t_t_t_t_t___ExposureIndex____________________t_t_REAL__t_t_t_t_t_t___DigitalZoomRatio_________________t_t_REAL__t_t_t_t_t_t___ShutterSpeed_____________________t_t_REAL__t_t_t_t_t_t___ExposureBias_____________________t_t_REAL__t_t_t_t_t_t___ExifOffset_______________________t_t_REAL__t_t_t_t_t_t___ExifImgHeight____________________t_t_INTEGER__t_t_t_t_t___ExifImgWidth_____________________t_t_INTEGER__t_t_t_t_t___ExifInteropOffset________________t_t_INTEGER__t_t_t_t_t___ExifVersion______________________t_t_TEXT_COLLATE_NOCASE__t_t_t_t_t_t___ComponentConfig__________________t_t_TEXT_COLLATE_NOCASE__t_t_t_t_t_t___UserComment______________________t_t_TEXT_COLLATE_NOCASE__t_t_t_t_t_t___FPXVersion_______________________t_t_TEXT_COLLATE_NOCASE__t_t_t_t_t_t___FileSource_______________________t_t_INTEGER_t__t_t_t_t_t___IPTCCity_________________________t_t_TEXT_COLLATE_NOCASE__t_t_t_t_t_t___IPTCState________________________t_t_TEXT_COLLATE_NOCASE__t_t_t_t_t_t___IPTCCountry______________________t_t_TEXT_COLLATE_NOCASE__t_t_t_t_t_t___IPTCCredit_______________________t_t_TEXT_COLLATE_NOCASE__t_t_t_t_t_t___IPTCSource_______________________t_t_TEXT_COLLATE_NOCASE__t_t_t_t_t_t___IPTCObjectName___________________t_t__TEXT_COLLATE_NOCASE__t_t_t_t_t_t___IPTCHeadline_____________________t_t_TEXT_COLLATE_NOCASE__t_t_t_t_t_t___IPTCDescWriter___________________t_t_TEXT_COLLATE_NOCASE__t_t_t_t_t_t___IPTCInstruction__________________t_t_TEXT_COLLATE_NOCASE__t_t_t_t_t_t___IPTCTransRef_____________________t_t_TEXT_COLLATE_NOCASE__t_t_t_t_t_t___IPTCUrgency______________________t_t_TEXT_COLLATE_NOCASE__t_t_t_t_t_t___IPTCCaption______________________t_t_TEXT_COLLATE_NOCASE__t_t_t_t_t_t___IPTCByLine_______________________t_t_TEXT_COLLATE_NOCASE__t_t_t_t_t_t___IPTCByLineTitle__________________t_t_TEXT_COLLATE_NOCASE__t_t_t_t_t_t___IPTCDateCreated__________________t_t_DateTime__t_t
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__AudioMetadata
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x164]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x7d4], eax
mov eax, dword [ebp - 0x7d4]
mov dword [ebp - 0x7d8], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x7d8]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x164]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x7d9], al
movzx edx, byte [ebp - 0x7d9]
test edx, edx
je 0x43e467
push str.create_table_AudioMetadata_...
mov eax, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push eax
call fcn.00414b90
add esp, 8
mov dword [ebp - 0x7e0], eax
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push ecx
mov ecx, dword [ebp - 0x7e0]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov dword [ebp - 0x58], str.create_table_AudioMetadata__t_t_t_t_t______t_t_t_t_t___MediaId__________________________INTEGER_____________PRIMARY_KEY___t_t_t_t_t___AudioType_t_t_t_t_t_t_INTEGER_t__t_t_t_t_t___AudioChannel_t_t_t_t_t_INTEGER__t_t_t_t_t___AudioSampleRate________t_t_t_REAL__t_t_t_t_t___Artist___________________________TEXT_COLLATE_NOCASE__t_t_t_t_t___Album____________________________TEXT_COLLATE_NOCASE__t_t_t_t_t___Genre____________________________TEXT_COLLATE_NOCASE__t_t_t_t_t___AudioBitsPerSample_t_t_tINTEGER__t_t_t_t_t___AudioBitRate_t_t_t_t_tREAL__t_t_t_t_t___Composer_________________________TEXT_COLLATE_NOCASE__
mov edx, dword [ebp - 0x58]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__VideoMetadata
mov eax, dword [ebp - 0x58]
push eax
lea ecx, [ebp - 0x17c]
push ecx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x7e4], eax
mov edx, dword [ebp - 0x7e4]
mov dword [ebp - 0x7e8], edx
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x7e8]
push eax
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x17c]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x7e9], al
movzx ecx, byte [ebp - 0x7e9]
test ecx, ecx
je 0x43e51f
push str.create_table_VideoMetadata_...
mov edx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push edx
call fcn.00414b90
add esp, 8
mov dword [ebp - 0x7f0], eax
mov eax, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push eax
mov ecx, dword [ebp - 0x7f0]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov dword [ebp - 0x58], str.create_table_VideoMetadata__t_t_t_t_t______t_t_t_t_t___MediaId_________________________INTEGER____________PRIMARY_KEY___t_t_t_t_t___VideoType_t_t_t_t_t_tINTEGER_t_t_t____not_null__t_t_t_t_t___LowResolutionFileState_t_t_tINTEGER_t_t__t_t_t_t_t___TvSystem_t_t_t_t_t_tINTEGER__t_t_t_t_t___FrameType_t_t_t_t_t_tINTEGER__t_t_t_t_t_t___MarkInTime_t_t_t_t_t_tINTEGER__t_t_t_t_t___MarkOutTime_t_t_t_t_t_tINTEGER__t_t_t_t_t___VideoFrameRate__________________REAL_t_t_t_t_not_null___t_t_t_t_t___AspectRatioX_t_t_t_t_tINTEGER__t_t_t_t_t___AspectRatioY_t_t_t_t_tINTEGER__t_t_t_t_t___VideoBitRate_t_t_t_t_tREAL__t_t_t_t_t___AudioType_t_t_t_t_t_tINTEGER_t__t_t_t_t_t___AudioChannel_t_t_t_t_tINTEGER__t_t_t_t_t___AudioSampleRate________t_t_t_REAL__t_t_t_t_t___AudioBitsPerSample_t_t_tINTEGER__t_t_t_t_t___AudioBitRate_t_t_t_t_tREAL__t_t_t_t_t___AudioDuration___________________REAL__
mov ecx, dword [ebp - 0x58]
push ecx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__Event
mov edx, dword [ebp - 0x58]
push edx
lea eax, [ebp - 0x194]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x7f4], eax
mov ecx, dword [ebp - 0x7f4]
mov dword [ebp - 0x7f8], ecx
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x7f8]
push edx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x194]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x7f9], al
movzx eax, byte [ebp - 0x7f9]
test eax, eax
je 0x43e5d8
push str.create_table_Event_...
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push ecx
call fcn.00414b90
add esp, 8
mov dword [ebp - 0x800], eax
mov edx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push edx
mov ecx, dword [ebp - 0x800]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov dword [ebp - 0x58], str.create_table_Event__t_t_t_t_t______t_t_t_t_t___EventId________________________INTEGER_t_t_t_tPRIMARY_KEY___t_t_t_t_t___EventName______________________TEXT_t_tCOLLATE_NOCASE_t_t_t___t_t_t_t_t___FolderPath_t_t_t_t_t___TEXT_t_t_t_t_tunique_COLLATE_NOCASE__t_t_t_t_t___Description_t_t_t_t_t___TEXT_COLLATE_NOCASE__t_t_t_t_t___CreationDate_t_t_t_t___TEXT_COLLATE_NOCASE__t_t_t_t_t___Mode_t_t_t_t_t_t___INTEGER_t_t_t_tDEFAULT_1__t_t_t_t_t___State__________________________INTEGER_t_t_t_tDEFAULT_0__t_t_t_t_t___Type___________________________INTEGER__
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__Collection
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x1ac]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x804], eax
mov eax, dword [ebp - 0x804]
mov dword [ebp - 0x808], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x808]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1ac]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x809], al
movzx edx, byte [ebp - 0x809]
test edx, edx
je 0x43e690
push str.create_table_Collection_...
mov eax, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push eax
call fcn.00414b90
add esp, 8
mov dword [ebp - 0x810], eax
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push ecx
mov ecx, dword [ebp - 0x810]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov dword [ebp - 0x58], str.create_table_Collection__t_t_t_t_t______t_t_t_t_t___CollectionId__________________INTEGER_______________not_null___t_t_t_t_t___CollectionName________________TEXT_t_t_t_t____unique_COLLATE_NOCASE__t_t_t_t_t___Description_t_t_t_t_t___TEXT_COLLATE_NOCASE__t_t_t_t_t___CreationDate_t_t_t_t___DATETIME_COLLATE_NOCASE__t_t_t_t_t___CollectionType________________INTEGER__t_t_t_t_t___primary_key__CollectionId___
mov edx, dword [ebp - 0x58]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__SmartCollection
mov eax, dword [ebp - 0x58]
push eax
lea ecx, [ebp - 0x1c4]
push ecx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x814], eax
mov edx, dword [ebp - 0x814]
mov dword [ebp - 0x818], edx
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x818]
push eax
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c4]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x819], al
movzx ecx, byte [ebp - 0x819]
test ecx, ecx
je 0x43e748
push str.create_table_SmartCollection_...
mov edx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push edx
call fcn.00414b90
add esp, 8
mov dword [ebp - 0x820], eax
mov eax, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push eax
mov ecx, dword [ebp - 0x820]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov dword [ebp - 0x58], str.create_table_SmartCollection_t_t_t_t_t______t_t_t_t_t___SCollectionId__________________INTEGER_______________not_null__t_t_t_t_t___SCollectionName________________TEXT_t_t_t_t_t_not_null_COLLATE_NOCASE__t_t_t_t_t___Description_t_t_t_t_t___TEXT_COLLATE_NOCASE__t_t_t_t_t___CreationDate_t_t_t_t___DATETIME_COLLATE_NOCASE__t_t_t_t_t___FilterType_____________________INTEGER__t_t_t_t_t___primary_key__SCollectionId____
mov ecx, dword [ebp - 0x58]
push ecx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__SmartCollectionFilters
mov edx, dword [ebp - 0x58]
push edx
lea eax, [ebp - 0x1dc]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x824], eax
mov ecx, dword [ebp - 0x824]
mov dword [ebp - 0x828], ecx
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x828]
push edx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1dc]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x829], al
movzx eax, byte [ebp - 0x829]
test eax, eax
je 0x43e801
push str.create_table_SmartCollectionFilters_...
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push ecx
call fcn.00414b90
add esp, 8
mov dword [ebp - 0x830], eax
mov edx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push edx
mov ecx, dword [ebp - 0x830]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov dword [ebp - 0x58], str.create_table_SmartCollectionFilters__t_t_t_t_t_____t_t_t_t_t___FilterId_______________________INTEGER_______________PRIMARY_KEY__t_t_t_t_t___SCollectionId__________________INTEGER_______________not_null__t_t_t_t_t___FilterItem_____________________INTEGER_______________not_null__t_t_t_t_t___FilterOperator_________________INTEGER_______________not_null__t_t_t_t_t___FilterOperand1_________________TEXT_______________not_null_COLLATE_NOCASE__t_t_t_t_t___FilterOperand2_________________TEXT_COLLATE_NOCASE__
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__CollectionMediaAssignment
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x1f4]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x834], eax
mov eax, dword [ebp - 0x834]
mov dword [ebp - 0x838], eax
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x838]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1f4]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x839], al
movzx edx, byte [ebp - 0x839]
test edx, edx
je 0x43e8b9
push str.create_table_CollectionMediaAssignment_...
mov eax, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push eax
call fcn.00414b90
add esp, 8
mov dword [ebp - 0x840], eax
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push ecx
mov ecx, dword [ebp - 0x840]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov dword [ebp - 0x58], str.create_table_CollectionMediaAssignment__t_t_t_t_t_____t_t_t_t_t___CollectionId___________________INTEGER______________not_null__t_t_t_t_t___MediaId________________________INTEGER______________not_null__t_t_t_t_t___DisplayOrder___________________INTEGER__t_t_t_t_t___primary_key__CollectionId__MediaId___
mov edx, dword [ebp - 0x58]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__KeyWord
mov eax, dword [ebp - 0x58]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x844], eax
mov edx, dword [ebp - 0x844]
mov dword [ebp - 0x848], edx
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x848]
push eax
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20c]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x849], al
movzx ecx, byte [ebp - 0x849]
test ecx, ecx
je 0x43e971
push str.create_table_KeyWord_...
mov edx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push edx
call fcn.00414b90
add esp, 8
mov dword [ebp - 0x850], eax
mov eax, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push eax
mov ecx, dword [ebp - 0x850]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov dword [ebp - 0x58], str.create_table_KeyWord__t_t_t_t_t_____t_t_t_t_t___KeywordId______________________INTEGER_____________not_null__t_t_t_t_t___KeywordName____________________TEXT__unique_COLLATE_NOCASE__t_t_t_t_t___KeywordType____________________INTEGER__t_t_t_t_t___primary_key__KeywordId___
mov ecx, dword [ebp - 0x58]
push ecx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__KeywordMediaAssignment
mov edx, dword [ebp - 0x58]
push edx
lea eax, [ebp - 0x224]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x854], eax
mov ecx, dword [ebp - 0x854]
mov dword [ebp - 0x858], ecx
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x858]
push edx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x224]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x859], al
movzx eax, byte [ebp - 0x859]
test eax, eax
je 0x43ea2a
push str.create_table_KeywordMediaAssignment_...
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push ecx
call fcn.00414b90
add esp, 8
mov dword [ebp - 0x860], eax
mov edx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push edx
mov ecx, dword [ebp - 0x860]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov dword [ebp - 0x58], str.create_table_KeywordMediaAssignment_t_t_t_t_t_____t_t_t_t_t___KeywordId______________________INTEGER______________not_null__t_t_t_t_t___MediaId________________________INTEGER______________not_null__t_t_t_t_t___primary_key__KeywordId__MediaId___
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__Association
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x23c]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x864], eax
mov eax, dword [ebp - 0x864]
mov dword [ebp - 0x868], eax
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x868]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x23c]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x869], al
movzx edx, byte [ebp - 0x869]
test edx, edx
je 0x43eae2
push str.create_table_Association_...
mov eax, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push eax
call fcn.00414b90
add esp, 8
mov dword [ebp - 0x870], eax
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push ecx
mov ecx, dword [ebp - 0x870]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov dword [ebp - 0x58], str.create_table_Association_t_t_t_t_t_____t_t_t_t_t___FromMediaId_t_t_t_t_t_t____INTEGER______________not_null__t_t_t_t_t___ToMediaId________________________INTEGER______________not_null__t_t_t_t_t___primary_key__FromMediaId__ToMediaId___
mov edx, dword [ebp - 0x58]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__ImageMetadata_insert_trg
mov eax, dword [ebp - 0x58]
push eax
lea ecx, [ebp - 0x254]
push ecx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x874], eax
mov edx, dword [ebp - 0x874]
mov dword [ebp - 0x878], edx
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x878]
push eax
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x254]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x879], al
movzx ecx, byte [ebp - 0x879]
test ecx, ecx
je 0x43eb9a
push 0x45fe7c
mov edx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push edx
call fcn.00414b90
add esp, 8
mov dword [ebp - 0x880], eax
mov eax, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push eax
mov ecx, dword [ebp - 0x880]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov dword [ebp - 0x58], str.CREATE_TRIGGER_ImageMetadata_insert_trg_t_t_t_t_t___BEFORE_INSERT_ON_ImageMetadata_t_t_t_t_t___BEGIN__t_t_t_t_t___SELECT_CASE__t_t_t_t_t___WHEN__SELECT_MediaId_FROM_MediaBasics_WHERE_MediaIdNEW.MediaId__IS_NULL__t_t_t_t_t___THEN_RAISE__ABORT___t_t_t_t_t___Foreign_Key_Violation:_ImageMetadata.MediaId_is_not_in_MediaBasics.MediaId___t_t_t_t_t___END___t_t_t_t_t___END_
mov ecx, dword [ebp - 0x58]
push ecx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__ImageMetadata_update_trg
mov edx, dword [ebp - 0x58]
push edx
lea eax, [ebp - 0x26c]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x884], eax
mov ecx, dword [ebp - 0x884]
mov dword [ebp - 0x888], ecx
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x888]
push edx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x26c]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x889], al
movzx eax, byte [ebp - 0x889]
test eax, eax
je 0x43ec26
mov dword [ebp - 0x58], 0x462210
mov ecx, dword [ebp - 0x58]
push ecx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__ImageMetadata_delete_trg
mov edx, dword [ebp - 0x58]
push edx
lea eax, [ebp - 0x284]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x890], eax
mov ecx, dword [ebp - 0x890]
mov dword [ebp - 0x894], ecx
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x894]
push edx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x284]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x895], al
movzx eax, byte [ebp - 0x895]
test eax, eax
je 0x43ecb2
mov dword [ebp - 0x58], 0x462550
mov ecx, dword [ebp - 0x58]
push ecx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__ProjectMetadata_insert_trg
mov edx, dword [ebp - 0x58]
push edx
lea eax, [ebp - 0x29c]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x89c], eax
mov ecx, dword [ebp - 0x89c]
mov dword [ebp - 0x8a0], ecx
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0x8a0]
push edx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x29c]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x8a1], al
movzx eax, byte [ebp - 0x8a1]
test eax, eax
je 0x43ed6b
push 0x4604bc
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push ecx
call fcn.00414b90
add esp, 8
mov dword [ebp - 0x8a8], eax
mov edx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push edx
mov ecx, dword [ebp - 0x8a8]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov dword [ebp - 0x58], str.CREATE_TRIGGER_ProjectMetadata_insert_trg_t_t_t_t_t___BEFORE_INSERT_ON_ProjectMetadata_t_t_t_t_t___BEGIN__t_t_t_t_t___SELECT_CASE__t_t_t_t_t___WHEN__SELECT_MediaId_FROM_MediaBasics_WHERE_MediaIdNEW.MediaId__IS_NULL__t_t_t_t_t___THEN_RAISE__ABORT___t_t_t_t_t___Foreign_Key_Violation:_ProjectMetadata.MediaId_is_not_in_MediaBasics.MediaId___t_t_t_t_t___END___t_t_t_t_t___END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__ProjectMetadata_update_trg
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x2b4]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x8ac], eax
mov eax, dword [ebp - 0x8ac]
mov dword [ebp - 0x8b0], eax
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x8b0]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2b4]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x8b1], al
movzx edx, byte [ebp - 0x8b1]
test edx, edx
je 0x43edf7
mov dword [ebp - 0x58], str.CREATE_TRIGGER_ProjectMetadata_update_trg__t_t_t_t_t___BEFORE_UPDATE_OF_MediaId_ON_ProjectMetadata__t_t_t_t_t___BEGIN__t_t_t_t_t___SELECT_CASE__t_t_t_t_t___WHEN__SELECT_MediaId_FROM_MediaBasics_WHERE_MediaIdNEW.MediaId__IS_NULL__t_t_t_t_t___THEN_RAISE_ABORT___t_t_t_t_t___Foreign_Key_Violation:_ProjectMetadata.MediaId_is_not_in_MediaBasics.MediaId___t_t_t_t_t___END___t_t_t_t_t___END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], 0x462d48
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x2cc]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x8b8], eax
mov eax, dword [ebp - 0x8b8]
mov dword [ebp - 0x8bc], eax
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x8bc]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2cc]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x8bd], al
movzx edx, byte [ebp - 0x8bd]
test edx, edx
je 0x43ee83
mov dword [ebp - 0x58], str.CREATE_TRIGGER_ProjectMetadata_delete_trg__t_t_t_t_t___BEFORE_DELETE_ON_MediaBasics__t_t_t_t_t___FOR_EACH_ROW_BEGIN__t_t_t_t_t___DELETE_from_ProjectMetadata_WHERE_MediaId__old.MediaId___t_t_t_t_t___END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__AudioMetadata_insert_trg
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x2e4]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x8c4], eax
mov eax, dword [ebp - 0x8c4]
mov dword [ebp - 0x8c8], eax
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x8c8]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2e4]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x8c9], al
movzx edx, byte [ebp - 0x8c9]
test edx, edx
je 0x43ef0f
mov dword [ebp - 0x58], 0x462fe0
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__AudioMetadata_update_trg
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x2fc]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x8d0], eax
mov eax, dword [ebp - 0x8d0]
mov dword [ebp - 0x8d4], eax
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x8d4]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2fc]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x8d5], al
movzx edx, byte [ebp - 0x8d5]
test edx, edx
je 0x43ef9b
mov dword [ebp - 0x58], str.CREATE_TRIGGER_AudioMetadata_update_trg__t_t_t_t_t___BEFORE_UPDATE_OF_MediaId_ON_AudioMetadata__t_t_t_t_t___BEGIN__t_t_t_t_t___SELECT_CASE__t_t_t_t_t___WHEN__SELECT_MediaId_FROM_MediaBasics_WHERE_MediaIdNEW.MediaId__IS_NULL__t_t_t_t_t___THEN_RAISE_ABORT___t_t_t_t_t___Foreign_Key_Violation:_AudioMetadata.MediaId_is_not_in_MediaBasics.MediaId___t_t_t_t_t___END___t_t_t_t_t___END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__AudioMetadata_delete_trg
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x314]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x8dc], eax
mov eax, dword [ebp - 0x8dc]
mov dword [ebp - 0x8e0], eax
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x8e0]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x314]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x8e1], al
movzx edx, byte [ebp - 0x8e1]
test edx, edx
je 0x43f027
mov dword [ebp - 0x58], str.CREATE_TRIGGER_AudioMetadata_delete_trg_t_t_t_t_t___BEFORE_DELETE_ON_MediaBasics__t_t_t_t_t___FOR_EACH_ROW_BEGIN__t_t_t_t_t___DELETE_from_AudioMetadata_WHERE_MediaId__old.MediaId___t_t_t_t_t___END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__VideoMetadata_insert_trg
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x32c]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x8e8], eax
mov eax, dword [ebp - 0x8e8]
mov dword [ebp - 0x8ec], eax
mov byte [ebp - 4], 0x1d
mov ecx, dword [ebp - 0x8ec]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x32c]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x8ed], al
movzx edx, byte [ebp - 0x8ed]
test edx, edx
je 0x43f0b3
mov dword [ebp - 0x58], str.CREATE_TRIGGER_VideoMetadata_insert_trg__t_t_t_t_t___BEFORE_INSERT_ON_VideoMetadata__t_t_t_t_t___BEGIN__t_t_t_t_t___SELECT_CASE__t_t_t_t_t___WHEN__SELECT_MediaId_FROM_MediaBasics_WHERE_MediaIdNEW.MediaId__IS_NULL__t_t_t_t_t___THEN_RAISE__ABORT___t_t_t_t_t___Foreign_Key_Violation:_VideoMetadata.MediaId_is_not_in_MediaBasics.MediaId___t_t_t_t_t___END___t_t_t_t_t___END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__VideoMetadata_update_trg
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x344]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x8f4], eax
mov eax, dword [ebp - 0x8f4]
mov dword [ebp - 0x8f8], eax
mov byte [ebp - 4], 0x1e
mov ecx, dword [ebp - 0x8f8]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x344]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x8f9], al
movzx edx, byte [ebp - 0x8f9]
test edx, edx
je 0x43f13f
mov dword [ebp - 0x58], str.CREATE_TRIGGER_VideoMetadata_update_trg__t_t_t_t_t___BEFORE_UPDATE_OF_MediaId_ON_VideoMetadata__t_t_t_t_t___BEGIN__t_t_t_t_t___SELECT_CASE__t_t_t_t_t___WHEN__SELECT_MediaId_FROM_MediaBasics_WHERE_MediaIdNEW.MediaId__IS_NULL__t_t_t_t_t___THEN_RAISE_ABORT___t_t_t_t_t___Foreign_Key_Violation:_VideoMetadata.MediaId_is_not_in_MediaBasics.MediaId___t_t_t_t_t___END___t_t_t_t_t___END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__VideoMetadata_delete_trg
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x35c]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x900], eax
mov eax, dword [ebp - 0x900]
mov dword [ebp - 0x904], eax
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x904]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x35c]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x905], al
movzx edx, byte [ebp - 0x905]
test edx, edx
je 0x43f1cb
mov dword [ebp - 0x58], str.CREATE_TRIGGER_VideoMetadata_delete_trg__t_t_t_t_t___BEFORE_DELETE_ON_MediaBasics__t_t_t_t_t___FOR_EACH_ROW_BEGIN__t_t_t_t_t___DELETE_from_VideoMetadata_WHERE_MediaId__old.MediaId___t_t_t_t_t___END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__SmartCollectionFilters_insert_trg
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x374]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x90c], eax
mov eax, dword [ebp - 0x90c]
mov dword [ebp - 0x910], eax
mov byte [ebp - 4], 0x20
mov ecx, dword [ebp - 0x910]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x374]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x911], al
movzx edx, byte [ebp - 0x911]
test edx, edx
je 0x43f257
mov dword [ebp - 0x58], str.CREATE_TRIGGER_SmartCollectionFilters_insert_trg__t_t_t_t_t___BEFORE_INSERT_ON_SmartCollectionFilters__t_t_t_t_t___BEGIN__t_t_t_t_t___SELECT_CASE__t_t_t_t_t___WHEN__SELECT_SCollectionId_FROM_SmartCollection_WHERE_SCollectionIdNEW.SCollectionId__IS_NULL__t_t_t_t_t___THEN_RAISE__ABORT___t_t_t_t_t___Foreign_Key_Violation:_SmartCollectionFilters.SCollectionId_is_not_in_SmartCollection___t_t_t_t_t___END___t_t_t_t_t___END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__SmartCollectionFilters_update_trg
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x38c]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x918], eax
mov eax, dword [ebp - 0x918]
mov dword [ebp - 0x91c], eax
mov byte [ebp - 4], 0x21
mov ecx, dword [ebp - 0x91c]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38c]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x91d], al
movzx edx, byte [ebp - 0x91d]
test edx, edx
je 0x43f2e3
mov dword [ebp - 0x58], str.CREATE_TRIGGER_SmartCollectionFilters_update_trg__t_t_t_t_t___BEFORE_UPDATE_OF_SCollectionId_ON_SmartCollectionFilters__t_t_t_t_t___BEGIN__t_t_t_t_t___SELECT_CASE__t_t_t_t_t___WHEN__SELECT__SCollectionId_FROM_SmartCollection_WHERE_SCollectionIdNEW.SCollectionId__IS_NULL__t_t_t_t_t___THEN_RAISE_ABORT___t_t_t_t_t___Foreign_Key_Violation:_SmartCollectionFilters.SCollectionId_is_not_in_SmartCollection___t_t_t_t_t___END___t_t_t_t_t___END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__SmartCollectionFilters_delete_trg
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x3a4]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x924], eax
mov eax, dword [ebp - 0x924]
mov dword [ebp - 0x928], eax
mov byte [ebp - 4], 0x22
mov ecx, dword [ebp - 0x928]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3a4]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x929], al
movzx edx, byte [ebp - 0x929]
test edx, edx
je 0x43f36f
mov dword [ebp - 0x58], str.CREATE_TRIGGER_SmartCollectionFilters_delete_trg__t_t_t_t_t___BEFORE_DELETE_ON_SmartCollection__t_t_t_t_t___FOR_EACH_ROW_BEGIN__t_t_t_t_t___DELETE_from_SmartCollectionFilters_WHERE_SCollectionId__old.SCollectionId___t_t_t_t_t___END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__CollectionMediaAssignmentC_insert_trg
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x3bc]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x930], eax
mov eax, dword [ebp - 0x930]
mov dword [ebp - 0x934], eax
mov byte [ebp - 4], 0x23
mov ecx, dword [ebp - 0x934]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3bc]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x935], al
movzx edx, byte [ebp - 0x935]
test edx, edx
je 0x43f3fb
mov dword [ebp - 0x58], str.CREATE_TRIGGER_CollectionMediaAssignmentC_insert_trg__t_t_t_t_t___BEFORE_INSERT_ON_CollectionMediaAssignment__t_t_t_t_t___BEGIN__t_t_t_t_t___SELECT_CASE__t_t_t_t_t___WHEN__SELECT_CollectionId_FROM_Collection_WHERE_CollectionIdNEW.CollectionId__IS_NULL__t_t_t_t_t___THEN_RAISE__ABORT___t_t_t_t_t___Foreign_Key_Violation:_CollectionMediaAssignment.CollectionId_is_not_in_Collection___t_t_t_t_t___END___t_t_t_t_t___END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__CollectionMediaAssignmentC_update_trg
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x3d4]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x93c], eax
mov eax, dword [ebp - 0x93c]
mov dword [ebp - 0x940], eax
mov byte [ebp - 4], 0x24
mov ecx, dword [ebp - 0x940]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3d4]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x941], al
movzx edx, byte [ebp - 0x941]
test edx, edx
je 0x43f487
mov dword [ebp - 0x58], str.CREATE_TRIGGER_CollectionMediaAssignmentC_update_trg__t_t_t_t_t___BEFORE_UPDATE_OF_CollectionId_ON_CollectionMediaAssignment__t_t_t_t_t___BEGIN__t_t_t_t_t___SELECT_CASE__t_t_t_t_t___WHEN__SELECT_CollectionId_FROM_Collection_WHERE_CollectionIdNEW.CollectionId__IS_NULL__t_t_t_t_t___THEN_RAISE__ABORT___t_t_t_t_t___Foreign_Key_Violation:_CollectionMediaAssignment.CollectionId_is_not_in_Collection___t_t_t_t_t___END___t_t_t_t_t___END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__CollectionMediaAssignmentC_delete_trg
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x3ec]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x948], eax
mov eax, dword [ebp - 0x948]
mov dword [ebp - 0x94c], eax
mov byte [ebp - 4], 0x25
mov ecx, dword [ebp - 0x94c]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3ec]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x94d], al
movzx edx, byte [ebp - 0x94d]
test edx, edx
je 0x43f513
mov dword [ebp - 0x58], str.CREATE_TRIGGER_CollectionMediaAssignmentC_delete_trg__t_t_t_t_t___BEFORE_DELETE_ON_Collection__t_t_t_t_t___FOR_EACH_ROW_BEGIN__t_t_t_t_t___DELETE_from_CollectionMediaAssignment_WHERE_CollectionId__old.CollectionId___t_t_t_t_t___END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__CollectionMediaAssignmentM_insert_trg
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x404]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x954], eax
mov eax, dword [ebp - 0x954]
mov dword [ebp - 0x958], eax
mov byte [ebp - 4], 0x26
mov ecx, dword [ebp - 0x958]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x404]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x959], al
movzx edx, byte [ebp - 0x959]
test edx, edx
je 0x43f59f
mov dword [ebp - 0x58], str.CREATE_TRIGGER_CollectionMediaAssignmentM_insert_trg__t_t_t_t_t___BEFORE_INSERT_ON_CollectionMediaAssignment__t_t_t_t_t___BEGIN__t_t_t_t_t___SELECT_CASE__t_t_t_t_t___WHEN__SELECT_MediaId_FROM_MediaBasics_WHERE_MediaIdNEW.MediaId__IS_NULL__t_t_t_t_t___THEN_RAISE__ABORT___t_t_t_t_t___Foreign_Key_Violation:_CollectionMediaAssignment.MediaId_is_not_in_MediaBasics___t_t_t_t_t___END___t_t_t_t_t___END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__CollectionMediaAssignmentM_update_trg
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x41c]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x960], eax
mov eax, dword [ebp - 0x960]
mov dword [ebp - 0x964], eax
mov byte [ebp - 4], 0x27
mov ecx, dword [ebp - 0x964]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x41c]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x965], al
movzx edx, byte [ebp - 0x965]
test edx, edx
je 0x43f62b
mov dword [ebp - 0x58], str.CREATE_TRIGGER_CollectionMediaAssignmentM_update_trg__t_t_t_t_t___BEFORE_UPDATE_OF_MediaId_ON_CollectionMediaAssignment__t_t_t_t_t___BEGIN__t_t_t_t_t___SELECT_CASE__t_t_t_t_t___WHEN__SELECT_MediaId_FROM_MediaBasics_WHERE_MediaIdNEW.MediaId__IS_NULL__t_t_t_t_t___THEN_RAISE__ABORT___t_t_t_t_t___Foreign_Key_Violation:_CollectionMediaAssignment.MediaId_is_not_in_MediaBasics___t_t_t_t_t___END___t_t_t_t_t___END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__CollectionMediaAssignmentM_delete_trg
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x434]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x96c], eax
mov eax, dword [ebp - 0x96c]
mov dword [ebp - 0x970], eax
mov byte [ebp - 4], 0x28
mov ecx, dword [ebp - 0x970]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x434]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x971], al
movzx edx, byte [ebp - 0x971]
test edx, edx
je 0x43f6b7
mov dword [ebp - 0x58], str.CREATE_TRIGGER_CollectionMediaAssignmentM_delete_trg__t_t_t_t_t___BEFORE_DELETE_ON_MediaBasics__t_t_t_t_t___FOR_EACH_ROW_BEGIN__t_t_t_t_t___DELETE_from_CollectionMediaAssignment_WHERE_MediaId__old.MediaId___t_t_t_t_t___END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__KeywordMediaAssignmentM_insert_trg
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x44c]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x978], eax
mov eax, dword [ebp - 0x978]
mov dword [ebp - 0x97c], eax
mov byte [ebp - 4], 0x29
mov ecx, dword [ebp - 0x97c]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44c]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x97d], al
movzx edx, byte [ebp - 0x97d]
test edx, edx
je 0x43f743
mov dword [ebp - 0x58], str.CREATE_TRIGGER_KeywordMediaAssignmentM_insert_trg__t_t_t_t_t___BEFORE_INSERT_ON_KeywordMediaAssignment__t_t_t_t_t___BEGIN__t_t_t_t_t___SELECT_CASE__t_t_t_t_t___WHEN__SELECT_MediaId_FROM_MediaBasics_WHERE_MediaIdNEW.MediaId__IS_NULL__t_t_t_t_t___THEN_RAISE__ABORT___t_t_t_t_t___Foreign_Key_Violation:_KeywordMediaAssignment.MediaId_is_not_in_MediaBasics___t_t_t_t_t___END___t_t_t_t_t___END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__KeywordMediaAssignmentM_update_trg
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x464]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x984], eax
mov eax, dword [ebp - 0x984]
mov dword [ebp - 0x988], eax
mov byte [ebp - 4], 0x2a
mov ecx, dword [ebp - 0x988]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x464]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x989], al
movzx edx, byte [ebp - 0x989]
test edx, edx
je 0x43f7cf
mov dword [ebp - 0x58], str.CREATE_TRIGGER_KeywordMediaAssignmentM_update_trg__t_t_t_t_t___BEFORE_UPDATE_OF_MediaId_ON_KeywordMediaAssignment__t_t_t_t_t___BEGIN__t_t_t_t_t___SELECT_CASE__t_t_t_t_t___WHEN__SELECT_MediaId_FROM_MediaBasics_WHERE_MediaIdNEW.MediaId__IS_NULL__t_t_t_t_t___THEN_RAISE__ABORT___t_t_t_t_t___Foreign_Key_Violation:_KeywordMediaAssignment.MediaId_is_not_in_MediaBasics___t_t_t_t_t___END___t_t_t_t_t___END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__KeywordMediaAssignmentM_delete_trg
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x47c]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x990], eax
mov eax, dword [ebp - 0x990]
mov dword [ebp - 0x994], eax
mov byte [ebp - 4], 0x2b
mov ecx, dword [ebp - 0x994]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x47c]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x995], al
movzx edx, byte [ebp - 0x995]
test edx, edx
je 0x43f85b
mov dword [ebp - 0x58], str.CREATE_TRIGGER_KeywordMediaAssignmentM_delete_trg__t_t_t_t_t___BEFORE_DELETE_ON_MediaBasics__t_t_t_t_t___FOR_EACH_ROW_BEGIN__t_t_t_t_t___DELETE_from_KeywordMediaAssignment_WHERE_MediaId__old.MediaId___t_t_t_t_t___END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__KeywordMediaAssignmentK_insert_trg
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x494]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x99c], eax
mov eax, dword [ebp - 0x99c]
mov dword [ebp - 0x9a0], eax
mov byte [ebp - 4], 0x2c
mov ecx, dword [ebp - 0x9a0]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x494]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x9a1], al
movzx edx, byte [ebp - 0x9a1]
test edx, edx
je 0x43f8e7
mov dword [ebp - 0x58], str.CREATE_TRIGGER_KeywordMediaAssignmentK_insert_trg__t_t_t_t_t___BEFORE_INSERT_ON_KeywordMediaAssignment__t_t_t_t_t___BEGIN__t_t_t_t_t___SELECT_CASE__t_t_t_t_t___WHEN__SELECT_KeywordId_FROM_Keyword_WHERE_KeywordIdNEW.KeywordId__IS_NULL__t_t_t_t_t___THEN_RAISE__ABORT___t_t_t_t_t___Foreign_Key_Violation:_KeywordMediaAssignment.KeywordId_is_not_in_Keyword___t_t_t_t_t___END___t_t_t_t_t___END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__KeywordMediaAssignmentK_update_trg
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x4ac]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x9a8], eax
mov eax, dword [ebp - 0x9a8]
mov dword [ebp - 0x9ac], eax
mov byte [ebp - 4], 0x2d
mov ecx, dword [ebp - 0x9ac]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4ac]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x9ad], al
movzx edx, byte [ebp - 0x9ad]
test edx, edx
je 0x43f973
mov dword [ebp - 0x58], str.CREATE_TRIGGER_KeywordMediaAssignmentK_update_trg__t_t_t_t_t___BEFORE_UPDATE_OF_KeywordId_ON_KeywordMediaAssignment__t_t_t_t_t___BEGIN__t_t_t_t_t___SELECT_CASE__t_t_t_t_t___WHEN__SELECT_KeywordId_FROM_Keyword_WHERE_KeywordIdNEW.KeywordId__IS_NULL__t_t_t_t_t___THEN_RAISE__ABORT___t_t_t_t_t___Foreign_Key_Violation:_KeywordMediaAssignment.KeywordId_is_not_in_Keyword___t_t_t_t_t___END___t_t_t_t_t___END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__KeywordMediaAssignmentK_delete_trg
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x4c4]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x9b4], eax
mov eax, dword [ebp - 0x9b4]
mov dword [ebp - 0x9b8], eax
mov byte [ebp - 4], 0x2e
mov ecx, dword [ebp - 0x9b8]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4c4]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x9b9], al
movzx edx, byte [ebp - 0x9b9]
test edx, edx
je 0x43f9ff
mov dword [ebp - 0x58], str.CREATE_TRIGGER_KeywordMediaAssignmentK_delete_trg__t_t_t_t_t___BEFORE_DELETE_ON_Keyword__t_t_t_t_t___FOR_EACH_ROW_BEGIN__t_t_t_t_t___DELETE_from_KeywordMediaAssignment_WHERE_KeywordId__old.KeywordId___t_t_t_t_t___END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__MediaBasics_delete_trg
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x4dc]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x9c0], eax
mov eax, dword [ebp - 0x9c0]
mov dword [ebp - 0x9c4], eax
mov byte [ebp - 4], 0x2f
mov ecx, dword [ebp - 0x9c4]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4dc]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x9c5], al
movzx edx, byte [ebp - 0x9c5]
test edx, edx
je 0x43fa8b
mov dword [ebp - 0x58], str.CREATE_TRIGGER_MediaBasics_delete_trg__t_t_t_t_t___BEFORE_DELETE_ON_Event__t_t_t_t_t___FOR_EACH_ROW_BEGIN__t_t_t_t_t___DELETE_from_MediaBasics_WHERE_EventId__old.EventId___t_t_t_t_t___END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__AssociationF_insert_trg
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x4f4]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x9cc], eax
mov eax, dword [ebp - 0x9cc]
mov dword [ebp - 0x9d0], eax
mov byte [ebp - 4], 0x30
mov ecx, dword [ebp - 0x9d0]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4f4]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x9d1], al
movzx edx, byte [ebp - 0x9d1]
test edx, edx
je 0x43fb17
mov dword [ebp - 0x58], str.CREATE_TRIGGER_AssociationF_insert_trg__t_t_t_t_t___BEFORE_INSERT_ON_Association__t_t_t_t_t___BEGIN__t_t_t_t_t___SELECT_CASE__t_t_t_t_t___WHEN__SELECT_MediaId_FROM_MediaBasics_WHERE_MediaIdNEW.FromMediaId__IS_NULL__t_t_t_t_t___THEN_RAISE__ABORT___t_t_t_t_t___Foreign_Key_Violation:_EventMediaAssignment.MediaId_is_not_in_MediaBasics___t_t_t_t_t___END___t_t_t_t_t___END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__AssociationF_update_trg
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x50c]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x9d8], eax
mov eax, dword [ebp - 0x9d8]
mov dword [ebp - 0x9dc], eax
mov byte [ebp - 4], 0x31
mov ecx, dword [ebp - 0x9dc]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x50c]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x9dd], al
movzx edx, byte [ebp - 0x9dd]
test edx, edx
je 0x43fba3
mov dword [ebp - 0x58], str.CREATE_TRIGGER_AssociationF_update_trg__t_t_t_t_t___BEFORE_UPDATE_OF_FromMediaId_ON_Association__t_t_t_t_t___BEGIN__t_t_t_t_t___SELECT_CASE__t_t_t_t_t___WHEN__SELECT_MediaId_FROM_MediaBasics_WHERE_MediaIdNEW.FromMediaId__IS_NULL__t_t_t_t_t___THEN_RAISE__ABORT___t_t_t_t_t___Foreign_Key_Violation:_Association.FromMediaId_is_not_in_MediaBasics___t_t_t_t_t___END___t_t_t_t_t___END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__AssociationF_delete_trg
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x524]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x9e4], eax
mov eax, dword [ebp - 0x9e4]
mov dword [ebp - 0x9e8], eax
mov byte [ebp - 4], 0x32
mov ecx, dword [ebp - 0x9e8]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x524]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x9e9], al
movzx edx, byte [ebp - 0x9e9]
test edx, edx
je 0x43fc2f
mov dword [ebp - 0x58], str.CREATE_TRIGGER_AssociationF_delete_trg__t_t_t_t_t___BEFORE_DELETE_ON_MediaBasics__t_t_t_t_t___FOR_EACH_ROW_BEGIN__t_t_t_t_t___DELETE_from_Association_WHERE_FromMediaId__old.MediaId___t_t_t_t_t___END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__AssociationT_insert_trg
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x53c]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x9f0], eax
mov eax, dword [ebp - 0x9f0]
mov dword [ebp - 0x9f4], eax
mov byte [ebp - 4], 0x33
mov ecx, dword [ebp - 0x9f4]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x53c]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0x9f5], al
movzx edx, byte [ebp - 0x9f5]
test edx, edx
je 0x43fcbb
mov dword [ebp - 0x58], str.CREATE_TRIGGER_AssociationT_insert_trg__t_t_t_t_t___BEFORE_INSERT_ON_Association__t_t_t_t_t___BEGIN__t_t_t_t_t___SELECT_CASE__t_t_t_t_t___WHEN__SELECT_MediaId_FROM_MediaBasics_WHERE_MediaIdNEW.ToMediaId__IS_NULL__t_t_t_t_t___THEN_RAISE__ABORT___t_t_t_t_t___Foreign_Key_Violation:_EventMediaAssignment.MediaId_is_not_in_MediaBasics___t_t_t_t_t___END___t_t_t_t_t___END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__AssociationT_update_trg
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x554]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x9fc], eax
mov eax, dword [ebp - 0x9fc]
mov dword [ebp - 0xa00], eax
mov byte [ebp - 4], 0x34
mov ecx, dword [ebp - 0xa00]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x554]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0xa01], al
movzx edx, byte [ebp - 0xa01]
test edx, edx
je 0x43fd47
mov dword [ebp - 0x58], str.CREATE_TRIGGER_AssociationT_update_trg__t_t_t_t_t___BEFORE_UPDATE_OF_ToMediaId_ON_Association__t_t_t_t_t___BEGIN__t_t_t_t_t___SELECT_CASE__t_t_t_t_t___WHEN__SELECT_MediaId_FROM_MediaBasics_WHERE_MediaIdNEW.ToMediaId__IS_NULL__t_t_t_t_t___THEN_RAISE__ABORT___t_t_t_t_t___Foreign_Key_Violation:_Association.ToMediaId_is_not_in_MediaBasics___t_t_t_t_t___END___t_t_t_t_t___END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__AssociationT_delete_trg
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x56c]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0xa08], eax
mov eax, dword [ebp - 0xa08]
mov dword [ebp - 0xa0c], eax
mov byte [ebp - 4], 0x35
mov ecx, dword [ebp - 0xa0c]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x56c]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0xa0d], al
movzx edx, byte [ebp - 0xa0d]
test edx, edx
je 0x43fdd3
mov dword [ebp - 0x58], str.CREATE_TRIGGER_AssociationT_delete_trg__t_t_t_t_t___BEFORE_DELETE_ON_MediaBasics__t_t_t_t_t___FOR_EACH_ROW_BEGIN__t_t_t_t_t___DELETE_from_Association_WHERE_ToMediaId__old.MediaId___t_t_t_t_t___END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__ThumbnailId2_Insert_trg
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x584]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0xa14], eax
mov eax, dword [ebp - 0xa14]
mov dword [ebp - 0xa18], eax
mov byte [ebp - 4], 0x36
mov ecx, dword [ebp - 0xa18]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x584]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0xa19], al
movzx edx, byte [ebp - 0xa19]
test edx, edx
je 0x43fe5f
mov dword [ebp - 0x58], str.CREATE_TRIGGER_ThumbnailId2_Insert_trg__t_t_t_t_t___BEFORE__UPDATE_OF_ThumbnailID2_on_MediaBasics__t_t_t_t_t___FOR_EACH_ROW_BEGIN__t_t_t_t_t___SELECT_UpdateThumbnaiId2_new.ThumbnailId2_new.ThumbnailCount___t_t_t_t_t___END__END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__ThumbnailId1_Insert_trg
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x59c]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0xa20], eax
mov eax, dword [ebp - 0xa20]
mov dword [ebp - 0xa24], eax
mov byte [ebp - 4], 0x37
mov ecx, dword [ebp - 0xa24]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x59c]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0xa25], al
movzx edx, byte [ebp - 0xa25]
test edx, edx
je 0x43feeb
mov dword [ebp - 0x58], str.CREATE_TRIGGER_ThumbnailId1_Insert_trg__t_t_t_t_t___BEFORE__UPDATE_OF_ThumbnailID1_on_MediaBasics__t_t_t_t_t___FOR_EACH_ROW_BEGIN__t_t_t_t_t___SELECT_UpdateThumbnaiId1_new.ThumbnailId1_new.ThumbnailCount___t_t_t_t_t___END__END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__Thumbnail_update_trg
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x5b4]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0xa2c], eax
mov eax, dword [ebp - 0xa2c]
mov dword [ebp - 0xa30], eax
mov byte [ebp - 4], 0x38
mov ecx, dword [ebp - 0xa30]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5b4]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0xa31], al
movzx edx, byte [ebp - 0xa31]
test edx, edx
je 0x43ff77
mov dword [ebp - 0x58], str.CREATE_TRIGGER_Thumbnail_update_trg__t_t_t_t_t___BEFORE_DELETE_ON_MediaBasics__t_t_t_t_t___FOR_EACH_ROW_BEGIN__t_t_t_t_t___SELECT_DelThumbNail_old.MediaId_old.ThumbnailId1_old.ThumbnailId2_old.ThumbnailCount___t_t_t_t_t___END__END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__EXIFMake_update_trg
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x5cc]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0xa38], eax
mov eax, dword [ebp - 0xa38]
mov dword [ebp - 0xa3c], eax
mov byte [ebp - 4], 0x39
mov ecx, dword [ebp - 0xa3c]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5cc]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0xa3d], al
movzx edx, byte [ebp - 0xa3d]
test edx, edx
je 0x440003
mov dword [ebp - 0x58], str.CREATE_TRIGGER_EXIFMake_update_trg__t_t_t_t_t___BEFORE_UPDATE_OF_EXIFMake_ON_ImageMetadata__t_t_t_t_t___FOR_EACH_ROW_BEGIN__t_t_t_t_t___SELECT_UpdateFts_IFNULL_old.EXIFMake_____IFNULL_new.EXIFMake____old.rowid___t_t_t_t_t___END__END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], 0x468b28
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x5e4]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0xa44], eax
mov eax, dword [ebp - 0xa44]
mov dword [ebp - 0xa48], eax
mov byte [ebp - 4], 0x3a
mov ecx, dword [ebp - 0xa48]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5e4]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0xa49], al
movzx edx, byte [ebp - 0xa49]
test edx, edx
je 0x44008f
mov dword [ebp - 0x58], str.CREATE_TRIGGER_Caption_update_trg__t_t_t_t_t___BEFORE_UPDATE_OF_Caption_ON_MediaBasics__t_t_t_t_t___FOR_EACH_ROW_BEGIN__t_t_t_t_t___SELECT_UpdateFts_IFNULL_old.Caption_____IFNULL_new.Caption____old.rowid___t_t_t_t_t___END__END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__FileName_update_trg
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x5fc]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0xa50], eax
mov eax, dword [ebp - 0xa50]
mov dword [ebp - 0xa54], eax
mov byte [ebp - 4], 0x3b
mov ecx, dword [ebp - 0xa54]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5fc]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0xa55], al
movzx edx, byte [ebp - 0xa55]
test edx, edx
je 0x44011b
mov dword [ebp - 0x58], str.CREATE_TRIGGER_FileName_update_trg__t_t_t_t_t___BEFORE_UPDATE_OF_FileName_ON_MediaBasics__t_t_t_t_t___FOR_EACH_ROW_BEGIN__t_t_t_t_t___SELECT_UpdateFts_IFNULL_old.FileName_____IFNULL_new.FileName____old.rowid___t_t_t_t_t___END__END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__KeywordName_update_trg
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x614]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0xa5c], eax
mov eax, dword [ebp - 0xa5c]
mov dword [ebp - 0xa60], eax
mov byte [ebp - 4], 0x3c
mov ecx, dword [ebp - 0xa60]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x614]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0xa61], al
movzx edx, byte [ebp - 0xa61]
test edx, edx
je 0x4401a7
mov dword [ebp - 0x58], str.CREATE_TRIGGER_KeywordName_update_trg__t_t_t_t_t___BEFORE_UPDATE_OF_KeywordName_ON_KeyWord__t_t_t_t_t___FOR_EACH_ROW_BEGIN__t_t_t_t_t___SELECT_UpdateFts_IFNULL_old.KeywordName____IFNULL_new.KeywordName_____SELECT_MediaId_From_KeywordMediaAssignment_Where_KeywordId__old.KeywordId_____t_t_t_t_t___END__END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__MediaBasics_ModifiedDate
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x62c]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0xa68], eax
mov eax, dword [ebp - 0xa68]
mov dword [ebp - 0xa6c], eax
mov byte [ebp - 4], 0x3d
mov ecx, dword [ebp - 0xa6c]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x62c]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0xa6d], al
movzx edx, byte [ebp - 0xa6d]
test edx, edx
je 0x440233
mov dword [ebp - 0x58], 0x4692e8
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], 0x469370
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x644]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0xa74], eax
mov eax, dword [ebp - 0xa74]
mov dword [ebp - 0xa78], eax
mov byte [ebp - 4], 0x3e
mov ecx, dword [ebp - 0xa78]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x644]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0xa79], al
movzx edx, byte [ebp - 0xa79]
test edx, edx
je 0x4402bf
mov dword [ebp - 0x58], 0x469408
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], 0x4694a8
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x65c]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0xa80], eax
mov eax, dword [ebp - 0xa80]
mov dword [ebp - 0xa84], eax
mov byte [ebp - 4], 0x3f
mov ecx, dword [ebp - 0xa84]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x65c]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0xa85], al
movzx edx, byte [ebp - 0xa85]
test edx, edx
je 0x44034b
mov dword [ebp - 0x58], 0x469528
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__Keyword_KeywordName
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x674]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0xa8c], eax
mov eax, dword [ebp - 0xa8c]
mov dword [ebp - 0xa90], eax
mov byte [ebp - 4], 0x40
mov ecx, dword [ebp - 0xa90]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x674]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0xa91], al
movzx edx, byte [ebp - 0xa91]
test edx, edx
je 0x4403d7
mov dword [ebp - 0x58], str.CREATE_INDEX_Keyword_KeywordName_on_Keyword_KeywordName__
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.update_DBVersion_Set_version__2.0
mov ecx, dword [ebp - 0x58]
push ecx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
push 0x4696ec
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push 0x4696f4
lea edx, [ebp - 0x54]
push edx
call dword [sym.imp.MSVCP90.dll_bool___cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
add esp, 8
mov byte [ebp - 0xa92], al
movzx eax, byte [ebp - 0xa92]
test eax, eax
je 0x44046a
mov dword [ebp - 0x58], str.ALTER_TABLE_MediaBasics_ADD_COLUMN_CodecCategory_INTEGER_default_0
mov ecx, dword [ebp - 0x58]
push ecx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.update_DBVersion_Set_version__2.1
mov edx, dword [ebp - 0x58]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
push 0x4697e4
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push 0x4697ec
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.MSVCP90.dll_bool___cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
add esp, 8
mov byte [ebp - 0xa93], al
movzx ecx, byte [ebp - 0xa93]
test ecx, ecx
je 0x4405d3
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__Caption_insert_trg
mov edx, dword [ebp - 0x58]
push edx
lea eax, [ebp - 0x68c]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0xa98], eax
mov ecx, dword [ebp - 0xa98]
mov dword [ebp - 0xa9c], ecx
mov byte [ebp - 4], 0x41
mov edx, dword [ebp - 0xa9c]
push edx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x68c]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0xa9d], al
movzx eax, byte [ebp - 0xa9d]
test eax, eax
je 0x44051d
mov dword [ebp - 0x58], str.CREATE_TRIGGER_Caption_insert_trg__t_t_t_t_t___AFTER_Insert_ON_MediaBasics__t_t_t_t_t___FOR_EACH_ROW_BEGIN__t_t_t_t_t___SELECT_AddToFts_New.Caption_NEW.MediaId__t_t_t_t_t___END__END_
mov ecx, dword [ebp - 0x58]
push ecx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__FileName_insert_trg
mov edx, dword [ebp - 0x58]
push edx
lea eax, [ebp - 0x6a4]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0xaa4], eax
mov ecx, dword [ebp - 0xaa4]
mov dword [ebp - 0xaa8], ecx
mov byte [ebp - 4], 0x42
mov edx, dword [ebp - 0xaa8]
push edx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x6a4]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0xaa9], al
movzx eax, byte [ebp - 0xaa9]
test eax, eax
je 0x4405a9
mov dword [ebp - 0x58], str.CREATE_TRIGGER_FileName_insert_trg__t_t_t_t_t___AFTER_Insert_ON_MediaBasics__t_t_t_t_t___FOR_EACH_ROW_BEGIN__t_t_t_t_t___SELECT_AddToFts_New.FileName_NEW.MediaId____t_t_t_t_t___END__END_
mov ecx, dword [ebp - 0x58]
push ecx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.update_DBVersion_Set_version__2.2
mov edx, dword [ebp - 0x58]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
push 0x469bf4
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push 0x469bfc
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.MSVCP90.dll_bool___cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
add esp, 8
mov byte [ebp - 0xaaa], al
movzx ecx, byte [ebp - 0xaaa]
test ecx, ecx
je 0x44063c
mov dword [ebp - 0x58], str.ALTER_TABLE_MediaBasics_ADD_COLUMN_zeroFrameIndex_REAL_default_0
mov edx, dword [ebp - 0x58]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.update_DBVersion_Set_version__2.3
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
push 0x469cf4
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push 0x469cfc
lea ecx, [ebp - 0x54]
push ecx
call dword [sym.imp.MSVCP90.dll_bool___cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
add esp, 8
mov byte [ebp - 0xaab], al
movzx edx, byte [ebp - 0xaab]
test edx, edx
je 0x4406a5
mov dword [ebp - 0x58], str.CREATE_TRIGGER_EventName_update_trg__t_t_t_t___BEFORE_UPDATE_OF_EventName_ON_Event__t_t_t_t___FOR_EACH_ROW_BEGIN__t_t_t_t___SELECT_UpdateEventNameFts_IFNULL_old.EventName_____IFNULL_new.EventName____old.rowid___t_t_t_t___END__END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.update_DBVersion_Set_version__2.4
mov ecx, dword [ebp - 0x58]
push ecx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
push 0x469f1c
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push 0x469f24
lea edx, [ebp - 0x54]
push edx
call dword [sym.imp.MSVCP90.dll_bool___cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
add esp, 8
mov byte [ebp - 0xaac], al
movzx eax, byte [ebp - 0xaac]
test eax, eax
je 0x44070e
mov dword [ebp - 0x58], str.ALTER_TABLE_MediaBasics_ADD_COLUMN_BlackBoxLen_INTEGER_default_0
mov ecx, dword [ebp - 0x58]
push ecx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.update_DBVersion_Set_version__2.5
mov edx, dword [ebp - 0x58]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
push 0x46a03c
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push 0x46a044
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.MSVCP90.dll_bool___cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
add esp, 8
mov byte [ebp - 0xaad], al
movzx ecx, byte [ebp - 0xaad]
test ecx, ecx
je 0x440777
mov dword [ebp - 0x58], str.ALTER_TABLE_AudioMetadata_ADD_COLUMN_Title_TEXT_COLLATE_NOCASE
mov edx, dword [ebp - 0x58]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.update_DBVersion_Set_version__2.6
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
push 0x46a124
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push 0x46a12c
lea ecx, [ebp - 0x54]
push ecx
call dword [sym.imp.MSVCP90.dll_bool___cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
add esp, 8
mov byte [ebp - 0xaae], al
movzx edx, byte [ebp - 0xaae]
test edx, edx
je 0x4408e0
mov dword [ebp - 0x58], str.CREATE_TRIGGER_Artist_insert_trg__t_t_t_t___AFTER_Insert_ON_AudioMetadata__t_t_t_t___FOR_EACH_ROW_BEGIN__t_t_t_t___SELECT_AddToFts_New.Artist_NEW.MediaId__t_t_t_t___END__END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.CREATE_TRIGGER_Artist_update_trg__t_t_t_t___BEFORE_UPDATE_OF_Artist_ON_AudioMetadata__t_t_t_t___FOR_EACH_ROW_BEGIN__t_t_t_t___SELECT_UpdateFts_IFNULL_old.Artist_____IFNULL_new.Artist____old.rowid___t_t_t_t___END__END_
mov ecx, dword [ebp - 0x58]
push ecx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.CREATE_TRIGGER_Album_insert_trg__t_t_t_t___AFTER_Insert_ON_AudioMetadata__t_t_t_t___FOR_EACH_ROW_BEGIN__t_t_t_t___SELECT_AddToFts_New.Album_NEW.MediaId__t_t_t_t___END__END_
mov edx, dword [ebp - 0x58]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.CREATE_TRIGGER_Album_update_trg__t_t_t_t___BEFORE_UPDATE_OF_Album_ON_AudioMetadata__t_t_t_t___FOR_EACH_ROW_BEGIN__t_t_t_t___SELECT_UpdateFts_IFNULL_old.Album_____IFNULL_new.Album____old.rowid___t_t_t_t___END__END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.CREATE_TRIGGER_Genre_insert_trg__t_t_t_t___AFTER_Insert_ON_AudioMetadata__t_t_t_t___FOR_EACH_ROW_BEGIN__t_t_t_t___SELECT_AddToFts_New.Genre_NEW.MediaId__t_t_t_t___END__END_
mov ecx, dword [ebp - 0x58]
push ecx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.CREATE_TRIGGER_Genre_update_trg__t_t_t_t___BEFORE_UPDATE_OF_Genre_ON_AudioMetadata__t_t_t_t___FOR_EACH_ROW_BEGIN__t_t_t_t___SELECT_UpdateFts_IFNULL_old.Genre_____IFNULL_new.Genre____old.rowid___t_t_t_t___END__END_
mov edx, dword [ebp - 0x58]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.CREATE_TRIGGER_Composer_insert_trg__t_t_t_t___AFTER_Insert_ON_AudioMetadata__t_t_t_t___FOR_EACH_ROW_BEGIN__t_t_t_t___SELECT_AddToFts_New.Composer_NEW.MediaId__t_t_t_t___END__END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.CREATE_TRIGGER_Composer_update_trg__t_t_t_t___BEFORE_UPDATE_OF_Composer_ON_AudioMetadata__t_t_t_t___FOR_EACH_ROW_BEGIN__t_t_t_t___SELECT_UpdateFts_IFNULL_old.Composer_____IFNULL_new.Composer____old.rowid___t_t_t_t___END__END_
mov ecx, dword [ebp - 0x58]
push ecx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.CREATE_TRIGGER_Title_insert_trg__t_t_t_t___AFTER_Insert_ON_AudioMetadata__t_t_t_t___FOR_EACH_ROW_BEGIN__t_t_t_t___SELECT_AddToFts_New.Title_NEW.MediaId__t_t_t_t___END__END_
mov edx, dword [ebp - 0x58]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.CREATE_TRIGGER_Title_update_trg__t_t_t_t___BEFORE_UPDATE_OF_Title_ON_AudioMetadata__t_t_t_t___FOR_EACH_ROW_BEGIN__t_t_t_t___SELECT_UpdateFts_IFNULL_old.Title_____IFNULL_new.Title____old.rowid___t_t_t_t___END__END_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.update_DBVersion_Set_version__2.7
mov ecx, dword [ebp - 0x58]
push ecx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
push 0x46b014
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push 0x46b01c
lea edx, [ebp - 0x54]
push edx
call dword [sym.imp.MSVCP90.dll_bool___cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
add esp, 8
mov byte [ebp - 0xaaf], al
movzx eax, byte [ebp - 0xaaf]
test eax, eax
je 0x440d42
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__MediaBasics_EvID_mType_dState_sDate
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x6bc]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0xab4], eax
mov eax, dword [ebp - 0xab4]
mov dword [ebp - 0xab8], eax
mov byte [ebp - 4], 0x43
mov ecx, dword [ebp - 0xab8]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x6bc]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0xab9], al
movzx edx, byte [ebp - 0xab9]
test edx, edx
je 0x440993
mov dword [ebp - 0x58], str.CREATE_INDEX_MediaBasics_EvID_mType_dState_sDate_on_MediaBasics_Eventid__mediatype__displaystate__shootingdate__
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__MediaBasics_sDate_mType_dState
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x6d4]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0xac0], eax
mov eax, dword [ebp - 0xac0]
mov dword [ebp - 0xac4], eax
mov byte [ebp - 4], 0x44
mov ecx, dword [ebp - 0xac4]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x6d4]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0xac5], al
movzx edx, byte [ebp - 0xac5]
test edx, edx
je 0x440a1f
mov dword [ebp - 0x58], str.CREATE_INDEX_MediaBasics_sDate_mType_dState_on_MediaBasics_shootingdate__mediatype__displaystate__
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__MediaBasics_Rating_mType_dState_sDate
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x6ec]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0xacc], eax
mov eax, dword [ebp - 0xacc]
mov dword [ebp - 0xad0], eax
mov byte [ebp - 4], 0x45
mov ecx, dword [ebp - 0xad0]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x6ec]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0xad1], al
movzx edx, byte [ebp - 0xad1]
test edx, edx
je 0x440aab
mov dword [ebp - 0x58], str.CREATE_INDEX_MediaBasics_Rating_mType_dState_sDate_on_MediaBasics_favoritesrateing__mediatype__displaystate_shootingdate__
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.DROP_INDEX_MediaBasics_FileNameAndEventId
mov ecx, dword [ebp - 0x58]
push ecx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.DROP_INDEX_MediaBasics_ModifiedDate
mov edx, dword [ebp - 0x58]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.ALTER_TABLE_MediaBasics_ADD_COLUMN_CalendarMonth_varchar_7_
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.UPDATE_MediaBasics_SET_CalendarMonth__substr_ShootingDate__1__7_
mov ecx, dword [ebp - 0x58]
push ecx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__MediaBasics_cMonth_mType_dState
mov edx, dword [ebp - 0x58]
push edx
lea eax, [ebp - 0x704]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0xad8], eax
mov ecx, dword [ebp - 0xad8]
mov dword [ebp - 0xadc], ecx
mov byte [ebp - 4], 0x46
mov edx, dword [ebp - 0xadc]
push edx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x704]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0xadd], al
movzx eax, byte [ebp - 0xadd]
test eax, eax
je 0x440ba7
mov dword [ebp - 0x58], str.CREATE_INDEX_MediaBasics_cMonth_mType_dState_on_MediaBasics_CalendarMonth__mediatype__displaystate__
mov ecx, dword [ebp - 0x58]
push ecx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__MediaBasic_insert_trg
mov edx, dword [ebp - 0x58]
push edx
lea eax, [ebp - 0x71c]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0xae4], eax
mov ecx, dword [ebp - 0xae4]
mov dword [ebp - 0xae8], ecx
mov byte [ebp - 4], 0x47
mov edx, dword [ebp - 0xae8]
push edx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x71c]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0xae9], al
movzx eax, byte [ebp - 0xae9]
test eax, eax
je 0x440c60
push 0x461924
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push ecx
call fcn.00414b90
add esp, 8
mov dword [ebp - 0xaf0], eax
mov edx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push edx
mov ecx, dword [ebp - 0xaf0]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov dword [ebp - 0x58], str.CREATE_TRIGGER_MediaBasic_insert_cMonth_trg_AFTER_INSERT_ON_MediaBasics_t_t_t_tBEGIN_UPDATE_MediaBasics_SET_CalendarMonthsubstr_ShootingDate__1__7__WHERE_rowidnew.rowid__END
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__MediaBasic_insert_ShootingDate_trg
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x734]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0xaf4], eax
mov eax, dword [ebp - 0xaf4]
mov dword [ebp - 0xaf8], eax
mov byte [ebp - 4], 0x48
mov ecx, dword [ebp - 0xaf8]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x734]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0xaf9], al
movzx edx, byte [ebp - 0xaf9]
test edx, edx
je 0x440d18
push str.Create_Foreign_Key_Reference_____________________
mov eax, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push eax
call fcn.00414b90
add esp, 8
mov dword [ebp - 0xb00], eax
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push ecx
mov ecx, dword [ebp - 0xb00]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov dword [ebp - 0x58], str.CREATE_TRIGGER_MediaBasic_insert_ShootingDate_trg_AFTER_UPDATE_OF_ShootingDate_ON_MediaBasics_t_t_t_tBEGIN__UPDATE_MediaBasics_SET_CalendarMonthsubstr_ShootingDate__1__7__WHERE_rowidnew.rowid__END
mov edx, dword [ebp - 0x58]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.update_DBVersion_Set_version__2.8
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
push 0x46bc1c
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push 0x46bc24
lea ecx, [ebp - 0x54]
push ecx
call dword [sym.imp.MSVCP90.dll_bool___cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
add esp, 8
mov byte [ebp - 0xb01], al
movzx edx, byte [ebp - 0xb01]
test edx, edx
je 0x440f06
mov dword [ebp - 0x58], str.ALTER_TABLE_MediaBasics_ADD_COLUMN_MediaOrientation_INTEGER_default__1
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.Select_MediaId_from_MediaBasics
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x70]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0xb08], eax
mov byte [ebp - 4], 0x49
lea ecx, [ebp - 0x70]
call fcn.00438cb0
mov byte [ebp - 0xb09], al
movzx eax, byte [ebp - 0xb09]
test eax, eax
jne 0x440ed0
push 0
push 0
lea ecx, [ebp - 0x70]
call fcn.004385e0
mov dword [ebp - 0x74], eax
lea esi, [ebp - 0xb8]
call fcn.00401330
mov byte [ebp - 4], 0x4a
mov ecx, dword [ebp - 0x74]
push ecx
push str.Select_ExifOrinetation_from_ImageMetadata_Where_MediaId___d
lea esi, [ebp - 0xb8]
call fcn.00401380
add esp, 8
mov dword [ebp - 0xb10], eax
mov edx, dword [ebp - 0xb10]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x78]
push eax
lea ecx, [ebp - 0xd0]
push ecx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0xb14], eax
mov byte [ebp - 4], 0x4b
push 0
push 0
lea ecx, [ebp - 0xd0]
call fcn.004385e0
mov dword [ebp - 0x7c], eax
lea esi, [ebp - 0x9c]
call fcn.00401330
mov byte [ebp - 4], 0x4c
mov edx, dword [ebp - 0x74]
push edx
mov eax, dword [ebp - 0x7c]
push eax
push str.UPDATE_MediaBasics_SET_MediaOrientation___d_Where_MediaId___d
lea esi, [ebp - 0x9c]
call fcn.00401380
add esp, 0xc
mov dword [ebp - 0xb18], eax
mov ecx, dword [ebp - 0xb18]
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x80]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
lea ecx, [ebp - 0x70]
call fcn.00438c20
mov byte [ebp - 4], 0x4b
lea esi, [ebp - 0x9c]
call fcn.00401350
mov byte [ebp - 4], 0x4a
lea ecx, [ebp - 0xd0]
call fcn.00438e00
mov byte [ebp - 4], 0x49
lea esi, [ebp - 0xb8]
call fcn.00401350
jmp 0x440daf
mov dword [ebp - 0x58], str.update_DBVersion_Set_version__2.9
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
push 0x46be7c
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.00438e00
push 0x46be84
lea ecx, [ebp - 0x54]
push ecx
call dword [sym.imp.MSVCP90.dll_bool___cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
add esp, 8
mov byte [ebp - 0xb19], al
movzx edx, byte [ebp - 0xb19]
test edx, edx
je 0x440fe3
mov dword [ebp - 0x58], str.select_1__from_sqlite_master_where_name__MediaBasics_FileNameAndEventId
mov eax, dword [ebp - 0x58]
push eax
lea ecx, [ebp - 0x74c]
push ecx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0xb20], eax
mov edx, dword [ebp - 0xb20]
mov dword [ebp - 0xb24], edx
mov byte [ebp - 4], 0x4d
mov eax, dword [ebp - 0xb24]
push eax
lea ecx, [ebp - 0x38]
call fcn.00438d50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x74c]
call fcn.00438e00
lea ecx, [ebp - 0x38]
call fcn.00438cb0
mov byte [ebp - 0xb25], al
movzx ecx, byte [ebp - 0xb25]
test ecx, ecx
je 0x440fb9
mov dword [ebp - 0x58], str.CREATE_INDEX_MediaBasics_FileNameAndEventId_on_MediaBasics_FileName_EventId__
mov edx, dword [ebp - 0x58]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.update_DBVersion_Set_version__3.0
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
push 0x46c014
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push 0x46c01c
lea ecx, [ebp - 0x54]
push ecx
call dword [sym.imp.MSVCP90.dll_bool___cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
add esp, 8
mov byte [ebp - 0xb26], al
movzx edx, byte [ebp - 0xb26]
test edx, edx
je 0x441068
mov dword [ebp - 0x58], str.ALTER_TABLE_VideoMetadata_ADD_COLUMN_VideoFormat_TEXT
mov eax, dword [ebp - 0x58]
push eax
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.ALTER_TABLE_VideoMetadata_ADD_COLUMN_AudioFormat_TEXT
mov ecx, dword [ebp - 0x58]
push ecx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
mov dword [ebp - 0x58], str.update_DBVersion_Set_version__3.1
mov edx, dword [ebp - 0x58]
push edx
push 1
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439600
push 0x46c184
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP90.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
mov dword [ebp - 0xb2c], eax
mov eax, dword [ebp - 0xb2c]
push eax
push 0
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.004392e0
push str.DB_SCHEMA_DEFINITION_DONE_
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push ecx
call fcn.00414b90
add esp, 8
mov dword [ebp - 0xb30], eax
mov edx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push edx
mov ecx, dword [ebp - 0xb30]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.00438e00
jmp 0x441140
mov dword [ebp - 4], 1
jmp 0x44116d
mov dword [ebp - 0x754], 0
mov byte [ebp - 4], 0
lea eax, [ebp - 0x1c]
call fcn.0040b4e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [ebp - 0x754]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041d40a
mov esp, ebp
pop ebp
ret 0x1c