Function at 0x4cc3b0
Capabilities:
Get file attributes

Disassembly:
sub esp, 0x18
push edi
mov edi, dword [esp + 0x20]
test edi, edi
je 0x4cc613
cmp byte [edi], 0
je 0x4cc613
mov ecx, dword [esp + 0x24]
push ebx
push ebp
or ebx, 0xffffffff
test ecx, ecx
push esi
je 0x4cc490
call fcn.00495de0
mov esi, eax
call fcn.004c80c0
test al, al
je 0x4cc466
push 0x544eb8
lea ecx, [esp + 0x14]
call fcn.004350d0
push edi
lea ecx, [esp + 0x14]
call fcn.00434890
cmp esi, 5
jle 0x4cc419
mov eax, dword [esp + 0x10]
push eax
call fcn.004b5400
add esp, 4
mov esi, eax
jmp 0x4cc441
mov ecx, dword [esp + 0x10]
push 0
push 6
push ecx
call fcn.004b5830
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x4cc457
push ebp
call fcn.004b5400
push ebp
mov esi, eax
call fcn.00527b30
add esp, 8
test esi, esi
je 0x4cc457
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push esi
mov ebx, eax
call fcn.00527b30
add esp, 4
mov edx, dword [esp + 0x10]
push edx
call fcn.00527b30
add esp, 4
jmp 0x4cc499
cmp esi, 5
jle 0x4cc490
push 0
push edi
call fcn.004d70d0
mov esi, eax
add esp, 8
test esi, esi
je 0x4cc4a2
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push esi
mov ebx, eax
call fcn.00527b30
add esp, 4
jmp 0x4cc499
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4cc5ed
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4cc4a7
sub eax, edx
xor esi, esi
mov ebp, eax
cmp ebp, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
jle 0x4cc4f4
cmp byte [esi + edi], 0x5c
jne 0x4cc4e0
test esi, esi
je 0x4cc4e0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.004cc2b0
add esp, 8
xor edx, edx
mov dl, byte [esi + edi]
lea ecx, [esp + 0x10]
push edx
call fcn.00434550
inc esi
cmp esi, ebp
jl 0x4cc4c4
test ebp, ebp
je 0x4cc50f
cmp byte [edi + ebp - 1], 0x5c
je 0x4cc50f
mov esi, dword [esp + 0x30]
push esi
push edi
call fcn.004cc2b0
add esp, 8
jmp 0x4cc513
mov esi, dword [esp + 0x30]
test esi, esi
je 0x4cc5d2
mov ecx, esi
call fcn.00495de0
mov esi, eax
call fcn.004c80c0
test al, al
je 0x4cc5a8
push 0x544eb8
lea ecx, [esp + 0x20]
call fcn.004350d0
push edi
lea ecx, [esp + 0x20]
call fcn.00434890
cmp esi, 5
jle 0x4cc55b
mov eax, dword [esp + 0x1c]
push eax
call fcn.004b5400
add esp, 4
mov esi, eax
jmp 0x4cc583
mov ecx, dword [esp + 0x1c]
push 0
push 6
push ecx
call fcn.004b5830
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4cc599
push edi
call fcn.004b5400
push edi
mov esi, eax
call fcn.00527b30
add esp, 8
test esi, esi
je 0x4cc599
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push esi
mov ebx, eax
call fcn.00527b30
add esp, 4
mov edx, dword [esp + 0x1c]
push edx
call fcn.00527b30
add esp, 4
jmp 0x4cc5db
cmp esi, 5
jle 0x4cc5d2
push 0
push edi
call fcn.004d70d0
mov esi, eax
add esp, 8
test esi, esi
je 0x4cc5fc
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push esi
mov ebx, eax
call fcn.00527b30
add esp, 4
jmp 0x4cc5db
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4cc5fc
mov eax, dword [esp + 0x10]
push eax
call fcn.00527b30
add esp, 4
pop esi
mov eax, ebx
pop ebp
shr eax, 4
pop ebx
and al, 1
pop edi
add esp, 0x18
ret
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00527b30
add esp, 4
pop esi
pop ebp
pop ebx
xor al, al
pop edi
add esp, 0x18
ret
xor al, al
pop edi
add esp, 0x18
ret