Function at 0x4028f0
Capabilities:
Create directory
Delete file
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea eax, [ebp - 0x220]
push ebx
lea ebx, [ebp - 0x428]
sub esp, 0x44c
mov dword [esp + 4], eax
mov dword [esp], 0x104
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
sub esp, 8
mov dword [esp + 4], ebx
mov dword [esp], 0x104
call dword [sym.imp.kernel32.dll_GetTempPathW]
sub esp, 8
mov dword [esp + 4], 0x54d
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
mov eax, dword [sym.imp.kernel32.dll_SetCurrentDirectoryW]
mov dword [esp], ebx
mov dword [ebp - 0x438], eax
call eax
sub esp, 4
mov dword [esp + 4], str.SetCurrentDirectoryW_to_temp_path_failed_n
mov dword [esp], eax
call fcn.0040acd0
mov dword [esp + 4], 0
mov dword [esp], str.wine_test_dir
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
mov edi, dword [sym.imp.kernel32.dll_CreateFileW]
sub esp, 8
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], 0
mov dword [esp], str.wine_test_dir_f1
call edi
sub esp, 0x1c
mov ebx, eax
mov dword [esp + 4], 0x551
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
xor eax, eax
cmp ebx, 0xffffffff
mov dword [esp + 4], str.create_file_failed:_INVALID_HANDLE_VALUE_n
setne al
mov dword [esp], eax
call fcn.0040acd0
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esp], ebx
call esi
sub esp, 4
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], 0
mov dword [esp], str.wine_test_dir_f2
call edi
sub esp, 0x1c
mov ebx, eax
mov dword [esp + 4], 0x554
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
xor eax, eax
cmp ebx, 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], ebx
mov ebx, 0x40ecec
call esi
mov edx, 0xffffffff
xor ecx, ecx
xor esi, esi
mov eax, edx
sub esp, 4
mov edx, ebx
mov dword [ebp - 0x42c], 0
mov ebx, ecx
mov edi, dword [sym.imp.msvcrt.dll__errno]
mov ecx, eax
jmp 0x402ab7
mov edx, dword [ebp - 0x434]
mov eax, dword [edx + 4]
mov ebx, dword [edx]
add edx, 0xc
mov ecx, dword [edx - 4]
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x434], edx
add esi, 1
mov dword [ebp - 0x430], ecx
call edi
mov dword [eax], 0xdeadbeef
mov eax, dword [ebp - 0x42c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [0x410058]
mov dword [esp + 4], 0x55a
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
mov ebx, eax
call fcn.0040aa60
mov ecx, dword [ebp - 0x430]
xor eax, eax
mov dword [esp + 0x10], ebx
mov dword [esp + 8], esi
cmp ebx, ecx
mov dword [esp + 0xc], ecx
sete al
mov dword [esp + 4], str._Equivalent__:_test__d_expect:__d__got__d_n
mov dword [esp], eax
call fcn.0040acd0
mov dword [esp + 4], 0x55b
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
call edi
mov ebx, dword [eax]
call edi
mov dword [esp + 4], str.errno___d_n
mov dword [esp + 8], ebx
cmp dword [eax], 0xdeadbeef
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0040acd0
cmp esi, 0xc
jne 0x402aa0
call edi
mov dword [eax], 0xdeadbeef
mov dword [esp + 4], str.wine_test_dir
mov dword [esp], str.wine_test_dir
call dword [0x410058]
mov dword [esp + 4], 0x560
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
mov ebx, eax
call fcn.0040aa60
mov eax, 1
cmp ebx, 1
je 0x402bb8
xor eax, eax
cmp ebx, 0xffffffff
sete al
mov dword [esp], eax
call fcn.0040ab40
test eax, eax
setne al
movzx eax, al
mov dword [esp], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
mov dword [esp + 4], str._Equivalent___returned__d__expected__d_n
call fcn.0040acd0
mov dword [esp + 4], 0x561
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
call edi
mov ebx, dword [eax]
call edi
mov dword [esp + 4], str.errno___d_n
mov dword [esp + 8], ebx
cmp dword [eax], 0xdeadbeef
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0040acd0
mov dword [esp + 4], 0x563
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
mov ebx, dword [sym.imp.kernel32.dll_DeleteFileW]
mov dword [esp], str.wine_test_dir_f1
call ebx
sub esp, 4
mov dword [esp], eax
mov dword [esp + 4], str.expect_wine_test_dir_f1_to_exist_n
call fcn.0040acd0
mov dword [esp + 4], 0x564
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
mov dword [esp], str.wine_test_dir_f2
call ebx
sub esp, 4
mov dword [esp], eax
mov dword [esp + 4], str.expect_wine_test_dir_f2_to_exist_n
call fcn.0040acd0
mov dword [esp + 4], 0x565
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
mov dword [esp], str.wine_test_dir
call dword [0x410030]
mov dword [esp + 4], str.expect_wine_test_dir_to_exist_n
movzx eax, al
mov dword [esp], eax
call fcn.0040acd0
mov dword [esp + 4], 0x566
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 - 0x438]
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