Function at 0x4045f0
Capabilities:
Delete file
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x40
call fcn.004665f0
test eax, eax
jne 0x404f15
call fcn.00403760
mov dword [esp + 8], 0x3e8
lea ebx, [ebp - 0xc]
mov dword [esp + 4], str.msitestprogid.txt
mov dword [esp], str.msitestprogid.txt
call fcn.00466b70
mov dword [esp + 0x18], 0x52e1e8
mov dword [esp + 0x14], 0x52e20f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x64
mov dword [esp + 8], 0xe
mov dword [esp + 4], 0x531760
mov dword [esp], 0x52e06e
call fcn.00467500
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.Winetest.Orphaned
mov dword [esp], 0x80000000
call sub.advapi32.dll_RegCreateKeyExA
sub esp, 0x24
mov esi, eax
mov dword [esp + 4], 0x17e9
mov dword [esp], str..._wine_dlls_msi_tests_action.c
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 4], str.key_not_created_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.advapi32.dll_RegCloseKey
sub esp, 4
mov dword [esp + 4], 0
mov dword [esp], 2
call sub.msi.dll_MsiSetInternalUI
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], 0x52e06e
call sub.msi.dll_MsiInstallProductA
sub esp, 8
mov esi, eax
cmp eax, 0x659
je 0x404f83
mov dword [esp + 4], 0x17f4
mov dword [esp], str..._wine_dlls_msi_tests_action.c
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], 0x52e294
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x52e814
mov dword [esp], 0x80000000
call sub.advapi32.dll_RegOpenKeyA
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x17fa
mov dword [esp], str..._wine_dlls_msi_tests_action.c
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 4], str.key_not_created_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.advapi32.dll_RegCloseKey
sub esp, 4
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x52e841
mov dword [esp], 0x80000000
call sub.advapi32.dll_RegOpenKeyA
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x17fe
mov dword [esp], str..._wine_dlls_msi_tests_action.c
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 4], str.key_not_created_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.advapi32.dll_RegCloseKey
sub esp, 4
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x52e852
mov dword [esp], 0x80000000
call sub.advapi32.dll_RegOpenKeyA
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x1802
mov dword [esp], str..._wine_dlls_msi_tests_action.c
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 4], str.key_not_created_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.advapi32.dll_RegCloseKey
sub esp, 4
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x52e861
mov dword [esp], 0x80000000
call sub.advapi32.dll_RegOpenKeyA
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x1806
mov dword [esp], str..._wine_dlls_msi_tests_action.c
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 4], str.key_not_created_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.advapi32.dll_RegCloseKey
sub esp, 4
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Winetest.VerClass.1
mov dword [esp], 0x80000000
call sub.advapi32.dll_RegOpenKeyA
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x180a
mov dword [esp], str..._wine_dlls_msi_tests_action.c
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 4], str.key_not_created_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.advapi32.dll_RegCloseKey
sub esp, 4
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Winetest.VerClass
mov dword [esp], 0x80000000
call sub.advapi32.dll_RegOpenKeyA
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x180e
mov dword [esp], str..._wine_dlls_msi_tests_action.c
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 4], str.key_not_created_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.advapi32.dll_RegCloseKey
sub esp, 4
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Winetest.NoProgIdClass.1
mov dword [esp], 0x80000000
call sub.advapi32.dll_RegOpenKeyA
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x1812
mov dword [esp], str..._wine_dlls_msi_tests_action.c
call fcn.0052ae70
xor eax, eax
cmp esi, 2
mov dword [esp + 4], str.key_created_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
test esi, esi
je 0x404f53
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Winetest.NoProgIdClass
mov dword [esp], 0x80000000
call sub.advapi32.dll_RegOpenKeyA
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x1816
mov dword [esp], str..._wine_dlls_msi_tests_action.c
call fcn.0052ae70
xor eax, eax
cmp esi, 2
mov dword [esp + 4], str.key_created_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Winetest.Orphaned
mov dword [esp], 0x80000000
call sub.advapi32.dll_RegOpenKeyA
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x1819
mov dword [esp], str..._wine_dlls_msi_tests_action.c
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 4], str.key_deleted_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
test esi, esi
je 0x404f70
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Winetest.Orphaned2
mov dword [esp], 0x80000000
call sub.advapi32.dll_RegOpenKeyA
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x181d
mov dword [esp], str..._wine_dlls_msi_tests_action.c
call fcn.0052ae70
xor eax, eax
cmp esi, 2
mov dword [esp + 4], str.key_created_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Winetest.Extension
mov dword [esp], 0x80000000
call sub.advapi32.dll_RegOpenKeyA
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x1820
mov dword [esp], str..._wine_dlls_msi_tests_action.c
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 4], str.key_not_created_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.advapi32.dll_RegCloseKey
sub esp, 4
mov dword [esp + 4], 0x52e503
mov dword [esp], 0x52e06e
call sub.msi.dll_MsiInstallProductA
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0x1824
mov dword [esp], str..._wine_dlls_msi_tests_action.c
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], 0x52e294
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x52e814
mov dword [esp], 0x80000000
call sub.advapi32.dll_RegOpenKeyA
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x182a
mov dword [esp], str..._wine_dlls_msi_tests_action.c
call fcn.0052ae70
xor eax, eax
cmp esi, 2
mov dword [esp + 4], str.key_not_removed_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x52e841
mov dword [esp], 0x80000000
call sub.advapi32.dll_RegOpenKeyA
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x182d
mov dword [esp], str..._wine_dlls_msi_tests_action.c
call fcn.0052ae70
xor eax, eax
cmp esi, 2
mov dword [esp + 4], str.key_not_removed_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x52e852
mov dword [esp], 0x80000000
call sub.advapi32.dll_RegOpenKeyA
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x1830
mov dword [esp], str..._wine_dlls_msi_tests_action.c
call fcn.0052ae70
xor eax, eax
cmp esi, 2
mov dword [esp + 4], str.key_not_removed_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x52e861
mov dword [esp], 0x80000000
call sub.advapi32.dll_RegOpenKeyA
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x1833
mov dword [esp], str..._wine_dlls_msi_tests_action.c
call fcn.0052ae70
xor eax, eax
cmp esi, 2
mov dword [esp + 4], str.key_not_removed_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Winetest.VerClass.1
mov dword [esp], 0x80000000
call sub.advapi32.dll_RegOpenKeyA
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x1836
mov dword [esp], str..._wine_dlls_msi_tests_action.c
call fcn.0052ae70
xor eax, eax
cmp esi, 2
mov dword [esp + 4], str.key_not_removed_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Winetest.VerClass
mov dword [esp], 0x80000000
call sub.advapi32.dll_RegOpenKeyA
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x1839
mov dword [esp], str..._wine_dlls_msi_tests_action.c
call fcn.0052ae70
xor eax, eax
cmp esi, 2
mov dword [esp + 4], str.key_not_removed_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Winetest.NoProgIdClass.1
mov dword [esp], 0x80000000
call sub.advapi32.dll_RegOpenKeyA
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x183c
mov dword [esp], str..._wine_dlls_msi_tests_action.c
call fcn.0052ae70
xor eax, eax
cmp esi, 2
mov dword [esp + 4], str.key_not_removed_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Winetest.NoProgIdClass
mov dword [esp], 0x80000000
call sub.advapi32.dll_RegOpenKeyA
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x183f
mov dword [esp], str..._wine_dlls_msi_tests_action.c
call fcn.0052ae70
xor eax, eax
cmp esi, 2
mov dword [esp + 4], str.key_not_removed_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Winetest.Orphaned
mov dword [esp], 0x80000000
call sub.advapi32.dll_RegOpenKeyA
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x1842
mov dword [esp], str..._wine_dlls_msi_tests_action.c
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 4], str.key_deleted_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
test esi, esi
je 0x404f40
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Winetest.Orphaned2
mov dword [esp], 0x80000000
call sub.advapi32.dll_RegOpenKeyA
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x1846
mov dword [esp], str..._wine_dlls_msi_tests_action.c
call fcn.0052ae70
xor eax, eax
cmp esi, 2
mov dword [esp + 4], str.key_not_removed_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Winetest.Extension
mov dword [esp], 0x80000000
call sub.advapi32.dll_RegOpenKeyA
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x1849
mov dword [esp], str..._wine_dlls_msi_tests_action.c
call fcn.0052ae70
xor eax, eax
cmp ebx, 2
mov dword [esp + 4], str.key_not_removed_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x184b
mov dword [esp], str..._wine_dlls_msi_tests_action.c
call fcn.0052ae70
mov dword [esp + 4], 1
mov dword [esp], str.msitestprogid.txt
call fcn.00467020
mov dword [esp + 4], 0x52e919
test eax, eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x184c
mov dword [esp], str..._wine_dlls_msi_tests_action.c
call fcn.0052ae70
mov dword [esp + 4], 0
mov dword [esp], 0x52e11c
call fcn.00467020
mov dword [esp + 4], 0x52e92b
test eax, eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov ebx, dword [sym.imp.kernel32.dll_DeleteFileA]
mov dword [esp], str.msitestprogid.txt
call ebx
sub esp, 4
call fcn.00401170
mov dword [esp], 0x52e06e
call ebx
sub esp, 4
mov dword [esp + 4], str.Winetest.Orphaned
mov dword [esp], 0x80000000
call sub.advapi32.dll_RegDeleteKeyA
sub esp, 8
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov dword [esp + 4], 0x17df
mov dword [esp], str..._wine_dlls_msi_tests_action.c
call fcn.0052ae70
mov dword [esp], 0x52e124
call fcn.0052b1d0
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.advapi32.dll_RegCloseKey
sub esp, 4
jmp 0x404dc2
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.advapi32.dll_RegCloseKey
sub esp, 4
jmp 0x4049aa
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.advapi32.dll_RegCloseKey
sub esp, 4
jmp 0x404a43
mov dword [esp + 4], 0x17f1
mov dword [esp], str..._wine_dlls_msi_tests_action.c
call fcn.0052ae70
mov dword [esp], 0x52e270
call fcn.0052b1d0
jmp 0x404ed4