Function at 0x14010aa20
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xf0
mov qword [rbp - 0x61], 0xfffffffffffffffe
mov r14, rdx
mov dword [rbp - 0x79], 0
call fcn.140039c50
mov rcx, rax
test rax, rax
je 0x14010ad1d
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14004487d.0]
add rax, 0x18
mov qword [rbp + 0x67], rax
lea rcx, [rbp - 0x71]
call fcn.14012e3e0
nop
mov rdx, qword [rax]
lea rcx, [rbp + 0x67]
call fcn.14005e6c0
nop
mov rdx, qword [rbp - 0x71]
add rdx, 0xffffffffffffffe8
mov rsi, 0xffffffffffffffff
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14010aab1
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
lea rdx, str.config_systemprofileAppDataRoaming_
lea rcx, [rbp + 0x67]
call fcn.14005e6c0
lea rdx, str.Waves_AudioLogs_
lea rcx, [rbp + 0x67]
call fcn.14005e6c0
mov rcx, qword [rbp + 0x67]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14010abd9
call fcn.140039c50
mov rcx, rax
test rax, rax
je 0x14010ad28
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14004487d.0]
add rax, 0x18
mov qword [rbp + 0x7f], rax
mov r8, qword [rbp + 0x67]
lea rdx, str.mkdir___s__
lea rcx, [rbp + 0x7f]
call fcn.140058ab0
lea rax, [rbp - 0x51]
mov qword [rbp - 0x59], rax
mov r8d, 3
mov rbx, qword [rbp + 0x7f]
mov rdx, rbx
lea rcx, [rbp - 0x59]
call fcn.1400429f0
mov rcx, qword [rbp - 0x59]
call fcn.14024a9c4
test eax, eax
sete dil
lea rax, [rbp - 0x51]
mov rcx, qword [rbp - 0x59]
cmp rcx, rax
je 0x14010ab5c
call fcn.1402384fc
test dil, dil
je 0x14010ab7b
lea rax, str.CCoInstallerCapabilities::PostINFInstallationProcess___:_Log_directory_was_created
mov qword [rsp + 0x30], rax
lea rax, [0x14031b830]
mov edx, 0xa01
jmp 0x14010ab91
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
lea rax, str.CCoInstallerCapabilities::PostINFInstallationProcess___:_Log_directory_creation_failed_with_error___d
mov edx, 0xa05
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, 7
lea r8, [0x1404675c0]
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vista_sharedcoinstallercapabilities.cpp
call fcn.140039f30
nop
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14010abd9
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
mov rbx, qword [rbp + 0x67]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14010ac06
lea rcx, [rbx - 0x18]
call fcn.14003c400
add rax, 0x18
mov qword [rbp - 0x69], rax
mov edi, 1
mov rbx, qword [rbp + 0x77]
jmp 0x14010ac6c
call fcn.140039c50
mov rcx, rax
test rax, rax
je 0x14010ad12
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14004487d.0]
add rax, 0x18
mov qword [rbp + 0x77], rax
lea rbx, [0x14031b7bc]
mov rdx, rbx
lea rcx, [rbp + 0x77]
call fcn.14003b370
test al, al
jne 0x14010ac60
mov rax, rsi
inc rax
cmp word [rbx + rax*2], 0
jne 0x14010ac46
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp + 0x77]
call fcn.14003beb0
nop
mov edi, 2
mov rbx, qword [rbp + 0x77]
mov rax, rbx
mov dword [rbp - 0x79], edi
lea rcx, [rax - 0x18]
call fcn.14003c400
add rax, 0x18
mov qword [r14], rax
or edi, 4
mov dword [rbp - 0x79], edi
test dil, 2
je 0x14010acb4
and edi, 0xfffffffd
mov dword [rbp - 0x79], edi
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14010acb1
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
mov edi, dword [rbp - 0x79]
test dil, 1
je 0x14010acdf
mov rdx, qword [rbp - 0x69]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14010acdf
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
nop
mov rdx, qword [rbp + 0x67]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x14010ad01
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
mov rax, r14
add rsp, 0xf0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80004005
call fcn.140039950
nop
mov ecx, 0x80004005
call fcn.140039950
nop
mov ecx, 0x80004005
call fcn.140039950
int3