Function at 0x4f79c0
Capabilities:
Check if file exists
Get file attributes
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x656221
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x40], ebx
mov dword [ebx], vtable.CLimitMonitor.0
lea ecx, [ebx + 8]
call fcn.004f7630
xor edi, edi
mov dword [ebp - 4], edi
lea ecx, [ebx + 0x1c]
call fcn.004f7630
mov byte [ebp - 4], 1
lea ecx, [ebx + 0x30]
call fcn.004f7630
mov byte [ebp - 4], 2
lea esi, [ebx + 0x48]
mov dword [esi], edi
mov dword [esi + 4], edi
mov ecx, 0xb40
lea edi, [esi + 8]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
mov ecx, eax
shl ecx, 4
sub ecx, eax
lea edx, [ecx*4 + 2]
mov dword [ebx + 0x2d58], edx
xor edi, edi
push edi
call fcn.00624b1c
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
or esi, 0xffffffff
mov dword [ebx + 0x2d54], esi
mov dword [ebx + 0x2d60], edi
mov dword [ebx + 0x2d64], edi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x68]
push ecx
call fcn.00621d91
add esp, 0xc
cmp eax, edi
jne 0x4f7a84
mov esi, dword [ebp - 0x60]
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x8c]
push eax
call fcn.00621d91
add esp, 8
cmp eax, edi
jne 0x4f7aa3
mov eax, dword [ebp - 0x88]
jmp 0x4f7aa6
or eax, 0xffffffff
mov ecx, esi
shl ecx, 4
sub ecx, esi
lea edx, [eax + ecx*4]
mov dword [ebx + 0x2d50], edx
mov byte [ebp - 4], 3
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], edi
xor eax, eax
mov word [ebp - 0x1c], ax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
push ecx
mov ecx, ebx
call fcn.004f7970
mov eax, dword [ebp - 0x20]
cmp eax, edi
jne 0x4f7adf
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4f7c78
mov eax, dword [ebp - 0x20]
cmp eax, edi
jne 0x4f7af9
lea eax, [ebp - 0x1c]
push 0x67de24
push eax
call fcn.0062385d
add esp, 8
mov edi, eax
mov dword [ebp - 0x28], edi
test edi, edi
je 0x4f7c78
lea ecx, [ebp - 0x34]
call fcn.004024f0
mov byte [ebp - 4], 5
push 0x10
lea ecx, [ebp - 0x34]
call fcn.00402840
mov esi, eax
push edi
push 0x10
push esi
call fcn.006243c5
add esp, 0xc
test eax, eax
je 0x4f7c63
push esi
call fcn.006223ab
add esp, 4
cdq
mov esi, dword [ebp - 0x30]
sub esi, eax
mov dword [ebp - 0x3c], esi
mov eax, dword [ebp - 0x2c]
sbb eax, edx
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x3c]
call fcn.004f7410
mov edi, eax
shl edi, 4
sub edi, eax
lea ecx, [ebp - 0x3c]
call fcn.004f7450
lea edx, [eax + edi*4]
mov edi, dword [ebx + 0x2d58]
cmp edx, edi
jge 0x4f7c60
push 0
push 0x15180
mov eax, dword [ebp - 0x38]
push eax
push esi
call fcn.00624b70
or eax, edx
jne 0x4f7c60
mov eax, dword [ebx + 0x2d50]
sub eax, edi
mov dword [ebx + 0x2d54], eax
jns 0x4f7bb6
add eax, 0x5a1
mov dword [ebx + 0x2d54], eax
xor esi, esi
mov dword [ebp - 0x24], esi
mov edi, dword [ebp - 0x28]
push edi
push 1
push 0x2d08
lea eax, [ebx + 0x48]
push eax
call fcn.00625b7c
add esp, 0x10
cmp eax, esi
jne 0x4f7bed
xor eax, eax
mov dword [ebp - 0x44], eax
cmp eax, 0x5a1
jge 0x4f7bed
mov dword [ebx + eax*8 + 0x48], esi
mov dword [ebx + eax*8 + 0x4c], esi
inc eax
jmp 0x4f7bd8
mov ecx, ebx
call fcn.004f7490
mov ecx, dword [ebx + 0x2d60]
or ecx, dword [ebx + 0x2d64]
je 0x4f7c63
mov ecx, dword [ebx + 0x2d54]
mov eax, ecx
mov dword [ebp - 0x24], eax
cmp eax, 0x5a1
jge 0x4f7c2c
mov edx, dword [ebx + eax*8 + 0x48]
or edx, dword [ebx + eax*8 + 0x4c]
jne 0x4f7c27
mov dword [ebx + 0x2d54], eax
inc eax
jmp 0x4f7c0a
cmp eax, 0x5a1
jne 0x4f7c63
cmp ecx, esi
je 0x4f7c63
mov eax, dword [ebx + 0x2d48]
or eax, dword [ebx + 0x2d4c]
jne 0x4f7c63
mov dword [ebx + 0x2d54], esi
mov dword [ebp - 0x24], eax
cmp eax, ecx
jge 0x4f7c63
mov edx, dword [ebx + eax*8 + 0x48]
or edx, dword [ebx + eax*8 + 0x4c]
jne 0x4f7c63
mov dword [ebx + 0x2d54], eax
inc eax
jmp 0x4f7c46
mov edi, dword [ebp - 0x28]
push edi
call fcn.00623537
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.00402560
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.00401210
mov dword [ebp - 4], 2
jmp 0x4f7c9d
or edi, 0xffffffff
cmp dword [ebx + 0x2d54], edi
jne 0x4f7cf0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x8c]
push ecx
call fcn.00621d91
add esp, 8
test eax, eax
mov esi, dword [ebp - 0x84]
je 0x4f7cc7
mov esi, edi
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x68]
push eax
call fcn.00621d91
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x64]
je 0x4f7ce0
mov eax, edi
mov ecx, esi
shl ecx, 4
sub ecx, esi
lea edx, [eax + ecx*4]
mov dword [ebx + 0x2d54], edx
mov dword [ebp - 4], edi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00620b8d
mov esp, ebp
pop ebp
ret 4