Function at 0x4b7d30
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 0x4b7dad
mov esi, eax
cmp eax, 0x104
jae 0x4b7eae
cmp word [esp + esi*2 + 2], 0x5c
jne 0x4b7d7b
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.004bc1c0
add esp, 8
test al, al
je 0x4b7f9c
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 [0x87be10]
movups xmmword [esp + 4], xmm0
mov dword [esp], str.system_libbase_file.cpp
mov ecx, esi
call fcn.004b9f90
mov ecx, esi
call fcn.004b9f60
push 0xe
push 0x87bee0
push eax
call fcn.00402f60
add esp, 0xc
push 6
push 0x87beef
push eax
call fcn.00402f60
add esp, 0xc
push 1
push 0x87bef6
push eax
call fcn.00402f60
add esp, 0xc
push 2
push 0x87bef8
push eax
call fcn.00402f60
add esp, 0xc
push 1
push 0x87bef6
push eax
call fcn.00402f60
add esp, 0xc
push 3
push 0x87befb
push eax
call fcn.00402f60
add esp, 0xc
push 9
push 0x87beff
push eax
call fcn.00402f60
add esp, 0xc
mov ecx, eax
push 0
call fcn.004d9940
push 6
push 0x87bf09
push eax
call fcn.00402f60
add esp, 0xc
mov ecx, eax
push 0
call fcn.004d9940
push 2
push 0x87bf10
push eax
call fcn.00402f60
add esp, 0xc
push 0x1c
push str.GetTempPathW_failed__error:
push eax
call fcn.00402f60
add esp, 0xc
mov edi, eax
call ebx
mov ecx, edi
push eax
call fcn.004d9940
mov ecx, esi
call fcn.004ba060
jmp 0x4b7dc0
mov edi, esp
sub esp, 0x14
movaps xmm0, xmmword [0x87bdf0]
movups xmmword [esp + 4], xmm0
mov dword [esp], str.system_libbase_file.cpp
mov ecx, edi
call fcn.004b9f90
mov ecx, edi
call fcn.004b9f60
push 0xe
push 0x87bee0
push eax
call fcn.00402f60
add esp, 0xc
push 6
push 0x87beef
push eax
call fcn.00402f60
add esp, 0xc
push 1
push 0x87bef6
push eax
call fcn.00402f60
add esp, 0xc
push 1
push 0x87bf30
push eax
call fcn.00402f60
add esp, 0xc
push 1
push 0x87bef6
push eax
call fcn.00402f60
add esp, 0xc
push 0x14
push str.std::size_tmp_dir_w_
push eax
call fcn.00402f60
add esp, 0xc
push 9
push 0x87beff
push eax
call fcn.00402f60
add esp, 0xc
mov ecx, eax
push esi
call fcn.004d9940
push 0x17
push str.__std::size_tmp_dir_w_
push eax
call fcn.00402f60
add esp, 0xc
mov ecx, eax
push 0x104
call fcn.004d9480
push 2
push 0x87bf10
push eax
call fcn.00402f60
add esp, 0xc
push 0x13
push str.path_truncated_to:
push eax
call fcn.00402f60
add esp, 0xc
mov ecx, eax
push esi
call fcn.004d9940
mov ecx, edi
call fcn.004ba060
jmp 0x4b7eb0
sub esp, 0x14
movaps xmm0, xmmword [0x87be00]
movups xmmword [esp + 4], xmm0
mov dword [esp], str.system_libbase_file.cpp
lea esi, [esp + 0x14]
mov ecx, esi
call fcn.004b9f90
mov ecx, esi
call fcn.004b9f60
push 0x3c
push str.Check_failed:_android::base::WideToUTF8_tmp_dir_w__tmp_dir_
push eax
call fcn.00402f60
add esp, 0xc
push 1
push 0x87bef6
push eax
call fcn.00402f60
add esp, 0xc
push 0x1f
push str.path_cant_be_converted_to_utf8
push eax
call fcn.00402f60
add esp, 0xc
mov ecx, esi
call fcn.004ba060
jmp 0x4b7da1