Function at 0x4272a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x13c
lea edi, [ebp - 0x11c]
mov dword [esp + 4], edi
mov dword [esp], 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
sub esp, 8
test eax, eax
mov esi, eax
je 0x427530
cmp eax, 0x103
jbe 0x4273f2
lea ebx, [ebp - 0x120]
mov ecx, ebx
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0xc], 6
mov dword [esp + 8], 0
mov dword [esp + 4], 0x47
mov dword [esp], str.system_core_base_test_utils.cpp
call fcn.00425fd0
mov ecx, ebx
sub esp, 0x14
call fcn.00426150
mov dword [esp + 4], 0x4bf6c0
mov dword [esp], eax
call fcn.004a6090
mov dword [esp + 4], 0x4bf6cf
mov dword [esp], eax
call fcn.004a6090
mov dword [esp + 4], 0x4bf6d6
mov dword [esp], eax
call fcn.004a6090
mov dword [esp + 4], 0x4bf710
mov dword [esp], eax
call fcn.004a6090
mov dword [esp + 4], 0x4bf6d6
mov dword [esp], eax
call fcn.004a6090
mov dword [esp + 4], str.sizeof_tmp_dir_
mov dword [esp], eax
call fcn.004a6090
mov dword [esp + 4], 0x4bf6df
mov dword [esp], eax
call fcn.004a6090
mov dword [esp], esi
mov ecx, eax
call fcn.00477370
sub esp, 4
mov dword [esp + 4], str.__sizeof_tmp_dir_
mov dword [esp], eax
call fcn.004a6090
mov dword [esp], 0x104
mov ecx, eax
call fcn.00477370
sub esp, 4
mov dword [esp + 4], 0x4bf6f0
mov dword [esp], eax
call fcn.004a6090
mov dword [esp + 4], str.path_truncated_to:
mov dword [esp], eax
call fcn.004a6090
mov dword [esp], esi
mov ecx, eax
call fcn.00477370
mov ecx, ebx
sub esp, 4
call fcn.004261c0
jmp 0x4272e3
lea eax, [eax - 1]
movzx edx, byte [ebp + eax - 0x11c]
cmp dl, 0x5c
mov byte [ebp - 0x129], dl
je 0x427653
lea ebx, [ebp - 0x120]
lea edi, [ebp - 0x122]
lea esi, [ebp - 0x121]
mov ecx, ebx
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0xc], 6
mov dword [esp + 8], 0
mov dword [esp + 4], 0x4b
mov dword [esp], str.system_core_base_test_utils.cpp
call fcn.00425fd0
mov ecx, ebx
sub esp, 0x14
call fcn.00426150
mov dword [esp + 4], 0x4bf6c0
mov dword [esp], eax
call fcn.004a6090
mov dword [esp + 4], str.tmp_dir_result___1_
mov dword [esp], eax
call fcn.004a6090
mov dword [esp + 4], 0x4bf6d6
mov dword [esp], eax
call fcn.004a6090
mov dword [esp + 4], 0x4bf75d
mov dword [esp], eax
call fcn.004a6090
mov dword [esp + 4], 0x4bf6d6
mov dword [esp], eax
call fcn.004a6090
mov dword [esp + 4], str.
mov dword [esp], eax
call fcn.004a6090
mov dword [esp + 4], str.__tmp_dir_result___1_
mov dword [esp], eax
call fcn.004a6090
movzx edx, byte [ebp - 0x129]
mov dword [esp + 8], 1
mov dword [esp + 4], edi
mov byte [ebp - 0x122], dl
mov dword [esp], eax
call fcn.004a22f0
mov dword [esp + 4], 0x4bf77c
mov dword [esp], eax
call fcn.004a6090
mov dword [esp + 8], 1
mov dword [esp + 4], esi
mov byte [ebp - 0x121], 0x5c
mov dword [esp], eax
call fcn.004a22f0
mov dword [esp + 4], 0x4bf6f0
mov dword [esp], eax
call fcn.004a6090
mov ecx, ebx
call fcn.004261c0
jmp 0x42741e
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea ebx, [ebp - 0x120]
call edi
mov ecx, ebx
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0xc], 6
mov dword [esp + 8], 0
mov dword [esp + 4], 0x46
mov dword [esp], str.system_core_base_test_utils.cpp
mov esi, eax
call fcn.00425fd0
mov ecx, ebx
sub esp, 0x14
call fcn.00426150
mov dword [esp + 4], 0x4bf6c0
mov dword [esp], eax
call fcn.004a6090
mov dword [esp + 4], 0x4bf6cf
mov dword [esp], eax
call fcn.004a6090
mov dword [esp + 4], 0x4bf6d6
mov dword [esp], eax
call fcn.004a6090
mov dword [esp + 4], 0x4bf6d8
mov dword [esp], eax
call fcn.004a6090
mov dword [esp + 4], 0x4bf6d6
mov dword [esp], eax
call fcn.004a6090
mov dword [esp + 4], 0x4bf6db
mov dword [esp], eax
call fcn.004a6090
mov dword [esp + 4], 0x4bf6df
mov dword [esp], eax
call fcn.004a6090
mov dword [esp], 0
mov ecx, eax
call fcn.00477370
sub esp, 4
mov dword [esp + 4], str.__0ul
mov dword [esp], eax
call fcn.004a6090
mov dword [esp], 0
mov ecx, eax
call fcn.00477370
sub esp, 4
mov dword [esp + 4], 0x4bf6f0
mov dword [esp], eax
call fcn.004a6090
mov dword [esp + 4], str.GetTempPathA_failed__error:
mov dword [esp], eax
call fcn.004a6090
mov dword [esp], esi
mov ecx, eax
call fcn.00477370
mov ecx, ebx
sub esp, 4
call fcn.004261c0
jmp 0x42753c
mov byte [ebp + eax - 0x11c], 0
lea eax, [ebp - 0x120]
mov ecx, ebx
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00479f20
mov eax, ebx
sub esp, 8
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret