Function at 0x4046a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x324]
lea esi, [ebp - 0x11c]
push ebx
sub esp, 0x33c
mov dword [esp + 4], edi
mov dword [esp], 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
sub esp, 8
mov dword [esp + 4], esi
mov dword [esp], 0x104
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
sub esp, 8
mov dword [esp], esi
call dword [0x41b15c]
mov dword [esp + 4], 0x52a
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
mov ebx, eax
call fcn.00413590
xor eax, eax
cmp ebx, esi
mov dword [esp + 4], str.p_tr2_sys__Current_get_returned_different_buffer_n
sete al
lea ebx, [ebp - 0x220]
mov dword [esp], eax
call fcn.00413800
mov dword [esp + 4], 0x52c
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
call fcn.00413590
mov dword [esp], edi
call dword [0x41b154]
mov dword [esp + 4], str.p_tr2_sys__Current_set_to_temp_path_failed_n
movzx eax, al
mov dword [esp], eax
call fcn.00413800
mov dword [esp], ebx
call dword [0x41b15c]
mov dword [esp + 4], 0x52e
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
mov dword [ebp - 0x32c], eax
call fcn.00413590
xor eax, eax
cmp dword [ebp - 0x32c], ebx
mov dword [esp + 4], str.p_tr2_sys__Current_get_returned_different_buffer_n
sete al
mov dword [esp], eax
call fcn.00413800
mov eax, dword [ebp - 0x32c]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov edx, dword [ebp - 0x32c]
mov ecx, 0x5c
mov word [edx + eax], cx
mov dword [esp + 4], 0x530
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
call fcn.00413590
mov edx, dword [sym.imp.msvcrt.dll_strcmp]
mov dword [esp + 4], ebx
mov dword [esp], edi
mov dword [ebp - 0x330], edx
call edx
mov dword [esp + 0xc], ebx
test eax, eax
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.test_tr2_sys__Current_get__:_expect:__s__got__s_n
movzx eax, al
mov dword [esp], eax
call fcn.00413800
mov dword [esp + 4], 0x532
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
call fcn.00413590
mov dword [esp], 0x417726
call dword [0x41b150]
mov dword [esp + 4], str.p_tr2_sys__Current_set_wchar_to_temp_path_failed_n
movzx eax, al
mov dword [esp], eax
call fcn.00413800
mov dword [esp], ebx
call dword [0x41b15c]
mov dword [esp + 4], 0x534
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
mov dword [ebp - 0x32c], eax
call fcn.00413590
xor eax, eax
cmp dword [ebp - 0x32c], ebx
mov dword [esp + 4], str.p_tr2_sys__Current_get_returned_different_buffer_n
sete al
mov dword [esp], eax
call fcn.00413800
mov eax, dword [ebp - 0x32c]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov ecx, dword [ebp - 0x32c]
mov edx, 0x5c
mov word [ecx + eax], dx
mov dword [esp + 4], 0x536
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
call fcn.00413590
mov edx, dword [ebp - 0x330]
mov dword [esp + 4], ebx
mov dword [esp], edi
call edx
mov dword [esp + 0xc], ebx
test eax, eax
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.test_tr2_sys__Current_get__:_expect:__s__got__s_n
movzx eax, al
mov dword [esp], eax
call fcn.00413800
mov edi, dword [sym.imp.msvcrt.dll__errno]
call edi
mov dword [eax], 0xdeadbeef
mov dword [esp + 4], 0x539
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
call fcn.00413590
mov dword [esp], str.not_exisist_dir
call dword [0x41b154]
mov dword [esp + 4], str.p_tr2_sys__Current_set_to_not_exist_dir_succeed_n
test al, al
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00413800
mov dword [esp + 4], 0x53a
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
call fcn.00413590
call edi
mov ecx, dword [eax]
mov dword [ebp - 0x32c], ecx
call edi
mov ecx, dword [ebp - 0x32c]
mov dword [esp + 4], str.errno___d_n
mov dword [esp + 8], ecx
cmp dword [eax], 0xdeadbeef
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00413800
call edi
mov dword [eax], 0xdeadbeef
mov dword [esp + 4], 0x53d
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
call fcn.00413590
mov dword [esp], str.__invalid_name__
call dword [0x41b154]
mov dword [esp + 4], str.p_tr2_sys__Current_set_to___invalid_name___succeed_n
test al, al
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00413800
mov dword [esp + 4], 0x53e
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
call fcn.00413590
call edi
mov ecx, dword [eax]
mov dword [ebp - 0x32c], ecx
call edi
mov ecx, dword [ebp - 0x32c]
mov dword [esp + 4], str.errno___d_n
mov dword [esp + 8], ecx
cmp dword [eax], 0xdeadbeef
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00413800
mov dword [esp + 4], 0x540
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
call fcn.00413590
mov dword [esp], esi
call dword [0x41b154]
mov dword [esp + 4], str.p_tr2_sys__Current_set_to_origin_path_failed_n
movzx eax, al
mov dword [esp], eax
call fcn.00413800
mov dword [esp], ebx
call dword [0x41b15c]
mov dword [esp + 4], 0x542
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
mov edi, eax
call fcn.00413590
xor eax, eax
cmp edi, ebx
mov dword [esp + 4], str.p_tr2_sys__Current_get_returned_different_buffer_n
sete al
mov dword [esp], eax
call fcn.00413800
mov dword [esp + 4], 0x543
mov dword [esp], str..._wine_dlls_msvcp120_tests_msvcp120.c
call fcn.00413590
mov dword [esp + 4], ebx
mov edx, dword [ebp - 0x330]
mov dword [esp], esi
call edx
mov dword [esp + 0xc], ebx
test eax, eax
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.test_tr2_sys__Current_get__:_expect:__s__got__s_n
movzx eax, al
mov dword [esp], eax
call fcn.00413800
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret