Function at 0x467d40
Capabilities:
Check if process is running under wine
Delete file
Delete registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x15c
call fcn.004665f0
test eax, eax
jne 0x4689e0
cmp dword [0x58b708], 1
mov dword [esp + 4], 0
sbb ecx, ecx
mov dword [esp], 2
xor cl, cl
add ecx, 0xf013f
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x140], ecx
call sub.msi.dll_MsiSetInternalUI
sub esp, 8
mov dword [esp + 4], str.INSTALLALL
mov dword [esp], 0x5506dc
call sub.msi.dll_MsiInstallProductA
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0xaee
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
xor eax, eax
cmp ebx, 3
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.Expected_ERROR_PATH_NOT_FOUND__got__d_n
mov dword [esp], eax
call fcn.0052b0e0
call fcn.00466c50
mov dword [esp + 0x18], 0x550708
mov dword [esp + 0x14], 0x55072f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x64
mov dword [esp + 8], 9
mov dword [esp + 4], 0x556b80
mov dword [esp], 0x54ffa1
call fcn.00467500
mov dword [esp + 4], 0
mov dword [esp], 0x54ffa1
call sub.msi.dll_MsiInstallProductA
mov ecx, dword [ebp - 0x13c]
sub esp, 8
cmp eax, 0x659
mov ebx, eax
je 0x468a10
mov dword [esp + 4], 0xafb
lea edi, [ebp - 0x124]
mov dword [esp], str..._wine_dlls_msi_tests_install.c
mov dword [ebp - 0x13c], ecx
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], 0x550244
lea ebx, [ebp - 0x12c]
mov dword [esp], eax
call fcn.0052b0e0
call fcn.004670c0
mov ecx, dword [ebp - 0x13c]
mov dword [esp + 0x10], ebx
mov dword [esp + 8], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 4], str.SOFTWAREWinemsitest
mov dword [esp], 0x80000001
mov dword [ebp - 0x144], ecx
call sub.advapi32.dll_RegOpenKeyExA
sub esp, 0x14
mov esi, eax
mov dword [esp + 4], 0xb00
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], 0x550774
lea esi, [ebp - 0x11c]
mov dword [esp], eax
call fcn.0052b0e0
lea eax, [ebp - 0x120]
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x12c]
mov dword [esp + 0x10], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x550794
mov dword [esp], eax
mov dword [ebp - 0x124], 0x104
mov dword [ebp - 0x120], 1
call sub.advapi32.dll_RegQueryValueExA
sub esp, 0x18
mov dword [ebp - 0x13c], eax
mov dword [esp + 4], 0xb05
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov eax, dword [ebp - 0x13c]
mov dword [esp + 4], 0x550774
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0xb06
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov edx, dword [sym.imp.kernel32.dll_lstrcmpA]
mov dword [esp], esi
mov dword [esp + 4], str.imaname
mov dword [ebp - 0x140], edx
call edx
sub esp, 8
test eax, eax
sete al
mov dword [esp + 8], esi
movzx eax, al
mov dword [esp + 4], str.Expected_imaname__got__s_n
mov dword [esp], eax
call fcn.0052b0e0
lea eax, [ebp - 0x120]
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x12c]
mov dword [esp + 0x10], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x5507bb
mov dword [esp], eax
mov dword [ebp - 0x124], 0x104
mov dword [ebp - 0x120], 1
call sub.advapi32.dll_RegQueryValueExA
sub esp, 0x18
mov dword [ebp - 0x13c], eax
mov dword [esp + 4], 0xb0b
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov eax, dword [ebp - 0x13c]
mov dword [esp + 4], 0x5507c0
cmp eax, 2
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
lea eax, [ebp - 0x128]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x120]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x12c]
mov dword [esp + 8], 0
mov dword [esp + 4], str.number
mov dword [esp], eax
mov dword [ebp - 0x124], 4
mov dword [ebp - 0x120], 4
call sub.advapi32.dll_RegQueryValueExA
sub esp, 0x18
mov dword [ebp - 0x13c], eax
mov dword [esp + 4], 0xb10
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov eax, dword [ebp - 0x13c]
mov dword [esp + 4], 0x550774
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0xb11
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov eax, dword [ebp - 0x128]
mov dword [esp + 4], str.Expected_314__got__d_n
cmp eax, 0x13a
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
lea eax, [ebp - 0x120]
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x12c]
mov dword [esp + 0x10], esi
mov dword [esp + 8], 0
mov dword [esp + 4], str.OrderTestName
mov dword [esp], eax
mov dword [ebp - 0x124], 0x104
mov dword [ebp - 0x120], 1
call sub.advapi32.dll_RegQueryValueExA
sub esp, 0x18
mov edi, eax
mov dword [esp + 4], 0xb16
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
xor eax, eax
test edi, edi
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], 0x550774
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0xb17
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov edx, dword [ebp - 0x140]
mov dword [esp], esi
mov dword [esp + 4], str.OrderTestValue
call edx
sub esp, 8
test eax, eax
sete al
mov dword [esp + 8], esi
movzx eax, al
mov dword [esp + 4], str.Expected_OrderTestValue__got__s_n
mov dword [esp], eax
call fcn.0052b0e0
mov ecx, dword [ebp - 0x144]
mov edx, str.SOFTWAREWinemsitest
mov eax, 0x80000001
call fcn.00465300
mov dword [esp + 4], 0
mov dword [esp], 0x54ffa1
call sub.msi.dll_MsiInstallProductA
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0xb1d
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
call fcn.004670c0
mov dword [esp + 8], ebx
mov dword [esp + 4], str.SOFTWAREWinemsitest
mov dword [esp], 0x80000001
call sub.advapi32.dll_RegOpenKeyA
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0xb22
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], 0x550774
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], str.SOFTWAREWinemsitest
mov dword [esp], 0x80000001
call sub.advapi32.dll_RegDeleteKeyA
sub esp, 8
mov dword [esp + 0x18], 0x550708
mov dword [esp + 0x14], 0x55072f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x64
mov dword [esp + 8], 9
mov dword [esp + 4], 0x556a00
mov dword [esp], 0x54ffa1
call fcn.00467500
mov dword [esp + 4], 0
mov dword [esp], 0x54ffa1
call sub.msi.dll_MsiInstallProductA
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0xb29
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
call fcn.004670c0
mov dword [esp + 8], ebx
mov dword [esp + 4], str.SOFTWAREWinemsitest
mov dword [esp], 0x80000001
call sub.advapi32.dll_RegOpenKeyA
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0xb2e
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], 0x550774
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], str.SOFTWAREWinemsitest
mov dword [esp], 0x80000001
call sub.advapi32.dll_RegDeleteKeyA
sub esp, 8
mov dword [esp + 0x18], 0x550708
mov dword [esp + 0x14], 0x55072f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x64
mov dword [esp + 8], 9
mov dword [esp + 4], 0x556980
mov dword [esp], 0x54ffa1
call fcn.00467500
mov dword [esp + 4], 0
mov dword [esp], 0x54ffa1
call sub.msi.dll_MsiInstallProductA
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0xb35
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
call fcn.004670c0
mov dword [esp + 8], ebx
mov dword [esp + 4], str.SOFTWAREWinemsitest
mov dword [esp], 0x80000001
call sub.advapi32.dll_RegOpenKeyA
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0xb3a
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], 0x550774
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], str.SOFTWAREWinemsitest
mov dword [esp], 0x80000001
call sub.advapi32.dll_RegDeleteKeyA
sub esp, 8
mov dword [esp + 0x18], 0x550708
mov dword [esp + 0x14], 0x55072f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x64
mov dword [esp + 8], 9
mov dword [esp + 4], 0x556900
mov dword [esp], 0x54ffa1
call fcn.00467500
mov dword [esp + 4], 0
mov dword [esp], 0x54ffa1
call sub.msi.dll_MsiInstallProductA
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0xb41
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
call fcn.004670c0
mov dword [esp + 8], ebx
mov dword [esp + 4], str.SOFTWAREWinemsitest
mov dword [esp], 0x80000001
call sub.advapi32.dll_RegOpenKeyA
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0xb46
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], 0x550774
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], str.SOFTWAREWinemsitest
mov dword [esp], 0x80000001
call sub.advapi32.dll_RegDeleteKeyA
sub esp, 8
mov dword [esp + 0x18], 0x550708
mov dword [esp + 0x14], 0x55072f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x64
mov dword [esp + 8], 9
mov dword [esp + 4], 0x556880
mov dword [esp], 0x54ffa1
call fcn.00467500
mov dword [esp + 4], 0x550845
mov dword [esp], 0x54ffa1
call sub.msi.dll_MsiInstallProductA
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0xb4d
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
call fcn.004670c0
mov dword [esp + 8], ebx
mov dword [esp + 4], str.SOFTWAREWinemsitest
mov dword [esp], 0x80000001
call sub.advapi32.dll_RegOpenKeyA
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0xb52
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
xor eax, eax
cmp esi, 2
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], 0x5507c0
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 0x18], 0x550708
mov dword [esp + 0x14], 0x55072f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x64
mov dword [esp + 8], 9
mov dword [esp + 4], 0x556880
mov dword [esp], 0x54ffa1
call fcn.00467500
mov dword [esp + 4], 0
mov dword [esp], 0x54ffa1
call sub.msi.dll_MsiInstallProductA
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0xb58
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
call fcn.004670c0
mov dword [esp + 8], ebx
mov dword [esp + 4], str.SOFTWAREWinemsitest
mov dword [esp], 0x80000001
call sub.advapi32.dll_RegOpenKeyA
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0xb5d
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
xor eax, eax
cmp esi, 2
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], 0x5507c0
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 0x18], 0x550708
mov dword [esp + 0x14], 0x55072f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x64
mov dword [esp + 8], 9
mov dword [esp + 4], 0x556800
mov dword [esp], 0x54ffa1
call fcn.00467500
mov dword [esp + 4], 0
mov dword [esp], 0x54ffa1
call sub.msi.dll_MsiInstallProductA
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0xb63
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
call fcn.004670c0
mov dword [esp + 8], ebx
mov dword [esp + 4], str.SOFTWAREWinemsitest
mov dword [esp], 0x80000001
call sub.advapi32.dll_RegOpenKeyA
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0xb68
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
xor eax, eax
cmp esi, 2
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], 0x5507c0
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 0x18], 0x550708
mov dword [esp + 0x14], 0x55072f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x64
mov dword [esp + 8], 9
mov dword [esp + 4], 0x556780
mov dword [esp], 0x54ffa1
call fcn.00467500
mov dword [esp + 4], 0
mov dword [esp], 0x54ffa1
call sub.msi.dll_MsiInstallProductA
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0xb6e
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
call fcn.004670c0
mov dword [esp + 8], ebx
mov dword [esp + 4], str.SOFTWAREWinemsitest
mov dword [esp], 0x80000001
call sub.advapi32.dll_RegOpenKeyA
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0xb73
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
xor eax, eax
cmp esi, 2
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], 0x5507c0
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 0x18], 0x550708
mov dword [esp + 0x14], 0x55072f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x64
mov dword [esp + 8], 9
mov dword [esp + 4], 0x556700
mov dword [esp], 0x54ffa1
call fcn.00467500
mov dword [esp + 4], 0
mov dword [esp], 0x54ffa1
call sub.msi.dll_MsiInstallProductA
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0xb79
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
call fcn.004670c0
mov dword [esp + 8], ebx
mov dword [esp + 4], str.SOFTWAREWinemsitest
mov dword [esp], 0x80000001
call sub.advapi32.dll_RegOpenKeyA
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0xb7e
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
xor eax, eax
cmp ebx, 2
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], 0x5507c0
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x550857
mov dword [esp], 0x54ffa1
call sub.msi.dll_MsiInstallProductA
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0xb81
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], 0x550244
mov dword [esp], eax
call fcn.0052b0e0
call fcn.00465210
mov dword [esp], 0x54ffa1
call dword [sym.imp.kernel32.dll_DeleteFileA]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0xada
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov dword [esp], 0x5506bc
call fcn.0052b1d0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0xaf8
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov dword [esp], 0x550738
call fcn.0052b1d0
jmp 0x4689c3