Function at 0x41a600
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 0x41a61b
mov eax, dword [eax + 8]
jmp 0x41a61e
add eax, 1
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.0041a590
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.00486eb0
add esp, 8
test al, al
je 0x41a718
movzx eax, byte [esp]
lea ebx, [esp + 2]
test al, 1
je 0x41a681
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
jmp 0x41a685
shr eax, 1
mov ecx, ebx
add eax, 1
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 0x41a6b1
test byte [esp], 1
je 0x41a6a3
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 0x41a6d2
test byte [esp], 1
je 0x41a6c3
push dword [esp + 8]
call fcn.0046a990
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.00486c10
add esp, 8
test al, al
je 0x41a792
test byte [esp + 0x10], 1
je 0x41a7fc
mov eax, dword [esp + 0x18]
jmp 0x41a800
sub esp, 0x14
movaps xmm0, xmmword [0x4cb280]
movups xmmword [esp + 4], xmm0
mov dword [esp], str.system_libbase_file.cpp
lea esi, [esp + 0x24]
mov ecx, esi
call fcn.0041c2d0
mov ecx, esi
call fcn.0041c2a0
push 0x3d
push str.Check_failed:_android::base::UTF8ToWide_name_template__path_
push eax
call fcn.00404100
add esp, 0xc
push 1
push 0x4cb346
push eax
call fcn.00404100
add esp, 0xc
push 0x22
push str.path_cant_be_converted_to_wchar:
push eax
call fcn.00404100
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.00404100
add esp, 0xc
mov ecx, esi
call fcn.0041c3a0
jmp 0x41a66b
sub esp, 0x14
movaps xmm0, xmmword [0x4cb290]
movups xmmword [esp + 4], xmm0
mov dword [esp], str.system_libbase_file.cpp
lea esi, [esp + 0x34]
mov ecx, esi
call fcn.0041c2d0
mov ecx, esi
call fcn.0041c2a0
push 0x39
push str.Check_failed:_android::base::WideToUTF8_path__path_utf8_
push eax
call fcn.00404100
add esp, 0xc
push 1
push 0x4cb346
push eax
call fcn.00404100
add esp, 0xc
push 0x1f
push str.path_cant_be_converted_to_utf8
push eax
call fcn.00404100
add esp, 0xc
mov ecx, esi
call fcn.0041c3a0
test byte [esp + 0x10], 1
jne 0x41a70f
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 0x41a838
test byte [esp + 0x10], 1
je 0x41a827
push dword [esp + 0x18]
call fcn.0046a990
add esp, 4
mov esi, edi
test byte [esp], 1
jne 0x41a6b7
jmp 0x41a6c3
sub esp, 0x14
movaps xmm0, xmmword [0x4cb2a0]
movups xmmword [esp + 4], xmm0
mov dword [esp], str.system_libbase_file.cpp
lea esi, [esp + 0x34]
mov ecx, esi
call fcn.0041c2d0
mov ecx, esi
call fcn.0041c2a0
push 0x4c
push str.Check_failed:_strcpy_s_name_template__size_in_chars__path_utf8.c_str_____0
push eax
call fcn.00404100
add esp, 0xc
push 1
push 0x4cb346
push eax
call fcn.00404100
add esp, 0xc
push 0x31
push str.utf8_path_cant_be_assigned_back_to_name_template
push eax
call fcn.00404100
add esp, 0xc
mov ecx, esi
call fcn.0041c3a0
test byte [esp + 0x10], 1
jne 0x41a81b
jmp 0x41a827