Function at 0x43e640
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea ebx, [ebp - 0x22c]
sub esp, 0x24c
mov dword [ebp - 0x22c], 0
mov dword [esp + 8], ebx
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], 0x735
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 - 0x22c]
xor edx, edx
mov ecx, str.CREATE_TABLE__Binary_____Name__CHAR_72__NOT_NULL___ID__INT_NOT_NULL___Data__OBJECT__PRIMARY_KEY__Name____ID__
call fcn.00427af0
mov dword [esp + 4], 0x739
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_Binary_table:__d_n
mov dword [esp], eax
call fcn.0052b0e0
mov edx, str.test.txt
xor ecx, ecx
mov eax, edx
call fcn.0043ca00
mov dword [esp], 1
call sub.msi.dll_MsiCreateRecord
sub esp, 4
mov dword [ebp - 0x228], eax
mov dword [esp + 8], str.test.txt
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.msi.dll_MsiRecordSetStreamA
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x73e
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], str.Failed_to_add_stream_data_to_the_record:__d_n
mov dword [esp], eax
call fcn.0052b0e0
mov edi, dword [sym.imp.kernel32.dll_DeleteFileA]
mov dword [esp], str.test.txt
call edi
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x22c]
mov ecx, str.INSERT_INTO__Binary_____Name____ID____Data____VALUES___encryption.dll.CB4E6205_F99A_4C51_ADD4_184506EFAB87__10000_____
sub esp, 4
call fcn.00427af0
mov dword [esp + 4], 0x744
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.Insert_into_Binary_table_failed:__d_n
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x228]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
sub esp, 4
mov esi, eax
mov dword [esp + 4], 0x747
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_close_record_handle_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x22c]
mov dword [esp], eax
call sub.msi.dll_MsiDatabaseCommit
sub esp, 4
mov esi, eax
mov dword [esp + 4], 0x74a
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
cmp esi, 0x65b
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], 0x544b42
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x22c]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
sub esp, 4
mov esi, eax
mov dword [esp + 4], 0x74d
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_close_database_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 8], ebx
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], 0x750
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 - 0x22c]
xor edx, edx
mov ecx, str.CREATE_TABLE__Binary_____Name__CHAR_72__NOT_NULL___ID__INT_NOT_NULL___Data__OBJECT__PRIMARY_KEY__Name____ID__
call fcn.00427af0
mov dword [esp + 4], 0x754
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_Binary_table:__d_n
mov dword [esp], eax
call fcn.0052b0e0
mov edx, str.test.txt
xor ecx, ecx
mov eax, edx
call fcn.0043ca00
mov dword [esp], 1
call sub.msi.dll_MsiCreateRecord
sub esp, 4
mov dword [ebp - 0x228], eax
mov dword [esp + 8], str.test.txt
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.msi.dll_MsiRecordSetStreamA
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x759
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], str.Failed_to_add_stream_data_to_the_record:__d_n
mov dword [esp], eax
call fcn.0052b0e0
mov dword [ebp - 0x240], edi
mov dword [esp], str.test.txt
call edi
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x22c]
mov ecx, str.INSERT_INTO__Binary_____Name____ID____Data____VALUES___filename1__1_____
sub esp, 4
call fcn.00427af0
mov dword [esp + 4], 0x75e
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.Insert_into_Binary_table_failed:__d_n
mov dword [esp], eax
call fcn.0052b0e0
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x22c]
mov ecx, str.INSERT_INTO__Binary_____Name____ID____Data____VALUES___filename1__1_____
call fcn.00427af0
mov dword [esp + 4], 0x762
mov dword [esp], str..._wine_dlls_msi_tests_db.c
mov esi, eax
call fcn.0052ae70
xor eax, eax
cmp esi, 0x65b
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], 0x544b42
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x228]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
sub esp, 4
mov esi, eax
mov dword [esp + 4], 0x765
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_close_record_handle_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x22c]
mov dword [esp], eax
call sub.msi.dll_MsiDatabaseCommit
sub esp, 4
mov esi, eax
mov dword [esp + 4], 0x768
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 eax, dword [ebp - 0x22c]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
sub esp, 4
mov esi, eax
mov dword [esp + 4], 0x76b
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_close_database_n
sete al
lea esi, [ebp - 0x220]
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], str.winetest_db.msi
call sub.msi.dll_MsiOpenDatabaseW
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x76f
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_open_database_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x22c]
mov edx, 0x549343
lea ecx, [ebp - 0x228]
call fcn.00427c20
mov dword [esp + 4], 0x773
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], str.SELECT_query_failed:__d_n
mov dword [esp], eax
call fcn.0052b0e0
lea eax, [ebp - 0x224]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x228]
mov dword [esp + 4], 1
mov dword [esp], eax
mov dword [ebp - 0x224], 0x104
call sub.msi.dll_MsiRecordGetStringA
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], 0x777
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], str.Failed_to_get_string:__d_n
lea ebx, [ebp - 0x11c]
mov dword [esp], eax
mov edi, ebx
call fcn.0052b0e0
mov dword [esp + 4], 0x778
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
mov eax, dword [sym.imp.kernel32.dll_lstrcmpA]
mov dword [esp], esi
mov dword [esp + 4], str.Binary.filename1.1
mov dword [ebp - 0x23c], eax
call eax
sub esp, 8
test eax, eax
sete al
mov dword [esp + 8], esi
movzx eax, al
mov dword [esp + 4], str.Expected_Binary.filename1.1__got__s_n
mov dword [esp], eax
call fcn.0052b0e0
xor eax, eax
mov ecx, 0x41
mov dword [ebp - 0x224], 0x104
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x228]
lea ecx, [ebp - 0x224]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 4], 2
mov dword [esp], eax
call sub.msi.dll_MsiRecordReadStream
sub esp, 0x10
mov edi, eax
mov dword [esp + 4], 0x77d
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], str.Failed_to_get_stream:__d_n
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x77e
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
mov edx, dword [ebp - 0x23c]
mov dword [esp], ebx
mov dword [esp + 4], str.test.txt_n
call edx
sub esp, 8
test eax, eax
sete al
mov dword [esp + 8], ebx
movzx eax, al
mov dword [esp + 4], str.Expected_test.txt_n__got__s_n
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x228]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
sub esp, 4
mov edi, eax
mov dword [esp + 4], 0x781
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_record_handle_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x22c]
mov edx, str.SELECT__FROM__Binary_
lea ecx, [ebp - 0x228]
call fcn.00427c20
mov dword [esp + 4], 0x786
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.SELECT_query_failed:__d_n
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x228]
lea ecx, [ebp - 0x224]
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 4], 1
mov dword [esp], eax
mov dword [ebp - 0x224], 0x104
call sub.msi.dll_MsiRecordGetStringA
sub esp, 0x10
mov edi, eax
mov dword [esp + 4], 0x78a
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], str.Failed_to_get_string:__d_n
mov edi, ebx
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x78b
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
mov edx, dword [ebp - 0x23c]
mov dword [esp], esi
mov dword [esp + 4], str.filename1
call edx
sub esp, 8
test eax, eax
sete al
mov dword [esp + 8], esi
movzx eax, al
mov dword [esp + 4], str.Expected_filename1__got__s_n
mov dword [esp], eax
call fcn.0052b0e0
xor eax, eax
mov ecx, 0x41
mov dword [ebp - 0x224], 0x104
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x228]
lea ecx, [ebp - 0x224]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 4], 3
mov dword [esp], eax
call sub.msi.dll_MsiRecordReadStream
sub esp, 0x10
mov esi, eax
mov dword [esp + 4], 0x790
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], str.Failed_to_get_stream:__d_n
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x791
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
mov edx, dword [ebp - 0x23c]
mov dword [esp], ebx
mov dword [esp + 4], str.test.txt_n
call edx
sub esp, 8
test eax, eax
sete al
mov dword [esp + 8], ebx
movzx eax, al
mov dword [esp + 4], str.Expected_test.txt_n__got__s_n
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x228]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
sub esp, 4
mov ebx, eax
mov dword [esp + 4], 0x794
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_record_handle_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x22c]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
sub esp, 4
mov ebx, eax
mov dword [esp + 4], 0x797
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 edi, dword [ebp - 0x240]
mov dword [esp], 0x543a7e
call edi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret