Function at 0x14003f070
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x118]
sub rsp, 0x210
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1403ddfb8]
xor rax, rsp
mov qword [rbp + 0x100], rax
xor edi, edi
mov qword [rsp + 0x30], rdi
lea r9, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
lea rcx, [0x14032b5d8]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], rdi
mov word [rsp + 0x68], di
lea r8d, [rdi + 1]
lea rdx, [0x14032c3c8]
lea rcx, [rsp + 0x68]
call fcn.14002c3d0
nop
mov rdx, qword [rsp + 0x30]
cmp word [rdx], di
jne 0x14003f0fd
mov r8d, edi
jmp 0x14003f10c
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x14003f101
lea rcx, [rsp + 0x68]
call fcn.140032770
mov r8d, 0x29
lea rdx, str.McAfeeModuleCoreModuleCoreService.exe_
lea rcx, [rsp + 0x68]
call fcn.140032770
mov r8d, 6
lea rdx, str.__stop
lea rcx, [rsp + 0x68]
call fcn.140032770
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rcx, qword [rsp + 0x68]
call fcn.14029fe3c
lea rsi, str.E:BT0d8f5312_643f_43bd_ae61_302563aaaba4UBF_1PEFAppSrcPEFCommonCmcService.h
test eax, eax
je 0x14003f1ea
movups xmm0, xmmword [rsp + 0x68]
movaps xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rsp + 0x78]
movaps xmmword [rsp + 0x50], xmm1
lea r9, [rsp + 0x40]
mov r8d, eax
lea rdx, str.Manage_Service:_Failed_to_stop_ModuleCoreService__error__d___cmd:__s
lea rcx, [rbp - 0x78]
call fcn.140027a80
mov rbx, rax
mov qword [rsp + 0x20], rsi
lea r9, str.ManageMcServices::CMcService::StopModuleCoreService
mov edx, 4
mov r8d, 0xf8
lea rcx, [rbp - 0x50]
call fcn.14002c550
nop
mov rdx, rbx
mov rcx, rax
call fcn.14002cda0
nop
lea rcx, [rbp - 0x50]
call fcn.1400298d0
nop
mov r8, qword [rbp - 0x60]
cmp r8, 8
jb 0x14003f257
inc r8
mov rdx, qword [rbp - 0x78]
lea rcx, [rbp - 0x78]
call fcn.14002e610
jmp 0x14003f257
mov eax, dword [0x1403f2658]
mov dword [rsp + 0x20], eax
mov r9, qword [str._no_host]
mov r8, qword [0x1403f2b80]
mov rdx, qword [str._no_group]
mov rcx, qword [0x1403f2660]
call fcn.140033d60
test rax, rax
je 0x14003f257
mov rcx, qword [rax]
test rcx, rcx
je 0x14003f257
mov rax, qword [rcx]
mov edx, 1
call qword [rax + 0x50]
test eax, eax
je 0x14003f257
lea rax, str.Manage_Service:_ModuleCoreService_stopped_successfully
mov qword [rsp + 0x20], rax
mov r9d, 0xfc
lea r8, str.ManageMcServices::CMcService::StopModuleCoreService
mov rdx, rsi
mov ecx, 1
call fcn.140029450
mov r8d, 1
lea rdx, [0x14032c3c8]
lea rcx, [rsp + 0x68]
call fcn.14002c3d0
mov rdx, qword [rsp + 0x30]
cmp word [rdx], 0
je 0x14003f28a
or rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp word [rdx + rdi*2], 0
jne 0x14003f280
mov r8, rdi
lea rcx, [rsp + 0x68]
call fcn.140032770
mov r8d, 0x29
lea rdx, str.McAfeeModuleCoreModuleCoreService.exe_
lea rcx, [rsp + 0x68]
call fcn.140032770
mov r8d, 9
lea rdx, str.__install
lea rcx, [rsp + 0x68]
call fcn.140032770
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rcx, qword [rsp + 0x68]
call fcn.14029fe3c
mov edi, eax
test eax, eax
je 0x14003f36a
movups xmm0, xmmword [rsp + 0x68]
movaps xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rsp + 0x78]
movaps xmmword [rsp + 0x50], xmm1
lea r9, [rsp + 0x40]
mov r8d, eax
lea rdx, str.Manage_Service:_Failed_to_install_ModuleCoreService__error__d___cmd:__s
lea rcx, [rbp - 0x78]
call fcn.140027a80
mov rbx, rax
mov qword [rsp + 0x20], rsi
lea r9, str.ManageMcServices::CMcService::StopModuleCoreService
mov edx, 4
mov r8d, 0x107
lea rcx, [rbp - 0x50]
call fcn.14002c550
nop
mov rdx, rbx
mov rcx, rax
call fcn.14002cda0
nop
lea rcx, [rbp - 0x50]
call fcn.1400298d0
nop
mov r8, qword [rbp - 0x60]
cmp r8, 8
jb 0x14003f3d8
inc r8
mov rdx, qword [rbp - 0x78]
lea rcx, [rbp - 0x78]
call fcn.14002e610
jmp 0x14003f3d8
mov eax, dword [0x1403f2658]
mov dword [rsp + 0x20], eax
mov r9, qword [str._no_host]
mov r8, qword [0x1403f2b80]
mov rdx, qword [str._no_group]
mov rcx, qword [0x1403f2660]
call fcn.140033d60
test rax, rax
je 0x14003f3d8
mov rcx, qword [rax]
test rcx, rcx
je 0x14003f3d8
mov rax, qword [rcx]
mov edx, 1
call qword [rax + 0x50]
test eax, eax
je 0x14003f3d8
lea rax, str.Manage_Service:_ModuleCoreService_installed_successfully
mov qword [rsp + 0x20], rax
mov r9d, 0x10b
lea r8, str.ManageMcServices::CMcService::StopModuleCoreService
mov rdx, rsi
mov ecx, 1
call fcn.140029450
nop
mov r8, qword [rbp - 0x80]
cmp r8, 8
jb 0x14003f3f4
inc r8
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x68]
call fcn.14002e610
mov eax, edi
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.14026d870
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret