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

Disassembly:
push rbp
push rbx
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf]
sub rsp, 0xa0
mov rax, qword [0x1400fc3f8]
xor rax, rsp
mov qword [rbp - 1], rax
mov r13, r9
mov r12, rdx
mov rbx, rcx
mov rax, qword [rbp + 0x6f]
mov qword [rbp - 0x41], rax
mov rax, qword [rbp + 0x77]
mov qword [rbp - 0x39], rax
mov rax, qword [rbp + 0x7f]
mov qword [rbp - 0x49], rax
xor r15d, r15d
cmp qword [rcx + 0x10], r15
je 0x14001ad0f
cmp qword [rcx + 0x18], 8
jb 0x14001aa2e
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001accc
test al, 0x10
jne 0x14001accc
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
lea rax, vtable.Intel::MappedFile.0
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], r15
mov qword [rbp - 0x19], r15
movdqa xmm0, xmmword [0x1400e3c60]
movdqu xmmword [rbp - 0x11], xmm0
lea rdx, [rbp - 0x29]
mov rcx, rbx
call fcn.140019afc
mov rdi, qword [rbp - 0x21]
test al, al
jne 0x14001aabf
mov ecx, 5
call fcn.140049bb0
test eax, eax
je 0x14001ac97
cmp qword [rbx + 0x18], 8
jb 0x14001aaa0
mov rbx, qword [rbx]
mov qword [rbp - 0x41], rbx
lea rax, [rbp - 0x41]
mov qword [rsp + 0x28], rax
lea rax, str.Failed_to_create_memory_mapped_file_for:__ls
mov r9d, 0x29e
jmp 0x14001ac86
cmp qword [rbp - 0x19], r15
jbe 0x14001ac54
test rdi, rdi
je 0x14001ac54
lea r14, [rdi + 6]
mov eax, dword [rdi]
mov dword [rbp - 0x51], eax
cmp eax, 0x214d4150
je 0x14001ab07
mov ecx, 5
call fcn.140049bb0
test eax, eax
je 0x14001ac97
lea rax, [rbp - 0x51]
mov qword [rsp + 0x30], rax
call fcn.14001ad88
jmp 0x14001ac97
movzx r15d, word [rdi + 4]
mov word [rbp - 0x51], r15w
mov ecx, 1
call fcn.140049bb0
test eax, eax
je 0x14001ab5e
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x14001ab2c
mov rax, qword [rbx]
mov qword [rbp - 0x31], rax
lea rax, [rbp - 0x31]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x51]
mov qword [rsp + 0x28], rax
lea rax, str.PAM_file_version__u_detected_for_file:__ls.
mov qword [rsp + 0x20], rax
mov ecx, 1
mov r9d, 0x2bf
call fcn.14001ade0
mov rax, qword [rbp - 0x49]
mov word [rax], r15w
mov ecx, r15d
sub ecx, 2
je 0x14001ac27
sub ecx, 1
je 0x14001abfc
cmp ecx, 1
je 0x14001abd1
mov ecx, 5
call fcn.140049bb0
test eax, eax
je 0x14001abca
cmp qword [rbx + 0x18], 8
jb 0x14001ab98
mov rbx, qword [rbx]
mov qword [rbp - 0x49], rbx
lea rax, [rbp - 0x49]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x51]
mov qword [rsp + 0x28], rax
lea rax, str.Unsupported_or_unknown_PAM_file_version__u_for_file:__ls.
mov qword [rsp + 0x20], rax
mov ecx, 5
mov r9d, 0x2d3
call fcn.14001ade0
xor bl, bl
jmp 0x14001ac9a
mov rax, qword [rbp - 0x39]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp - 0x41]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
mov r9, r12
mov r8, r14
mov rdx, qword [rbp - 0x19]
mov rcx, rdi
call fcn.14001ae48
jmp 0x14001ac50
mov rax, qword [rbp - 0x39]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp - 0x41]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
mov r9, r12
mov r8, r14
mov rdx, qword [rbp - 0x19]
mov rcx, rdi
call fcn.14001b238
jmp 0x14001ac50
mov rax, qword [rbp - 0x39]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp - 0x41]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
mov r9, r12
mov r8, r14
mov rdx, qword [rbp - 0x19]
mov rcx, rdi
call fcn.14001b694
mov bl, al
jmp 0x14001ac9a
mov ecx, 5
call fcn.140049bb0
test eax, eax
je 0x14001ac97
cmp qword [rbx + 0x18], 8
jb 0x14001ac6c
mov rbx, qword [rbx]
mov qword [rbp - 0x49], rbx
lea rax, [rbp - 0x49]
mov qword [rsp + 0x28], rax
lea rax, str.Failed_to_get_buffer_from_memory_mapped_file:__ls
mov r9d, 0x2a8
mov qword [rsp + 0x20], rax
lea r8, str.Intel::Internal::LoadPAMFileInternals
call fcn.14001ad30
mov bl, r15b
test rdi, rdi
je 0x14001aca8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rbp - 9]
cmp rcx, 0xffffffffffffffff
je 0x14001acb8
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x11]
cmp rcx, 0xffffffffffffffff
je 0x14001acc8
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
jmp 0x14001ad11
mov ecx, 5
call fcn.140049bb0
test eax, eax
je 0x14001ad0f
cmp qword [rbx + 0x18], 8
jb 0x14001ace4
mov rbx, qword [rbx]
mov qword [rbp - 0x49], rbx
lea rax, [rbp - 0x49]
mov qword [rsp + 0x28], rax
lea rax, str.File_does_not_exits:__ls
mov qword [rsp + 0x20], rax
mov r9d, 0x295
lea r8, str.Intel::Internal::LoadPAMFileInternals
call fcn.14001ad30
xor al, al
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.14008a6c0
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret