Function at 0x42b390
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 0x42b630
cmp eax, 0x103
jbe 0x42b4ea
lea ebx, [ebp - 0x120]
mov ecx, ebx
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0
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.00429e50
mov ecx, ebx
sub esp, 0x18
call fcn.0042a010
mov dword [esp + 4], 0x4c05c8
mov dword [esp], eax
call fcn.004aa5a0
mov dword [esp + 4], 0x4c05d7
mov dword [esp], eax
call fcn.004aa5a0
mov dword [esp + 4], 0x4c05de
mov dword [esp], eax
call fcn.004aa5a0
mov dword [esp + 4], 0x4c0618
mov dword [esp], eax
call fcn.004aa5a0
mov dword [esp + 4], 0x4c05de
mov dword [esp], eax
call fcn.004aa5a0
mov dword [esp + 4], str.sizeof_tmp_dir_
mov dword [esp], eax
call fcn.004aa5a0
mov dword [esp + 4], 0x4c05e7
mov dword [esp], eax
call fcn.004aa5a0
mov dword [esp], esi
mov ecx, eax
call fcn.0047b700
sub esp, 4
mov dword [esp + 4], str.__sizeof_tmp_dir_
mov dword [esp], eax
call fcn.004aa5a0
mov dword [esp], 0x104
mov ecx, eax
call fcn.0047b700
sub esp, 4
mov dword [esp + 4], 0x4c05f8
mov dword [esp], eax
call fcn.004aa5a0
mov dword [esp + 4], str.path_truncated_to:
mov dword [esp], eax
call fcn.004aa5a0
mov dword [esp], esi
mov ecx, eax
call fcn.0047b700
mov ecx, ebx
sub esp, 4
call fcn.0042a1b0
jmp 0x42b3d3
lea eax, [eax - 1]
movzx edx, byte [ebp + eax - 0x11c]
cmp dl, 0x5c
mov byte [ebp - 0x129], dl
je 0x42b760
lea ebx, [ebp - 0x120]
lea edi, [ebp - 0x122]
lea esi, [ebp - 0x121]
mov ecx, ebx
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0
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.00429e50
mov ecx, ebx
sub esp, 0x18
call fcn.0042a010
mov dword [esp + 4], 0x4c05c8
mov dword [esp], eax
call fcn.004aa5a0
mov dword [esp + 4], str.tmp_dir_result___1_
mov dword [esp], eax
call fcn.004aa5a0
mov dword [esp + 4], 0x4c05de
mov dword [esp], eax
call fcn.004aa5a0
mov dword [esp + 4], 0x4c0665
mov dword [esp], eax
call fcn.004aa5a0
mov dword [esp + 4], 0x4c05de
mov dword [esp], eax
call fcn.004aa5a0
mov dword [esp + 4], str.
mov dword [esp], eax
call fcn.004aa5a0
mov dword [esp + 4], str.__tmp_dir_result___1_
mov dword [esp], eax
call fcn.004aa5a0
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.004a6800
mov dword [esp + 4], 0x4c0684
mov dword [esp], eax
call fcn.004aa5a0
mov dword [esp + 8], 1
mov dword [esp + 4], esi
mov byte [ebp - 0x121], 0x5c
mov dword [esp], eax
call fcn.004a6800
mov dword [esp + 4], 0x4c05f8
mov dword [esp], eax
call fcn.004aa5a0
mov ecx, ebx
call fcn.0042a1b0
jmp 0x42b516
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea ebx, [ebp - 0x120]
call edi
mov ecx, ebx
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0
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.00429e50
mov ecx, ebx
sub esp, 0x18
call fcn.0042a010
mov dword [esp + 4], 0x4c05c8
mov dword [esp], eax
call fcn.004aa5a0
mov dword [esp + 4], 0x4c05d7
mov dword [esp], eax
call fcn.004aa5a0
mov dword [esp + 4], 0x4c05de
mov dword [esp], eax
call fcn.004aa5a0
mov dword [esp + 4], 0x4c05e0
mov dword [esp], eax
call fcn.004aa5a0
mov dword [esp + 4], 0x4c05de
mov dword [esp], eax
call fcn.004aa5a0
mov dword [esp + 4], 0x4c05e3
mov dword [esp], eax
call fcn.004aa5a0
mov dword [esp + 4], 0x4c05e7
mov dword [esp], eax
call fcn.004aa5a0
mov dword [esp], 0
mov ecx, eax
call fcn.0047b700
sub esp, 4
mov dword [esp + 4], str.__0ul
mov dword [esp], eax
call fcn.004aa5a0
mov dword [esp], 0
mov ecx, eax
call fcn.0047b700
sub esp, 4
mov dword [esp + 4], 0x4c05f8
mov dword [esp], eax
call fcn.004aa5a0
mov dword [esp + 4], str.GetTempPathA_failed__error:
mov dword [esp], eax
call fcn.004aa5a0
mov dword [esp], esi
mov ecx, eax
call fcn.0047b700
mov ecx, ebx
sub esp, 4
call fcn.0042a1b0
jmp 0x42b63c
mov byte [ebp + eax - 0x11c], 0
lea eax, [ebp - 0x120]
mov ecx, ebx
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.0047e2b0
mov eax, ebx
sub esp, 8
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret