Function at 0x447370
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea ebx, [ebp - 0x120]
sub esp, 0x13c
mov esi, dword [sym.imp.kernel32.dll_DeleteFileA]
mov dword [esp], 0x543a7e
call esi
sub esp, 4
mov dword [esp + 4], 0x58b4e0
mov dword [esp], 0x104
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
sub esp, 8
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 edi, eax
mov dword [esp + 4], 0x1a8d
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], 0x543d04
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x120]
xor edx, edx
mov ecx, str.SELECT__FROM___ForceCodepage_
call fcn.00427af0
mov dword [esp + 4], 0x1a91
mov dword [esp], str..._wine_dlls_msi_tests_db.c
mov edi, eax
call fcn.0052ae70
xor eax, eax
cmp edi, 0x64f
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], 0x543efc
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x120]
xor edx, edx
mov ecx, str.CREATE_TABLE__Table_____A__CHAR_72__NOT_NULL_PRIMARY_KEY__A___
call fcn.00427af0
mov dword [esp + 4], 0x1a95
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], 0x543d04
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x120]
xor edx, edx
mov ecx, str.SELECT__FROM___ForceCodepage_
call fcn.00427af0
mov dword [esp + 4], 0x1a99
mov dword [esp], str..._wine_dlls_msi_tests_db.c
mov edi, eax
call fcn.0052ae70
xor eax, eax
cmp edi, 0x64f
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], 0x543efc
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.msi.dll_MsiDatabaseCommit
sub esp, 4
mov edi, eax
mov dword [esp + 4], 0x1a9c
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], 0x543d04
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x120]
xor edx, edx
mov ecx, str.SELECT__FROM___ForceCodepage_
call fcn.00427af0
mov dword [esp + 4], 0x1aa0
mov dword [esp], str..._wine_dlls_msi_tests_db.c
mov edi, eax
call fcn.0052ae70
xor eax, eax
cmp edi, 0x64f
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], 0x543efc
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
sub esp, 4
mov dword [esp + 8], ebx
mov dword [esp + 4], 2
mov dword [esp], str.winetest_db.msi
call sub.msi.dll_MsiOpenDatabaseW
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x1aa5
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 - 0x120]
xor edx, edx
mov ecx, str.SELECT__FROM___ForceCodepage_
call fcn.00427af0
mov dword [esp + 4], 0x1aa9
mov dword [esp], str..._wine_dlls_msi_tests_db.c
mov ebx, eax
call fcn.0052ae70
xor eax, eax
cmp ebx, 0x64f
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], 0x543efc
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x120]
mov dword [esp + 0xc], 0x54af8c
mov dword [esp + 8], 0x58b4e0
mov dword [esp + 4], str._ForceCodepage
mov dword [esp], eax
call sub.msi.dll_MsiDatabaseExportA
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], 0x1aac
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 - 0x11c]
mov dword [esp], eax
call fcn.0052b0e0
mov eax, ebx
call fcn.004472c0
mov dword [esp + 4], 0x1aaf
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
mov edi, dword [sym.imp.kernel32.dll_lstrcmpA]
mov dword [esp], ebx
mov dword [esp + 4], str._r_n_r_n0_t_ForceCodepage_r_n
call edi
sub esp, 8
test eax, eax
sete al
mov dword [esp + 8], ebx
movzx eax, al
mov dword [esp + 4], str.Expected___r_n_r_n0_t_ForceCodepage_r_n___got___s__n
mov dword [esp], eax
call fcn.0052b0e0
xor ecx, ecx
mov edx, str._r_n_r_n850_t_ForceCodepage_r_n
mov eax, 0x54af8c
call fcn.0043ca00
mov eax, dword [ebp - 0x120]
mov dword [esp + 8], 0x54af8c
mov dword [esp + 4], 0x58b4e0
mov dword [esp], eax
call sub.msi.dll_MsiDatabaseImportA
sub esp, 0xc
mov dword [ebp - 0x12c], eax
mov dword [esp + 4], 0x1ab5
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
mov eax, dword [ebp - 0x12c]
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 - 0x120]
mov dword [esp + 0xc], 0x54af8c
mov dword [esp + 8], 0x58b4e0
mov dword [esp + 4], str._ForceCodepage
mov dword [esp], eax
call sub.msi.dll_MsiDatabaseExportA
sub esp, 0x10
mov dword [ebp - 0x12c], eax
mov dword [esp + 4], 0x1ab8
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
mov eax, dword [ebp - 0x12c]
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, ebx
call fcn.004472c0
mov dword [esp + 4], 0x1abb
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
mov dword [esp], ebx
mov dword [esp + 4], str._r_n_r_n850_t_ForceCodepage_r_n
call edi
sub esp, 8
test eax, eax
sete al
mov dword [esp + 8], ebx
movzx eax, al
mov dword [esp + 4], str.Expected___r_n_r_n850_t_ForceCodepage_r_n___got___s__n
mov dword [esp], eax
call fcn.0052b0e0
xor ecx, ecx
mov edx, str._r_n_r_n9999_t_ForceCodepage_r_n
mov eax, 0x54af8c
call fcn.0043ca00
mov eax, dword [ebp - 0x120]
mov dword [esp + 8], 0x54af8c
mov dword [esp + 4], 0x58b4e0
mov dword [esp], eax
call sub.msi.dll_MsiDatabaseImportA
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x1ac1
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
cmp ebx, 0x65b
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], 0x543e54
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
sub esp, 4
mov dword [esp], 0x543a7e
call esi
sub esp, 4
mov dword [esp], 0x54af8c
call esi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret