Function at 0x1400186f4
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 [0x1400f63f8]
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 0x140018a33
cmp qword [rcx + 0x18], 8
jb 0x140018752
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400189f0
test al, 0x10
jne 0x1400189f0
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 [0x1400de420]
movdqu xmmword [rbp - 0x11], xmm0
lea rdx, [rbp - 0x29]
mov rcx, rbx
call fcn.14001795c
mov rdi, qword [rbp - 0x21]
test al, al
jne 0x1400187e3
mov ecx, 5
call fcn.140044b40
test eax, eax
je 0x1400189bb
cmp qword [rbx + 0x18], 8
jb 0x1400187c4
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 0x1400189aa
cmp qword [rbp - 0x19], r15
jbe 0x140018978
test rdi, rdi
je 0x140018978
lea r14, [rdi + 6]
mov eax, dword [rdi]
mov dword [rbp - 0x51], eax
cmp eax, 0x214d4150
je 0x14001882b
mov ecx, 5
call fcn.140044b40
test eax, eax
je 0x1400189bb
lea rax, [rbp - 0x51]
mov qword [rsp + 0x30], rax
call fcn.140018aac
jmp 0x1400189bb
movzx r15d, word [rdi + 4]
mov word [rbp - 0x51], r15w
mov ecx, 1
call fcn.140044b40
test eax, eax
je 0x140018882
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x140018850
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.140018b04
mov rax, qword [rbp - 0x49]
mov word [rax], r15w
mov ecx, r15d
sub ecx, 2
je 0x14001894b
sub ecx, 1
je 0x140018920
cmp ecx, 1
je 0x1400188f5
mov ecx, 5
call fcn.140044b40
test eax, eax
je 0x1400188ee
cmp qword [rbx + 0x18], 8
jb 0x1400188bc
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.140018b04
xor bl, bl
jmp 0x1400189be
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.140018b6c
jmp 0x140018974
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.140018f5c
jmp 0x140018974
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.1400193b8
mov bl, al
jmp 0x1400189be
mov ecx, 5
call fcn.140044b40
test eax, eax
je 0x1400189bb
cmp qword [rbx + 0x18], 8
jb 0x140018990
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.140018a54
mov bl, r15b
test rdi, rdi
je 0x1400189cc
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rbp - 9]
cmp rcx, 0xffffffffffffffff
je 0x1400189dc
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x11]
cmp rcx, 0xffffffffffffffff
je 0x1400189ec
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
jmp 0x140018a35
mov ecx, 5
call fcn.140044b40
test eax, eax
je 0x140018a33
cmp qword [rbx + 0x18], 8
jb 0x140018a08
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.140018a54
xor al, al
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.140085660
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret