Function at 0x4b80c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov edi, ecx
mov eax, dword [ebp + 8]
test byte [eax], 1
je 0x4b80db
mov eax, dword [eax + 8]
jmp 0x4b80dc
inc eax
sub esp, 0x14
mov dword [esp + 0xc], eax
mov dword [esp], edi
mov dword [esp + 0x10], 0x5c
mov dword [esp + 8], str._s_cTemporaryDir_XXXXXX
call fcn.004b8050
add esp, 0x14
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], 0
mov eax, esp
push eax
push edi
call fcn.004bc490
add esp, 8
test al, al
je 0x4b81d4
movzx eax, byte [esp]
lea ebx, [esp + 2]
test al, 1
je 0x4b813f
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
jmp 0x4b8143
shr eax, 1
mov ecx, ebx
inc eax
push eax
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wmktemp_s]
add esp, 8
xor esi, esi
test eax, eax
jne 0x4b816d
test byte [esp], 1
je 0x4b815f
mov ebx, dword [esp + 8]
push ebx
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wmkdir]
add esp, 4
test eax, eax
je 0x4b818e
test byte [esp], 1
je 0x4b817f
push dword [esp + 8]
call fcn.0051c570
add esp, 4
test esi, esi
setne al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 4]
push eax
call fcn.004bc1f0
add esp, 8
test al, al
je 0x4b824e
test byte [esp + 0x10], 1
je 0x4b82b8
mov eax, dword [esp + 0x18]
jmp 0x4b82bc
sub esp, 0x14
movaps xmm0, xmmword [0x87be20]
movups xmmword [esp + 4], xmm0
mov dword [esp], str.system_libbase_file.cpp
lea esi, [esp + 0x24]
mov ecx, esi
call fcn.004b9f90
mov ecx, esi
call fcn.004b9f60
push 0x3d
push str.Check_failed:_android::base::UTF8ToWide_name_template__path_
push eax
call fcn.00402f60
add esp, 0xc
push 1
push 0x87bef6
push eax
call fcn.00402f60
add esp, 0xc
push 0x22
push str.path_cant_be_converted_to_wchar:
push eax
call fcn.00402f60
add esp, 0xc
mov ebx, eax
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
push eax
push edi
push ebx
call fcn.00402f60
add esp, 0xc
mov ecx, esi
call fcn.004ba060
jmp 0x4b8129
sub esp, 0x14
movaps xmm0, xmmword [0x87be30]
movups xmmword [esp + 4], xmm0
mov dword [esp], str.system_libbase_file.cpp
lea esi, [esp + 0x34]
mov ecx, esi
call fcn.004b9f90
mov ecx, esi
call fcn.004b9f60
push 0x39
push str.Check_failed:_android::base::WideToUTF8_path__path_utf8_
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
test byte [esp + 0x10], 1
jne 0x4b81cb
lea eax, [esp + 0x11]
push eax
push 0x400
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
test eax, eax
jne 0x4b82f4
test byte [esp + 0x10], 1
je 0x4b82e3
push dword [esp + 0x18]
call fcn.0051c570
add esp, 4
mov esi, edi
test byte [esp], 1
jne 0x4b8173
jmp 0x4b817f
sub esp, 0x14
movaps xmm0, xmmword [0x87be40]
movups xmmword [esp + 4], xmm0
mov dword [esp], str.system_libbase_file.cpp
lea esi, [esp + 0x34]
mov ecx, esi
call fcn.004b9f90
mov ecx, esi
call fcn.004b9f60
push 0x4c
push str.Check_failed:_strcpy_s_name_template__size_in_chars__path_utf8.c_str_____0
push eax
call fcn.00402f60
add esp, 0xc
push 1
push 0x87bef6
push eax
call fcn.00402f60
add esp, 0xc
push 0x31
push str.utf8_path_cant_be_assigned_back_to_name_template
push eax
call fcn.00402f60
add esp, 0xc
mov ecx, esi
call fcn.004ba060
test byte [esp + 0x10], 1
jne 0x4b82d7
jmp 0x4b82e3