Function at 0x42ec00
Capabilities:
Delete file
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c
call fcn.00427080
mov dword [esp + 4], 0x7ff
mov dword [esp], str..._wine_dlls_msi_tests_db.c
mov ebx, eax
call fcn.0052ae70
mov dword [esp], ebx
mov dword [esp + 4], str.failed_to_create_db_n
call fcn.0052b0e0
xor edx, edx
mov ecx, str.CREATE_TABLE__Media____DiskId__SHORT_NOT_NULL___LastSequence__LONG___DiskPrompt__CHAR_64__LOCALIZABLE___Cabinet__CHAR_255____VolumeLabel__CHAR_32____Source__CHAR_72__PRIMARY_KEY__DiskId__
mov eax, ebx
call fcn.00427af0
mov dword [esp + 4], 0x80a
mov dword [esp], str..._wine_dlls_msi_tests_db.c
mov esi, eax
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.cannot_create_Media_table:__d_n
mov dword [esp], eax
call fcn.0052b0e0
xor edx, edx
mov ecx, str.INSERT_INTO__Media_____DiskId____LastSequence____DiskPrompt____Cabinet____VolumeLabel____Source____VALUES___1__0____zero.cab______
mov eax, ebx
call fcn.00427af0
mov dword [esp + 4], 0x80f
mov dword [esp], str..._wine_dlls_msi_tests_db.c
mov esi, eax
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.cannot_add_file_to_the_Media_table:__d_n
mov dword [esp], eax
call fcn.0052b0e0
xor edx, edx
mov ecx, str.INSERT_INTO__Media_____DiskId____LastSequence____DiskPrompt____Cabinet____VolumeLabel____Source____VALUES___2__1____one.cab______
mov eax, ebx
call fcn.00427af0
mov dword [esp + 4], 0x814
mov dword [esp], str..._wine_dlls_msi_tests_db.c
mov esi, eax
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.cannot_add_file_to_the_Media_table:__d_n
mov dword [esp], eax
call fcn.0052b0e0
xor edx, edx
mov ecx, str.INSERT_INTO__Media_____DiskId____LastSequence____DiskPrompt____Cabinet____VolumeLabel____Source____VALUES___3__2____two.cab______
mov eax, ebx
call fcn.00427af0
mov dword [esp + 4], 0x819
mov dword [esp], str..._wine_dlls_msi_tests_db.c
mov esi, eax
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.cannot_add_file_to_the_Media_table:__d_n
lea esi, [ebp - 0x20]
mov dword [esp], eax
call fcn.0052b0e0
mov ecx, esi
mov edx, 0x545b96
mov eax, ebx
call fcn.00427c20
mov dword [esp + 4], 0x81d
mov dword [esp], str..._wine_dlls_msi_tests_db.c
mov edi, eax
call fcn.0052ae70
xor eax, eax
test edi, edi
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.MsiViewFetch_failed:__d_n
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x20]
mov dword [esp + 0x20], 0x545bc5
mov dword [esp + 0x1c], 0x545bc5
mov dword [esp + 4], eax
mov dword [esp + 0x18], str.zero.cab
mov dword [esp + 0x14], 0x545bc5
mov dword [esp + 0x10], 0x545bcf
mov dword [esp + 0xc], 0x545391
mov dword [esp + 8], 6
mov dword [esp], 0x81e
call fcn.0042ca70
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
mov ecx, esi
mov edx, str.SELECT__FROM__Media__WHERE__LastSequence____1
mov eax, ebx
sub esp, 4
call fcn.00427c20
mov dword [esp + 4], 0x823
mov dword [esp], str..._wine_dlls_msi_tests_db.c
mov edi, eax
call fcn.0052ae70
xor eax, eax
test edi, edi
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.MsiViewFetch_failed:__d_n
lea edi, [ebp - 0x1c]
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x20]
mov dword [esp + 0x20], 0x545bc5
mov dword [esp + 0x1c], 0x545bc5
mov dword [esp + 4], eax
mov dword [esp + 0x18], str.one.cab
mov dword [esp + 0x14], 0x545bc5
mov dword [esp + 0x10], 0x545391
mov dword [esp + 0xc], 0x545c0c
mov dword [esp + 8], 6
mov dword [esp], 0x824
call fcn.0042ca70
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
sub esp, 4
mov dword [esp + 8], edi
mov dword [esp], ebx
mov dword [esp + 4], str.SELECT__DiskId__FROM__Media__WHERE__LastSequence____1_AND_DiskId___0
call sub.msi.dll_MsiDatabaseOpenViewA
sub esp, 0xc
mov dword [ebp - 0x2c], eax
mov dword [esp + 4], 0x829
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], str.failed_to_open_view:__d_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msi.dll_MsiViewExecute
sub esp, 8
mov dword [ebp - 0x2c], eax
mov dword [esp + 4], 0x82c
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], str.failed_to_execute_view:__d_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.msi.dll_MsiViewFetch
sub esp, 8
mov dword [ebp - 0x2c], eax
mov dword [esp + 4], 0x82f
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], str.failed_to_fetch_view:__d_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x20]
mov dword [esp + 0xc], 0x545c0c
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], 0x830
call fcn.0042ca70
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
mov eax, dword [ebp - 0x1c]
sub esp, 4
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.msi.dll_MsiViewFetch
sub esp, 8
mov dword [ebp - 0x2c], eax
mov dword [esp + 4], 0x834
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], str.failed_to_fetch_view:__d_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x20]
mov dword [esp + 0xc], 0x545c57
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], 0x835
call fcn.0042ca70
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
mov eax, dword [ebp - 0x1c]
sub esp, 4
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.msi.dll_MsiViewFetch
sub esp, 8
mov dword [ebp - 0x2c], eax
mov dword [esp + 4], 0x839
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], str.expected_no_more_items:__d_n
cmp eax, 0x103
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.msi.dll_MsiViewClose
mov eax, dword [ebp - 0x1c]
sub esp, 4
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
mov eax, dword [ebp - 0x20]
sub esp, 4
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
mov ecx, esi
mov edx, str.SELECT__FROM__Media__WHERE__DiskPrompt__IS_NULL
mov eax, ebx
sub esp, 4
mov dword [ebp - 0x20], 0
call fcn.00427c20
mov dword [esp + 4], 0x843
mov dword [esp], str..._wine_dlls_msi_tests_db.c
mov dword [ebp - 0x2c], eax
call fcn.0052ae70
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], str.query_failed:__d_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
mov ecx, esi
mov edx, 0x545cbc
mov eax, ebx
sub esp, 4
mov dword [ebp - 0x20], 0
call fcn.00427c20
mov dword [esp + 4], 0x849
mov dword [esp], str..._wine_dlls_msi_tests_db.c
mov dword [ebp - 0x2c], eax
call fcn.0052ae70
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], str.query_failed:__d_n
cmp eax, 0x64f
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
mov ecx, esi
mov edx, str.SELECT__FROM__Media__WHERE__DiskPrompt____Cabinet
mov eax, ebx
sub esp, 4
mov dword [ebp - 0x20], 0
call fcn.00427c20
mov dword [esp + 4], 0x84f
mov dword [esp], str..._wine_dlls_msi_tests_db.c
mov dword [ebp - 0x2c], eax
call fcn.0052ae70
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], str.query_failed:__d_n
cmp eax, 0x64f
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
mov ecx, esi
mov edx, str.SELECT__FROM__Media__WHERE__DiskPrompt_____Cabinet
mov eax, ebx
sub esp, 4
mov dword [ebp - 0x20], 0
call fcn.00427c20
mov dword [esp + 4], 0x855
mov dword [esp], str..._wine_dlls_msi_tests_db.c
mov dword [ebp - 0x2c], eax
call fcn.0052ae70
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], str.query_failed:__d_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
mov ecx, esi
mov edx, str.SELECT__FROM__Media__WHERE__DiskPrompt___Cabinet
mov eax, ebx
sub esp, 4
mov dword [ebp - 0x20], 0
call fcn.00427c20
mov dword [esp + 4], 0x85b
mov dword [esp], str..._wine_dlls_msi_tests_db.c
mov dword [ebp - 0x2c], eax
call fcn.0052ae70
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], str.query_failed:__d_n
cmp eax, 0x103
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
sub esp, 4
mov dword [esp], 1
call sub.msi.dll_MsiCreateRecord
sub esp, 4
mov dword [ebp - 0x20], eax
mov dword [esp + 8], 0x545bc5
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.msi.dll_MsiRecordSetStringA
sub esp, 0xc
mov dword [esp + 8], edi
mov dword [esp], ebx
mov dword [esp + 4], str.SELECT__FROM__Media__WHERE__DiskPrompt____
call sub.msi.dll_MsiDatabaseOpenViewA
sub esp, 0xc
mov edi, eax
mov dword [esp + 4], 0x863
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test edi, edi
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], 0x543d04
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.msi.dll_MsiViewExecute
sub esp, 8
mov edi, eax
mov dword [esp + 4], 0x865
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test edi, edi
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], 0x543d04
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
mov eax, dword [ebp - 0x1c]
sub esp, 4
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.msi.dll_MsiViewFetch
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0x86a
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], 0x543d04
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
mov eax, dword [ebp - 0x1c]
sub esp, 4
mov dword [esp], eax
call sub.msi.dll_MsiViewClose
mov eax, dword [ebp - 0x1c]
sub esp, 4
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
sub esp, 4
mov dword [esp], ebx
call sub.msi.dll_MsiCloseHandle
sub esp, 4
mov dword [esp], 0x543a7e
call dword [sym.imp.kernel32.dll_DeleteFileA]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret