Function at 0x421b40
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [ebp + 8]
mov edi, ecx
test byte [eax], 1
je 0x421b5b
mov eax, dword [eax + 8]
jmp 0x421b5c
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.00421ad0
add esp, 0x14
mov eax, esp
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], 0
push eax
push edi
call fcn.00478110
add esp, 8
test al, al
je 0x421c54
movzx eax, byte [esp]
lea ebx, [esp + 2]
test al, 1
je 0x421bbf
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
jmp 0x421bc3
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 0x421bed
test byte [esp], 1
je 0x421bdf
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 0x421c0e
test byte [esp], 1
je 0x421bff
push dword [esp + 8]
call fcn.00416a20
add esp, 4
test esi, esi
setne al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
lea eax, [esp + 0x10]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
push eax
lea eax, [esp + 4]
push eax
call fcn.00477e70
add esp, 8
test al, al
je 0x421cc7
test byte [esp + 0x10], 1
je 0x421d2a
mov eax, dword [esp + 0x18]
jmp 0x421d2e
lea esi, [esp + 0x10]
mov ecx, esi
push 0xffffffffffffffff
push 0
push 6
push 0
push 0x50
push str.system_core_base_file.cpp
call fcn.00479090
mov ecx, esi
call fcn.00479080
push 0x3d
push str.Check_failed:_android::base::UTF8ToWide_name_template__path_
push eax
call fcn.00422660
add esp, 0xc
push 1
push 0x5100f8
push eax
call fcn.00422660
add esp, 0xc
push 0x22
push str.path_cant_be_converted_to_wchar:
push eax
call fcn.00422660
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.00422660
add esp, 0xc
mov ecx, esi
call fcn.00479180
jmp 0x421ba9
lea esi, [esp + 0x20]
mov ecx, esi
push 0xffffffffffffffff
push 0
push 6
push 0
push 0x5c
push str.system_core_base_file.cpp
call fcn.00479090
mov ecx, esi
call fcn.00479080
push 0x39
push str.Check_failed:_android::base::WideToUTF8_path__path_utf8_
push eax
call fcn.00422660
add esp, 0xc
push 1
push 0x5100f8
push eax
call fcn.00422660
add esp, 0xc
push 0x1f
push str.path_cant_be_converted_to_utf8
push eax
call fcn.00422660
add esp, 0xc
mov ecx, esi
call fcn.00479180
test byte [esp + 0x10], 1
jne 0x421c4b
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 0x421d66
test byte [esp + 0x10], 1
je 0x421d55
push dword [esp + 0x18]
call fcn.00416a20
add esp, 4
mov esi, edi
test byte [esp], 1
jne 0x421bf3
jmp 0x421bff
lea esi, [esp + 0x20]
mov ecx, esi
push 0xffffffffffffffff
push 0
push 6
push 0
push 0x5d
push str.system_core_base_file.cpp
call fcn.00479090
mov ecx, esi
call fcn.00479080
push 0x4c
push str.Check_failed:_strcpy_s_name_template__size_in_chars__path_utf8.c_str_____0
push eax
call fcn.00422660
add esp, 0xc
push 1
push 0x5100f8
push eax
call fcn.00422660
add esp, 0xc
push 0x31
push str.utf8_path_cant_be_assigned_back_to_name_template
push eax
call fcn.00422660
add esp, 0xc
mov ecx, esi
call fcn.00479180
test byte [esp + 0x10], 1
jne 0x421d49
jmp 0x421d55