Function at 0x4014d0
Capabilities:
Clear file content
Delete file
Get common file path
Set current directory

Disassembly:
push ebp
mov ecx, 0x15
mov ebp, esp
push edi
push esi
mov esi, section..data
lea eax, [ebp - 0x220]
push ebx
lea ebx, [ebp - 0x47c]
mov edi, ebx
sub esp, 0x4ac
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 4], eax
lea esi, [ebp - 0x428]
mov dword [esp], 0x104
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
sub esp, 8
mov dword [esp + 4], esi
mov dword [esp], 0x104
call dword [sym.imp.kernel32.dll_GetTempPathW]
sub esp, 8
mov dword [esp + 4], 0x3fe
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
mov eax, dword [sym.imp.kernel32.dll_SetCurrentDirectoryW]
mov dword [esp], esi
mov dword [ebp - 0x494], eax
call eax
sub esp, 4
mov dword [esp], eax
mov dword [esp + 4], str.SetCurrentDirectoryW_to_temp_path_failed_n
call fcn.0040acd0
mov dword [esp], str.wine_test_dir
call dword [0x41003c]
mov dword [esp + 4], 0x401
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
mov esi, eax
call fcn.0040aa60
xor eax, eax
cmp esi, 1
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str._Make_dir__:_expect_1_got__d_n
mov dword [esp], eax
call fcn.0040acd0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40000000
mov dword [esp], 0x40d2a0
call dword [sym.imp.kernel32.dll_CreateFileW]
sub esp, 0x1c
mov esi, eax
mov dword [esp + 4], 0x403
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
xor eax, eax
cmp esi, 0xffffffff
mov dword [esp + 4], str.create_file_failed:_INVALID_HANDLE_VALUE_n
setne al
mov dword [esp], eax
call fcn.0040acd0
mov dword [esp + 4], 0x405
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
mov dword [esp], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 4], 7
mov dword [esp + 8], 0
call dword [sym.imp.kernel32.dll_SetFilePointerEx]
sub esp, 0x14
mov dword [esp], eax
mov dword [esp + 4], str.SetFilePointerEx_failed_n
call fcn.0040acd0
mov dword [esp + 4], 0x406
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_SetEndOfFile]
sub esp, 4
mov dword [esp + 4], str.SetEndOfFile_failed_n
mov dword [esp], eax
call fcn.0040acd0
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
mov dword [esp + 4], str.wine_test_dir_f1_symlink
mov dword [esp], 0x40d2a0
call dword [0x410024]
cmp eax, 0x522
mov esi, eax
sete dl
cmp eax, 1
sete al
or dl, al
jne 0x4016c6
cmp esi, 0x78
jne 0x40196e
mov dword [esp + 4], 0x40c
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
mov dword [ebp - 0x478], 2
call fcn.0040aa60
mov dword [esp], str.Privilege_not_held_or_symbolic_link_not_supported__skipping_symbolic_link_tests._n
call fcn.0040ade0
mov dword [esp + 4], str.wine_test_dir_f1_link
mov dword [esp], 0x40d2a0
call dword [0x410044]
mov dword [esp + 4], 0x411
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
mov esi, eax
call fcn.0040aa60
xor eax, eax
test esi, esi
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str._Link__:_expect:_ERROR_SUCCESS__got__d_n
mov dword [esp], eax
call fcn.0040acd0
mov dword [ebp - 0x48c], 0
call dword [sym.imp.msvcrt.dll__errno]
mov dword [eax], 0xdeadbeef
mov eax, dword [ebx]
mov dword [esp], eax
call dword [0x410014]
mov dword [ebp - 0x490], eax
xor eax, eax
cmp byte [ebx + 8], 0
je 0x401784
mov esi, dword [str.windows]
mov edi, 0x40d424
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.0040ae40
add dword [ebp - 0x48c], 1
mov esi, dword [ebp - 0x490]
mov edi, dword [ebp - 0x48c]
jmp 0x4017e1
mov dword [esp + 4], 0x417
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
mov eax, dword [ebx + 4]
mov dword [esp + 0x10], esi
mov dword [esp + 8], edi
cmp eax, esi
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 4], str._Unlink__:_test__d_expect:__d__got__d_n
movzx eax, al
mov dword [esp], eax
call fcn.0040acd0
call fcn.0040ae90
call fcn.0040ae70
test eax, eax
jne 0x4017a1
mov dword [esp + 4], 0x419
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
call dword [sym.imp.msvcrt.dll__errno]
mov edx, dword [ebp - 0x490]
mov edi, dword [ebp - 0x48c]
mov dword [esp + 4], str._Unlink__:_test__d_errno_expect:_0xdeadbeef__got__d_n
mov dword [esp + 0xc], edx
mov dword [esp + 8], edi
cmp dword [eax], 0xdeadbeef
sete al
add ebx, 0xc
movzx eax, al
mov dword [esp], eax
call fcn.0040acd0
cmp edi, 7
jne 0x401740
mov dword [esp + 4], 0x41c
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
mov ebx, dword [sym.imp.kernel32.dll_DeleteFileW]
mov dword [esp], 0x40d2a0
call ebx
sub esp, 4
test eax, eax
sete al
mov dword [esp + 4], str.expect_wine_test_dir_f1_not_to_exist_n
movzx eax, al
mov dword [esp], eax
call fcn.0040acd0
mov dword [esp + 4], 0x41d
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
mov dword [esp], str.wine_test_dir_f1_link
call ebx
sub esp, 4
test eax, eax
sete al
mov dword [esp + 4], str.expect_wine_test_dir_f1_link_not_to_exist_n
movzx eax, al
mov dword [esp], eax
call fcn.0040acd0
mov dword [esp + 4], 0x41e
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
mov dword [esp], str.wine_test_dir_f1_symlink
call ebx
sub esp, 4
test eax, eax
sete al
mov dword [esp + 4], str.expect_wine_test_dir_f1_symlink_not_to_exist_n
movzx eax, al
mov dword [esp], eax
call fcn.0040acd0
mov dword [esp], str.wine_test_dir
call dword [0x410030]
mov dword [esp + 4], 0x420
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
movzx ebx, al
call fcn.0040aa60
xor eax, eax
cmp ebx, 1
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str._Remove_dir__:_expect_1_got__d_n
mov dword [esp], eax
call fcn.0040acd0
mov dword [esp + 4], 0x422
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
lea eax, [ebp - 0x220]
mov dword [esp], eax
mov eax, dword [ebp - 0x494]
call eax
sub esp, 4
mov dword [esp + 4], str.SetCurrentDirectoryW_failed_n
mov dword [esp], eax
call fcn.0040acd0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0x40e
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
xor eax, eax
test esi, esi
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str._Symlink__:_expect:_ERROR_SUCCESS__got__d_n
mov dword [esp], eax
call fcn.0040acd0
jmp 0x4016f0