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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov byte [rsp + 8], cl
push r14
sub rsp, 0x190
mov rax, qword [0x16514b200]
xor rax, rsp
mov qword [rsp + 0x180], rax
call fcn.164f79400
cmp byte [rax + 0x48], 0
jne 0x164e48d9b
mov dword [rsp + 0x130], 0x39393031
mov dword [rsp + 0x134], 0x36373534
movsd xmm0, qword [str.policy_reg]
movsd qword [rsp + 0x48], xmm0
mov eax, dword [0x1650a3900]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x54], rax
mov dword [rsp + 0x5c], 0x32
lea rcx, [rsp + 0x48]
call fcn.164e57b30
jmp 0x164e4912b
movzx r8d, byte [rsp + 0x1a0]
xor edx, edx
lea rcx, [rsp + 0x140]
call fcn.164e48720
nop
mov dword [rsp + 0x130], 0x39393031
mov dword [rsp + 0x134], 0x36373534
movsd xmm0, qword [str.policy_reg]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [0x1650a3900]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x3c], rax
mov dword [rsp + 0x44], 0x37
lea rax, str.Default_policy_file_location_:
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 0x20
lea r9, [rsp + 0x140]
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x30]
xor ecx, ecx
call fcn.164e59f50
lea rcx, [rsp + 0x140]
cmp qword [rsp + 0x158], 7
cmova rcx, qword [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x164e48e5b
test al, 0x10
jne 0x164e48e5b
mov al, 1
jmp 0x164e48e5d
xor al, al
test al, al
je 0x164e490c6
lea rsi, [0x1650a9d10]
mov qword [rsp + 0x160], rsi
lea r14, vtable.std::exception.0
mov qword [rsp + 0x168], r14
xorps xmm0, xmm0
movups xmmword [rsp + 0x170], xmm0
call fcn.164e52320
mov rdx, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x208]
mov rcx, rdx
call qword [case.0x164e9d7b8.0]
mov r10, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x20]
lea rcx, [rsp + 0x140]
cmp qword [rsp + 0x158], 7
cmova rcx, qword [rsp + 0x140]
mov qword [rsp + 0x90], rcx
mov rcx, qword [rsp + 0x150]
mov qword [rsp + 0x98], rcx
lea rcx, [0x1650a8920]
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0xa8], 0xe
movaps xmm0, xmmword [rsp + 0x90]
movdqa xmmword [rsp + 0xd0], xmm0
movaps xmm1, xmmword [rsp + 0xa0]
movdqa xmmword [rsp + 0xe0], xmm1
lea r9, [rsp + 0xd0]
lea r8, [rsp + 0xe0]
mov edx, 2
mov rcx, r10
call qword [case.0x164e9d7b8.0]
call fcn.164e52320
mov rdx, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x208]
mov rcx, rdx
call qword [case.0x164e9d7b8.0]
mov r8, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x50]
lea rcx, [0x1650a9e28]
mov qword [rsp + 0xf0], rcx
lea rcx, [rsp + 0xf0]
mov qword [rsp + 0x128], rcx
lea rdx, [rsp + 0xf0]
mov rcx, r8
call qword [case.0x164e9d7b8.0]
nop
mov rcx, qword [rsp + 0x128]
test rcx, rcx
je 0x164e48fbe
mov rax, qword [rcx]
lea rdx, [rsp + 0xf0]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x164e9d7b8.0]
mov dword [rsp + 0x130], 0x39393031
mov dword [rsp + 0x134], 0x36373534
movsd xmm0, qword [str.policy_reg]
movsd qword [rsp + 0x60], xmm0
mov eax, dword [0x1650a3900]
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x6c], rax
mov dword [rsp + 0x74], 0x42
xorps xmm0, xmm0
movups xmmword [rsp + 0x130], xmm0
lea rcx, [rsp + 0x130]
call fcn.164e47a70
nop
mov rcx, qword [rsp + 0x130]
test rcx, rcx
je 0x164e4905f
mov rax, qword [rcx]
lea rdx, str.Default_policy_file_registered_to_settings
mov qword [rsp + 0xb0], rdx
mov qword [rsp + 0xb8], 0x2a
lea r9, [rsp + 0xb0]
lea r8, [rsp + 0x60]
xor edx, edx
mov rax, qword [rax + 0x18]
call qword [case.0x164e9d7b8.0]
nop
mov rbx, qword [rsp + 0x138]
test rbx, rbx
je 0x164e490a7
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x164e490a7
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x164e9d7b8.0]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x164e490a7
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x164e9d7b8.0]
nop
mov qword [rsp + 0x160], rsi
mov qword [rsp + 0x168], r14
lea rcx, [rsp + 0x170]
call fcn.165002ff0
jmp 0x164e4911d
mov dword [rsp + 0x130], 0x39393031
mov dword [rsp + 0x134], 0x36373534
movsd xmm0, qword [str.policy_reg]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [0x1650a3900]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x3c], rax
mov dword [rsp + 0x44], 0x46
lea r8, str.Default_policy_file_doesnt_exists
lea rdx, [rsp + 0x30]
xor ecx, ecx
call fcn.164e5a650
nop
lea rcx, [rsp + 0x140]
call fcn.164e54bf0
nop
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.165001080
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret