Function at 0x40a6c0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov esi, dword [ebp + 8]
mov eax, dword [0x5c4738]
xor eax, ebp
mov dword [esp + 0x98], eax
xor eax, eax
dec eax
lea edi, [esp + 0x10]
mov dword [edi + 0x34], eax
mov dword [edi + 0x30], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
lea ebx, [esp + 0x60]
push 0x29d
push str..._.._base_files_file_util_win.cc
push str.CreateDirectoryAndGetError
push ebx
call fcn.004c10c0
add esp, 0x10
mov ecx, edi
push 0
push ebx
call fcn.004c7be0
cmp byte [esi + 0xb], 0
mov ebx, esi
jns 0x40a72f
mov ebx, dword [esi]
mov edi, dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
dec ecx
cmp eax, ecx
je 0x40a76b
mov bl, 1
test al, 0x10
je 0x40a7d9
lea ecx, [esp + 0x10]
call fcn.004c7b60
mov ecx, dword [esp + 0x98]
xor ecx, ebp
call fcn.004d25a3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea edi, [esp + 4]
mov dword [edi], ecx
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov ecx, esi
push edi
call fcn.0040ed40
movzx ecx, byte [edi + 0xb]
mov eax, ecx
test cl, cl
jns 0x40a78d
mov eax, dword [esp + 8]
mov dword [esp], eax
movzx eax, byte [esi + 0xb]
mov edx, eax
test al, al
jns 0x40a79d
mov edx, dword [esi + 4]
mov edi, dword [esp]
cmp edi, edx
je 0x40a7f4
push dword [ebp + 0xc]
lea eax, [esp + 8]
push eax
call fcn.0040a6c0
add esp, 8
test al, al
je 0x40a8d8
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
je 0x40a836
lea ecx, [esp + 4]
call fcn.004c5e70
jmp 0x40a74a
test edi, edi
je 0x40a7e5
mov eax, edi
mov dword [edi], 0xfffffff7
push 0x50
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x40a74a
test edi, edi
je 0x40a820
lea edi, [esp + 4]
test cl, cl
jns 0x40a804
mov edi, dword [esp + 4]
mov ecx, esi
test al, al
jns 0x40a80c
mov ecx, dword [esi]
xor edx, edx
movzx eax, word [edi + edx*2]
cmp ax, word [ecx + edx*2]
mov eax, dword [esp]
jne 0x40a7a4
inc edx
cmp eax, edx
jne 0x40a80e
cmp dword [ebp + 0xc], 0
je 0x40a82f
mov eax, dword [ebp + 0xc]
mov dword [eax], 0xfffffffc
push 2
jmp 0x40a8d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], eax
cmp eax, 0xb7
jne 0x40a8b9
lea edi, [esp + 0x60]
xor eax, eax
dec eax
mov dword [edi + 0x34], eax
mov dword [edi + 0x30], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
lea eax, [esp + 0x50]
push 0x210
push str..._.._base_files_file_util_win.cc
push str.DirectoryExists
push eax
call fcn.004c10c0
add esp, 0x10
mov ecx, edi
push 0
lea eax, [esp + 0x54]
push eax
call fcn.004c7be0
cmp byte [esi + 0xb], 0
jns 0x40a897
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
lea ecx, [esp + 0x60]
call fcn.004c7b60
xor eax, eax
dec eax
cmp esi, eax
je 0x40a8b9
and esi, 0x10
jne 0x40a7cb
cmp dword [ebp + 0xc], 0
je 0x40a8cf
push dword [esp]
call fcn.00430340
add esp, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
push dword [esp]
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x40a7cb