Function at 0x140057240
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 [0x140214ba0]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov r14, rdx
mov rdi, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x70]
call fcn.140152110
mov r9d, 1
lea r8d, [r9 + 0x22]
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x140057552
lea rax, str.McAfee
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 6
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x70]
mov rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400572d1
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movaps xmm1, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm1
mov r9d, 0x5c
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.140056f90
mov rdx, rax
mov rcx, rdi
call fcn.14002d9a0
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14005735d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057358
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140057580
call fcn.14014f900
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14005736a
mov rdx, qword [rdi]
mov r8, rbx
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140057370
xor r15d, r15d
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r15w
lea rcx, [rsp + 0x20]
call fcn.1400260f0
nop
mov rdx, r14
lea rcx, [rsp + 0x20]
call fcn.140057970
test al, al
sete sil
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x1400573f7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400573f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140057586
call fcn.14014f900
test sil, sil
jne 0x140057552
lea rax, str.WebAdvisor
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0xa
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140057422
mov rcx, qword [rdi]
mov qword [rsp + 0x40], rcx
mov rax, rbx
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140057430
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm1
mov r9d, 0x5c
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.140056f90
mov rdx, rax
mov rcx, rdi
call fcn.14002d9a0
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1400574bc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400574b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005758c
call fcn.14014f900
cmp qword [rdi + 0x18], 8
jb 0x1400574c6
mov rdi, qword [rdi]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1400574c6
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r15w
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.1400260f0
nop
mov rdx, r14
lea rcx, [rsp + 0x20]
call fcn.140057970
test al, al
sete bl
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x14005754a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057545
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005757a
call fcn.14014f900
test bl, bl
jne 0x140057552
mov al, 1
jmp 0x140057554
xor al, al
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.14014f8e0
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x290
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140156b00
int3
call fcn.140156b00
int3
call fcn.140156b00
int3
call fcn.140156b00
int3