Function at 0x422920
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 0x42293b
mov eax, dword [eax + 8]
jmp 0x42293c
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.004228b0
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.0047f910
add esp, 8
test al, al
je 0x422a34
movzx eax, byte [esp]
lea ebx, [esp + 2]
test al, 1
je 0x42299f
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
jmp 0x4229a3
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 0x4229cd
test byte [esp], 1
je 0x4229bf
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 0x4229ee
test byte [esp], 1
je 0x4229df
push dword [esp + 8]
call fcn.00417920
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.0047f670
add esp, 8
test al, al
je 0x422aa5
test byte [esp + 0x10], 1
je 0x422b06
mov eax, dword [esp + 0x18]
jmp 0x422b0a
lea esi, [esp + 0x10]
mov ecx, esi
push 0xffffffffffffffff
push 0
push 6
push 0x50
push str.system_libbase_file.cpp
call fcn.00481460
mov ecx, esi
call fcn.00481430
push 0x3d
push str.Check_failed:_android::base::UTF8ToWide_name_template__path_
push eax
call fcn.004234b0
add esp, 0xc
push 1
push 0x524406
push eax
call fcn.004234b0
add esp, 0xc
push 0x22
push str.path_cant_be_converted_to_wchar:
push eax
call fcn.004234b0
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.004234b0
add esp, 0xc
mov ecx, esi
call fcn.00481540
jmp 0x422989
lea esi, [esp + 0x20]
mov ecx, esi
push 0xffffffffffffffff
push 0
push 6
push 0x5c
push str.system_libbase_file.cpp
call fcn.00481460
mov ecx, esi
call fcn.00481430
push 0x39
push str.Check_failed:_android::base::WideToUTF8_path__path_utf8_
push eax
call fcn.004234b0
add esp, 0xc
push 1
push 0x524406
push eax
call fcn.004234b0
add esp, 0xc
push 0x1f
push str.path_cant_be_converted_to_utf8
push eax
call fcn.004234b0
add esp, 0xc
mov ecx, esi
call fcn.00481540
test byte [esp + 0x10], 1
jne 0x422a2b
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 0x422b42
test byte [esp + 0x10], 1
je 0x422b31
push dword [esp + 0x18]
call fcn.00417920
add esp, 4
mov esi, edi
test byte [esp], 1
jne 0x4229d3
jmp 0x4229df
lea esi, [esp + 0x20]
mov ecx, esi
push 0xffffffffffffffff
push 0
push 6
push 0x5d
push str.system_libbase_file.cpp
call fcn.00481460
mov ecx, esi
call fcn.00481430
push 0x4c
push str.Check_failed:_strcpy_s_name_template__size_in_chars__path_utf8.c_str_____0
push eax
call fcn.004234b0
add esp, 0xc
push 1
push 0x524406
push eax
call fcn.004234b0
add esp, 0xc
push 0x31
push str.utf8_path_cant_be_assigned_back_to_name_template
push eax
call fcn.004234b0
add esp, 0xc
mov ecx, esi
call fcn.00481540
test byte [esp + 0x10], 1
jne 0x422b25
jmp 0x422b31