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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov r8d, 0x57
lea rdx, [0x0060da18]
mov rcx, qword [rsp + 0xa0]
call fcn.00422960
mov r8d, 0x128
xor edx, edx
mov rcx, qword [rsp + 0xa8]
call fcn.00554fe0
mov rax, qword [rsp + 0xa0]
add rax, 0x18
mov rcx, rax
call fcn.004c1cf0
mov rcx, qword [rsp + 0xa8]
add rcx, 0x22
mov r9, 0xffffffffffffffff
mov r8, rax
mov edx, 0x104
call fcn.004160f0
mov rax, qword [rsp + 0xa0]
mov rcx, qword [0x005e1088]
cmp qword [rax + 8], rcx
je 0x4f3b5b
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x20]
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x4f3919
xor eax, eax
jmp 0x4f3b60
xor edx, edx
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov eax, eax
mov rcx, qword [rsp + 0xa8]
mov qword [rcx + 0x18], rax
mov rax, qword [rsp + 0xa8]
mov ecx, 0xffffffff
cmp qword [rax + 0x18], rcx
jne 0x4f3955
xor eax, eax
jmp 0x4f3b60
mov rax, qword [rsp + 0xa0]
add rax, 0x18
mov rcx, rax
call fcn.0040abd0
movzx eax, al
test eax, eax
je 0x4f3981
mov rax, qword [rsp + 0xa8]
mov byte [rax + 0x20], 0
jmp 0x4f3a1c
mov rax, qword [rsp + 0xa0]
add rax, 0x18
mov rcx, rax
call fcn.004c1cf0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0xffffffff
jne 0x4f39b7
mov rax, qword [rsp + 0xa8]
mov byte [rax + 0x20], 0
jmp 0x4f3a1c
mov rax, qword [rsp + 0xa8]
movzx ecx, byte [rsp + 0x38]
mov byte [rax + 0x20], cl
mov eax, dword [rsp + 0x38]
and eax, 0xffffff00
test eax, eax
je 0x4f3a1c
lea rcx, [0x00688c10]
call fcn.00406080
mov qword [rsp + 0x80], rax
mov r8d, 0x77
lea rdx, [0x0060da50]
lea rcx, [rsp + 0x40]
call fcn.00406030
lea r9, str.Warning:_CFile::GetStatus___returns_m_attribute_without_high_order_flags._n
xor r8d, r8d
mov rcx, qword [rsp + 0x80]
mov rdx, rcx
mov rcx, rax
call fcn.00406040
lea rcx, [rsp + 0x20]
call fcn.0058dad0
test eax, eax
je 0x4f3a4f
mov r8d, 0xffffffff
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.0058e150
mov rax, qword [rax]
mov rcx, qword [rsp + 0xa8]
mov qword [rcx], rax
jmp 0x4f3a67
lea rcx, [rsp + 0x58]
call fcn.0058db20
mov rax, qword [rax]
mov rcx, qword [rsp + 0xa8]
mov qword [rcx], rax
lea rcx, [rsp + 0x28]
call fcn.0058dad0
test eax, eax
je 0x4f3a9b
mov r8d, 0xffffffff
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x60]
call fcn.0058e150
mov rax, qword [rax]
mov rcx, qword [rsp + 0xa8]
mov qword [rcx + 0x10], rax
jmp 0x4f3ab4
lea rcx, [rsp + 0x68]
call fcn.0058db20
mov rax, qword [rax]
mov rcx, qword [rsp + 0xa8]
mov qword [rcx + 0x10], rax
lea rcx, [rsp + 0x30]
call fcn.0058dad0
test eax, eax
je 0x4f3ae8
mov r8d, 0xffffffff
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.0058e150
mov rax, qword [rax]
mov rcx, qword [rsp + 0xa8]
mov qword [rcx + 8], rax
jmp 0x4f3b01
lea rcx, [rsp + 0x78]
call fcn.0058db20
mov rax, qword [rax]
mov rcx, qword [rsp + 0xa8]
mov qword [rcx + 8], rax
mov rcx, qword [rsp + 0xa8]
call fcn.0058e790
test rax, rax
jne 0x4f3b2a
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0xa8]
mov qword [rcx], rax
mov rax, qword [rsp + 0xa8]
add rax, 0x10
mov rcx, rax
call fcn.0058e790
test rax, rax
jne 0x4f3b5b
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0xa8]
mov qword [rcx + 0x10], rax
mov eax, 1
add rsp, 0x98
ret