Function at 0x14006c770
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 [0x140150a10]
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, [0x1401081f8]
lea ecx, [r15 + 0x40]
call fcn.1400ac0a0
mov rbx, rax
mov qword [rbp - 0x58], rax
test rax, rax
je 0x14006c838
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 0x14006c83b
mov rbx, r15
mov qword [rbp - 0x58], rbx
mov ecx, 0x18
call fcn.1400ab6e8
mov rdi, rax
mov qword [rbp - 0x60], rax
test rax, rax
je 0x14006c879
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 0x14006c87c
mov rdi, r15
mov edx, 0x40
xor ecx, ecx
call fcn.1400ab6e0
mov qword [rbp + 0x20], rbx
mov rbx, qword [rbp + 0x28]
mov qword [rbp + 0x28], rdi
mov rsi, 0xffffffffffffffff
test rbx, rbx
je 0x14006c8d8
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14006c8d8
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14005c601.0]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14006c8d8
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14005c601.0]
nop
lea rax, vtable.Intel::RegistryAPI.0
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], r15
movdqa xmm0, xmmword [0x14012bae0]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r15w
mov r8d, 0xe
lea rdx, str.MessageBus.dll
lea rcx, [rbp - 0x28]
call fcn.14000de60
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 0x14006cab8
lea rdx, str.IsWow64Process
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x14006cab8
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.0x14005c601.0]
test eax, eax
je 0x14006cab8
cmp dword [rbp - 0x58], 1
jne 0x14006cab8
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.14000de60
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.14000de60
nop
lea r9, [rbp - 0x50]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x30]
call fcn.140083270
mov ebx, eax
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x14006ca36
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006ca31
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006cec7
call fcn.1400ab6e0
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r15w
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14006ca8c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006ca87
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006cecd
call fcn.1400ab6e0
test ebx, ebx
je 0x14006cc07
mov ecx, 5
call fcn.14009c140
test eax, eax
je 0x14006cc07
lea rax, str.Failed_to_retrieve_ModCore_WoW64_path_from_registry
mov r9d, 0x66
jmp 0x14006cbea
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.14000de60
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.14000de60
nop
lea r9, [rbp - 0x50]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x30]
call fcn.140083270
mov ebx, eax
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x14006cb75
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006cb70
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006ced3
call fcn.1400ab6e0
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r15w
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14006cbcb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006cbc6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006cec1
call fcn.1400ab6e0
test ebx, ebx
je 0x14006cc07
mov ecx, 5
call fcn.14009c140
test eax, eax
je 0x14006cc07
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:BT_a6f8af15_1293_40a7_a2dd_22e15bbb42c7WSSModularizationSDK_srcMessageBusMessageBusClientMessageBusLib.cpp
mov ecx, 5
call fcn.14000a9d0
cmp qword [rbp - 0x40], 0
jne 0x14006cd89
mov qword [rbp - 0x58], r15
lea r9, [rbp - 0x58]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140105f00]
call sub.SHELL32.dll_SHGetKnownFolderPath
mov rbx, qword [rbp - 0x58]
mov qword [rbp - 0x60], rbx
test eax, eax
js 0x14006cd7b
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.14000de60
nop
mov r14, qword [rbp - 0x58]
nop dword [rax + rax]
inc rsi
cmp word [r14 + rsi*2], 0
jne 0x14006cc70
mov r8, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
sub rax, r8
cmp rsi, rax
ja 0x14006cd15
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 0x14006ccc9
lea rax, [r12 + r8*2]
cmp r14, rax
ja 0x14006ccc9
cmp r12, r14
jbe 0x14006cccc
mov r15, r12
sub r15, r14
sar r15, 1
jmp 0x14006cccc
mov r15, rsi
lea rcx, [r12 + rsi*2]
lea r8, [r8*2 + 2]
mov rdx, r12
call fcn.1400ada20
lea rdi, [r15 + r15]
mov r8, rdi
mov rdx, r14
mov rcx, r12
call fcn.1400ada20
mov r8, rsi
sub r8, r15
lea rax, [r15 + rsi]
lea rdx, [r14 + rax*2]
lea rcx, [rdi + r12]
add r8, r8
call fcn.1400ada20
lea rax, [rbp - 0x80]
xor r15d, r15d
jmp 0x14006cd34
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.14006a5e0
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.140008bf0
movups xmmword [rbp - 0x50], xmm6
movups xmmword [rbp - 0x40], xmm7
mov r8, qword [rbp - 0x68]
cmp r8, 8
jb 0x14006cd76
inc r8
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x80]
call fcn.14000e080
mov r14, qword [rsp + 0x58]
test rbx, rbx
je 0x14006cd89
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rcx, [r14 + 0x38]
lea rdx, [rbp - 0x50]
call fcn.140081200
mov ecx, 6
call fcn.14009c140
test eax, eax
je 0x14006cdea
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:BT_a6f8af15_1293_40a7_a2dd_22e15bbb42c7WSSModularizationSDK_srcMessageBusMessageBusClientMessageBusLib.cpp
lea ecx, [r9 - 0x7b]
call fcn.14000aaa0
mov rax, qword [rbp]
cmp rax, qword [rbp + 8]
je 0x14006ce0a
lea rdx, [rbp - 0x50]
mov rcx, rax
call fcn.140009d00
mov rdx, qword [rbp]
add rdx, 0x20
jmp 0x14006ce1e
lea r8, [rbp - 0x50]
mov rdx, rax
lea rcx, [rbp - 8]
call fcn.14006a4c0
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 [0x14012bae0]
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.14000f780
lea rcx, [rbp - 0x28]
call fcn.140008bf0
nop
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x14006ce84
call fcn.14000da40
nop
lea rcx, [rbp - 0x50]
call fcn.140008bf0
mov rax, r13
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1400ab6c0
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.1400b2bb8
nop
call fcn.1400b2bb8
nop
call fcn.1400b2bb8
nop
call fcn.1400b2bb8
int3