Function at 0x4c8d60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x9c
push 0xffffffffffffffff
push 0x64a160
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x74f8a0]
xor eax, ebp
mov dword [ebp + 0x98], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x14], ebx
xor eax, eax
mov word [ebp + 0x10], ax
mov byte [ebp - 4], 1
mov eax, dword [0x754c3c]
cmp eax, ebx
jne 0x4c8dc2
mov eax, 0x754c40
push ebx
push eax
push str._sGrabberProjects_
lea ecx, [ebp + 0xc]
call fcn.004021b0
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jne 0x4c8ddb
lea eax, [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4c8eb9
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jne 0x4c8df5
lea eax, [ebp + 0x10]
push 0x5c
add eax, 6
push eax
call fcn.00619bf0
add esp, 8
mov esi, eax
cmp esi, ebx
je 0x4c8eb9
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jne 0x4c8e17
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp]
call fcn.00402180
mov byte [ebp - 4], 2
mov eax, dword [ebp]
cmp eax, ebx
mov ecx, eax
jne 0x4c8e30
lea ecx, [ebp + 4]
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jne 0x4c8e3a
lea eax, [ebp + 0x10]
mov edx, esi
sub edx, eax
sar edx, 1
xor eax, eax
mov word [ecx + edx*2], ax
mov eax, dword [ebp]
cmp eax, ebx
jne 0x4c8e50
lea eax, [ebp + 4]
push ebx
push eax
call fcn.004a5a80
add esp, 8
test eax, eax
jne 0x4c8e98
mov eax, dword [ebp]
cmp eax, ebx
jne 0x4c8e68
lea eax, [ebp + 4]
push ebx
push eax
call fcn.004a5c60
add esp, 8
test eax, eax
jne 0x4c8e98
mov byte [ebp - 4], 1
lea ecx, [ebp]
call fcn.00401210
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00401210
mov eax, 0x7546
jmp 0x4c8f96
push 0x5c
add esi, 2
push esi
call fcn.00619bf0
add esp, 8
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp]
call fcn.00401210
jmp 0x4c8e05
mov edi, dword [ebp + 0xc]
cmp edi, ebx
jne 0x4c8ec3
lea edi, [ebp + 0x10]
mov esi, dword [ebp - 0x14]
add esi, 0x4c0
push ebx
push 0xa
lea ecx, [ebp + 0x58]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x4b0]
push eax
call fcn.0061ade2
add esp, 0xc
push eax
push edi
push str._sproject_s.igp
mov ecx, esi
call fcn.00402320
mov ebx, 1
mov dword [ebp - 0x18], ebx
jmp 0x4c8f00
cmp dword [esi], 0
je 0x4c8f09
mov eax, dword [esi]
jmp 0x4c8f0c
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4c8f60
inc ebx
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x4c8f26
lea edi, [ebp + 0x10]
push 0
push 0xa
lea ecx, [ebp + 0x18]
push ecx
push ebx
call fcn.0061ade2
add esp, 0xc
push eax
push 0xa
lea edx, [ebp + 0x58]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x4b0]
push ecx
call fcn.0061ade2
add esp, 0xc
push eax
push edi
push str._sproject_s__s.igp
mov ecx, esi
call fcn.00411a70
jmp 0x4c8f00
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00401210
xor eax, eax
jmp 0x4c8f96
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x98]
xor ecx, ebp
call fcn.0061807e
add ebp, 0x9c
mov esp, ebp
pop ebp
ret