Function at 0x44caf0
Capabilities:
Check if file exists
Get file attributes
Read file via mapping

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
mov rbp, rsp
mov qword [rbp + 0x40], rcx
mov byte [rbp + 0x4e], dl
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x80], 0
nop
xor rax, rax
mov byte [rbp + 0x4f], al
lea rcx, [rbp + 0x88]
mov rax, qword [rbp + 0x40]
lea rax, [rax + rbp + 0x80]
mov rdx, rbp
neg rdx
mov rax, qword [rax + rdx]
mov rdx, qword [rax + 0x80]
call fcn.00410750
lea rcx, [0x0044d120]
mov rdx, qword [rbp + 0x88]
mov r8d, 0x7fffffff
mov r9d, 1
mov rax, qword [0x00bb7940]
call qword [rax]
lea rcx, [rbp + 0x88]
mov edx, eax
mov r8d, 0x7fffffff
call fcn.004124e0
lea rcx, [rbp + 0x78]
mov rdx, qword [rbp + 0x88]
lea r8, [0x0044d130]
call fcn.00412270
mov rcx, qword [rbp + 0x78]
call fcn.00411e10
mov rcx, rax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x44cf5b
movzx rax, byte [rbp + 0x4e]
test al, al
jne 0x44cf5b
mov rax, qword [rbp + 0x40]
lea rax, [rax + rbp + 0x80]
mov rcx, rbp
neg rcx
mov rax, qword [rax + rcx]
mov rcx, qword [rbp + 0x40]
lea rcx, [rcx + rbp + 0x80]
mov rdx, rbp
neg rdx
mov rcx, qword [rcx + rdx]
mov rdx, qword [rbp + 0x40]
lea rdx, [rdx + rbp + 0x80]
mov r8, rbp
neg r8
mov rdx, qword [rdx + r8]
mov ecx, dword [rcx + 0x68]
sub ecx, dword [rdx + 0x58]
mov dword [rax + 0x4cc], ecx
mov rax, qword [rbp + 0x40]
lea rax, [rax + rbp + 0x80]
mov rcx, rbp
neg rcx
mov rax, qword [rax + rcx]
cmp dword [rax + 0x4cc], 0
jne 0x44cf34
mov rax, qword [rbp + 0x40]
lea rax, [rax + rbp + 0x80]
mov rcx, rbp
neg rcx
mov rax, qword [rax + rcx]
mov dword [rax + 0x4cc], 0x1000
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x44cce9
mov rax, qword [rbp + 0x40]
lea rax, [rax + rbp + 0x80]
mov rcx, rbp
neg rcx
mov rax, qword [rax + rcx]
mov rcx, qword [rax + 0x80]
call fcn.00411e10
mov rcx, rax
mov edx, 0x80000000
mov r8d, 1
xor r9, r9
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileW
mov rbx, rax
jmp 0x44cd4f
lea rcx, [rbp + 0x70]
mov rax, qword [rbp + 0x40]
lea rax, [rax + rbp + 0x80]
mov rdx, rbp
neg rdx
mov rax, qword [rax + rdx]
mov rdx, qword [rax + 0x80]
xor r8, r8
call fcn.00411660
mov rcx, qword [rbp + 0x70]
call fcn.00411320
mov rcx, rax
mov edx, 0x80000000
mov r8d, 1
xor r9, r9
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileA
mov rbx, rax
cmp rbx, 0xffffffffffffffff
je 0x44cf34
mov rcx, rbx
xor rdx, rdx
mov r8d, 2
xor r9, r9
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
call sub.kernel32.dll_CreateFileMappingA
mov rsi, rax
test rsi, rsi
je 0x44cf2c
mov rcx, rsi
mov edx, 4
xor r8, r8
xor r9, r9
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_MapViewOfFile
mov rdi, rax
test rdi, rdi
je 0x44cf24
mov rcx, rdi
call fcn.0042e9a0
test rax, rax
je 0x44cf1c
cmp word [rax + 0x18], 0x20b
jne 0x44cdd6
lea rcx, [rax + 0x108]
jmp 0x44cddd
lea rcx, [rax + 0xf8]
mov edx, dword [rcx + 0x24]
test edx, 0x20
je 0x44ce5e
mov rax, qword [rbp + 0x40]
lea rax, [rax + rbp + 0x80]
mov rdx, rbp
neg rdx
mov rax, qword [rax + rdx]
mov edx, dword [rcx + 0xc]
mov dword [rax + 0x4cc], edx
mov rax, qword [rbp + 0x40]
lea rax, [rax + rbp + 0x80]
mov rdx, rbp
neg rdx
mov rax, qword [rax + rdx]
mov edx, dword [rcx + 8]
mov qword [rax + 0x70], rdx
add rcx, 0x28
mov eax, dword [rcx + 0x24]
test eax, 0x20
je 0x44cf1c
mov rax, qword [rbp + 0x40]
lea rax, [rax + rbp + 0x80]
mov rdx, rbp
neg rdx
mov rax, qword [rax + rdx]
mov edx, dword [rcx + 0xc]
add edx, dword [rcx + 8]
mov edx, edx
mov qword [rax + 0x70], rdx
jmp 0x44cf1c
cmp word [rax + 0x18], 0x20b
jne 0x44cec2
mov rcx, qword [rbp + 0x40]
lea rcx, [rcx + rbp + 0x80]
mov rdx, rbp
neg rdx
mov rcx, qword [rcx + rdx]
mov edx, dword [rax + 0x2c]
mov dword [rcx + 0x4cc], edx
mov rcx, qword [rbp + 0x40]
lea rcx, [rcx + rbp + 0x80]
mov rdx, rbp
neg rdx
mov rcx, qword [rcx + rdx]
mov rdx, qword [rbp + 0x40]
lea rdx, [rdx + rbp + 0x80]
mov r8, rbp
neg r8
mov rdx, qword [rdx + r8]
mov edx, dword [rdx + 0x4cc]
add edx, dword [rax + 0x1c]
mov edx, edx
mov qword [rcx + 0x70], rdx
jmp 0x44cf1c
mov rcx, qword [rbp + 0x40]
lea rcx, [rcx + rbp + 0x80]
mov rdx, rbp
neg rdx
mov rcx, qword [rcx + rdx]
mov edx, dword [rax + 0x2c]
mov dword [rcx + 0x4cc], edx
mov rcx, qword [rbp + 0x40]
lea rcx, [rcx + rbp + 0x80]
mov rdx, rbp
neg rdx
mov rcx, qword [rcx + rdx]
mov rdx, qword [rbp + 0x40]
lea rdx, [rdx + rbp + 0x80]
mov r8, rbp
neg r8
mov rdx, qword [rdx + r8]
mov edx, dword [rdx + 0x4cc]
add edx, dword [rax + 0x1c]
mov edx, edx
mov qword [rcx + 0x70], rdx
mov rcx, rdi
call sub.kernel32.dll_UnmapViewOfFile
mov rcx, rsi
call sub.kernel32.dll_CloseHandle
mov rcx, rbx
call sub.kernel32.dll_CloseHandle
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x88]
lea r8, [0x0044d130]
call fcn.00412270
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x68]
call fcn.0044af50
mov byte [rbp + 0x4f], al
movzx rax, byte [rbp + 0x4f]
test al, al
jne 0x44d043
movzx rax, byte [rbp + 0x4e]
test al, al
jne 0x44cfba
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x88]
lea r8, [0x0044d148]
call fcn.00412270
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x60]
lea r8, [rbp + 0x80]
call fcn.00446ce0
test al, al
je 0x44cfba
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x80]
call fcn.00449830
mov al, 1
mov byte [rbp + 0x4f], al
jmp 0x44d043
lea rcx, [rbp + 0x58]
mov rdx, qword [rbp + 0x88]
lea r8, [0x0044d160]
call fcn.00412270
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x58]
lea r8, [rbp + 0x80]
call fcn.00446ce0
test al, al
je 0x44cffd
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x80]
call fcn.00448190
test al, al
jne 0x44d002
xor rax, rax
jmp 0x44d004
mov al, 1
test al, al
jne 0x44d03e
movzx rax, byte [rbp + 0x4e]
test al, al
jne 0x44d039
lea rcx, [rbp + 0x50]
mov rdx, qword [rbp + 0x88]
lea r8, [0x0044d178]
call fcn.00412270
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x50]
call fcn.0044a380
test al, al
jne 0x44d03e
xor rax, rax
jmp 0x44d040
mov al, 1
mov byte [rbp + 0x4f], al
nop
lea rcx, [rbp + 0x50]
mov edx, 4
call fcn.00410160
lea rcx, [rbp + 0x70]
call fcn.004100d0
lea rcx, [rbp + 0x78]
call fcn.00410080
lea rcx, [rbp + 0x80]
call fcn.004100d0
lea rcx, [rbp + 0x88]
call fcn.00410080
movzx rax, byte [rbp + 0x4f]
lea rsp, [rbp + 0x98]
pop rbx
pop rsi
pop rdi
pop rbp
ret