Function at 0x427130
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x20]
push ebx
sub esp, 0x3c
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [esp], str.winetest_db.msi
call dword [sym.imp.kernel32.dll_DeleteFileW]
sub esp, 4
mov dword [esp + 8], esi
mov dword [esp + 4], str.winetst2_db.msi
mov dword [esp], str.winetest_db.msi
call sub.msi.dll_MsiOpenDatabaseW
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x48
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
cmp ebx, 0x6e
mov dword [esp + 4], str.expected_failure_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 8], esi
mov dword [esp + 4], 0xff
mov dword [esp], str.winetest_db.msi
call sub.msi.dll_MsiOpenDatabaseW
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x4b
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
cmp ebx, 0x57
mov dword [esp + 4], str.expected_failure_n
sete 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 ebx, eax
mov dword [esp + 4], 0x4e
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 4], str.Failed_to_close_database_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 8], esi
mov dword [esp + 4], 3
mov dword [esp], str.winetest_db.msi
call sub.msi.dll_MsiOpenDatabaseW
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x52
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 4], 0x543a1c
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.msi.dll_MsiDatabaseCommit
sub esp, 4
mov ebx, eax
mov dword [esp + 4], 0x55
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 4], 0x543a37
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x57
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
mov ebx, dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov dword [esp], 0x543a7e
call ebx
sub esp, 4
cmp eax, 0xffffffff
setne al
mov dword [esp + 4], str.database_should_exist_n
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 edi, eax
mov dword [esp + 4], 0x5a
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test edi, edi
mov dword [esp + 4], str.Failed_to_close_database_n
sete al
lea edi, [ebp - 0x1c]
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 8], edi
mov dword [esp + 4], str.winetst2_db.msi
mov dword [esp], str.winetest_db.msi
call sub.msi.dll_MsiOpenDatabaseW
sub esp, 0xc
mov dword [ebp - 0x2c], eax
mov dword [esp + 4], 0x5c
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_database_n
test eax, eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x5e
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
mov dword [esp], 0x543abe
call ebx
sub esp, 4
cmp eax, 0xffffffff
setne al
mov dword [esp + 4], str.database_should_exist_n
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.msi.dll_MsiDatabaseCommit
sub esp, 4
mov dword [ebp - 0x2c], eax
mov dword [esp + 4], 0x61
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], 0x543a37
test eax, 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_MsiCloseHandle
sub esp, 4
mov dword [ebp - 0x2c], eax
mov dword [esp + 4], 0x64
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_close_database_n
test eax, eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 8], edi
mov dword [esp + 4], str.winetst2_db.msi
mov dword [esp], str.winetest_db.msi
call sub.msi.dll_MsiOpenDatabaseW
sub esp, 0xc
mov dword [ebp - 0x2c], eax
mov dword [esp + 4], 0x67
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_database_n
test eax, 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_MsiCloseHandle
sub esp, 4
mov dword [ebp - 0x2c], eax
mov dword [esp + 4], 0x6a
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_close_database_n
test eax, eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x6c
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
mov dword [esp], 0x543abe
call ebx
sub esp, 4
cmp eax, 0xffffffff
sete al
mov dword [esp + 4], str.uncommitted_database_should_not_exist_n
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 8], edi
mov dword [esp + 4], str.winetst2_db.msi
mov dword [esp], str.winetest_db.msi
call sub.msi.dll_MsiOpenDatabaseW
sub esp, 0xc
mov edi, eax
mov dword [esp + 4], 0x6f
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test edi, edi
mov dword [esp + 4], str.Failed_to_close_database_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.msi.dll_MsiDatabaseCommit
sub esp, 4
mov edi, eax
mov dword [esp + 4], 0x72
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test edi, edi
mov dword [esp + 4], 0x543a37
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
sub esp, 4
mov edi, eax
mov dword [esp + 4], 0x75
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test edi, edi
mov dword [esp + 4], str.Failed_to_close_database_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x77
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
mov dword [esp], 0x543abe
call ebx
sub esp, 4
cmp eax, 0xffffffff
setne al
mov dword [esp + 4], str.committed_database_should_exist_n
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], str.winetest_db.msi
call sub.msi.dll_MsiOpenDatabaseW
sub esp, 0xc
mov edi, eax
mov dword [esp + 4], 0x7a
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test edi, edi
mov dword [esp + 4], str.Failed_to_open_database_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.msi.dll_MsiDatabaseCommit
sub esp, 4
mov edi, eax
mov dword [esp + 4], 0x7d
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test edi, edi
mov dword [esp + 4], 0x543a37
sete 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 edi, eax
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test edi, edi
mov dword [esp + 4], str.Failed_to_close_database_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 8], esi
mov dword [esp + 4], 2
mov dword [esp], str.winetest_db.msi
call sub.msi.dll_MsiOpenDatabaseW
sub esp, 0xc
mov edi, eax
mov dword [esp + 4], 0x83
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test edi, edi
mov dword [esp + 4], str.Failed_to_open_database_n
sete 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 edi, eax
mov dword [esp + 4], 0x86
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test edi, edi
mov dword [esp + 4], str.Failed_to_close_database_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 8], esi
mov dword [esp + 4], 1
mov dword [esp], str.winetest_db.msi
call sub.msi.dll_MsiOpenDatabaseW
sub esp, 0xc
mov edi, eax
mov dword [esp + 4], 0x89
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test edi, edi
mov dword [esp + 4], str.Failed_to_open_database_n
sete 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 edi, eax
mov dword [esp + 4], 0x8c
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test edi, edi
mov dword [esp + 4], str.Failed_to_close_database_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x8d
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
mov dword [esp], 0x543a7e
call ebx
sub esp, 4
cmp eax, 0xffffffff
setne al
mov dword [esp + 4], str.database_should_exist_n
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 8], esi
mov dword [esp + 4], 3
mov dword [esp], str.winetest_db.msi
call sub.msi.dll_MsiOpenDatabaseW
sub esp, 0xc
mov edi, eax
mov dword [esp + 4], 0x91
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test edi, edi
mov dword [esp + 4], str.Failed_to_open_database_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x93
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
mov dword [esp], 0x543a7e
call ebx
sub esp, 4
cmp eax, 0xffffffff
setne al
mov dword [esp + 4], str.database_should_exist_n
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 edi, eax
mov dword [esp + 4], 0x96
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test edi, edi
mov dword [esp + 4], str.Failed_to_close_database_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x98
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
mov dword [esp], 0x543a7e
call ebx
sub esp, 4
cmp eax, 0xffffffff
sete al
mov dword [esp + 4], str.database_should_exist_n
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 8], esi
mov dword [esp + 4], 3
mov dword [esp], str.winetest_db.msi
call sub.msi.dll_MsiOpenDatabaseW
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x9b
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 4], str.Failed_to_open_database_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.msi.dll_MsiDatabaseCommit
sub esp, 4
mov esi, eax
mov dword [esp + 4], 0x9e
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 4], 0x543a37
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0xa0
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
mov dword [esp], 0x543a7e
call ebx
sub esp, 4
cmp eax, 0xffffffff
setne al
mov dword [esp + 4], str.database_should_exist_n
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 ebx, eax
mov dword [esp + 4], 0xa3
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 4], str.Failed_to_close_database_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov ebx, dword [sym.imp.kernel32.dll_DeleteFileA]
mov dword [esp], 0x543abe
call ebx
sub esp, 4
mov esi, eax
mov dword [esp + 4], 0xa6
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
cmp esi, 1
mov dword [esp + 4], str.Failed_to_delete_database_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp], 0x543a7e
call ebx
sub esp, 4
mov ebx, eax
mov dword [esp + 4], 0xa9
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
cmp ebx, 1
mov dword [esp + 4], str.Failed_to_delete_database_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret