Function at 0x14001858c
Capabilities:
Encode data using xor
Get common file path
Get program files directory

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x1e8]
sub rsp, 0x2d0
mov rax, qword [0x14006f998]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
xor esi, esi
lea r9, [rsp + 0x28]
xor r8d, r8d
mov qword [rsp + 0x28], rsi
xor edx, edx
lea rcx, [0x140059650]
call sub.SHELL32.dll_SHGetKnownFolderPath
mov dword [0x140070a18], eax
lea edi, [rsi + 7]
lea r14d, [rsi + 0xf]
mov r15d, 0x1000
test eax, eax
js 0x1400186a6
mov rbx, qword [rsp + 0x28]
mov rcx, rbx
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rdi
mov word [rsp + 0x50], si
call fcn.1400367a0
mov r8, rax
lea rcx, [rsp + 0x50]
mov rdx, rbx
call fcn.14000e284
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14002d2dc
mov rdx, rax
lea rcx, [0x14006f4f0]
call fcn.140006048
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140018659
mov rcx, qword [rsp + 0x30]
inc rdx
call fcn.1400038b4
mov rdx, qword [rsp + 0x68]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], r14
mov byte [rsp + 0x30], sil
cmp rdx, 8
jb 0x1400186a6
mov rcx, qword [rsp + 0x50]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, r15
jb 0x1400186a1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140018967
call fcn.14002fcfc
lea rcx, [rsp + 0x70]
call fcn.140017138
mov rdx, rax
lea rcx, [0x14006f510]
call fcn.140006048
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x1400186d6
mov rcx, qword [rsp + 0x70]
inc rdx
call fcn.1400038b4
lea rcx, [rsp + 0x20]
call fcn.140006a34
cmp byte [rax + 4], sil
je 0x1400186fb
mov rcx, rax
mov r8d, 5
xor byte [rcx], 0x48
inc rcx
sub r8, 1
jne 0x1400186ef
mov rdx, rax
mov qword [rbp - 0x60], rsi
lea rcx, [rbp - 0x70]
mov qword [rbp - 0x58], r14
mov byte [rbp - 0x70], sil
call fcn.14000e208
lea r8, [0x140058cb4]
lea rdx, [0x14006f510]
lea rcx, [rsp + 0x70]
call fcn.1400035f0
mov rdx, rax
lea r8, [rbp - 0x70]
lea rcx, [rsp + 0x30]
call fcn.140003450
mov rdx, rax
lea rcx, [0x14006f530]
call fcn.140006048
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140018763
mov rcx, qword [rsp + 0x30]
inc rdx
call fcn.1400038b4
mov rdx, qword [rbp - 0x78]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], r14
mov byte [rsp + 0x30], sil
cmp rdx, 0x10
jb 0x140018789
mov rcx, qword [rsp + 0x70]
inc rdx
call fcn.1400038b4
xor r9d, r9d
lea rdx, [rbp - 0x50]
xor ecx, ecx
lea r8d, [r9 + 0x26]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x140018902
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
mov word [rsp + 0x30], si
call fcn.1400367a0
mov r8, rax
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x30]
call fcn.14000e284
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.14002d2dc
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14001881a
mov rcx, qword [rsp + 0x30]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, r15
jb 0x140018815
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001896d
call fcn.14002fcfc
lea rdx, [rsp + 0x70]
lea rcx, [0x14006f570]
call fcn.1400060b4
lea rcx, [rsp + 0x20]
call fcn.140009710
cmp byte [rax + 6], sil
je 0x14001884a
mov rcx, rax
xor byte [rcx], 0x48
inc rcx
sub rdi, 1
jne 0x14001883e
mov rdx, rax
mov qword [rsp + 0x60], rsi
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x68], r14
mov byte [rsp + 0x50], sil
call fcn.14000e208
lea r8, [rsp + 0x50]
lea rdx, [0x14006f570]
lea rcx, [rsp + 0x30]
call fcn.14000358c
mov rdx, rax
lea rcx, [0x14006f590]
call fcn.140006048
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1400188a3
mov rcx, qword [rsp + 0x30]
inc rdx
call fcn.1400038b4
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1400188dc
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, r15
jb 0x1400188d7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140018973
call fcn.14002fcfc
mov rdx, qword [rbp - 0x78]
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], r14
mov byte [rsp + 0x50], sil
cmp rdx, 0x10
jb 0x140018902
mov rcx, qword [rsp + 0x70]
inc rdx
call fcn.1400038b4
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140018935
mov rcx, qword [rbp - 0x70]
inc rdx
mov rax, rcx
cmp rdx, r15
jb 0x140018930
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140018961
call fcn.14002fcfc
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140030560
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1400360bc
int3
call fcn.1400360bc
int3
call fcn.1400360bc
int3
call fcn.1400360bc
int3