Function at 0x46ddc0
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x14c
call fcn.004665f0
test eax, eax
jne 0x46e1f0
lea eax, [ebp - 0x120]
mov dword [esp + 0xc], 0xf003f
lea ebx, [ebp - 0x11c]
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], str.SystemCurrentControlSetControlSession_Manager
mov dword [esp], 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
mov edi, dword [sym.imp.kernel32.dll_CreateDirectoryA]
sub esp, 0x14
mov dword [esp + 4], 0
mov dword [esp], 0x550026
call edi
sub esp, 8
mov dword [esp + 8], 0x1f4
mov dword [esp + 4], 0x550409
mov dword [esp], 0x550409
call fcn.00466b70
mov dword [esp + 8], 0x550a05
mov dword [esp + 4], 0x7fffffff
mov dword [esp], 0x55042a
call fcn.00466770
mov dword [esp], 0x550409
mov esi, dword [sym.imp.kernel32.dll_DeleteFileA]
call esi
sub esp, 4
mov dword [esp + 0x18], 0x550708
mov dword [esp + 0x14], 0x55072f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x64
mov dword [esp + 8], 8
mov dword [esp + 4], 0x555320
mov dword [esp], 0x54ffa1
call fcn.00467500
mov dword [esp + 4], 0
mov dword [esp], 2
call sub.msi.dll_MsiSetInternalUI
sub esp, 8
mov dword [esp + 4], 0x59c220
mov dword [esp], ebx
call dword [sym.imp.msvcrt.dll_strcpy]
mov edx, ebx
mov ecx, dword [edx]
add edx, 4
lea eax, [ecx - 0x1010101]
not ecx
and eax, ecx
and eax, 0x80808080
je 0x46deda
mov ecx, eax
shr ecx, 0x10
test eax, 0x8080
cmove eax, ecx
lea ecx, [edx + 2]
cmove edx, ecx
mov ecx, eax
add cl, al
sbb edx, 3
mov dword [edx], 0x69736d5c
mov dword [edx + 4], 0x74736574
mov byte [edx + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call edi
mov edx, ebx
sub esp, 8
mov ecx, dword [edx]
add edx, 4
lea eax, [ecx - 0x1010101]
not ecx
and eax, ecx
and eax, 0x80808080
je 0x46df2d
mov ecx, eax
shr ecx, 0x10
test eax, 0x8080
cmove eax, ecx
lea ecx, [edx + 2]
cmove edx, ecx
mov ecx, eax
add cl, al
sbb edx, 3
mov dword [edx], 0x78616d5c
mov dword [edx + 4], 0x73756d69
mov byte [edx + 8], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x80000000
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_CreateFileA]
sub esp, 0x1c
mov edi, eax
mov dword [esp + 4], str.REBOOTReallySuppress_FULL1
mov dword [esp], 0x54ffa1
call sub.msi.dll_MsiInstallProductA
sub esp, 8
cmp eax, 0x659
je 0x46e220
mov dword [esp + 4], 0x153f
mov dword [esp], str..._wine_dlls_msi_tests_install.c
mov dword [ebp - 0x12c], eax
call fcn.0052ae70
mov eax, dword [ebp - 0x12c]
mov dword [esp + 4], str.Expected_ERROR_SUCCESS_REBOOT_REQUIRED_got__u_n
cmp eax, 0xbc2
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x1540
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov edx, 0x550409
mov eax, ebx
call fcn.00465350
mov dword [esp + 4], str.Expected_file_not_to_match_n
test eax, eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
mov dword [esp + 4], 0x1542
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov edx, 0x550409
mov eax, ebx
call fcn.00465350
mov dword [esp + 4], str.Expected_file_not_to_match_n
test eax, eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x120]
call fcn.00465890
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.advapi32.dll_RegCloseKey
sub esp, 4
mov dword [esp + 4], 0x1547
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov edx, 0x550409
mov eax, ebx
call fcn.00465350
mov dword [esp + 4], str.Expected_file_to_match_n
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x1548
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov dword [esp + 4], 1
mov dword [esp], 0x550951
call fcn.00467020
mov dword [esp + 4], str.File_not_present_n
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x1549
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_not_present_or_not_empty_n
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], 0x154c
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 eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.advapi32.dll_RegCloseKey
sub esp, 4
mov dword [esp + 4], 1
mov dword [esp], 0x550951
call fcn.00467020
mov dword [esp + 4], 0
mov dword [esp], 0x550026
call fcn.00467020
mov dword [esp], 0x550951
call esi
sub esp, 4
call fcn.00467330
call fcn.00465210
mov dword [esp], 0x54ffa1
call esi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0x1523
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], 0x153c
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov dword [esp], 0x550738
call fcn.0052b1d0
jmp 0x46e18d