Function at 0x46d960
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x13c
call fcn.004665f0
test eax, eax
jne 0x46dd60
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 esi, dword [sym.imp.kernel32.dll_CreateDirectoryA]
sub esp, 0x14
mov dword [esp + 4], 0
mov dword [esp], 0x550026
call esi
sub esp, 8
mov dword [esp + 8], 0x1f4
mov dword [esp + 4], 0x550951
mov dword [esp], 0x550951
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], 8
mov dword [esp + 4], 0x555380
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 0x46da4c
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 esi
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 0x46da9f
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
mov esi, eax
cmp eax, 0x659
je 0x46dd90
mov dword [esp + 4], 0x1501
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
xor eax, eax
cmp esi, 0xbc2
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.Expected_ERROR_SUCCESS_REBOOT_REQUIRED_got__u_n
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x1502
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov edx, 0x550951
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], 0x1504
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov edx, 0x550951
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], 0x1509
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov edx, 0x550951
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], 0x150a
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], 0x150b
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], 0x150e
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 ebx, dword [sym.imp.kernel32.dll_DeleteFileA]
mov dword [esp], 0x550951
call ebx
sub esp, 4
call fcn.00465210
mov dword [esp], 0x54ffa1
call ebx
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0x14e8
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], 0x14fe
mov dword [esp], str..._wine_dlls_msi_tests_install.c
call fcn.0052ae70
mov dword [esp], 0x550738
call fcn.0052b1d0
jmp 0x46dcf5