Function at 0x428580
Capabilities:
Delete file
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, 0x54423e
push esi
push ebx
sub esp, 0x9c
mov eax, dword [sym.imp.kernel32.dll_DeleteFileA]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [esp], 0x543a7e
mov dword [ebp - 0x8c], eax
call eax
lea eax, [ebp - 0x7c]
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], 0x15b
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 4], 0x544021
sete al
mov dword [esp], eax
call fcn.0052b0e0
lea eax, [ebp - 0x78]
mov dword [esp + 4], str.CREATE_TABLE__phone_____id__INT___name__CHAR_32____number__CHAR_32__PRIMARY_KEY__id__
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x7c]
mov dword [esp], eax
call sub.msi.dll_MsiDatabaseOpenViewA
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x162
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 4], 0x544092
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x78]
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msi.dll_MsiViewExecute
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x164
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 4], 0x5440ae
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
call sub.msi.dll_MsiViewClose
sub esp, 4
mov ebx, eax
mov dword [esp + 4], 0x166
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 4], 0x5440c5
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
sub esp, 4
mov ebx, eax
mov dword [esp + 4], 0x168
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 4], 0x5440da
sete al
mov dword [esp], eax
call fcn.0052b0e0
lea eax, [ebp - 0x74]
mov dword [esp + 4], str.SELECT__FROM_phone_WHERE_number__8675309
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x7c]
mov dword [esp], eax
call sub.msi.dll_MsiDatabaseOpenViewA
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x16c
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 4], 0x544092
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x74]
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msi.dll_MsiViewExecute
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x16e
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 4], 0x5440ae
sete al
lea ebx, [ebp - 0x70]
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x74]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.msi.dll_MsiViewFetch
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0x170
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
cmp esi, 0x103
mov dword [esp + 4], str.MsiViewFetch_produced_items_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
lea eax, [ebp - 0x78]
mov dword [esp + 4], str.INSERT_INTO__phone_____id____name____number___VALUES_1__Abe__8675309_
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x7c]
mov dword [esp], eax
call sub.msi.dll_MsiDatabaseOpenViewA
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x176
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 4], 0x544092
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x78]
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msi.dll_MsiViewExecute
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0x178
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 4], 0x5440ae
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
call sub.msi.dll_MsiViewClose
sub esp, 4
mov esi, eax
mov dword [esp + 4], 0x17a
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 4], 0x5440c5
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
sub esp, 4
mov esi, eax
mov dword [esp + 4], 0x17c
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 4], 0x5440da
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x74]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.msi.dll_MsiViewFetch
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0x17f
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
cmp esi, 0x103
mov dword [esp + 4], str.MsiViewFetch_produced_items_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x74]
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msi.dll_MsiViewExecute
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0x181
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 4], 0x5440ae
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x74]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.msi.dll_MsiViewFetch
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0x183
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.MsiViewFetch_failed:__u_n
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x70]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
sub esp, 4
mov esi, eax
mov dword [esp + 4], 0x186
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 4], 0x5440da
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x74]
mov dword [esp], eax
call sub.msi.dll_MsiViewClose
sub esp, 4
mov esi, eax
mov dword [esp + 4], 0x188
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 4], 0x5440c5
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x74]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
sub esp, 4
mov esi, eax
mov dword [esp + 4], 0x18a
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 4], 0x5440da
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x7c]
mov ecx, ebx
mov edx, str.SELECT__FROM__phone__WHERE__id___1
call fcn.00427c20
mov dword [esp + 4], 0x18e
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 + 4], str.MsiViewFetch_failed_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x70]
mov dword [esp], eax
call sub.msi.dll_MsiRecordGetFieldCount
sub esp, 4
mov esi, eax
mov dword [esp + 4], 0x192
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
cmp esi, 3
mov dword [esp + 4], str.record_count_wrong_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x70]
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msi.dll_MsiRecordIsNull
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0x195
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 4], str.field_0_not_null_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x70]
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.msi.dll_MsiRecordGetInteger
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0x198
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
cmp esi, 1
mov dword [esp + 4], str.field_1_contents_wrong_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
lea eax, [ebp - 0x68]
lea edx, [ebp - 0x6c]
mov dword [esp + 4], 2
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x70]
mov dword [esp + 0xc], edx
mov dword [esp], eax
mov dword [ebp - 0x6c], 0x50
call sub.msi.dll_MsiRecordGetStringA
sub esp, 0x10
mov esi, eax
mov dword [esp + 4], 0x19b
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 4], str.field_2_content_fetch_failed_n
sete al
lea esi, [ebp - 0x68]
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x19c
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
mov ecx, 4
repe cmpsb byte [esi], byte es:[edi]
mov dword [esp + 4], str.field_2_content_incorrect_n
mov edi, str.8675309
seta al
sbb al, 0
test al, al
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
lea eax, [ebp - 0x68]
lea edx, [ebp - 0x6c]
mov dword [esp + 4], 3
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x70]
mov dword [esp + 0xc], edx
mov dword [esp], eax
mov dword [ebp - 0x6c], 0x50
call sub.msi.dll_MsiRecordGetStringA
sub esp, 0x10
mov esi, eax
mov dword [esp + 4], 0x19f
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 4], str.field_3_content_fetch_failed_n
sete al
lea esi, [ebp - 0x68]
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x1a0
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
mov ecx, 8
repe cmpsb byte [esi], byte es:[edi]
mov dword [esp + 4], str.field_3_content_incorrect_n
seta al
sbb al, 0
test al, al
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x70]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
sub esp, 4
mov esi, eax
mov dword [esp + 4], 0x1a3
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 4], 0x5440da
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x7c]
mov ecx, ebx
mov edx, 0x5442a0
mov dword [ebp - 0x70], 0x64
call fcn.00427c20
mov dword [esp + 4], 0x1a9
mov dword [esp], str..._wine_dlls_msi_tests_db.c
mov esi, eax
call fcn.0052ae70
xor eax, eax
cmp esi, 0x103
mov dword [esp + 4], str.MsiViewFetch_failed_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x1aa
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
mov edx, dword [ebp - 0x70]
xor eax, eax
mov dword [esp + 4], str.hrec_should_be_null_n
test edx, edx
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x70]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
sub esp, 4
mov esi, eax
mov dword [esp + 4], 0x1ad
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 4], 0x5440da
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x7c]
mov ecx, ebx
mov edx, 0x5442dc
call fcn.00427c20
mov dword [esp + 4], 0x1b1
mov dword [esp], str..._wine_dlls_msi_tests_db.c
mov esi, eax
call fcn.0052ae70
xor eax, eax
cmp esi, 0x103
mov dword [esp + 4], str.MsiViewFetch_failed_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x7c]
mov ecx, ebx
mov edx, str.SELECT__FROM__phone__WHERE__id____0
call fcn.00427c20
mov dword [esp + 4], 0x1b5
mov dword [esp], str..._wine_dlls_msi_tests_db.c
mov esi, eax
call fcn.0052ae70
xor eax, eax
cmp esi, 0x103
mov dword [esp + 4], str.MsiViewFetch_failed_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x7c]
mov ecx, ebx
mov edx, str.SELECT__FROM__phone__WHERE__id_____1
call fcn.00427c20
mov dword [esp + 4], 0x1b9
mov dword [esp], str..._wine_dlls_msi_tests_db.c
mov esi, eax
call fcn.0052ae70
xor eax, eax
cmp esi, 0x103
mov dword [esp + 4], str.MsiViewFetch_failed_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x7c]
mov ecx, ebx
mov edx, str.SELECT__FROM__phone__WHERE__id____10
call fcn.00427c20
mov dword [esp + 4], 0x1bd
mov dword [esp], str..._wine_dlls_msi_tests_db.c
mov ebx, eax
call fcn.0052ae70
xor eax, eax
cmp ebx, 0x103
mov dword [esp + 4], str.MsiViewFetch_failed_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
lea eax, [ebp - 0x78]
mov dword [esp + 4], str.INSERT_INTO__phone_____id____name____number___VALUES______
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x7c]
mov dword [esp], eax
call sub.msi.dll_MsiDatabaseOpenViewA
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x1c3
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
cmp ebx, 0x64f
mov dword [esp + 4], 0x544092
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp], 4
call sub.msi.dll_MsiCreateRecord
sub esp, 4
mov dword [ebp - 0x70], eax
mov dword [esp + 8], 2
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.msi.dll_MsiRecordSetInteger
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x1c8
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 4], str.MsiRecordSetInteger_failed_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x70]
mov dword [esp + 8], str.Adam
mov dword [esp + 4], 2
mov dword [esp], eax
call sub.msi.dll_MsiRecordSetStringA
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x1ca
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 4], str.MsiRecordSetString_failed_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x70]
mov dword [esp + 8], str.96905305
mov dword [esp + 4], 3
mov dword [esp], eax
call sub.msi.dll_MsiRecordSetStringA
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x1cc
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 4], str.MsiRecordSetString_failed_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
lea eax, [ebp - 0x78]
mov dword [esp + 4], str.INSERT_INTO__phone_____id____name____number___VALUES_________
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x7c]
mov dword [esp], eax
call sub.msi.dll_MsiDatabaseOpenViewA
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x1d2
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 4], 0x544092
sete al
mov dword [esp], eax
call fcn.0052b0e0
test ebx, ebx
je 0x429145
mov eax, dword [ebp - 0x70]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
sub esp, 4
mov ebx, eax
mov dword [esp + 4], 0x1de
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 4], 0x5440da
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0
mov dword [esp], 0
call sub.msi.dll_MsiViewFetch
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x1e1
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
cmp ebx, 0x57
mov dword [esp + 4], str.MsiViewFetch_failed_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x7c]
mov dword [esp], eax
call sub.msi.dll_MsiDatabaseCommit
sub esp, 4
mov ebx, eax
mov dword [esp + 4], 0x1e4
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 4], str.MsiDatabaseCommit_failed_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x7c]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
sub esp, 4
mov ebx, eax
mov dword [esp + 4], 0x1e7
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 4], 0x5440da
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x8c]
mov dword [esp], 0x543a7e
call eax
sub esp, 4
mov ebx, eax
mov dword [esp + 4], 0x1ea
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
cmp ebx, 1
mov dword [esp + 4], str.file_didnt_exist_after_commit_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x70]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
call sub.msi.dll_MsiViewExecute
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x1d7
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 4], 0x5440ae
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
call sub.msi.dll_MsiViewClose
sub esp, 4
mov ebx, eax
mov dword [esp + 4], 0x1d9
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 4], 0x5440c5
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
sub esp, 4
mov ebx, eax
mov dword [esp + 4], 0x1db
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 4], 0x5440da
sete al
mov dword [esp], eax
call fcn.0052b0e0
jmp 0x429007