Function at 0x10168990
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 [0x102b0014]
xor eax, ebp
mov dword [esp + 0xb8], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x60], xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
lea edi, [esp + 0x70]
push 0x336
push str..._.._base_files_file_util_win.cc
push str.CreateDirectoryAndGetError
push edi
call fcn.1014e3e0
add esp, 0x10
lea ecx, [esp + 0x30]
push 0
push edi
call fcn.10160300
cmp byte [esi + 0xb], 0
mov ebx, esi
jns 0x101689fe
mov ebx, dword [esi]
mov edi, dword [ebp + 0xc]
push ebx
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10168a30
mov bl, 1
test al, 0x10
jne 0x10168ba4
test edi, edi
je 0x10168a21
mov dword [edi], 0xfffffff7
push 0x50
call dword [sym.imp.kernel32.dll_SetLastError]
xor ebx, ebx
jmp 0x10168ba4
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x1c], 0xffffffff
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.1014c6e0
movzx edx, byte [esp + 0x1f]
mov eax, edx
test dl, dl
jns 0x10168a63
mov eax, dword [esp + 0x18]
movzx ecx, byte [esi + 0xb]
test cl, cl
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
js 0x10168a7f
mov edx, esi
cmp eax, ecx
jne 0x10168acb
test eax, eax
jne 0x10168a8a
jmp 0x10168ab1
cmp eax, dword [esi + 4]
jne 0x10168acb
mov edx, dword [esi]
test eax, eax
je 0x10168ab1
lea edi, [esp + 0x14]
cmp byte [esp + 0x10], 0
jns 0x10168a99
mov edi, dword [esp + 0x14]
xor ecx, ecx
nop
nop
nop
nop
nop
movzx ebx, word [edi + ecx*2]
cmp bx, word [edx + ecx*2]
jne 0x10168acb
add ecx, 1
cmp eax, ecx
jne 0x10168aa0
mov eax, 0xfffffffc
mov esi, 2
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x10168b90
jmp 0x10168b92
mov edi, dword [ebp + 0xc]
push edi
lea eax, [esp + 0x18]
push eax
call fcn.10168990
add esp, 8
test al, al
je 0x10168b99
push 0
push dword [esp + 0x10]
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
jne 0x10168b9b
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esp + 0xc], eax
cmp eax, 0xb7
jne 0x10168b7f
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0xa0], xmm0
movdqa xmmword [esp + 0x90], xmm0
movdqa xmmword [esp + 0x80], xmm0
movdqa xmmword [esp + 0x70], xmm0
lea edi, [esp + 0x20]
push 0x2a9
push str..._.._base_files_file_util_win.cc
push str.DirectoryExists
push edi
call fcn.1014e3e0
add esp, 0x10
lea ecx, [esp + 0x70]
push 0
push edi
call fcn.10160300
cmp byte [esi + 0xb], 0
jns 0x10168b60
mov esi, dword [esi]
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov esi, eax
lea ecx, [esp + 0x70]
call fcn.10160360
cmp esi, 0xffffffff
mov edi, dword [ebp + 0xc]
je 0x10168b7f
and esi, 0x10
jne 0x10168b9b
test edi, edi
je 0x10168bc5
mov esi, dword [esp + 0xc]
push esi
call fcn.1019b170
add esp, 4
mov dword [edi], eax
push esi
call dword [sym.imp.kernel32.dll_SetLastError]
xor ebx, ebx
lea ecx, [esp + 0x14]
call fcn.1014bf30
lea ecx, [esp + 0x30]
call fcn.10160360
mov ecx, dword [esp + 0xb8]
xor ecx, ebp
call fcn.10205d16
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [esp + 0xc]
jmp 0x10168b92