Function at 0x4dd160
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea eax, [ebp - 0x2c]
push ebx
sub esp, 0x4c
mov dword [ebp - 0x30], 0
mov dword [esp + 4], eax
mov dword [esp], 0
mov dword [ebp - 0x2c], 0x64
call sub.msi.dll_MsiOpenPackageA
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0xa0d
mov dword [esp], str..._wine_dlls_msi_tests_package.c
call fcn.0052ae70
xor eax, eax
cmp ebx, 0x57
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], 0x567e30
mov dword [esp], eax
call fcn.0052b0e0
lea eax, [ebp - 0x2c]
mov dword [esp], 0x567e5a
mov dword [esp + 4], eax
call sub.msi.dll_MsiOpenPackageA
sub esp, 8
cmp eax, 0x659
je 0x4dd723
mov esi, dword [str.windows]
mov edi, 0x568d47
mov ecx, 5
mov ebx, eax
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b250
jmp 0x4dd244
mov dword [esp + 4], 0xa18
mov dword [esp], str..._wine_dlls_msi_tests_package.c
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], 0x567e84
mov dword [esp], eax
call fcn.0052b0e0
call fcn.0052b2a0
call fcn.0052b280
test eax, eax
jne 0x4dd210
test ebx, ebx
je 0x4dd710
lea eax, [ebp - 0x2c]
mov dword [esp], 0x5693e4
lea edi, [ebp - 0x30]
mov dword [esp + 4], eax
call sub.msi.dll_MsiOpenPackageA
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0xa20
mov dword [esp], str..._wine_dlls_msi_tests_package.c
call fcn.0052ae70
xor eax, eax
cmp ebx, 2
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], 0x5693f0
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0
mov dword [esp], str.winetest_package.msi
call sub.msi.dll_MsiOpenPackageA
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0xa24
mov dword [esp], str..._wine_dlls_msi_tests_package.c
call fcn.0052ae70
xor eax, eax
cmp ebx, 0x57
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], 0x567e30
lea ebx, [ebp - 0x22]
mov dword [esp], eax
call fcn.0052b0e0
mov eax, 0x23
mov dword [esp], ebx
mov word [ebp - 0x22], ax
lea eax, [ebp - 0x2c]
mov dword [esp + 4], eax
call sub.msi.dll_MsiOpenPackageA
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0xa29
mov dword [esp], str..._wine_dlls_msi_tests_package.c
call fcn.0052ae70
xor eax, eax
cmp esi, 6
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.Expected_ERROR_INVALID_HANDLE__got__d_n
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 8], edi
mov dword [esp + 4], 3
mov dword [esp], 0x585920
call sub.msi.dll_MsiOpenDatabaseW
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0xa2c
mov dword [esp], str..._wine_dlls_msi_tests_package.c
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], 0x567e84
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x30]
mov dword [esp], ebx
mov dword [esp + 4], 0x569417
mov dword [esp + 8], eax
call fcn.004d3c10
lea eax, [ebp - 0x2c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msi.dll_MsiOpenPackageA
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0xa31
mov dword [esp], str..._wine_dlls_msi_tests_package.c
call fcn.0052ae70
xor eax, eax
cmp esi, 0x654
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.Expected_ERROR_INSTALL_PACKAGE_INVALID__got__d_n
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x30]
mov edx, str.CREATE_TABLE__Property_____Property__CHAR_72____Value__CHAR_0__PRIMARY_KEY__Property__
call fcn.004dd0b0
mov dword [esp + 4], 0xa38
mov dword [esp], str..._wine_dlls_msi_tests_package.c
mov esi, eax
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 4], str.failed_to_create_Properties_table_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x30]
mov edx, str.CREATE_TABLE__InstallExecuteSequence____Action__CHAR_72____Condition__CHAR_0____Sequence__INTEGER_PRIMARY_KEY__Action__
call fcn.004dd0b0
mov dword [esp + 4], 0xa3e
mov dword [esp], str..._wine_dlls_msi_tests_package.c
mov esi, eax
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 4], str.failed_to_create_InstallExecuteSequence_table_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x30]
mov dword [esp], ebx
mov dword [esp + 4], 0x569417
mov dword [esp + 8], eax
call fcn.004d3c10
lea eax, [ebp - 0x2c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msi.dll_MsiOpenPackageA
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0xa43
mov dword [esp], str..._wine_dlls_msi_tests_package.c
call fcn.0052ae70
xor eax, eax
cmp esi, 0x654
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.Expected_ERROR_INSTALL_PACKAGE_INVALID__got__d_n
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
mov esi, dword [sym.imp.kernel32.dll_DeleteFileA]
sub esp, 4
mov dword [esp], str.winetest_package.msi
call esi
sub esp, 4
mov dword [esp + 8], edi
mov dword [esp + 4], 3
mov dword [esp], 0x585920
call sub.msi.dll_MsiOpenDatabaseW
sub esp, 0xc
mov edi, eax
mov dword [esp + 4], 0xa4b
mov dword [esp], str..._wine_dlls_msi_tests_package.c
call fcn.0052ae70
xor eax, eax
test edi, edi
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], 0x567e84
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x30]
mov dword [esp], ebx
mov dword [esp + 4], 0x569417
mov dword [esp + 8], eax
call fcn.004d3c10
lea eax, [ebp - 0x28]
mov dword [esp + 8], 1
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msi.dll_MsiGetSummaryInformationA
sub esp, 0x10
mov edi, eax
mov dword [esp + 4], 0x9f9
mov dword [esp], str..._wine_dlls_msi_tests_package.c
call fcn.0052ae70
xor eax, eax
test edi, edi
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], 0x567e84
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x28]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x64
mov dword [esp + 8], 3
mov dword [esp + 4], 0xe
mov dword [esp], eax
call sub.msi.dll_MsiSummaryInfoSetPropertyA
sub esp, 0x18
mov edi, eax
mov dword [esp + 4], 0x9fc
mov dword [esp], str..._wine_dlls_msi_tests_package.c
call fcn.0052ae70
xor eax, eax
test edi, edi
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.Expected_ERROR_SUCCESS__got__u_n
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call sub.msi.dll_MsiSummaryInfoPersist
sub esp, 4
mov edi, eax
mov dword [esp + 4], 0x9ff
mov dword [esp], str..._wine_dlls_msi_tests_package.c
call fcn.0052ae70
xor eax, eax
test edi, edi
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.Expected_ERROR_SUCCESS__got__u_n
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
lea eax, [ebp - 0x2c]
sub esp, 4
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msi.dll_MsiOpenPackageA
sub esp, 8
mov edi, eax
mov dword [esp + 4], 0xa56
mov dword [esp], str..._wine_dlls_msi_tests_package.c
call fcn.0052ae70
xor eax, eax
cmp edi, 0x654
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.Expected_ERROR_INSTALL_PACKAGE_INVALID__got__d_n
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x30]
mov edx, str.004757CD_5092_49C2_AD20_28E1CE0DF5F2
call fcn.004dcf90
lea eax, [ebp - 0x2c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msi.dll_MsiOpenPackageA
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0xa5b
mov dword [esp], str..._wine_dlls_msi_tests_package.c
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], 0x567e84
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
mov eax, dword [ebp - 0x30]
sub esp, 4
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
sub esp, 4
mov dword [esp], str.winetest_package.msi
call esi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
sub esp, 4
jmp 0x4dd255
mov dword [esp + 4], 0xa13
mov dword [esp], str..._wine_dlls_msi_tests_package.c
call fcn.0052ae70
mov dword [esp], str.Not_enough_rights_to_perform_tests_n
call fcn.0052b1d0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret