Function at 0x411fcbe0
Capabilities:
Check if file exists
Get file size
Read file via mapping

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc0
mov qword [rsp + 0xb0], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov r12, r9
mov r13, r8
mov r14, rdx
mov rdi, rcx
mov rcx, rdx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x411fcc2f
xor eax, eax
jmp 0x411fd192
xor ebx, ebx
mov dword [rdi], ebx
mov esi, ebx
mov r15, rbx
mov qword [rsp + 0x48], rbx
lea rcx, [rsp + 0x50]
call fcn.41029680
nop
mov r8d, 0x10000000
lea rdx, str.Everyone
lea rcx, [rsp + 0x50]
call fcn.410296d0
mov r8d, 0x10000000
lea rdx, str.ALL_APPLICATION_PACKAGES
lea rcx, [rsp + 0x50]
call fcn.410296d0
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [rbx + 1]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x411fccbf
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, qword [rsp + 0x118]
cmp byte [rbp], 0
je 0x411fce26
mov r8, qword [rsp + 0x120]
mov edx, 1
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov rdi, rax
test rax, rax
je 0x411fcd44
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbp, rax
test rax, rax
jne 0x411fcd20
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, rbx
mov ebx, 1
mov qword [r13], rdi
mov dword [r12], ebx
mov rcx, qword [rsp + 0x110]
mov dword [rcx], esi
lea rcx, [rsp + 0x50]
call fcn.41029650
mov rax, rbp
jmp 0x411fd192
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x411fcdef
lea rcx, [rsp + 0x50]
call fcn.41029550
mov rdx, rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8d, [r9 + 2]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdi, rax
test rax, rax
je 0x411fcddf
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r15, rax
test rax, rax
jne 0x411fcde4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, rbx
lea ebx, [r15 + 2]
jmp 0x411fcde4
mov ebx, 3
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x411fcdf4
mov ebx, 0xa
mov rax, qword [rsp + 0xf0]
mov dword [rax], 1
mov qword [r13], rdi
mov dword [r12], ebx
mov rax, qword [rsp + 0x110]
mov dword [rax], esi
lea rcx, [rsp + 0x50]
call fcn.41029650
mov rax, r15
jmp 0x411fd192
mov r15, qword [rsp + 0x120]
mov r8, r15
mov edx, 1
mov ecx, 0xf001f
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov rdi, rax
test rax, rax
je 0x411fcee8
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf001f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r14, rax
test rax, rax
jne 0x411fcec4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8, r15
lea edx, [r14 + 1]
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov rdi, rax
test rax, rax
je 0x411fcec4
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea edx, [r14 + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r14, rax
test rax, rax
jne 0x411fcec0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, rbx
mov ebx, 4
mov byte [rbp], 1
mov qword [r13], rdi
mov dword [r12], ebx
mov rax, qword [rsp + 0x110]
mov dword [rax], esi
lea rcx, [rsp + 0x50]
call fcn.41029650
mov rax, r14
jmp 0x411fd192
mov r8, r15
mov edx, 1
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov rdi, rax
test rax, rax
je 0x411fcf5a
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r14, rax
test rax, rax
jne 0x411fcf32
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, rbx
mov ebx, 4
mov byte [rbp], 1
mov qword [r13], rdi
mov dword [r12], ebx
mov rcx, qword [rsp + 0x110]
mov dword [rcx], esi
lea rcx, [rsp + 0x50]
call fcn.41029650
mov rax, r14
jmp 0x411fd192
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x40], rax
cmp rax, 0xffffffffffffffff
je 0x411fd07a
lea rcx, [rsp + 0x50]
call fcn.41029550
mov rdx, rax
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8d, [r9 + 2]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdi, rax
test rax, rax
je 0x411fcff5
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r14, rax
test rax, rax
jne 0x411fd03d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, rbx
lea ebx, [r14 + 5]
jmp 0x411fd03d
mov r8, r15
mov edx, 1
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov rdi, rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r14, rax
test rax, rax
jne 0x411fd039
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, rbx
lea ebx, [r14 + 6]
mov byte [rbp], 1
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0xf0]
mov dword [rax], 1
mov qword [r13], rdi
mov dword [r12], ebx
mov rax, qword [rsp + 0x110]
mov dword [rax], esi
lea rcx, [rsp + 0x50]
call fcn.41029650
mov rax, r14
jmp 0x411fd192
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
mov qword [rsp + 0x40], rax
cmp rax, 0xffffffffffffffff
je 0x411fd15e
lea rcx, [rsp + 0x50]
call fcn.41029550
mov rdx, rax
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8d, [r9 + 2]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdi, rax
test rax, rax
je 0x411fd116
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r14, rax
test rax, rax
jne 0x411fd120
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, rbx
lea ebx, [r14 + 0xb]
jmp 0x411fd120
mov ebx, 0xc
mov r14, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [rbp], 1
mov rax, qword [rsp + 0xf0]
mov dword [rax], 1
mov qword [r13], rdi
mov dword [r12], ebx
mov rax, qword [rsp + 0x110]
mov dword [rax], esi
lea rcx, [rsp + 0x50]
call fcn.41029650
mov rax, r14
jmp 0x411fd192
mov byte [rbp], 1
mov rax, qword [rsp + 0xf0]
mov dword [rax], 1
mov qword [r13], rdi
mov dword [r12], 0xd
mov rax, qword [rsp + 0x110]
mov dword [rax], esi
lea rcx, [rsp + 0x50]
call fcn.41029650
xor eax, eax
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret