Function at 0x14017aca0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x14039bc30]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov r13, rdx
mov r14, rcx
mov qword [rsp + 0x58], rcx
mov qword [rbp - 0x30], rdx
xor r15d, r15d
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r15w
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
lea rax, vtable.CoreTech::internal::OSInfoProxy_class_CoreTech::WinOSVersionAPI_.0
mov qword [rbp + 0x10], rax
lea rax, vtable.CoreTech::WinOSVersionAPI.0
mov qword [rbp + 0x18], rax
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
lea rdx, [0x1402fcee0]
lea ecx, [r15 + 0x40]
call fcn.14013b5d8
mov rbx, rax
mov qword [rbp - 0x58], rax
test rax, rax
je 0x14017ad68
lea rax, vtable.CoreTech::internal::OSInfoProxy_class_CoreTech::WinOSVersionAPI_::_Impl.0
mov qword [rbx], rax
mov qword [rbx + 8], r15
mov qword [rbx + 0x2c], r15
lea rax, [rbp + 0x18]
mov qword [rbx + 0x38], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx + 0x10], xmm0
mov qword [rbx + 0x20], rax
mov dword [rbx + 0x28], eax
jmp 0x14017ad6b
mov rbx, r15
mov qword [rbp - 0x58], rbx
mov ecx, 0x18
call fcn.14013afa8
mov rdi, rax
mov qword [rbp - 0x60], rax
test rax, rax
je 0x14017ada9
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_class_CoreTech::internal::OSInfoProxy_class_CoreTech::WinOSVersionAPI_::_Impl_.0
mov qword [rdi], rax
mov qword [rdi + 0x10], rbx
jmp 0x14017adac
mov rdi, r15
mov edx, 0x40
xor ecx, ecx
call fcn.14013afa0
mov qword [rbp + 0x20], rbx
mov rbx, qword [rbp + 0x28]
mov qword [rbp + 0x28], rdi
mov rsi, 0xffffffffffffffff
test rbx, rbx
je 0x14017ae08
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14017ae08
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x1400c6d28.0]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14017ae08
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x1400c6d28.0]
nop
lea rax, vtable.Intel::RegistryAPI.0
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], r15
movdqa xmm0, xmmword [0x14034cea0]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r15w
mov r8d, 0xe
lea rdx, str.MessageBus.dll
lea rcx, [rbp - 0x28]
call fcn.140032810
xorps xmm0, xmm0
movdqu xmmword [rbp - 8], xmm0
mov qword [rbp + 8], r15
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14017afe8
lea rdx, str.IsWow64Process
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x14017afe8
mov dword [rbp - 0x58], r15d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rbp - 0x58]
mov rax, rbx
call qword [case.0x1400c6d28.0]
test eax, eax
je 0x14017afe8
cmp dword [rbp - 0x58], 1
jne 0x14017afe8
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r15w
mov r8d, 0xd
lea rdx, str.Install_Dir32
lea rcx, [rsp + 0x60]
call fcn.140032810
nop
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r15w
mov r8d, 0x17
lea rdx, str.SOFTWAREMCAFEEMODCORE
lea rcx, [rsp + 0x38]
call fcn.140032810
nop
lea r9, [rbp - 0x50]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x30]
call fcn.1402c5f00
mov ebx, eax
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x14017af66
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14017af61
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14017b3f7
call fcn.14013afa0
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r15w
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14017afbc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14017afb7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14017b3fd
call fcn.14013afa0
test ebx, ebx
je 0x14017b137
mov ecx, 5
call fcn.1400b2690
test eax, eax
je 0x14017b137
lea rax, str.Failed_to_retrieve_ModCore_WoW64_path_from_registry
mov r9d, 0x66
jmp 0x14017b11a
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r15w
mov r8d, 0xb
lea rdx, str.Install_Dir
lea rcx, [rsp + 0x60]
call fcn.140032810
nop
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r15w
mov r8d, 0x17
lea rdx, str.SOFTWAREMCAFEEMODCORE
lea rcx, [rsp + 0x38]
call fcn.140032810
nop
lea r9, [rbp - 0x50]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x30]
call fcn.1402c5f00
mov ebx, eax
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x14017b0a5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14017b0a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14017b403
call fcn.14013afa0
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r15w
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14017b0fb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14017b0f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14017b3f1
call fcn.14013afa0
test ebx, ebx
je 0x14017b137
mov ecx, 5
call fcn.1400b2690
test eax, eax
je 0x14017b137
lea rax, str.Failed_to_retrieve_ModCore_path_from_registry
mov r9d, 0x6e
mov qword [rsp + 0x20], rax
lea r8, str.Intel::MessageBusLib::loadFromRegistry
lea rdx, str.E:BT01d58165_986c_4fe6_a8ec_92013def9febWSSModularizationSDK_srcMessageBusMessageBusClientMessageBusLib.cpp
mov ecx, 5
call fcn.1400297c0
cmp qword [rbp - 0x40], 0
jne 0x14017b2b9
mov qword [rbp - 0x58], r15
lea r9, [rbp - 0x58]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1402ed0d0]
call sub.SHELL32.dll_SHGetKnownFolderPath
mov rbx, qword [rbp - 0x58]
mov qword [rbp - 0x60], rbx
test eax, eax
js 0x14017b2ab
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r15w
mov r8d, 0x12
lea rdx, str.McAfeeModuleCore
lea rcx, [rbp - 0x80]
call fcn.140032810
nop
mov r14, qword [rbp - 0x58]
nop dword [rax + rax]
inc rsi
cmp word [r14 + rsi*2], 0
jne 0x14017b1a0
mov r8, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
sub rax, r8
cmp rsi, rax
ja 0x14017b245
lea rax, [r8 + rsi]
mov qword [rbp - 0x70], rax
lea r12, [rbp - 0x80]
cmp rcx, 8
cmovae r12, qword [rbp - 0x80]
lea rax, [r14 + rsi*2]
cmp rax, r12
jbe 0x14017b1f9
lea rax, [r12 + r8*2]
cmp r14, rax
ja 0x14017b1f9
cmp r12, r14
jbe 0x14017b1fc
mov r15, r12
sub r15, r14
sar r15, 1
jmp 0x14017b1fc
mov r15, rsi
lea rcx, [r12 + rsi*2]
lea r8, [r8*2 + 2]
mov rdx, r12
call fcn.14013d0f0
lea rdi, [r15 + r15]
mov r8, rdi
mov rdx, r14
mov rcx, r12
call fcn.14013d0f0
mov r8, rsi
sub r8, r15
lea rax, [r15 + rsi]
lea rdx, [r14 + rax*2]
lea rcx, [rdi + r12]
add r8, r8
call fcn.14013d0f0
lea rax, [rbp - 0x80]
xor r15d, r15d
jmp 0x14017b264
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r14
xor r9d, r9d
movzx r8d, byte [rsp + 0x30]
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.140179f70
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
lea rcx, [rbp - 0x50]
call fcn.140033a90
movups xmmword [rbp - 0x50], xmm6
movups xmmword [rbp - 0x40], xmm7
mov r8, qword [rbp - 0x68]
cmp r8, 8
jb 0x14017b2a6
inc r8
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x80]
call fcn.140033a50
mov r14, qword [rsp + 0x58]
test rbx, rbx
je 0x14017b2b9
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rcx, [r14 + 0x38]
lea rdx, [rbp - 0x50]
call fcn.1402c4040
mov ecx, 6
call fcn.1400b2690
test eax, eax
je 0x14017b31a
lea rax, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rax, qword [rbp - 0x50]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, str.Loading_MesageBusLib_by_force_from_path:__s
mov qword [rsp + 0x20], rax
mov r9d, 0x81
lea r8, str.Intel::MessageBusLib::loadFromRegistry
lea rdx, str.E:BT01d58165_986c_4fe6_a8ec_92013def9febWSSModularizationSDK_srcMessageBusMessageBusClientMessageBusLib.cpp
lea ecx, [r9 - 0x7b]
call fcn.140029750
mov rax, qword [rbp]
cmp rax, qword [rbp + 8]
je 0x14017b33a
lea rdx, [rbp - 0x50]
mov rcx, rax
call fcn.1400339b0
mov rdx, qword [rbp]
add rdx, 0x20
jmp 0x14017b34e
lea r8, [rbp - 0x50]
mov rdx, rax
lea rcx, [rbp - 8]
call fcn.140179e50
mov rdx, qword [rbp]
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [r13 + 0x10], xmm1
movdqa xmm0, xmmword [0x14034cea0]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r15w
mov rcx, qword [rbp + 8]
mov qword [rbp + 8], r15
mov qword [rbp], r15
mov rax, qword [rbp - 8]
mov qword [rbp - 8], r15
mov qword [r13 + 0x20], rax
mov qword [r13 + 0x28], rdx
mov qword [r13 + 0x30], rcx
lea rcx, [rbp - 8]
call fcn.140046f00
lea rcx, [rbp - 0x28]
call fcn.140033a90
nop
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x14017b3b4
call fcn.140031ec0
nop
lea rcx, [rbp - 0x50]
call fcn.140033a90
mov rax, r13
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.14013af80
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1401421d8
nop
call fcn.1401421d8
nop
call fcn.1401421d8
nop
call fcn.1401421d8
int3