Function at 0x140017ca0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x1400cd200]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov r14, rdx
mov rdi, rcx
xor r15d, r15d
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x70]
call fcn.140059050
lea r9d, [r15 + 1]
lea r8d, [r15 + 0x23]
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x140017f94
lea rax, str.McAfee
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 6
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x70]
mov rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp word [rcx + rax*2], r15w
jne 0x140017d32
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm1
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140017a30
mov rdx, rax
mov rcx, rdi
call fcn.14000e1e0
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140017db8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017db3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017fc2
call fcn.140056410
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140017dc5
mov rdx, qword [rdi]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], r15w
jne 0x140017dd0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
lea rcx, [rsp + 0x30]
call fcn.14000b2e0
nop
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.1400182d0
test al, al
sete sil
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x140017e4c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017e47
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017fc8
call fcn.140056410
test sil, sil
jne 0x140017f94
lea rax, str.WebAdvisor
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0xa
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140017e77
mov rcx, qword [rdi]
mov qword [rsp + 0x20], rcx
mov rax, rbx
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x140017e80
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movaps xmm1, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm1
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.140017a30
mov rdx, rax
mov rcx, rdi
call fcn.14000e1e0
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140017f06
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017f01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017fce
call fcn.140056410
cmp qword [rdi + 0x18], 8
jb 0x140017f10
mov rdi, qword [rdi]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x140017f10
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.14000b2e0
nop
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.1400182d0
test al, al
sete bl
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x140017f8d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017f88
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017fbc
call fcn.140056410
test bl, bl
sete al
jmp 0x140017f96
xor al, al
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1400563a0
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x290
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14006a8a0
int3
call fcn.14006a8a0
int3
call fcn.14006a8a0
int3
call fcn.14006a8a0
int3