Function at 0x409090
Capabilities:
Clear file content
Delete file

Disassembly:
push ebp
mov ecx, 0x20
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x98]
mov esi, 0x415780
push ebx
sub esp, 0xbc
rep movsd dword es:[edi], dword [esi]
mov dword [esp], 0x417196
call dword [0x41b14c]
mov dword [esp + 4], 0x78a
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
mov ebx, eax
call fcn.00413590
xor eax, eax
cmp ebx, 1
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.test_tr2_sys__Make_dir__:_expect_1_got__d_n
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], 0x41738c
call dword [sym.imp.kernel32.dll_CreateFileA]
sub esp, 0x1c
mov ebx, eax
mov dword [esp + 4], 0x78c
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], 0x78e
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], 0x78f
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
lea ebx, [ebp - 0x98]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [ebp - 0x9c], 0
mov eax, dword fs:[0x18]
mov dword [ebp - 0xa8], eax
sub esp, 4
call dword [sym.imp.msvcrt.dll__errno]
mov dword [eax], 0xdeadbeef
mov eax, dword [ebp - 0xa8]
mov dword [eax + 0x34], 0xdeadbeef
mov eax, dword [ebx + 4]
mov dword [ebp - 0xa4], eax
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov dword [esp], eax
call dword [0x41b0f8]
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], eax
test edx, edx
jne 0x409265
cmp eax, 0x522
mov ecx, eax
sete dl
cmp eax, 1
sete al
or dl, al
jne 0x409694
cmp ecx, 0x78
je 0x409694
mov dword [esp + 4], 0x79e
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
call fcn.00413590
call dword [sym.imp.msvcrt.dll__errno]
add dword [ebp - 0x9c], 1
mov edi, dword [ebp - 0x9c]
mov esi, dword [eax]
call dword [sym.imp.msvcrt.dll__errno]
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
mov dword [esp + 4], str.tr2_sys__Symlink__:_test__d_errno_expect_0xdeadbeef__got__d_n
cmp dword [eax], 0xdeadbeef
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00413800
xor eax, eax
cmp byte [ebx + 0xc], 0
je 0x4092df
mov esi, dword [str.windows]
mov edi, 0x41751c
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.00413970
mov esi, dword [ebp - 0xa0]
mov edi, dword [ebp - 0x9c]
jmp 0x409335
mov dword [esp + 4], 0x7a0
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
call fcn.00413590
mov eax, dword [ebx + 8]
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.tr2_sys__Symlink__:_test__d_expect:__d__got__d_n
movzx eax, al
mov dword [esp], eax
call fcn.00413800
call fcn.004139c0
call fcn.004139a0
test eax, eax
jne 0x4092f5
mov eax, dword [ebp - 0xa0]
test eax, eax
je 0x409610
add ebx, 0x10
cmp dword [ebp - 0x9c], 8
jne 0x409203
mov dword [esp + 4], 0x7a5
mov edi, 0x41751c
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
call fcn.00413590
mov ebx, dword [sym.imp.kernel32.dll_DeleteFileA]
mov dword [esp], 0x41738c
call ebx
sub esp, 4
mov dword [esp], eax
mov dword [esp + 4], str.expect_f1_to_exist_n
call fcn.00413800
mov esi, dword [str.windows]
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.00413970
jmp 0x4093f5
mov dword [esp + 4], 0x7a6
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
call fcn.00413590
mov dword [esp], str.f1_link
call ebx
sub esp, 4
mov dword [esp], eax
mov dword [esp + 4], str.expect_f1_link_to_exist_n
call fcn.00413800
call fcn.004139c0
call fcn.004139a0
test eax, eax
jne 0x4093c0
mov esi, dword [str.windows]
mov ecx, 5
mov edi, 0x41751c
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.00413970
jmp 0x409465
mov dword [esp + 4], 0x7a7
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
call fcn.00413590
mov dword [esp], 0x4174d7
call ebx
sub esp, 4
mov dword [esp], eax
mov dword [esp + 4], str.expect_tr2_test_dir_f1_link_to_exist_n
call fcn.00413800
call fcn.004139c0
call fcn.004139a0
test eax, eax
jne 0x409430
mov esi, dword [str.windows]
mov ecx, 5
mov edi, 0x41751c
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.00413970
jmp 0x4094d5
mov dword [esp + 4], 0x7a8
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
call fcn.00413590
mov dword [esp], 0x418517
call ebx
sub esp, 4
mov dword [esp], eax
mov dword [esp + 4], str.expect_tr2_test_dir_f1_link_link_to_exist_n
call fcn.00413800
call fcn.004139c0
call fcn.004139a0
test eax, eax
jne 0x4094a0
mov esi, dword [str.windows]
mov ecx, 5
mov edi, 0x41751c
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.00413970
jmp 0x409545
mov dword [esp + 4], 0x7a9
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
call fcn.00413590
mov dword [esp], str.not_exist_link
call ebx
sub esp, 4
mov dword [esp], eax
mov dword [esp + 4], str.expect_not_exist_link_to_exist_n
call fcn.00413800
call fcn.004139c0
call fcn.004139a0
test eax, eax
jne 0x409510
mov esi, dword [str.windows]
mov ecx, 5
mov edi, 0x41751c
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.00413970
jmp 0x4095b5
mov dword [esp + 4], 0x7aa
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
call fcn.00413590
mov dword [esp], str.dir_link
call ebx
sub esp, 4
mov dword [esp], eax
mov dword [esp + 4], str.expect_dir_link_to_exist_n
call fcn.00413800
call fcn.004139c0
call fcn.004139a0
test eax, eax
jne 0x409580
mov dword [esp], 0x417196
call dword [0x41b144]
mov dword [esp + 4], 0x7ac
movzx ebx, al
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
call fcn.00413590
xor eax, eax
cmp ebx, 1
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.tr2_sys__Remove_dir__:_expect_1_got__d_n
mov dword [esp], eax
call fcn.00413800
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0x7a2
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
call fcn.00413590
mov eax, dword [ebp - 0xa4]
mov dword [esp], eax
call dword [0x41b16c]
test edx, edx
je 0x409680
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], str._lx_08lx
call fcn.00403d70
mov esi, eax
mov eax, dword [ebp - 0xa4]
mov dword [esp], eax
call dword [0x41b16c]
mov dword [esp + 8], esi
or eax, edx
mov dword [esp + 4], str.tr2_sys__Symlink__:_expect_0__got__s_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00413800
jmp 0x40934c
mov dword [esp + 4], eax
mov dword [esp], 0x4184c9
call fcn.00403d70
mov esi, eax
jmp 0x40964d
mov dword [esp + 4], 0x797
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
call fcn.00413590
mov dword [esp], str.Privilege_not_held_or_symbolic_link_not_supported__skipping_symbolic_link_tests._n
call fcn.00413910
mov dword [esp + 4], 0x798
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
call fcn.00413590
mov dword [esp], 0x41738c
call dword [sym.imp.kernel32.dll_DeleteFileA]
sub esp, 4
mov dword [esp], eax
mov dword [esp + 4], str.expect_f1_to_exist_n
call fcn.00413800
mov dword [esp], 0x417196
call dword [0x41b144]
mov dword [esp + 4], 0x79a
movzx ebx, al
jmp 0x4095d6