Function at 0x40a2b0
Capabilities:
Clear file content
Create 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], 0x417196
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
mov edi, dword [sym.imp.kernel32.dll_CreateFileA]
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], 0x40000000
mov dword [esp], 0x4171a3
call edi
sub esp, 0x1c
mov ebx, eax
mov dword [esp + 4], 0x4aa
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
call fcn.00413590
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.00413800
mov dword [esp + 4], 0x4ac
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
call fcn.00413590
mov dword [esp], ebx
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.00413800
mov dword [esp + 4], 0x4ad
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
call fcn.00413590
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_SetEndOfFile]
sub esp, 4
mov dword [esp + 4], str.SetEndOfFile_failed_n
mov dword [esp], eax
call fcn.00413800
mov dword [esp], ebx
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
call esi
sub esp, 4
mov dword [esp], 0x4171a3
call dword [0x41b16c]
mov dword [esp + 4], 0x4b0
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
mov ebx, edx
mov dword [ebp - 0x1c], eax
call fcn.00413590
mov eax, dword [ebp - 0x1c]
test ebx, ebx
je 0x40a7b0
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], str._lx_08lx
call fcn.00403d70
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], str.file_size_is__s_n
xor eax, 7
or eax, ebx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00413800
mov dword [esp], 0x417230
call dword [0x41b168]
mov dword [esp + 4], 0x4b2
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
mov ebx, edx
mov dword [ebp - 0x1c], eax
call fcn.00413590
mov eax, dword [ebp - 0x1c]
test ebx, ebx
je 0x40a7c5
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], str._lx_08lx
call fcn.00403d70
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], str.file_size_is__s_n
xor eax, 7
or eax, ebx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00413800
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], 0x4171de
call edi
sub esp, 0x1c
mov ebx, eax
mov dword [esp + 4], 0x4b5
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
call fcn.00413590
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.00413800
mov dword [esp], ebx
call esi
sub esp, 4
mov dword [esp], 0x4171de
call dword [0x41b16c]
mov dword [esp + 4], 0x4b8
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
mov ebx, edx
mov esi, eax
call fcn.00413590
test ebx, ebx
je 0x40a7e0
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], str._lx_08lx
call fcn.00403d70
mov dword [esp + 8], eax
xor eax, eax
or esi, ebx
sete al
mov dword [esp + 4], str.file_size_is__s_n
mov dword [esp], eax
call fcn.00413800
mov dword [esp], 0x417196
call dword [0x41b16c]
mov dword [esp + 4], 0x4bb
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
mov ebx, edx
mov esi, eax
call fcn.00413590
test ebx, ebx
je 0x40a7f5
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], str._lx_08lx
call fcn.00403d70
mov dword [esp + 8], eax
xor eax, eax
or esi, ebx
sete al
mov dword [esp + 4], str.file_size_is__s_n
mov dword [esp], eax
call fcn.00413800
mov ebx, dword [sym.imp.msvcrt.dll__errno]
call ebx
mov dword [eax], 0xdeadbeef
mov dword [esp], str.tr2_test_dir_not_exists_file
call dword [0x41b16c]
mov dword [esp + 4], 0x4bf
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
mov esi, edx
mov edi, eax
call fcn.00413590
test esi, esi
je 0x40a810
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], str._lx_08lx
call fcn.00403d70
mov dword [esp + 8], eax
xor eax, eax
or edi, esi
sete al
mov dword [esp + 4], str.file_size_is__s_n
mov dword [esp], eax
call fcn.00413800
mov dword [esp + 4], 0x4c0
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
call fcn.00413590
call ebx
mov esi, dword [eax]
call ebx
mov dword [esp + 4], str.errno___d_n
mov dword [esp + 8], esi
cmp dword [eax], 0xdeadbeef
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00413800
call ebx
mov dword [eax], 0xdeadbeef
mov dword [esp], 0
call dword [0x41b16c]
mov dword [esp + 4], 0x4c4
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
mov esi, edx
mov edi, eax
call fcn.00413590
test esi, esi
je 0x40a825
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], str._lx_08lx
call fcn.00403d70
mov dword [esp + 8], eax
xor eax, eax
or edi, esi
sete al
mov dword [esp + 4], str.file_size_is__s_n
mov dword [esp], eax
call fcn.00413800
mov dword [esp + 4], 0x4c5
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
call fcn.00413590
call ebx
mov esi, dword [eax]
call ebx
mov dword [esp + 4], str.errno___d_n
mov dword [esp + 8], esi
cmp dword [eax], 0xdeadbeef
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00413800
mov dword [esp + 4], 0x4c7
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
call fcn.00413590
mov ebx, dword [sym.imp.kernel32.dll_DeleteFileA]
mov dword [esp], 0x4171a3
call ebx
sub esp, 4
mov dword [esp], eax
mov dword [esp + 4], str.expect_tr2_test_dir_f1_to_exist_n
call fcn.00413800
mov dword [esp + 4], 0x4c8
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
call fcn.00413590
mov dword [esp], 0x4171de
call ebx
sub esp, 4
mov dword [esp], eax
mov dword [esp + 4], str.expect_tr2_test_dir_f2_to_exist_n
call fcn.00413800
mov dword [esp + 4], 0x4c9
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
call fcn.00413590
mov dword [esp], 0x417196
call dword [0x41b144]
mov dword [esp + 4], str.expect_tr2_test_dir_to_exist_n
movzx eax, al
mov dword [esp], eax
call fcn.00413800
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], eax
mov dword [esp], 0x4184c9
call fcn.00403d70
jmp 0x40a414
mov dword [esp + 4], eax
mov dword [esp], 0x4184c9
call fcn.00403d70
jmp 0x40a47b
mov dword [esp + 4], esi
mov dword [esp], 0x4184c9
call fcn.00403d70
jmp 0x40a550
mov dword [esp + 4], esi
mov dword [esp], 0x4184c9
call fcn.00403d70
jmp 0x40a5ac
mov dword [esp + 4], edi
mov dword [esp], 0x4184c9
call fcn.00403d70
jmp 0x40a616
mov dword [esp + 4], edi
mov dword [esp], 0x4184c9
call fcn.00403d70
jmp 0x40a6b4