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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x108]
sub rsp, 0x208
mov rax, qword [0x16514b200]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov r15, qword [rbp + 0x150]
mov qword [rsp + 0x40], r15
mov rax, qword [rbp + 0x160]
mov qword [rbp - 0x60], rax
mov qword [rbp + 0x58], rax
mov r13, qword [rbp + 0x168]
mov qword [rbp + 0x60], r13
xor r12d, r12d
mov esi, dword [rbp + 0x158]
mov edi, esi
mov dword [rbp + 0x68], esi
movups xmm1, xmmword [rax]
movups xmmword [rbp + 0x70], xmm1
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp + 0x80], xmm0
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
lea r14, [r15 + 0x18]
lea rdx, [rbp + 0x68]
mov rcx, r14
call fcn.164fbe330
mov rbx, rax
cmp rax, qword [r14]
je 0x164fbc4b8
movzx eax, byte [r15 + 8]
cmp byte [rbp + 0x178], al
jne 0x164fbc4b8
call fcn.164e47430
mov r9, rax
mov rdx, r13
cmp qword [r13 + 0x18], 7
jbe 0x164fbc460
mov rdx, qword [r13]
mov rcx, qword [r13 + 0x10]
mov qword [rbp - 0x30], rdx
mov qword [rbp - 0x28], rcx
lea rcx, [rbx + 0x48]
cmp qword [rbx + 0x60], 7
jbe 0x164fbc47b
mov rcx, qword [rbx + 0x48]
mov rax, qword [rbx + 0x58]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x18], rax
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x50], xmm0
movaps xmm1, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x70], xmm1
mov r8, 0xffffffffffffffff
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x70]
call fcn.164e57440
test eax, eax
je 0x164fbca21
mov edi, dword [rbp + 0x68]
lea r8, [rbp + 0x68]
lea rdx, [rbp + 0x40]
mov rcx, r14
call fcn.164fbe3f0
mov r9, qword [rbp + 0x50]
cmp byte [r9 + 0x19], 0
jne 0x164fbc4fd
cmp edi, dword [r9 + 0x20]
je 0x164fbc4e8
mov eax, 1
mov edx, 0xff
cmovl eax, edx
jmp 0x164fbc4f5
lea rdx, [r9 + 0x28]
lea rcx, [rbp + 0x70]
call fcn.164eb8b80
test al, al
jns 0x164fbc588
movabs rax, 0x276276276276276
cmp qword [r14 + 8], rax
je 0x164fbca8c
mov rdi, qword [r14]
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r12
mov ecx, 0x68
call fcn.165001480
mov rbx, rax
mov qword [rsp + 0x58], rax
mov ecx, dword [rbp + 0x68]
mov dword [rax + 0x20], ecx
lea rcx, [rax + 0x28]
lea rdx, [rbp + 0x70]
call fcn.164e539c0
xorps xmm0, xmm0
movups xmmword [rbx + 0x48], xmm0
mov qword [rbx + 0x58], r12
mov qword [rbx + 0x60], 7
mov word [rbx + 0x48], r12w
mov qword [rbx], rdi
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], rdi
mov word [rbx + 0x18], 0
movups xmm0, xmmword [rbp + 0x40]
movaps xmmword [rsp + 0x70], xmm0
mov r8, rbx
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.164e86c80
mov r9, rax
lea rcx, [r9 + 0x48]
mov rdx, r13
call fcn.164e53820
mov r12, rax
cmp byte [rbp + 0x170], 0
je 0x164fbc8ca
cmp byte [r15 + 8], 0
je 0x164fbc81a
cmp esi, 1
jne 0x164fbc8ca
lea rax, [0x1650ebeec]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 2
call fcn.164f79400
mov rcx, rax
cmp qword [rax + 0x18], 7
jbe 0x164fbc5df
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x70], xmm0
movaps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rbp - 0x70], xmm1
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x10]
call fcn.164ee17d0
nop
lea rsi, [rbp + 0x10]
cmp qword [rbp + 0x28], 7
cmova rsi, qword [rbp + 0x10]
mov rbx, qword [rbp + 0x20]
xor r8d, r8d
lea rdx, [rbx + 0xc]
lea rcx, [rbp + 0x90]
call fcn.164e538c0
lea rdi, [rbp + 0x90]
cmp qword [rbp + 0xa8], 7
cmova rdi, qword [rbp + 0x90]
lea rbx, [rsi + rbx*2]
sub rbx, rsi
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.16503fa90
lea rcx, [rbx + rdi]
mov r8d, 0x18
lea rdx, [0x1650ebef8]
call fcn.16503fa90
nop
lea rcx, [rbp + 0x10]
call fcn.164e54bf0
lea r15, [rbp + 0x70]
cmp qword [rbp + 0x88], 7
cmova r15, qword [rbp + 0x70]
mov r14, qword [rbp + 0x80]
lea rsi, [rbp + 0x90]
cmp qword [rbp + 0xa8], 7
cmova rsi, qword [rbp + 0x90]
mov rbx, qword [rbp + 0xa0]
xor r8d, r8d
lea rdx, [rbx + r14]
lea rcx, [rbp + 0xd0]
call fcn.164e538c0
lea rdi, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 7
cmova rdi, qword [rbp + 0xd0]
lea rbx, [rsi + rbx*2]
sub rbx, rsi
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.16503fa90
lea rcx, [rbx + rdi]
lea r8, [r15 + r14*2]
sub r8, r15
mov rdx, r15
call fcn.16503fa90
nop
mov rdi, qword [rsp + 0x40]
mov rdi, qword [rdi + 0x10]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov ecx, 0x110
call fcn.165001480
mov rsi, rax
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_asw::projects::settings_av::RegFromIniAccessor_.0
mov qword [rsi], rax
lea rbx, [rsi + 0x10]
mov r9, r12
lea r8, [rbp + 0xd0]
mov rdx, 0xffffffff80000002
mov rcx, rbx
call fcn.164fbe880
nop
xorps xmm0, xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
movdqu xmmword [rsp + 0x70], xmm0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x70]
cmp qword [rbp + 0x88], 7
cmova rax, qword [rbp + 0x70]
mov qword [rsp + 0x50], rax
mov rax, qword [rbp + 0x80]
mov qword [rsp + 0x58], rax
movups xmm2, xmmword [str.avcfg]
lea rcx, [rdi + 0x28]
movdqa xmmword [rsp + 0x30], xmm0
lock inc dword [rsi + 8]
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x30], xmm0
movaps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rbp - 0x70], xmm1
movdqa xmmword [rbp - 0x50], xmm2
lea r9, [rsp + 0x30]
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x50]
call fcn.164ec42b0
nop
lea rcx, [rsp + 0x60]
call fcn.164e51d90
nop
lea rcx, [rbp + 0xd0]
call fcn.164e54bf0
nop
lea rcx, [rbp + 0x90]
call fcn.164e54bf0
jmp 0x164fbca21
cmp esi, 1
jne 0x164fbc8ca
mov r14, r12
cmp qword [rax + 0x18], 7
jbe 0x164fbc830
mov r14, qword [rax]
mov rbx, qword [rax + 0x10]
xor r8d, r8d
lea rdx, [rbx + 9]
lea rcx, [rbp + 0xb0]
call fcn.164e538c0
lea rdi, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 7
cmova rdi, qword [rbp + 0xb0]
lea rbx, [r14 + rbx*2]
sub rbx, r14
mov r8, rbx
mov rdx, r14
mov rcx, rdi
call fcn.16503fa90
lea rcx, [rbx + rdi]
mov r8d, 0x12
lea rdx, str..obsolete
call fcn.16503fa90
lea rcx, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 7
cmova rcx, qword [rbp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x164fbc8be
test al, 0x10
jne 0x164fbc8be
mov rdx, r12
lea rcx, [rbp + 0xb0]
call fcn.164f9f960
lea rcx, [rbp + 0xb0]
call fcn.164e54bf0
mov r14, qword [r15 + 0x10]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov ecx, 0x110
call fcn.165001480
mov rbx, rax
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_asw::settings_accessor::IniAccessor_.0
mov qword [rbx], rax
lea rdi, [rbx + 0x10]
mov dword [rsp + 0x20], 3
mov rcx, r12
cmp qword [r12 + 0x18], 7
jbe 0x164fbc923
mov rcx, qword [r12]
mov rax, qword [r12 + 0x10]
mov qword [rbp - 0x10], rcx
mov qword [rbp - 8], rax
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x40], xmm0
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x40]
mov rcx, rdi
call fcn.164ec77c0
nop
xorps xmm0, xmm0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rbx
movdqu xmmword [rbp + 0x30], xmm0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x60], rax
lea rax, [rbp + 0x70]
cmp qword [rbp + 0x88], 7
cmova rax, qword [rbp + 0x70]
mov qword [rbp], rax
mov rax, qword [rbp + 0x80]
mov qword [rbp + 8], rax
sub esi, 1
je 0x164fbc9c8
sub esi, 1
je 0x164fbc9bf
sub esi, 1
je 0x164fbc9b6
sub esi, 2
je 0x164fbc9ad
cmp esi, 1
jne 0x164fbca60
movups xmm0, xmmword [str.rescfg]
jmp 0x164fbc9cf
movups xmm0, xmmword [0x1650a38a8]
jmp 0x164fbc9cf
movups xmm0, xmmword [0x1650a3898]
jmp 0x164fbc9cf
movups xmm0, xmmword [str.avdef]
jmp 0x164fbc9cf
movups xmm0, xmmword [str.avcfg]
movaps xmmword [rbp - 0x80], xmm0
lea rcx, [r14 + 0x28]
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
lock inc dword [rbx + 8]
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
movaps xmm1, xmmword [rbp]
movdqa xmmword [rbp - 0x40], xmm1
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rsp + 0x70], xmm0
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x40]
lea rdx, [rsp + 0x70]
call fcn.164ec42b0
nop
lea rcx, [rsp + 0x30]
call fcn.164e51d90
nop
lea rcx, [rbp + 0x70]
call fcn.164e54bf0
nop
mov rcx, qword [rbp - 0x60]
call fcn.164e54bf0
nop
mov rcx, r13
call fcn.164e54bf0
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.165001080
add rsp, 0x208
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea r8, str.Store_type_is_unknown
mov edx, reloc.OLEAUT32.dll_DosDateTimeToVariantTime
lea rcx, [rbp + 0xd0]
call fcn.164e47cf0
lea rdx, [0x165147450]
lea rcx, [rbp + 0xd0]
call fcn.165003be0
nop
call fcn.164e9df90
int3