Function at 0x46af10
Capabilities:
Create directory
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0x550026
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
sub esp, 8
mov dword [esp + 8], 0x1f4
mov dword [esp + 4], 0x550931
mov dword [esp], 0x550931
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], 0x555ee0
mov dword [esp], 0x54ffa1
call fcn.00467500
call fcn.004662a0
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], 0x54ffa1
call sub.msi.dll_MsiInstallProductA
sub esp, 8
cmp eax, 0x659
je 0x46b2d4
mov dword [esp + 4], 0xf7e
mov ebx, eax
mov edi, 0x55023b
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
mov dword [esp + 4], 0xf7f
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov dword [esp + 4], 1
mov dword [esp], 0x550931
call fcn.00467020
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], 0xf80
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], str.Directory_created_n
test eax, eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0xf81
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov eax, dword [sym.imp.kernel32.dll_DeleteFileA]
mov dword [esp], str.c:msitest_augustus
mov dword [ebp - 0x1c], eax
call eax
sub esp, 4
test eax, eax
sete al
mov dword [esp + 4], str.File_installed_n
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0xf82
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov eax, dword [sym.imp.kernel32.dll_RemoveDirectoryA]
mov dword [esp], str.c:msitest
mov dword [ebp - 0x20], eax
call eax
sub esp, 4
test eax, eax
sete al
mov dword [esp + 4], str.File_installed_n
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], str.ACTIONADMIN
mov dword [esp], 0x54ffa1
call sub.msi.dll_MsiInstallProductA
mov esi, dword [str.windows]
mov ecx, 5
sub esp, 8
mov ebx, eax
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b250
jmp 0x46b174
mov dword [esp + 4], 0xf86
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.0052b2a0
call fcn.0052b280
test eax, eax
jne 0x46b140
mov dword [esp + 4], 0xf87
mov edi, 0x55023b
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov dword [esp + 4], 1
mov dword [esp], 0x550931
call fcn.00467020
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], 0xf88
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], str.Directory_created_n
test eax, eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov esi, dword [str.windows]
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b250
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
jmp 0x46b295
mov dword [esp + 4], 0xf8b
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov dword [esp], str.c:msitest_augustus
call ebx
sub esp, 4
mov dword [esp], eax
mov dword [esp + 4], 0x5504b8
call fcn.0052b0e0
mov dword [esp + 4], 0xf8c
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov dword [esp], str.c:msitest
call esi
sub esp, 4
mov dword [esp], eax
mov dword [esp + 4], 0x5504b8
call fcn.0052b0e0
call fcn.0052b2a0
call fcn.0052b280
test eax, eax
jne 0x46b230
mov edi, dword [ebp - 0x1c]
mov dword [esp], 0x54ffa1
mov eax, edi
call eax
mov eax, edi
sub esp, 4
mov dword [esp], 0x550931
call eax
mov eax, dword [ebp - 0x20]
sub esp, 4
mov dword [esp], 0x550026
call eax
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0xf7b
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov dword [esp], 0x550738
call fcn.0052b1d0
mov eax, dword [sym.imp.kernel32.dll_DeleteFileA]
mov dword [ebp - 0x1c], eax
mov eax, dword [sym.imp.kernel32.dll_RemoveDirectoryA]
mov dword [ebp - 0x20], eax
jmp 0x46b29e