Function at 0x42baa0
Capabilities:
Delete file
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x20]
push ebx
sub esp, 0x3c
mov edi, dword [sym.imp.kernel32.dll_DeleteFileA]
mov dword [esp], 0x543a7e
call edi
lea eax, [ebp - 0x24]
sub esp, 4
mov dword [esp + 8], eax
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], 0x1842
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], 0x543d04
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x24]
xor edx, edx
mov ecx, str.CREATE_TABLE__Table_____A__SHORT_PRIMARY_KEY__A___
call fcn.00427af0
mov dword [esp + 4], 0x1846
mov dword [esp], str..._wine_dlls_msi_tests_db.c
mov ebx, eax
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], 0x543d04
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x24]
mov dword [esp + 8], esi
mov dword [esp + 4], str.SELECT__FROM__Table_
mov dword [esp], eax
call sub.msi.dll_MsiDatabaseOpenViewA
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x184a
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], 0x543d04
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msi.dll_MsiViewExecute
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x184c
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], 0x543d04
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp], 1
call sub.msi.dll_MsiCreateRecord
sub esp, 4
mov dword [ebp - 0x1c], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.msi.dll_MsiRecordSetInteger
mov eax, dword [ebp - 0x1c]
sub esp, 0xc
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.msi.dll_MsiViewModify
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x1852
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], 0x543d04
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 [esp], 1
call sub.msi.dll_MsiCreateRecord
sub esp, 4
mov dword [ebp - 0x1c], eax
mov dword [esp + 8], 2
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.msi.dll_MsiRecordSetInteger
mov eax, dword [ebp - 0x1c]
sub esp, 0xc
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], 7
mov dword [esp], eax
call sub.msi.dll_MsiViewModify
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x185a
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], 0x543d04
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 [esp], 1
call sub.msi.dll_MsiCreateRecord
sub esp, 4
mov dword [ebp - 0x1c], eax
mov dword [esp + 8], 3
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.msi.dll_MsiRecordSetInteger
mov eax, dword [ebp - 0x1c]
sub esp, 0xc
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.msi.dll_MsiViewModify
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x1862
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], 0x543d04
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 [esp], 1
call sub.msi.dll_MsiCreateRecord
sub esp, 4
mov dword [ebp - 0x1c], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.msi.dll_MsiRecordSetInteger
mov eax, dword [ebp - 0x1c]
sub esp, 0xc
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], 7
mov dword [esp], eax
call sub.msi.dll_MsiViewModify
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x186a
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], 0x543d04
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x1c]
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_MsiViewClose
mov eax, dword [ebp - 0x20]
sub esp, 4
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
mov eax, dword [ebp - 0x24]
sub esp, 4
mov dword [esp + 8], esi
mov dword [esp + 4], str.SELECT__FROM__Table__WHERE___A___2
mov dword [esp], eax
call sub.msi.dll_MsiDatabaseOpenViewA
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x1872
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], 0x543d04
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msi.dll_MsiViewExecute
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x1874
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], 0x543d04
lea ebx, [ebp - 0x1c]
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.msi.dll_MsiViewFetch
sub esp, 8
mov dword [ebp - 0x2c], eax
mov dword [esp + 4], 0x1876
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], 0x543d04
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], 6
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.msi.dll_MsiViewModify
sub esp, 0xc
mov dword [ebp - 0x2c], eax
mov dword [esp + 4], 0x1879
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], 0x543d04
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], eax
call sub.msi.dll_MsiCloseHandle
mov eax, dword [ebp - 0x20]
sub esp, 4
mov dword [esp], eax
call sub.msi.dll_MsiViewClose
mov eax, dword [ebp - 0x20]
sub esp, 4
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
mov eax, dword [ebp - 0x24]
sub esp, 4
mov dword [esp + 8], esi
mov dword [esp + 4], str.SELECT__FROM__Table__WHERE___A___3
mov dword [esp], eax
call sub.msi.dll_MsiDatabaseOpenViewA
sub esp, 0xc
mov dword [ebp - 0x2c], eax
mov dword [esp + 4], 0x1881
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], 0x543d04
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 + 4], 0
mov dword [esp], eax
call sub.msi.dll_MsiViewExecute
sub esp, 8
mov dword [ebp - 0x2c], eax
mov dword [esp + 4], 0x1883
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], 0x543d04
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 + 4], ebx
mov dword [esp], eax
call sub.msi.dll_MsiViewFetch
sub esp, 8
mov dword [ebp - 0x2c], eax
mov dword [esp + 4], 0x1885
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], 0x543d04
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], 6
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.msi.dll_MsiViewModify
sub esp, 0xc
mov dword [ebp - 0x2c], eax
mov dword [esp + 4], 0x1888
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], 0x543d04
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], eax
call sub.msi.dll_MsiCloseHandle
mov eax, dword [ebp - 0x20]
sub esp, 4
mov dword [esp], eax
call sub.msi.dll_MsiViewClose
mov eax, dword [ebp - 0x20]
sub esp, 4
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
mov eax, dword [ebp - 0x24]
sub esp, 4
mov dword [esp + 8], esi
mov dword [esp + 4], str.SELECT__FROM__Table__ORDER_BY__A_
mov dword [esp], eax
call sub.msi.dll_MsiDatabaseOpenViewA
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x1890
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 + 4], 0
mov dword [esp], eax
call sub.msi.dll_MsiViewExecute
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0x1892
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 + 4], ebx
mov dword [esp], eax
call sub.msi.dll_MsiViewFetch
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0x1895
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 - 0x1c]
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.msi.dll_MsiRecordGetInteger
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0x1898
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
cmp esi, 1
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], 0x544d74
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
mov eax, dword [ebp - 0x20]
sub esp, 4
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.msi.dll_MsiViewFetch
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0x189d
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 - 0x1c]
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.msi.dll_MsiRecordGetInteger
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0x18a0
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
cmp esi, 4
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], 0x544db0
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
mov eax, dword [ebp - 0x20]
sub esp, 4
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.msi.dll_MsiViewFetch
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x18a5
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
cmp ebx, 0x103
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], 0x543f9c
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.msi.dll_MsiViewClose
mov eax, dword [ebp - 0x20]
sub esp, 4
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
mov eax, dword [ebp - 0x24]
sub esp, 4
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
sub esp, 4
mov dword [esp], 0x543a7e
call edi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret