Function at 0x423030
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 0x4230ad
mov esi, eax
cmp eax, 0x104
jae 0x4231ae
cmp word [esp + esi*2 + 2], 0x5c
jne 0x42307b
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.00498530
add esp, 8
test al, al
je 0x42329c
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]
nop
sub esp, 0x14
movaps xmm0, xmmword [0x55fba0]
movups xmmword [esp + 4], xmm0
mov dword [esp], str.system_libbase_file.cpp
mov ecx, esi
call fcn.00499ec0
mov ecx, esi
call fcn.00499e90
push 0xe
push 0x55fc60
push eax
call fcn.0040e760
add esp, 0xc
push 6
push 0x55fc6f
push eax
call fcn.0040e760
add esp, 0xc
push 1
push 0x55fc76
push eax
call fcn.0040e760
add esp, 0xc
push 2
push 0x55fc78
push eax
call fcn.0040e760
add esp, 0xc
push 1
push 0x55fc76
push eax
call fcn.0040e760
add esp, 0xc
push 3
push 0x55fc7b
push eax
call fcn.0040e760
add esp, 0xc
push 9
push 0x55fc7f
push eax
call fcn.0040e760
add esp, 0xc
mov ecx, eax
push 0
call fcn.004889e0
push 6
push str.__0ul
push eax
call fcn.0040e760
add esp, 0xc
mov ecx, eax
push 0
call fcn.004889e0
push 2
push 0x55fc90
push eax
call fcn.0040e760
add esp, 0xc
push 0x1c
push str.GetTempPathW_failed__error:
push eax
call fcn.0040e760
add esp, 0xc
mov edi, eax
call ebx
mov ecx, edi
push eax
call fcn.004889e0
mov ecx, esi
call fcn.00499f90
jmp 0x4230c0
mov edi, esp
sub esp, 0x14
movaps xmm0, xmmword [0x55fb80]
movups xmmword [esp + 4], xmm0
mov dword [esp], str.system_libbase_file.cpp
mov ecx, edi
call fcn.00499ec0
mov ecx, edi
call fcn.00499e90
push 0xe
push 0x55fc60
push eax
call fcn.0040e760
add esp, 0xc
push 6
push 0x55fc6f
push eax
call fcn.0040e760
add esp, 0xc
push 1
push 0x55fc76
push eax
call fcn.0040e760
add esp, 0xc
push 1
push 0x55fcb0
push eax
call fcn.0040e760
add esp, 0xc
push 1
push 0x55fc76
push eax
call fcn.0040e760
add esp, 0xc
push 0x14
push str.std::size_tmp_dir_w_
push eax
call fcn.0040e760
add esp, 0xc
push 9
push 0x55fc7f
push eax
call fcn.0040e760
add esp, 0xc
mov ecx, eax
push esi
call fcn.004889e0
push 0x17
push str.__std::size_tmp_dir_w_
push eax
call fcn.0040e760
add esp, 0xc
mov ecx, eax
push 0x104
call fcn.00488520
push 2
push 0x55fc90
push eax
call fcn.0040e760
add esp, 0xc
push 0x13
push str.path_truncated_to:
push eax
call fcn.0040e760
add esp, 0xc
mov ecx, eax
push esi
call fcn.004889e0
mov ecx, edi
call fcn.00499f90
jmp 0x4231b0
sub esp, 0x14
movaps xmm0, xmmword [0x55fb90]
movups xmmword [esp + 4], xmm0
mov dword [esp], str.system_libbase_file.cpp
lea esi, [esp + 0x14]
mov ecx, esi
call fcn.00499ec0
mov ecx, esi
call fcn.00499e90
push 0x3c
push str.Check_failed:_android::base::WideToUTF8_tmp_dir_w__tmp_dir_
push eax
call fcn.0040e760
add esp, 0xc
push 1
push 0x55fc76
push eax
call fcn.0040e760
add esp, 0xc
push 0x1f
push str.path_cant_be_converted_to_utf8
push eax
call fcn.0040e760
add esp, 0xc
mov ecx, esi
call fcn.00499f90
jmp 0x4230a1