Function at 0x42f3a0
Capabilities:
Get common file path

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10c
mov edi, ecx
lea ebp, [esp + 8]
push ebp
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov esi, eax
test eax, eax
je 0x42f3fa
cmp esi, 0x104
jae 0x42f4fb
mov bl, byte [esp + esi + 7]
cmp bl, 0x5c
jne 0x42f5eb
lea eax, [esp + 4]
mov byte [esp + esi + 7], 0
mov ecx, edi
push eax
push ebp
call fcn.00480b10
mov eax, edi
add esp, 0x10c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esp + 4]
nop word cs:[eax + eax]
nop
mov ecx, esi
push 0xffffffffffffffff
push 0
push 6
push 0
push 0x48
push str.system_core_base_test_utils.cpp
call fcn.0042d6d0
mov ecx, esi
call fcn.0042d6c0
mov edi, eax
push 0xe
push 0x4c3c25
push eax
call fcn.004a88d0
add esp, 0xc
push 6
push 0x4c3e39
push edi
call fcn.004a88d0
add esp, 0xc
push 1
push 0x4c3c36
push edi
call fcn.004a88d0
add esp, 0xc
push 2
push 0x4c3da0
push edi
call fcn.004a88d0
add esp, 0xc
push 1
push 0x4c3c36
push edi
call fcn.004a88d0
add esp, 0xc
push 3
push 0x4c3e40
push edi
call fcn.004a88d0
add esp, 0xc
push 9
push 0x4c3e44
push edi
call fcn.004a88d0
add esp, 0xc
mov ecx, edi
push 0
call fcn.0047df60
mov edi, eax
push 6
push str.__0ul
push eax
call fcn.004a88d0
add esp, 0xc
mov ecx, edi
push 0
call fcn.0047df60
mov edi, eax
push 2
push 0x4c3d35
push eax
call fcn.004a88d0
add esp, 0xc
push 0x1c
push str.GetTempPathA_failed__error:
push edi
call fcn.004a88d0
add esp, 0xc
call ebx
mov ecx, edi
push eax
call fcn.0047df60
mov ecx, esi
call fcn.0042d710
jmp 0x42f410
lea edi, [esp + 4]
nop
mov ecx, edi
push 0xffffffffffffffff
push 0
push 6
push 0
push 0x49
push str.system_core_base_test_utils.cpp
call fcn.0042d6d0
mov ecx, edi
call fcn.0042d6c0
mov ebx, eax
push 0xe
push 0x4c3c25
push eax
call fcn.004a88d0
add esp, 0xc
push 6
push 0x4c3e39
push ebx
call fcn.004a88d0
add esp, 0xc
push 1
push 0x4c3c36
push ebx
call fcn.004a88d0
add esp, 0xc
push 1
push 0x4c3e72
push ebx
call fcn.004a88d0
add esp, 0xc
push 1
push 0x4c3c36
push ebx
call fcn.004a88d0
add esp, 0xc
push 0xf
push str.sizeof_tmp_dir_
push ebx
call fcn.004a88d0
add esp, 0xc
push 9
push 0x4c3e44
push ebx
call fcn.004a88d0
add esp, 0xc
mov ecx, ebx
push esi
call fcn.0047df60
mov ebx, eax
push 0x12
push str.__sizeof_tmp_dir_
push eax
call fcn.004a88d0
add esp, 0xc
mov ecx, ebx
push 0x104
call fcn.0047df60
mov ebx, eax
push 2
push 0x4c3d35
push eax
call fcn.004a88d0
add esp, 0xc
push 0x13
push str.path_truncated_to:
push ebx
call fcn.004a88d0
add esp, 0xc
mov ecx, ebx
push esi
call fcn.0047df60
mov ecx, edi
call fcn.0042d710
jmp 0x42f500
lea esi, [esp + 4]
lea ebp, [esp + 3]
nop word cs:[eax + eax]
nop dword [eax]
mov ecx, esi
push 0xffffffffffffffff
push 0
push 6
push 0
push 0x4d
push str.system_core_base_test_utils.cpp
call fcn.0042d6d0
mov ecx, esi
call fcn.0042d6c0
mov edi, eax
push 0xe
push 0x4c3c25
push eax
call fcn.004a88d0
add esp, 0xc
push 0x13
push str.tmp_dir_result___1_
push edi
call fcn.004a88d0
add esp, 0xc
push 1
push 0x4c3c36
push edi
call fcn.004a88d0
add esp, 0xc
push 2
push 0x4c3c38
push edi
call fcn.004a88d0
add esp, 0xc
push 1
push 0x4c3c36
push edi
call fcn.004a88d0
add esp, 0xc
push 4
push str.
push edi
call fcn.004a88d0
add esp, 0xc
push 0x16
push str.__tmp_dir_result___1_
push edi
call fcn.004a88d0
add esp, 0xc
mov byte [esp + 3], bl
push 1
push ebp
push edi
call fcn.004a88d0
add esp, 0xc
mov edi, eax
push 7
push 0x4c3edb
push eax
call fcn.004a88d0
add esp, 0xc
mov byte [esp + 3], 0x5c
push 1
push ebp
push edi
call fcn.004a88d0
add esp, 0xc
push 2
push 0x4c3d35
push eax
call fcn.004a88d0
add esp, 0xc
mov ecx, esi
call fcn.0042d710
jmp 0x42f600