Function at 0x1c54840
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xc0
mov esi, dword [ebp + 8]
mov eax, dword [0x1d12014]
xor eax, ebp
mov dword [esp + 0xb8], eax
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x30]
movdqa xmmword [edi + 0x30], xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
lea ebx, [esp + 0x70]
push 0x290
push str....._base_files_file_util_win.cc
push str.CreateDirectoryAndGetError
push ebx
call fcn.01c73620
add esp, 0x10
mov ecx, edi
push 0
push ebx
call fcn.01c7b8d0
cmp byte [esi + 0xb], 0
mov ebx, esi
jns 0x1c548ab
mov ebx, dword [esi]
mov edi, dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1c548e5
mov bl, 1
test al, 0x10
je 0x1c54a11
lea ecx, [esp + 0x30]
call fcn.01c7b950
mov ecx, dword [esp + 0xb8]
xor ecx, ebp
call fcn.01c92fe3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
dec eax
lea edi, [esp + 0x14]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov ecx, esi
push edi
call fcn.01c75cb0
movzx eax, byte [esi + 0xb]
mov ecx, esi
test al, al
jns 0x1c5490b
mov ecx, dword [esi]
mov eax, dword [esi + 4]
test eax, eax
je 0x1c54917
test ecx, ecx
je 0x1c54a2c
mov dword [esp + 8], ecx
movzx edx, byte [esp + 0x1f]
mov ecx, edx
and ecx, 0x7f
test dl, dl
cmovs ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
cmovns edx, edi
test ecx, ecx
je 0x1c5493f
test edx, edx
je 0x1c54a2c
cmp ecx, eax
je 0x1c54a4a
push dword [ebp + 0xc]
push edi
call fcn.01c54840
add esp, 8
test al, al
je 0x1c54aab
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
je 0x1c54978
lea ecx, [esp + 0x14]
call fcn.01c75c90
jmp 0x1c548c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 8], eax
cmp eax, 0xb7
jne 0x1c549f6
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x70]
movdqa xmmword [edi + 0x30], xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
lea eax, [esp + 0x20]
push 0x1f1
push str....._base_files_file_util_win.cc
push str.DirectoryExists
push eax
call fcn.01c73620
add esp, 0x10
mov ecx, edi
push 0
lea eax, [esp + 0x24]
push eax
call fcn.01c7b8d0
cmp byte [esi + 0xb], 0
jns 0x1c549d6
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
lea ecx, [esp + 0x70]
call fcn.01c7b950
cmp esi, 0xffffffff
je 0x1c549f6
and esi, 0x10
jne 0x1c5496a
cmp dword [ebp + 0xc], 0
je 0x1c54aa1
push dword [esp + 8]
call fcn.01c5c590
add esp, 4
jmp 0x1c54a9c
test edi, edi
je 0x1c54a1d
mov eax, edi
mov dword [edi], 0xfffffff7
push 0x50
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x1c548c4
push str.string_view::string_view__CharT___size_t_:_received_nullptr
push str.__len__0____s___nullptr
push 0x129
push str....._buildtools_third_partylibc_trunkinclude_string_view
push str._s:_d:_assertion__s_failed:__s
call fcn.01cbef30
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x1c54a89
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0xc]
movzx ecx, word [edx + ecx*2]
mov edi, dword [esp + 8]
mov eax, dword [esp + 0xc]
cmp cx, word [edi + eax*2]
lea edi, [esp + 0x14]
mov eax, dword [esp + 0x10]
jne 0x1c54947
mov ecx, dword [esp + 0xc]
inc ecx
mov dword [esp + 0xc], ecx
cmp eax, ecx
jne 0x1c54a5a
mov eax, 0xfffffffc
mov dword [esp + 8], 2
cmp dword [ebp + 0xc], 0
je 0x1c54aa1
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x1c5496a