Function at 0x4f1e50
Capabilities:
Access peb ldr_data
Delete file
Get process heap flags
Get process heap force flags
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x14c
call fcn.004d3630
mov dword [esp + 4], 0x94d
mov dword [esp], str..._wine_dlls_msi_tests_package.c
mov ebx, eax
call fcn.0052ae70
mov dword [esp + 4], str.failed_to_create_package_n
mov dword [esp], ebx
call fcn.0052b0e0
lea edx, [ebp - 0x134]
mov eax, ebx
call fcn.004d3c40
cmp eax, 0x659
je 0x4f2840
mov dword [esp + 4], 0x956
mov esi, eax
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], str.failed_to_create_package__u_n
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp], ebx
call sub.msi.dll_MsiCloseHandle
mov eax, dword [ebp - 0x134]
sub esp, 4
mov dword [esp], eax
call sub.msi.dll_MsiGetActiveDatabase
mov edx, str.CREATE_TABLE___Property_____foo__INT_NOT_NULL___bar__INT_LOCALIZABLE_PRIMARY_KEY__foo__
sub esp, 4
mov ebx, eax
call fcn.004d35b0
mov dword [esp + 4], 0x95f
mov dword [esp], str..._wine_dlls_msi_tests_package.c
mov esi, eax
call fcn.0052ae70
xor eax, eax
cmp esi, 0x64f
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.Expected_ERROR_BAD_QUERY_SYNTAX__got__d_n
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp], ebx
call sub.msi.dll_MsiCloseHandle
mov eax, dword [ebp - 0x134]
sub esp, 4
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
mov eax, dword [sym.imp.kernel32.dll_DeleteFileA]
sub esp, 4
mov dword [esp], str.winetest_package.msi
mov dword [ebp - 0x144], eax
call eax
sub esp, 4
call fcn.004d3630
mov dword [esp + 4], 0x966
mov dword [esp], str..._wine_dlls_msi_tests_package.c
mov ebx, eax
call fcn.0052ae70
mov dword [esp + 4], str.failed_to_create_package_n
mov dword [esp], ebx
call fcn.0052b0e0
mov edx, str.CREATE_TABLE___Property_____foo__INT_NOT_NULL___bar__INT_LOCALIZABLE_PRIMARY_KEY__foo__
mov eax, ebx
call fcn.004d35b0
mov dword [esp + 4], 0x96b
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_table_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov edx, str.ALTER___Property__ADD__foo__INTEGER
mov eax, ebx
call fcn.004d35b0
mov dword [esp + 4], 0x96f
mov dword [esp], str..._wine_dlls_msi_tests_package.c
mov esi, eax
call fcn.0052ae70
xor eax, eax
cmp esi, 0x64f
mov dword [esp + 4], str.failed_to_add_column_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov edx, str.ALTER_TABLE___Property__ADD__foo__INTEGER
mov eax, ebx
call fcn.004d35b0
mov dword [esp + 4], 0x973
mov dword [esp], str..._wine_dlls_msi_tests_package.c
mov esi, eax
call fcn.0052ae70
xor eax, eax
cmp esi, 0x64f
mov dword [esp + 4], str.failed_to_add_column_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov edx, str.ALTER_TABLE___Property__ADD__extra__INTEGER
mov eax, ebx
call fcn.004d35b0
mov dword [esp + 4], 0x977
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_add_column_n
sete al
lea esi, [ebp - 0x126]
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x569a23
call fcn.004d3c10
lea eax, [ebp - 0x134]
mov dword [esp], esi
mov dword [esp + 4], eax
call sub.msi.dll_MsiOpenPackageA
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0x97b
mov dword [esp], str..._wine_dlls_msi_tests_package.c
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 4], str.MsiOpenPackage_succeeded_n
setne al
mov dword [esp], eax
call fcn.0052b0e0
test esi, esi
je 0x4f2820
mov dword [esp], ebx
call sub.msi.dll_MsiCloseHandle
sub esp, 4
mov ebx, eax
mov dword [esp + 4], 0x980
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], 0x56dece
mov dword [esp], eax
mov esi, dword fs:[0x18]
call fcn.0052b0e0
call fcn.004d3630
mov dword [esp + 4], 0x983
mov dword [esp], str..._wine_dlls_msi_tests_package.c
mov ebx, eax
call fcn.0052ae70
mov dword [esp], ebx
mov dword [esp + 4], str.failed_to_create_package_database_n
call fcn.0052b0e0
mov eax, ebx
call fcn.004d38a0
mov dword [esp + 8], 0x47
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x13c], eax
call eax
sub esp, 0xc
mov edi, eax
mov dword [esp + 8], str.prop__val
mov dword [esp + 4], str.INSERT_INTO__Property____Property____Value___VALUES___s__
mov dword [esp], eax
call fcn.004d3c10
mov edx, edi
mov eax, ebx
call fcn.004d35b0
mov dword [esp + 8], edi
mov ecx, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x148], eax
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x140], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ecx
sub esp, 0xc
mov dword [esp + 4], 0x986
mov dword [esp], str..._wine_dlls_msi_tests_package.c
call fcn.0052ae70
mov edx, dword [ebp - 0x148]
xor eax, eax
mov dword [esp + 8], 0x569043
mov dword [esp + 4], str.failed_to_insert_into__s_table:__u_n
test edx, edx
mov dword [esp + 0xc], edx
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, ebx
call fcn.004d38f0
mov dword [esp + 8], 0x71
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x13c]
call eax
sub esp, 0xc
mov edi, eax
mov dword [esp + 8], str.EmbedNull__51__prop2____np
mov dword [esp + 4], str.INSERT_INTO__CustomAction_____Action____Type____Source____Target___VALUES___s__
mov dword [esp], eax
call fcn.004d3c10
mov edx, edi
mov eax, ebx
call fcn.004d35b0
mov dword [esp + 8], edi
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x148], eax
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ecx
sub esp, 0xc
mov dword [esp + 4], 0x989
mov dword [esp], str..._wine_dlls_msi_tests_package.c
call fcn.0052ae70
mov edx, dword [ebp - 0x148]
xor eax, eax
mov dword [esp + 8], str.CustomAction
mov dword [esp + 4], str.failed_to_insert_into__s_table:__u_n
test edx, edx
mov dword [esp + 0xc], edx
sete al
mov dword [esp], eax
call fcn.0052b0e0
lea edx, [ebp - 0x134]
mov eax, ebx
call fcn.004d3c40
mov dword [esp + 4], 0x98c
mov dword [esp], str..._wine_dlls_msi_tests_package.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.failed_to_create_package__u_n
lea edi, [ebp - 0x12c]
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp], ebx
call sub.msi.dll_MsiCloseHandle
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x12c], 0x104
sub esp, 4
mov dword [esp + 0xc], edi
lea edi, [ebp - 0x11c]
mov dword [esp + 8], edi
mov dword [esp + 4], str.prop
mov dword [esp], eax
call sub.msi.dll_MsiGetPropertyA
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], 0x992
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 dword [esp + 4], 0x993
mov dword [esp], str..._wine_dlls_msi_tests_package.c
call fcn.0052ae70
mov dword [esp], edi
mov dword [esp + 4], 0x56df1f
call dword [sym.imp.kernel32.dll_lstrcmpA]
sub esp, 8
test eax, eax
sete al
mov dword [esp + 8], edi
movzx eax, al
mov dword [esp + 4], str.Expected_val__got__s_n
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x134]
mov dword [esp], eax
call sub.msi.dll_MsiGetActiveDatabase
mov ecx, 0x56df1f
mov edx, str.prop
sub esp, 4
mov ebx, eax
mov dword [esp], 0xffffffff
call fcn.004d4ae0
mov dword [esp + 4], 0x998
mov dword [esp], str..._wine_dlls_msi_tests_package.c
mov edi, eax
call fcn.0052ae70
mov dword [esp], edi
mov dword [esp + 4], str.prop_should_be_in_the__Property_table_n
call fcn.0052b0e0
mov dword [esp + 8], 0x4e
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x13c]
call eax
sub esp, 0xc
mov edi, eax
mov dword [esp + 8], str.dantes__mercedes
mov dword [esp + 4], str.INSERT_INTO__Property____Property____Value___VALUES___s__
mov dword [esp], eax
call fcn.004d3c10
mov edx, edi
mov eax, ebx
call fcn.004d35b0
mov dword [esp + 8], edi
mov ecx, dword [ebp - 0x140]
lea edi, [ebp - 0x11c]
mov dword [ebp - 0x13c], eax
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ecx
sub esp, 0xc
mov dword [esp + 4], 0x99a
mov dword [esp], str..._wine_dlls_msi_tests_package.c
call fcn.0052ae70
mov edx, dword [ebp - 0x13c]
xor eax, eax
mov dword [esp + 8], 0x569043
mov dword [esp + 4], str.failed_to_insert_into__s_table:__u_n
test edx, edx
mov dword [esp + 0xc], edx
sete al
mov dword [esp], eax
call fcn.0052b0e0
lea ecx, [ebp - 0x130]
mov edx, str.SELECT__FROM___Property__WHERE__Property___dantes
mov eax, ebx
call fcn.004d4160
mov dword [esp + 4], 0x99e
mov dword [esp], str..._wine_dlls_msi_tests_package.c
mov esi, eax
call fcn.0052ae70
xor eax, eax
cmp esi, 0x64f
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.Expected_ERROR_BAD_QUERY_SYNTAX__got__d_n
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp], 0xffffffff
mov ecx, str.mercedes
mov eax, ebx
mov edx, str.dantes
call fcn.004d4ae0
mov dword [esp + 4], 0x9a1
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.dantes_should_not_be_in_the__Property_table_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
lea eax, [ebp - 0x12c]
mov dword [esp + 4], str.dantes
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x11c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x12c], 0x104
mov dword [esp], eax
mov dword [ebp - 0x11c], 0x616161
call sub.msi.dll_MsiGetPropertyA
sub esp, 0x10
mov esi, eax
mov dword [esp + 4], 0x9a6
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 dword [esp + 4], 0x9a7
mov dword [esp], str..._wine_dlls_msi_tests_package.c
call fcn.0052ae70
lea eax, [ebp - 0x11c]
mov dword [esp + 4], str.Expected_empty_string__got__s_n
mov dword [esp + 8], eax
xor eax, eax
cmp byte [ebp - 0x11c], 0
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x134]
mov dword [esp + 8], str.mercedes
mov dword [esp + 4], str.dantes
mov dword [esp], eax
call sub.msi.dll_MsiSetPropertyA
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x9aa
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 dword [esp], 0xffffffff
mov edx, str.dantes
mov eax, ebx
mov ecx, str.mercedes
call fcn.004d4ae0
mov dword [esp + 4], 0x9ad
mov dword [esp], str..._wine_dlls_msi_tests_package.c
mov esi, eax
call fcn.0052ae70
xor eax, eax
cmp esi, 1
mov dword [esp + 4], str.dantes_should_be_in_the__Property_table_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x134]
mov dword [esp + 4], str.EmbedNull
mov dword [esp], eax
call sub.msi.dll_MsiDoActionA
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0x9b0
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], str.EmbedNull_failed:__d_n
mov dword [esp], eax
call fcn.0052b0e0
mov eax, 0x61616161
mov ecx, 0x41
mov dword [ebp - 0x12c], 0x104
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x12c]
mov dword [esp + 4], str.prop2
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x11c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x134]
mov dword [esp], eax
call sub.msi.dll_MsiGetPropertyA
sub esp, 0x10
mov esi, eax
mov dword [esp + 4], 0x9b5
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], str.get_property_failed:__d_n
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x9b6
mov dword [esp], str..._wine_dlls_msi_tests_package.c
call fcn.0052ae70
xor eax, eax
mov dword [esp + 4], str.wrong_value_n
cmp dword [ebp - 0x11c], 0x706e00
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x9b7
mov dword [esp], str..._wine_dlls_msi_tests_package.c
call fcn.0052ae70
mov eax, dword [ebp - 0x12c]
mov dword [esp + 4], 0x56e06c
cmp eax, 3
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp], 3
mov ecx, 0x56e074
mov eax, ebx
mov edx, str.prop2
call fcn.004d4ae0
mov dword [esp + 4], 0x9ba
mov dword [esp], str..._wine_dlls_msi_tests_package.c
mov esi, eax
call fcn.0052ae70
xor eax, eax
cmp esi, 1
mov dword [esp + 4], str.prop2_should_be_in_the__Property_table_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp], ebx
call sub.msi.dll_MsiCloseHandle
mov eax, dword [ebp - 0x134]
sub esp, 4
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
mov eax, dword [ebp - 0x144]
sub esp, 4
mov dword [esp], str.winetest_package.msi
call eax
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x134]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
sub esp, 4
jmp 0x4f20db
mov dword [esp + 4], 0x952
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
mov dword [esp], str.winetest_package.msi
call dword [sym.imp.kernel32.dll_DeleteFileA]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret