Function at 0x4290e0
Capabilities:
Get common file path

Disassembly:
push ebx
push edi
push esi
sub esp, 0x20c
mov edi, ecx
lea ebx, [esp + 4]
push 0x208
push 0
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x42915d
mov esi, eax
cmp eax, 0x104
jae 0x42925e
cmp word [esp + esi*2 + 2], 0x5c
jne 0x42912b
mov word [esp + esi*2 + 2], 0
mov dword [edi + 4], 0
mov dword [edi], 0
mov dword [edi + 8], 0
push edi
push ebx
call fcn.004a0af0
add esp, 8
test al, al
je 0x42934c
mov eax, edi
add esp, 0x20c
pop esi
pop edi
pop ebx
ret
mov esi, esp
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
nop word cs:[eax + eax]
sub esp, 0x14
movaps xmm0, xmmword [0x57d5a0]
movups xmmword [esp + 4], xmm0
mov dword [esp], str.system_libbase_file.cpp
mov ecx, esi
call fcn.0047bcb0
mov ecx, esi
call fcn.0047bc80
push 0xe
push 0x57d670
push eax
call fcn.00414a40
add esp, 0xc
push 6
push 0x57d67f
push eax
call fcn.00414a40
add esp, 0xc
push 1
push 0x57d686
push eax
call fcn.00414a40
add esp, 0xc
push 2
push 0x57d688
push eax
call fcn.00414a40
add esp, 0xc
push 1
push 0x57d686
push eax
call fcn.00414a40
add esp, 0xc
push 3
push 0x57d68b
push eax
call fcn.00414a40
add esp, 0xc
push 9
push 0x57d68f
push eax
call fcn.00414a40
add esp, 0xc
mov ecx, eax
push 0
call fcn.00436f30
push 6
push str.__0ul
push eax
call fcn.00414a40
add esp, 0xc
mov ecx, eax
push 0
call fcn.00436f30
push 2
push 0x57d6a0
push eax
call fcn.00414a40
add esp, 0xc
push 0x1c
push str.GetTempPathW_failed__error:
push eax
call fcn.00414a40
add esp, 0xc
mov edi, eax
call ebx
mov ecx, edi
push eax
call fcn.00436f30
mov ecx, esi
call fcn.0047bd80
jmp 0x429170
mov edi, esp
sub esp, 0x14
movaps xmm0, xmmword [0x57d580]
movups xmmword [esp + 4], xmm0
mov dword [esp], str.system_libbase_file.cpp
mov ecx, edi
call fcn.0047bcb0
mov ecx, edi
call fcn.0047bc80
push 0xe
push 0x57d670
push eax
call fcn.00414a40
add esp, 0xc
push 6
push 0x57d67f
push eax
call fcn.00414a40
add esp, 0xc
push 1
push 0x57d686
push eax
call fcn.00414a40
add esp, 0xc
push 1
push 0x57d6c0
push eax
call fcn.00414a40
add esp, 0xc
push 1
push 0x57d686
push eax
call fcn.00414a40
add esp, 0xc
push 0x14
push str.std::size_tmp_dir_w_
push eax
call fcn.00414a40
add esp, 0xc
push 9
push 0x57d68f
push eax
call fcn.00414a40
add esp, 0xc
mov ecx, eax
push esi
call fcn.00436f30
push 0x17
push str.__std::size_tmp_dir_w_
push eax
call fcn.00414a40
add esp, 0xc
mov ecx, eax
push 0x104
call fcn.00436a70
push 2
push 0x57d6a0
push eax
call fcn.00414a40
add esp, 0xc
push 0x13
push str.path_truncated_to:
push eax
call fcn.00414a40
add esp, 0xc
mov ecx, eax
push esi
call fcn.00436f30
mov ecx, edi
call fcn.0047bd80
jmp 0x429260
sub esp, 0x14
movaps xmm0, xmmword [0x57d590]
movups xmmword [esp + 4], xmm0
mov dword [esp], str.system_libbase_file.cpp
lea esi, [esp + 0x14]
mov ecx, esi
call fcn.0047bcb0
mov ecx, esi
call fcn.0047bc80
push 0x3c
push str.Check_failed:_android::base::WideToUTF8_tmp_dir_w__tmp_dir_
push eax
call fcn.00414a40
add esp, 0xc
push 1
push 0x57d686
push eax
call fcn.00414a40
add esp, 0xc
push 0x1f
push str.path_cant_be_converted_to_utf8
push eax
call fcn.00414a40
add esp, 0xc
mov ecx, esi
call fcn.0047bd80
jmp 0x429151