Function at 0x4a74c0
Capabilities:
Check if file exists
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov dword [ebp - 0x58], ecx
push 0x57
push 0x578bb4
mov eax, dword [ebp - 0x58]
push eax
call fcn.0045d090
push 0x22c
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.004db5b0
add esp, 0xc
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x58]
add ecx, 0xc
call fcn.0040d7e0
push eax
push 0x104
mov edx, dword [ebp + 8]
add edx, 0x22
push edx
call fcn.00431d80
add esp, 0x10
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 4]
cmp ecx, dword [0x54f538]
je 0x4a770d
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x4a7544
xor eax, eax
jmp 0x4a7712
push 0
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
xor ecx, ecx
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
cmp dword [ecx + 0x18], 0xffffffff
jne 0x4a757d
mov edx, dword [ebp - 0x5c]
cmp dword [edx + 0x1c], 0
jne 0x4a757d
xor eax, eax
jmp 0x4a7712
mov ecx, dword [ebp - 0x58]
add ecx, 0xc
call fcn.0040b370
movzx eax, al
test eax, eax
je 0x4a7598
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x20], 0
jmp 0x4a75fa
mov ecx, dword [ebp - 0x58]
add ecx, 0xc
call fcn.0040d7e0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x4a75bc
mov edx, dword [ebp + 8]
mov byte [edx + 0x20], 0
jmp 0x4a75fa
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 0x1c]
mov byte [eax + 0x20], cl
mov edx, dword [ebp - 0x1c]
and edx, 0xffffff00
je 0x4a75fa
push str.Warning:_CFile::GetStatus___returns_m_attribute_without_high_order_flags._n
push 0
mov ecx, 0x5c97d8
call fcn.0040d7e0
push eax
push 0x77
push 0x578bec
lea ecx, [ebp - 0x24]
call fcn.00401100
push eax
call fcn.00429920
add esp, 0x10
lea eax, [ebp - 8]
push eax
call fcn.0050e5a0
test eax, eax
je 0x4a7624
push 0xffffffffffffffff
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0050ea70
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 8]
mov dword [ecx], edx
mov dword [ecx + 4], eax
jmp 0x4a7639
lea ecx, [ebp - 0x34]
call fcn.0050e5e0
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 8]
mov dword [ecx], edx
mov dword [ecx + 4], eax
lea edx, [ebp - 0x10]
push edx
call fcn.0050e5a0
test eax, eax
je 0x4a7664
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0050ea70
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
jmp 0x4a767a
lea ecx, [ebp - 0x44]
call fcn.0050e5e0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
lea ecx, [ebp - 0x18]
push ecx
call fcn.0050e5a0
test eax, eax
je 0x4a76a5
push 0xffffffffffffffff
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x4c]
call fcn.0050ea70
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 8]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
jmp 0x4a76bb
lea ecx, [ebp - 0x54]
call fcn.0050e5e0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 8]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov ecx, dword [ebp + 8]
call fcn.0050ef70
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
mov ecx, dword [ebp - 0x64]
or ecx, dword [ebp - 0x60]
jne 0x4a76e2
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0xc]
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov ecx, dword [ebp + 8]
add ecx, 0x10
call fcn.0050ef70
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x6c]
or eax, dword [ebp - 0x68]
jne 0x4a770d
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], eax
mov eax, 1
mov esp, ebp
pop ebp
ret 4