Function at 0x18001a7fc
Capabilities:
Encode data using xor
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x180]
sub rsp, 0x280
xor r9d, r9d
lea rax, [rbp + 0x70]
mov rbx, rdx
mov qword [rsp + 0x20], rax
mov rdi, rcx
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x1c]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x18001aa34
mov rcx, qword [rbx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 1
jb 0x18001aaab
cmp qword [rbx + 0x18], 0x10
mov rax, rbx
jb 0x18001a86a
mov rax, qword [rbx]
mov dl, byte [rbp + 0x1b0]
lea r9, [0x18009e258]
mov qword [rsp + 0x30], rcx
mov r8, rbx
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], 1
call fcn.180010984
cmp qword [rsp + 0x58], 0x10
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x70]
cmovae rdx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x18001a8ef
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001a8ea
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001aab1
call fcn.18006b9d0
mov r9d, 0x40
mov dword [rsp + 0x20], 1
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x60]
lea r8d, [r9 - 0x3e]
call fcn.180010734
cmp qword [rbp - 0x18], 0
jne 0x18001a982
movdqa xmm0, xmmword [0x18009e650]
xor edx, edx
movdqa xmm1, xmmword [0x18009e3f0]
movdqu xmmword [rsp + 0x40], xmm0
movdqu xmmword [rsp + 0x50], xmm1
movsxd rcx, edx
lea eax, [rdx - 0x27]
inc edx
xor byte [rsp + rcx + 0x40], al
cmp edx, 0x1f
jb 0x18001a934
mov r9d, 0x10
mov byte [rsp + 0x5f], 0
xor r8d, r8d
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rcx, [rbp + 8]
call fcn.180011064
lea rax, vtable.std::ios_base.0
lea rcx, [rbp + 8]
mov qword [rbp + 8], rax
call fcn.18006b458
jmp 0x18001aa8d
mov rdi, qword [rdi + 8]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x18001a960
lea rdx, [rbx + 0x10]
lea rcx, [rsp + 0x60]
call fcn.18000ec34
mov rcx, rax
lea rdx, [0x18009e25c]
call fcn.18000ec48
and qword [rsp + 0x50], 0
lea rdx, [rbx + 0x30]
and qword [rsp + 0x58], 0
xorps xmm0, xmm0
cmp qword [rdx + 0x18], 0x10
mov r14, rax
mov r8, qword [rdx + 0x10]
movups xmmword [rsp + 0x40], xmm0
jb 0x18001a9d4
mov rdx, qword [rdx]
lea rcx, [rsp + 0x40]
call fcn.18000f53c
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.18000ec34
mov rcx, rax
call fcn.180010024
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x18001aa2c
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001aa27
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001aaa5
call fcn.18006b9d0
mov rbx, qword [rbx]
jmp 0x18001a989
movdqa xmm0, xmmword [0x18009e690]
xor eax, eax
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x5a], al
xor edx, edx
mov dword [rsp + 0x50], 0x988a8e99
mov dword [rsp + 0x54], 0x919fce8c
mov word [rsp + 0x58], 0x9a85
movsxd rcx, edx
lea eax, [rdx - 0x27]
inc edx
xor byte [rsp + rcx + 0x40], al
cmp edx, 0x1a
jb 0x18001aa61
mov r9d, 0x10
mov byte [rsp + 0x5a], 0
xor r8d, r8d
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.180072534
int3
call fcn.18001b730
int3
call fcn.180072534
int3