Function at 0x140098670
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, [rax - 0x108]
sub rsp, 0x1d0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x14017b278]
xor rax, rsp
mov qword [rbp + 0xa8], rax
mov rsi, rdx
mov qword [rsp + 0x60], rdx
mov r14, rcx
mov qword [rsp + 0x38], rcx
mov qword [rbp + 0x48], rdx
xor r15d, r15d
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], 7
mov word [rbp + 0x28], r15w
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
lea rax, vtable.CoreTech::internal::OSInfoProxy_class_CoreTech::WinOSVersionAPI_.0
mov qword [rbp + 0x88], rax
lea rax, vtable.CoreTech::WinOSVersionAPI.0
mov qword [rbp + 0x90], rax
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x98], xmm1
lea rdx, [0x14011bf00]
lea ecx, [r15 + 0x40]
call fcn.1400876b0
mov rbx, rax
mov qword [rbp + 0x18], rax
test rax, rax
je 0x14009874d
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 + 0x90]
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 0x140098750
mov rbx, r15
mov qword [rbp - 0x18], rbx
mov ecx, DispGetParam
call fcn.140087674
mov rdi, rax
mov qword [rbp + 0x18], rax
test rax, rax
je 0x14009878e
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 0x140098791
mov rdi, r15
mov edx, 0x40
xor ecx, ecx
call fcn.14008739c
mov qword [rbp + 0x98], rbx
mov rbx, qword [rbp + 0xa0]
mov qword [rbp + 0xa0], rdi
mov r12, 0xffffffffffffffff
test rbx, rbx
je 0x1400987ea
mov eax, r12d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400987ea
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400987ea
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rax, vtable.Intel::RegistryAPI.0
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], 7
mov word [rbp + 0x50], r15w
mov r8d, SafeArrayGetDim
lea rdx, str.MessageBus.dll
lea rcx, [rbp + 0x50]
call fcn.140026610
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], r15
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400989ad
lea rdx, str.IsWow64Process
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x1400989ad
mov dword [rbp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rbp + 0x20]
call rbx
test eax, eax
je 0x1400989ad
cmp dword [rbp + 0x20], 1
jne 0x1400989ad
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], r15w
mov r8d, SafeArrayGetDim
lea rdx, str.Install_Dir32
lea rcx, [rbp - 0x58]
call fcn.140026610
nop
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r15w
mov r8d, DispGetParam
lea rdx, str.SOFTWAREMCAFEEMODCORE
lea rcx, [rsp + 0x68]
call fcn.140026610
nop
lea r9, [rbp + 0x28]
lea r8, [rbp - 0x58]
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x48]
call fcn.1400d8980
mov ebx, eax
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x14009892e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140098929
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140098e54
call fcn.14008739c
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r15w
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x140098981
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009897c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140098e5a
call fcn.14008739c
test ebx, ebx
je 0x140098ae1
mov ecx, 5
call fcn.1400756d0
test eax, eax
je 0x140098ae1
lea rax, str.Failed_to_retrieve_ModCore_WoW64_path_from_registry
mov r9d, 0x66
jmp 0x140098ac4
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], r15w
mov r8d, SafeArrayGetDim
lea rdx, str.Install_Dir
lea rcx, [rbp - 0x38]
call fcn.140026610
nop
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r15w
mov r8d, DispGetParam
lea rdx, str.SOFTWAREMCAFEEMODCORE
lea rcx, [rbp - 0x78]
call fcn.140026610
nop
lea r9, [rbp + 0x28]
lea r8, [rbp - 0x38]
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x48]
call fcn.1400d8980
mov ebx, eax
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x140098a54
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140098a4f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140098e60
call fcn.14008739c
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r15w
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x140098aa5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140098aa0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140098e66
call fcn.14008739c
test ebx, ebx
je 0x140098ae1
mov ecx, 5
call fcn.1400756d0
test eax, eax
je 0x140098ae1
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:BTd0ff8fcc_6b28_4736_aa10_b72e73c66c21WSSModularizationSDK_srcMessageBusMessageBusClientMessageBusLib.cpp
mov ecx, 5
call fcn.14001fc90
cmp qword [rbp + 0x38], 0
jne 0x140098cb3
mov qword [rbp + 0x18], r15
lea r9, [rbp + 0x18]
xor r8d, r8d
xor edx, edx
lea rcx, [0x14011ace0]
call sub.SHELL32.dll_SHGetKnownFolderPath
mov rbx, qword [rbp + 0x18]
mov qword [rbp - 0x10], rbx
test eax, eax
js 0x140098ca5
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r15w
mov r8d, SafeArrayUnlock
lea rdx, str.McAfeeModuleCore
lea rcx, [rsp + 0x40]
call fcn.140026610
nop
mov r14, qword [rbp + 0x18]
mov rsi, r12
nop dword [rax + rax]
inc rsi
cmp word [r14 + rsi*2], 0
jne 0x140098b50
mov r8, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
sub rax, r8
cmp rsi, rax
ja 0x140098c09
lea rax, [rsi + r8]
mov qword [rsp + 0x50], rax
lea r13, [rsp + 0x40]
cmp rcx, 8
cmovae r13, qword [rsp + 0x40]
lea rax, [r14 + rsi*2]
cmp rax, r13
jbe 0x140098bb5
lea rax, [r8*2]
add rax, r13
cmp r14, rax
ja 0x140098bb5
cmp r13, r14
jbe 0x140098bb8
mov r15, r13
sub r15, r14
sar r15, 1
jmp 0x140098bb8
mov r15, rsi
lea rcx, [rsi*2]
add rcx, r13
lea r8, [r8*2 + 2]
mov rdx, r13
call fcn.14009aec0
lea rdi, [r15 + r15]
mov r8, rdi
mov rdx, r14
mov rcx, r13
call fcn.14009aec0
mov r8, rsi
sub r8, r15
lea rax, [r15 + rsi]
lea rdx, [r14 + rax*2]
lea rcx, [rdi + r13]
add r8, r8
call fcn.14009aec0
lea rax, [rsp + 0x40]
xor r15d, r15d
jmp 0x140098c29
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r14
xor r9d, r9d
movzx r8d, byte [rsp + 0x30]
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.1400978b0
movups xmm7, xmmword [rax]
movups xmmword [rbp - 8], xmm7
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rbp + 8], xmm6
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
lea rcx, [rbp + 0x28]
call fcn.14001e8a0
movups xmmword [rbp + 0x28], xmm7
movups xmmword [rbp + 0x38], xmm6
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140098c9b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140098c96
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140098e6c
call fcn.14008739c
mov r14, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x60]
test rbx, rbx
je 0x140098cb3
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rcx, [r14 + 0x38]
lea rdx, [rbp + 0x28]
call fcn.1400d72e0
mov ecx, 6
call fcn.1400756d0
test eax, eax
je 0x140098d14
lea rax, [rbp + 0x28]
cmp qword [rbp + 0x40], 8
cmovae rax, qword [rbp + 0x28]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x38]
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:BTd0ff8fcc_6b28_4736_aa10_b72e73c66c21WSSModularizationSDK_srcMessageBusMessageBusClientMessageBusLib.cpp
lea ecx, [r9 - 0x7b]
call fcn.14001fc20
mov rax, qword [rbp + 0x78]
cmp rax, qword [rbp + 0x80]
je 0x140098d37
lea rdx, [rbp + 0x28]
mov rcx, rax
call fcn.14001f200
mov rcx, qword [rbp + 0x78]
add rcx, 0x20
jmp 0x140098d4b
lea r8, [rbp + 0x28]
mov rdx, rax
lea rcx, [rbp + 0x70]
call fcn.140026e90
mov rcx, qword [rbp + 0x78]
movups xmm0, xmmword [rbp + 0x50]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbp + 0x60]
movups xmmword [rsi + 0x10], xmm1
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], 7
mov word [rbp + 0x50], r15w
mov rax, qword [rbp + 0x70]
mov qword [rsi + 0x20], rax
mov qword [rsi + 0x28], rcx
mov rax, qword [rbp + 0x80]
mov qword [rsi + 0x30], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], r15
lea rcx, [rbp + 0x70]
call fcn.14001ec50
lea rcx, [rbp + 0x50]
call fcn.14001e8a0
nop
mov rbx, qword [rbp + 0xa0]
test rbx, rbx
je 0x140098ddb
mov eax, r12d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140098ddb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r12d
cmp r12d, 1
jne 0x140098ddb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x40]
cmp rdx, 8
jb 0x140098e17
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140098e12
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140098e4e
call fcn.14008739c
mov rax, rsi
mov rcx, qword [rbp + 0xa8]
xor rcx, rsp
call fcn.140086e90
lea r11, [rsp + 0x1d0]
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.14009f9b0
nop
call fcn.14009f9b0
nop
call fcn.14009f9b0
nop
call fcn.14009f9b0
nop
call fcn.14009f9b0
nop
call fcn.14009f9b0
int3