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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea eax, [ebp - 0x428]
lea esi, [ebp - 0x220]
push ebx
sub esp, 0xbbc
mov dword [esp + 4], eax
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], 0x38f
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 - 0xb9c], 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 eax, dword [sym.imp.kernel32.dll_CreateDirectoryW]
mov dword [esp + 4], 0
mov dword [esp], str.wine_test_dir
mov dword [ebp - 0xb94], eax
call eax
mov edx, dword [sym.imp.kernel32.dll_CreateFileW]
sub esp, 8
mov dword [ebp - 0xb7c], edx
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 edx
sub esp, 0x1c
mov ebx, eax
mov dword [esp + 4], 0x393
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 edi, dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esp], ebx
call edi
mov edx, dword [ebp - 0xb7c]
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 edx
sub esp, 0x1c
mov ebx, eax
mov dword [esp + 4], 0x396
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
call edi
mov eax, dword [ebp - 0xb94]
sub esp, 4
mov dword [esp + 4], 0
mov dword [esp], str.wine_test_dir_sub_dir
call eax
mov edx, dword [ebp - 0xb7c]
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_sub_dir_f1
call edx
sub esp, 0x1c
mov ebx, eax
mov dword [esp + 4], 0x39a
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
lea ebx, [ebp - 0x630]
call edi
lea edi, [ebp - 0x630]
mov ecx, 0x82
rep movsd dword es:[edi], dword [esi]
sub esp, 4
mov esi, dword [sym.imp.msvcrt.dll_wcscat]
mov dword [esp + 4], str.wine_test_dir_
mov dword [esp], ebx
call esi
lea esi, [esi]
cmp word [ebp - 0x630], 0
je 0x407522
mov eax, ebx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x407510
sub eax, ebx
cmp eax, 0x204
jg 0x407531
mov dword [esp + 4], 0x40df8c
mov dword [esp], ebx
call esi
jmp 0x407500
mov eax, 0xffffffff
mov ecx, 0x82
lea edi, [ebp - 0xa40]
mov dword [ebp - 0xb70], 0xdeadbeef
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xb74]
mov dword [esp + 4], ebx
mov dword [esp + 0xc], eax
lea eax, [ebp - 0xb70]
mov dword [esp + 8], eax
lea eax, [ebp - 0xa40]
mov dword [ebp - 0xb74], 0xdeadbeef
mov dword [esp], eax
call dword [0x410038]
mov dword [esp + 4], 0x3a5
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
mov ebx, eax
call fcn.0040aa60
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str._Open_dir__:_expect_NULL__got__p_n
mov dword [esp], eax
call fcn.0040acd0
mov dword [esp + 4], 0x3a6
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
lea eax, [ebp - 0xa40]
shr eax, 0x10
mov dword [ebp - 0xb90], eax
je 0x408376
lea eax, [ebp - 0xa40]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x4076ca
cmp word [ebp - 0xa40], 0
je 0x407612
add eax, 1
cmp word [ebp + eax*2 - 0xa40], 0
jne 0x407604
mov edx, 0x224c
lea ecx, [ebp - 0xa40]
lea edi, [ebp - 0x716]
mov word [ebp - 0x838], dx
lea edx, [ebp - 0x836]
lea ebx, [eax - 1]
mov dword [ebp - 0xb7c], ecx
cmp edx, edi
ja 0x407697
lea esi, [esi]
test eax, eax
jle 0x407697
add dword [ebp - 0xb7c], 2
mov eax, dword [ebp - 0xb7c]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x408363
ja 0x407920
cmp ax, 9
je 0x4082d3
cmp ax, 0xa
jne 0x408303
mov eax, 0x6e5c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
lea esi, [esi]
nop
lea ebx, [eax - 1]
cmp edx, edi
jbe 0x407640
mov byte [edx], 0x22
lea eax, [edx + 1]
test ebx, ebx
jle 0x4076b1
mov ecx, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], cx
mov byte [eax], 0
lea eax, [ebp - 0x838]
mov dword [esp], eax
mov dword [ebp - 0xb7c], eax
call fcn.0040b780
jmp 0x4076db
lea ecx, [ebp - 0x838]
mov eax, str._invalid_
mov dword [ebp - 0xb7c], ecx
mov dword [esp + 8], eax
xor eax, eax
cmp word [ebp - 0xa40], 0
lea edi, [ebp - 0xa40]
sete al
mov dword [esp + 4], str._Open_dir__:_expect:_0__got__s_n
mov dword [esp], eax
call fcn.0040acd0
mov dword [esp + 4], 0x3a7
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
mov eax, dword [ebp - 0xb70]
mov dword [esp + 4], str._Open_dir__:_expect:_ERROR_BAD_PATHNAME__got__d_n
cmp eax, 0xa1
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0040acd0
mov dword [esp + 4], 0x3a8
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
mov eax, dword [ebp - 0xb74]
mov dword [esp + 4], str._Open_dir__:_expect_0xdeadbeef__got__d_n
cmp eax, 0xdeadbeef
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0040acd0
mov edx, 0x82
mov eax, 0xffffffff
mov dword [ebp - 0xb74], 0xdeadbeef
mov dword [ebp - 0xb70], 0xdeadbeef
mov ecx, edx
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0xb7c]
mov edx, ecx
mov ecx, 0x82
mov eax, edx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xb74]
mov dword [esp + 4], str.wine_test_dir
mov dword [esp + 0xc], eax
lea eax, [ebp - 0xb70]
mov dword [esp + 8], eax
lea eax, [ebp - 0xa40]
mov dword [esp], eax
call dword [0x410038]
mov dword [esp + 4], 0x3af
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
mov edi, eax
call fcn.0040aa60
xor eax, eax
test edi, edi
mov dword [esp + 8], edi
setne al
mov dword [esp + 4], str._Open_dir__:_expect:_not_NULL__got__p_n
mov dword [esp], eax
mov dword [ebp - 0xb98], eax
call fcn.0040acd0
mov dword [esp + 4], 0x3b0
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
mov eax, dword [ebp - 0xb70]
mov dword [esp + 4], str._Open_dir__:_expect:_ERROR_SUCCESS__got__d_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0040acd0
cmp word [ebp - 0xa40], 0
je 0x40841e
mov dword [ebp - 0xb88], 0
lea esi, [ebp - 0xa40]
mov ebx, dword [sym.imp.msvcrt.dll_wcscmp]
mov dword [ebp - 0xb8c], 0
mov dword [ebp - 0xb84], 0
mov dword [ebp - 0xb80], 0
jmp 0x4078ea
add dword [ebp - 0xb80], 1
mov dword [esp + 4], 0x3b5
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
mov eax, dword [ebp - 0xb74]
mov dword [esp + 4], str.expect_regular_file__got__d_n
cmp eax, 1
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0040acd0
lea eax, [ebp - 0xb74]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xb7c]
mov dword [esp], eax
call dword [0x410034]
cmp word [eax], 0
mov esi, eax
je 0x407971
mov dword [esp + 4], 0x40e084
mov dword [esp], esi
call ebx
test eax, eax
je 0x407883
mov dword [esp + 4], 0x40e0a8
mov dword [esp], esi
call ebx
test eax, eax
jne 0x407950
add dword [ebp - 0xb84], 1
mov dword [esp + 4], 0x3b8
jmp 0x407892
cmp ax, 0x22
je 0x4082f0
cmp ax, 0x5c
jne 0x408303
mov esi, 0x5c5c
add edx, 2
mov eax, ebx
mov word [edx - 2], si
jmp 0x407690
mov dword [esp + 4], str.sub_dir
mov dword [esp], esi
call ebx
test eax, eax
je 0x408143
add dword [ebp - 0xb88], 1
jmp 0x4078c1
xor ebx, ebx
cmp dword [ebp - 0xb80], 1
mov edx, dword [ebp - 0xb88]
sete bl
xor eax, eax
cmp dword [ebp - 0xb84], 1
sete al
mov esi, eax
xor eax, eax
cmp dword [ebp - 0xb8c], 1
sete al
mov dword [ebp - 0xb7c], eax
xor eax, eax
test edx, edx
sete al
mov dword [ebp - 0xba0], eax
mov dword [esp + 4], 0x3c1
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
mov eax, dword [ebp - 0xb74]
mov dword [esp + 4], str._Read_dir__:_expect:_status_unknown__got__d_n
cmp eax, 8
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0040acd0
mov dword [esp], edi
call dword [0x410064]
mov dword [esp + 4], 0x3c3
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
mov eax, dword [ebp - 0xb98]
mov dword [esp + 8], edi
lea edi, [ebp - 0xa40]
mov dword [esp + 4], str._Open_dir__:_expect:_not_NULL__got__p_n
mov dword [esp], eax
call fcn.0040acd0
mov dword [esp + 4], 0x3c4
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
mov eax, dword [ebp - 0xb80]
mov dword [esp], ebx
mov dword [esp + 4], str.found_f1__d_times_n
mov dword [esp + 8], eax
call fcn.0040acd0
mov dword [esp + 4], 0x3c5
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
mov eax, dword [ebp - 0xb84]
mov dword [esp + 4], str.found_f2__d_times_n
mov dword [esp], esi
mov dword [esp + 8], eax
call fcn.0040acd0
mov dword [esp + 4], 0x3c6
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
mov eax, dword [ebp - 0xb8c]
mov dword [esp + 4], str.found_sub_dir__d_times_n
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xb7c]
mov dword [esp], eax
call fcn.0040acd0
mov dword [esp + 4], 0x3c7
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
mov eax, dword [ebp - 0xb88]
mov dword [esp + 4], str.found__d_other_files_n
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xba0]
mov dword [esp], eax
call fcn.0040acd0
mov eax, 0xffffffff
mov ecx, 0x82
mov dword [ebp - 0xb74], 0xdeadbeef
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xb74]
mov dword [ebp - 0xb70], 0xdeadbeef
mov dword [esp + 0xc], eax
lea eax, [ebp - 0xb70]
mov dword [esp + 8], eax
lea eax, [ebp - 0xa40]
mov dword [esp + 4], str.not_exist
mov dword [esp], eax
call dword [0x410038]
mov dword [esp + 4], 0x3cd
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
mov ebx, eax
call fcn.0040aa60
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str._Open_dir__:_expect:_NULL__got__p_n
mov dword [esp], eax
call fcn.0040acd0
mov dword [esp + 4], 0x3ce
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
mov eax, dword [ebp - 0xb70]
mov dword [esp + 4], str._Open_dir__:_expect:_ERROR_BAD_PATHNAME__got__d_n
cmp eax, 0xa1
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0040acd0
mov dword [esp + 4], 0x3cf
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
mov eax, dword [ebp - 0xb74]
mov dword [esp + 4], str._Open_dir__:_expect:_0xdeadbeef__got__d_n
cmp eax, 0xdeadbeef
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0040acd0
mov dword [esp + 4], 0x3d0
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
mov eax, dword [ebp - 0xb90]
test eax, eax
je 0x4083d2
lea eax, [ebp - 0xa40]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov esi, eax
sub esp, 8
mov eax, str._invalid_
test esi, esi
jne 0x407cf2
cmp word [ebp - 0xa40], 0
je 0x407c3e
lea esi, [esi]
nop
add esi, 1
cmp word [ebp + esi*2 - 0xa40], 0
jne 0x407c30
mov eax, 0x224c
lea ecx, [ebp - 0xa40]
lea edx, [ebp - 0xb6a]
lea edi, [ebp - 0xa4a]
mov word [ebp - 0xb6c], ax
lea ebx, [esi - 1]
mov dword [ebp - 0xb7c], ecx
cmp edx, edi
ja 0x407cc7
lea esi, [esi]
test esi, esi
jle 0x407cc7
add dword [ebp - 0xb7c], 2
mov eax, dword [ebp - 0xb7c]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x4082a6
ja 0x4080f0
cmp ax, 9
je 0x408280
cmp ax, 0xa
jne 0x408220
mov eax, 0x6e5c
add edx, 2
mov esi, ebx
mov word [edx - 2], ax
lea esi, [esi]
nop
lea ebx, [esi - 1]
cmp edx, edi
jbe 0x407c70
mov byte [edx], 0x22
lea eax, [edx + 1]
test ebx, ebx
jle 0x407ce1
mov ecx, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], cx
mov byte [eax], 0
lea eax, [ebp - 0xb6c]
mov dword [esp], eax
call fcn.0040b780
mov dword [esp + 8], eax
xor eax, eax
cmp word [ebp - 0xa40], 0
lea edi, [ebp - 0xa40]
sete al
mov dword [esp + 4], str._Open_dir__:_expect:_0__got__s_n
mov dword [esp], eax
call fcn.0040acd0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xb94]
mov dword [esp], str.empty_dir
call eax
mov eax, 0xffffffff
mov ecx, 0x82
mov dword [ebp - 0xb74], 0xdeadbeef
rep stosd dword es:[edi], eax
sub esp, 8
lea eax, [ebp - 0xb74]
mov dword [ebp - 0xb70], 0xdeadbeef
mov dword [esp + 0xc], eax
lea eax, [ebp - 0xb70]
mov dword [esp + 8], eax
lea eax, [ebp - 0xa40]
mov dword [esp + 4], str.empty_dir
mov dword [esp], eax
call dword [0x410038]
mov dword [esp + 4], 0x3d7
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
mov ebx, eax
call fcn.0040aa60
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str._Open_dir__:_expect:_NULL__got__p_n
mov dword [esp], eax
mov dword [ebp - 0xb7c], eax
call fcn.0040acd0
mov dword [esp + 4], 0x3d8
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
mov eax, dword [ebp - 0xb70]
mov dword [esp + 4], str._Open_dir__:_expect:_ERROR_SUCCESS__got__d_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0040acd0
mov dword [esp + 4], 0x3d9
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
mov eax, dword [ebp - 0xb74]
mov dword [esp + 4], str._Open_dir__:_expect:_status_unknown__got__d_n
cmp eax, 8
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0040acd0
mov dword [esp + 4], 0x3da
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
mov edx, dword [ebp - 0xb90]
test edx, edx
je 0x4083aa
lea eax, [ebp - 0xa40]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, str._invalid_
test edx, edx
jne 0x407f25
cmp word [ebp - 0xa40], 0
je 0x407e8e
lea esi, [esi]
nop
add edx, 1
cmp word [ebp + edx*2 - 0xa40], 0
jne 0x407e80
mov eax, 0x224c
lea ecx, [ebp - 0xb6a]
lea esi, [ebp - 0xa40]
mov word [ebp - 0xb6c], ax
lea edi, [edx - 1]
test edx, edx
jle 0x407efa
lea esi, [esi]
lea eax, [ebp - 0xa4a]
cmp ecx, eax
ja 0x407efa
add esi, 2
movzx eax, word [esi - 2]
cmp ax, 0xd
je 0x408203
ja 0x408120
cmp ax, 9
je 0x4081f0
cmp ax, 0xa
jne 0x408190
mov eax, 0x6e5c
add ecx, 2
mov edx, edi
mov word [ecx - 2], ax
lea edi, [edx - 1]
test edx, edx
jg 0x407eb0
mov byte [ecx], 0x22
lea eax, [ecx + 1]
test edi, edi
jle 0x407f14
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0xb6c]
mov dword [esp], eax
call fcn.0040b780
mov dword [esp + 8], eax
xor eax, eax
cmp word [ebp - 0xa40], 0
sete al
mov dword [esp + 4], str._Open_dir__:_expect:_0__got__s_n
mov dword [esp], eax
call fcn.0040acd0
mov dword [esp], ebx
call dword [0x410064]
mov dword [esp + 4], 0x3dc
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
mov eax, dword [ebp - 0xb7c]
mov dword [esp + 8], ebx
mov dword [esp + 4], str._Open_dir__:_expect:_NULL__got__p_n
mov dword [esp], eax
call fcn.0040acd0
mov dword [esp + 4], 0x3de
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
mov ebx, dword [sym.imp.kernel32.dll_RemoveDirectoryW]
mov dword [esp], str.empty_dir
call ebx
sub esp, 4
mov dword [esp], eax
mov dword [esp + 4], str.expect_empty_dir_to_exist_n
call fcn.0040acd0
mov dword [esp + 4], 0x3df
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
mov esi, dword [sym.imp.kernel32.dll_DeleteFileW]
mov dword [esp], str.wine_test_dir_sub_dir_f1
call esi
sub esp, 4
mov dword [esp], eax
mov dword [esp + 4], str.expect_wine_test_dir_sub_dir_sub_f1_to_exist_n
call fcn.0040acd0
mov dword [esp + 4], 0x3e0
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
mov dword [esp], str.wine_test_dir_sub_dir
call ebx
sub esp, 4
mov dword [esp], eax
mov dword [esp + 4], str.expect_wine_test_dir_sub_dir_to_exist_n
call fcn.0040acd0
mov dword [esp + 4], 0x3e1
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
mov dword [esp], str.wine_test_dir_f1
call esi
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], 0x3e2
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
mov dword [esp], str.wine_test_dir_f2
call esi
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], 0x3e3
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
mov dword [esp], str.wine_test_dir
call ebx
sub esp, 4
mov dword [esp], eax
mov dword [esp + 4], str.expect_wine_test_dir_to_exist_n
call fcn.0040acd0
mov dword [esp + 4], 0x3e5
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
lea eax, [ebp - 0x428]
mov dword [esp], eax
mov eax, dword [ebp - 0xb9c]
call eax
sub esp, 4
mov dword [esp + 4], str.SetCurrentDirectoryW_to_origin_path_failed_n
mov dword [esp], eax
call fcn.0040acd0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp ax, 0x22
je 0x408293
cmp ax, 0x5c
jne 0x408220
mov esi, 0x5c5c
add edx, 2
mov word [edx - 2], si
mov esi, ebx
jmp 0x407cc0
cmp ax, 0x22
je 0x4082c0
cmp ax, 0x5c
jne 0x408190
mov eax, 0x5c5c
add ecx, 2
mov edx, edi
mov word [ecx - 2], ax
jmp 0x407ef3
mov dword [esp + 4], 0x3bb
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
add dword [ebp - 0xb8c], 1
call fcn.0040aa60
mov eax, dword [ebp - 0xb74]
mov dword [esp + 4], str.expect_directory_file__got__d_n
cmp eax, 2
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0040acd0
jmp 0x4078c1
lea edx, [eax - 0x20]
cmp dx, 0x5e
jbe 0x4083fa
mov edx, eax
mov byte [ecx], 0x5c
add ecx, 5
shr dx, 0xc
movzx edx, dx
movzx edx, byte [edx + str.0123456789abcdef]
mov byte [ecx - 4], dl
mov edx, eax
shr dx, 8
and edx, 0xf
movzx edx, byte [edx + str.0123456789abcdef]
mov byte [ecx - 3], dl
mov edx, eax
and eax, 0xf
shr dx, 4
movzx eax, byte [eax + str.0123456789abcdef]
and edx, 0xf
movzx edx, byte [edx + str.0123456789abcdef]
mov byte [ecx - 1], al
mov byte [ecx - 2], dl
mov edx, edi
jmp 0x407ef3
mov eax, 0x745c
add ecx, 2
mov edx, edi
mov word [ecx - 2], ax
jmp 0x407ef3
mov eax, 0x725c
add ecx, 2
mov edx, edi
mov word [ecx - 2], ax
jmp 0x407ef3
lea esi, [eax - 0x20]
cmp si, 0x5e
jbe 0x408406
mov esi, eax
mov byte [edx], 0x5c
add edx, 5
shr si, 0xc
movzx esi, si
movzx ecx, byte [esi + str.0123456789abcdef]
mov esi, eax
shr si, 8
and esi, 0xf
mov byte [edx - 4], cl
movzx ecx, byte [esi + str.0123456789abcdef]
mov esi, eax
and eax, 0xf
shr si, 4
movzx eax, byte [eax + str.0123456789abcdef]
and esi, 0xf
mov byte [edx - 3], cl
movzx ecx, byte [esi + str.0123456789abcdef]
mov byte [edx - 1], al
mov esi, ebx
mov byte [edx - 2], cl
jmp 0x407cc0
mov eax, 0x745c
add edx, 2
mov esi, ebx
mov word [edx - 2], ax
jmp 0x407cc0
mov eax, 0x225c
add edx, 2
mov esi, ebx
mov word [edx - 2], ax
jmp 0x407cc0
mov eax, 0x725c
add edx, 2
mov esi, ebx
mov word [edx - 2], ax
jmp 0x407cc0
mov eax, 0x225c
add ecx, 2
mov edx, edi
mov word [ecx - 2], ax
jmp 0x407ef3
mov eax, 0x745c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
jmp 0x407690
mov eax, 0x225c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
jmp 0x407690
lea esi, [eax - 0x20]
cmp si, 0x5e
jbe 0x408412
mov esi, eax
mov byte [edx], 0x5c
add edx, 5
shr si, 0xc
movzx esi, si
movzx ecx, byte [esi + str.0123456789abcdef]
mov esi, eax
shr si, 8
and esi, 0xf
mov byte [edx - 4], cl
movzx ecx, byte [esi + str.0123456789abcdef]
mov esi, eax
and eax, 0xf
shr si, 4
movzx eax, byte [eax + str.0123456789abcdef]
and esi, 0xf
mov byte [edx - 3], cl
movzx ecx, byte [esi + str.0123456789abcdef]
mov byte [edx - 1], al
mov eax, ebx
mov byte [edx - 2], cl
jmp 0x407690
mov eax, 0x725c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
jmp 0x407690
lea eax, [ebp - 0xa40]
mov dword [esp], str._04x
mov dword [ebp - 0xb7c], eax
movzx eax, word [ebp - 0xb7c]
mov dword [esp + 4], eax
call fcn.00401490
lea ecx, [ebp - 0x838]
mov dword [ebp - 0xb7c], ecx
jmp 0x4076db
lea eax, [ebp - 0xa40]
mov dword [esp], str._04x
mov dword [ebp - 0xb80], eax
movzx eax, word [ebp - 0xb80]
mov dword [esp + 4], eax
call fcn.00401490
jmp 0x407f25
lea eax, [ebp - 0xa40]
mov dword [esp], str._04x
mov dword [ebp - 0xb7c], eax
movzx eax, word [ebp - 0xb7c]
mov dword [esp + 4], eax
call fcn.00401490
jmp 0x407cf2
mov byte [ecx], al
mov edx, edi
add ecx, 1
jmp 0x407ef3
mov byte [edx], al
mov esi, ebx
add edx, 1
jmp 0x407cc0
mov byte [edx], al
add edx, 1
mov eax, ebx
jmp 0x407690
mov dword [ebp - 0xba0], 1
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0xb7c], 0
mov dword [ebp - 0xb88], 0
mov dword [ebp - 0xb8c], 0
mov dword [ebp - 0xb84], 0
mov dword [ebp - 0xb80], 0
jmp 0x4079b0