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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68a56b
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x740184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 7
mov word [ebp - 0xd4], ax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], 7
mov word [ebp - 0xbc], ax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
mov byte [ebp - 0x5c], al
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0xdc]
push eax
push dword [edi + 4]
call fcn.004d5ff0
cmp dword [edi + 0x1c], 8
lea esi, [edi + 8]
mov eax, esi
jb 0x4d5d6a
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4d5dab
push 1
push 0
push 0xc0000000
push esi
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xe0], 0
call fcn.004d9780
mov eax, dword [ebp - 0xe0]
test eax, eax
je 0x4d5dab
cmp eax, 0xffffffff
je 0x4d5dab
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x69f0f4
lea eax, [edi + 0x84]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004568a0
add esp, 0xc
cmp dword [edi + 0x34], 8
lea edx, [edi + 0x20]
mov byte [ebp - 4], 1
jb 0x4d5dd3
mov edx, dword [edi + 0x20]
push dword [edi + 0x30]
mov ecx, eax
push edx
call fcn.0044f170
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
call fcn.004cbec0
mov edx, dword [ebp - 0x14]
add esp, 4
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x4d5e5e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4d5e54
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d5fd8
push edx
push ecx
call fcn.0048af59
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], al
cmp edx, 8
jb 0x4d5eaf
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4d5ea5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d5fdd
push edx
push ecx
call fcn.0048af59
add esp, 8
push 0x69f0f4
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004568a0
add esp, 0xc
cmp dword [ebp - 0xa8], 8
lea ecx, [ebp - 0xbc]
push dword [ebp - 0xac]
cmovae ecx, dword [ebp - 0xbc]
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0044f170
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
call fcn.004cbec0
mov edx, dword [ebp - 0x14]
add esp, 4
cmp edx, 8
jb 0x4d5f66
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4d5f5c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d5fe2
push edx
push ecx
call fcn.0048af59
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x4d5fb0
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4d5fa6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d5fe7
push edx
push ecx
call fcn.0048af59
add esp, 8
lea ecx, [ebp - 0xdc]
call fcn.004d4720
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b49a
mov esp, ebp
pop ebp
ret 4
call fcn.004aae7a
call fcn.004aae7a
call fcn.004aae7a
call fcn.004aae7a
int3