Function at 0x429c10
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 0x429c8d
mov esi, eax
cmp eax, 0x104
jae 0x429d8e
cmp word [esp + esi*2 + 2], 0x5c
jne 0x429c5b
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.004a0750
add esp, 8
test al, al
je 0x429e7c
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 [0x5856b0]
movups xmmword [esp + 4], xmm0
mov dword [esp], str.system_libbase_file.cpp
mov ecx, esi
call fcn.0047ba20
mov ecx, esi
call fcn.0047b9f0
push 0xe
push 0x585780
push eax
call fcn.00415070
add esp, 0xc
push 6
push 0x58578f
push eax
call fcn.00415070
add esp, 0xc
push 1
push 0x585796
push eax
call fcn.00415070
add esp, 0xc
push 2
push 0x585798
push eax
call fcn.00415070
add esp, 0xc
push 1
push 0x585796
push eax
call fcn.00415070
add esp, 0xc
push 3
push 0x58579b
push eax
call fcn.00415070
add esp, 0xc
push 9
push 0x58579f
push eax
call fcn.00415070
add esp, 0xc
mov ecx, eax
push 0
call fcn.00437ae0
push 6
push str.__0ul
push eax
call fcn.00415070
add esp, 0xc
mov ecx, eax
push 0
call fcn.00437ae0
push 2
push 0x5857b0
push eax
call fcn.00415070
add esp, 0xc
push 0x1c
push str.GetTempPathW_failed__error:
push eax
call fcn.00415070
add esp, 0xc
mov edi, eax
call ebx
mov ecx, edi
push eax
call fcn.00437ae0
mov ecx, esi
call fcn.0047baf0
jmp 0x429ca0
mov edi, esp
sub esp, 0x14
movaps xmm0, xmmword [0x585690]
movups xmmword [esp + 4], xmm0
mov dword [esp], str.system_libbase_file.cpp
mov ecx, edi
call fcn.0047ba20
mov ecx, edi
call fcn.0047b9f0
push 0xe
push 0x585780
push eax
call fcn.00415070
add esp, 0xc
push 6
push 0x58578f
push eax
call fcn.00415070
add esp, 0xc
push 1
push 0x585796
push eax
call fcn.00415070
add esp, 0xc
push 1
push 0x5857d0
push eax
call fcn.00415070
add esp, 0xc
push 1
push 0x585796
push eax
call fcn.00415070
add esp, 0xc
push 0x14
push str.std::size_tmp_dir_w_
push eax
call fcn.00415070
add esp, 0xc
push 9
push 0x58579f
push eax
call fcn.00415070
add esp, 0xc
mov ecx, eax
push esi
call fcn.00437ae0
push 0x17
push str.__std::size_tmp_dir_w_
push eax
call fcn.00415070
add esp, 0xc
mov ecx, eax
push 0x104
call fcn.00437620
push 2
push 0x5857b0
push eax
call fcn.00415070
add esp, 0xc
push 0x13
push str.path_truncated_to:
push eax
call fcn.00415070
add esp, 0xc
mov ecx, eax
push esi
call fcn.00437ae0
mov ecx, edi
call fcn.0047baf0
jmp 0x429d90
sub esp, 0x14
movaps xmm0, xmmword [0x5856a0]
movups xmmword [esp + 4], xmm0
mov dword [esp], str.system_libbase_file.cpp
lea esi, [esp + 0x14]
mov ecx, esi
call fcn.0047ba20
mov ecx, esi
call fcn.0047b9f0
push 0x3c
push str.Check_failed:_android::base::WideToUTF8_tmp_dir_w__tmp_dir_
push eax
call fcn.00415070
add esp, 0xc
push 1
push 0x585796
push eax
call fcn.00415070
add esp, 0xc
push 0x1f
push str.path_cant_be_converted_to_utf8
push eax
call fcn.00415070
add esp, 0xc
mov ecx, esi
call fcn.0047baf0
jmp 0x429c81