Function at 0x46e610
Capabilities:
Check if process is running under wine
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x20
call fcn.004665f0
test eax, eax
jne 0x46ec80
call fcn.00466c50
mov dword [esp + 8], 0x3e8
mov dword [esp + 4], str.msitestoverride.txt
mov dword [esp], str.msitestoverride.txt
call fcn.00466b70
mov dword [esp + 8], 0x3e8
mov dword [esp + 4], str.msitestpreselected.txt
mov dword [esp], str.msitestpreselected.txt
call fcn.00466b70
mov dword [esp + 8], 0x3e8
mov dword [esp + 4], str.msitest_notpreselected.txt
mov dword [esp], str.msitest_notpreselected.txt
call fcn.00466b70
mov dword [esp + 0x18], 0x550708
mov dword [esp + 0x14], 0x55072f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x64
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0x555280
mov dword [esp], 0x54ffa1
call fcn.00467500
mov dword [esp + 4], 0
cmp dword [0x58b708], 1
mov dword [esp], 2
sbb ebx, ebx
xor bl, bl
add ebx, 0xf013f
call sub.msi.dll_MsiSetInternalUI
sub esp, 8
mov dword [esp + 4], str.ADDLOCALoverride
mov dword [esp], 0x54ffa1
call sub.msi.dll_MsiInstallProductA
sub esp, 8
mov esi, eax
cmp eax, 0x659
je 0x46ecb0
mov dword [esp + 4], 0x1575
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], 0x550244
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x1577
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov dword [esp], str.msitestoverride.txt
call fcn.004673e0
mov dword [esp + 4], 0x550f90
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x1578
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov dword [esp], str.msitestpreselected.txt
call fcn.004673e0
mov dword [esp + 4], str.file_installed_n
test eax, eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x1579
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov dword [esp], str.msitest_notpreselected.txt
call fcn.004673e0
mov dword [esp + 4], str.file_installed_n
test eax, eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x550f2b
mov dword [esp], 0x54ffa1
call sub.msi.dll_MsiInstallProductA
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0x157c
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], 0x550244
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x157e
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov dword [esp + 4], 1
mov dword [esp], str.msitestoverride.txt
call fcn.00467020
mov dword [esp + 4], 0x550fb4
test eax, eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], str.preselect1
mov dword [esp], 0x54ffa1
call sub.msi.dll_MsiInstallProductA
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0x1581
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], 0x550244
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x1583
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov dword [esp], str.msitestoverride.txt
call fcn.004673e0
mov dword [esp + 4], 0x550f90
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x1584
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov dword [esp], str.msitestpreselected.txt
call fcn.004673e0
mov dword [esp + 4], 0x550f90
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x1585
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov dword [esp], str.msitest_notpreselected.txt
call fcn.004673e0
mov dword [esp + 4], str.file_installed_n
test eax, eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x550f2b
mov dword [esp], 0x54ffa1
call sub.msi.dll_MsiInstallProductA
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0x1588
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], 0x550244
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x158a
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov dword [esp + 4], 1
mov dword [esp], str.msitestoverride.txt
call fcn.00467020
mov dword [esp + 4], 0x550fb4
test eax, eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x158b
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov dword [esp + 4], 1
mov dword [esp], str.msitestpreselected.txt
call fcn.00467020
mov dword [esp + 4], 0x550fb4
test eax, eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x158c
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov dword [esp + 4], 0
mov dword [esp], 0x550026
call fcn.00467020
mov dword [esp + 4], 0x550fd2
test eax, eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0
mov dword [esp], 0x54ffa1
call sub.msi.dll_MsiInstallProductA
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0x158f
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], 0x550244
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x1591
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov dword [esp], str.msitestoverride.txt
call fcn.004673e0
mov dword [esp + 4], 0x550f90
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x1592
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov dword [esp], str.msitestpreselected.txt
call fcn.004673e0
mov dword [esp + 4], 0x550f90
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x1593
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov dword [esp], str.msitest_notpreselected.txt
call fcn.004673e0
mov dword [esp + 4], str.file_installed_n
test eax, eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x550f2b
mov dword [esp], 0x54ffa1
call sub.msi.dll_MsiInstallProductA
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0x1596
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], 0x550244
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x1598
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov dword [esp + 4], 1
mov dword [esp], str.msitestoverride.txt
call fcn.00467020
mov dword [esp + 4], 0x550fb4
test eax, eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x1599
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov dword [esp + 4], 1
mov dword [esp], str.msitestpreselected.txt
call fcn.00467020
mov dword [esp + 4], 0x550fb4
test eax, eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x159a
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov dword [esp + 4], 0
mov dword [esp], 0x550026
call fcn.00467020
mov dword [esp + 4], 0x550fd2
test eax, eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov ecx, ebx
mov edx, str.SoftwareWinemsitest
mov eax, 0x80000002
call fcn.00465300
mov ebx, dword [sym.imp.kernel32.dll_DeleteFileA]
mov dword [esp], str.msitestoverride.txt
call ebx
sub esp, 4
mov dword [esp], str.msitestpreselected.txt
call ebx
sub esp, 4
mov dword [esp], str.msitest_notpreselected.txt
call ebx
sub esp, 4
call fcn.00465210
mov dword [esp], 0x54ffa1
call ebx
sub esp, 4
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov dword [esp + 4], 0x1560
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov dword [esp], 0x5506bc
call fcn.0052b1d0
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov dword [esp + 4], 0x1572
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov dword [esp], 0x550738
call fcn.0052b1d0
jmp 0x46ec3e