Function at 0x18001d7d4
Capabilities:
Contain obfuscated stackstrings
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 0x18001da0c
mov rcx, qword [rbx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 1
jb 0x18001da83
cmp qword [rbx + 0x18], 0x10
mov rax, rbx
jb 0x18001d842
mov rax, qword [rbx]
mov dl, byte [rbp + 0x1b0]
lea r9, [0x18009e310]
mov qword [rsp + 0x30], rcx
mov r8, rbx
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], 1
call fcn.180013078
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 0x18001d8c7
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001d8c2
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001da89
call fcn.18006fd1c
mov r9d, 0x40
mov dword [rsp + 0x20], 1
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x60]
lea r8d, [r9 - 0x3e]
call fcn.180012e28
cmp qword [rbp - 0x18], 0
jne 0x18001d95a
movdqa xmm0, xmmword [0x18009e680]
xor edx, edx
movdqa xmm1, xmmword [str.97s2:_w_3_539]
movdqu xmmword [rsp + 0x40], xmm0
movdqu xmmword [rsp + 0x50], xmm1
movsxd rcx, edx
lea eax, [rdx + 0x40]
inc edx
xor byte [rsp + rcx + 0x40], al
cmp edx, 0x1f
jb 0x18001d90c
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.180013758
lea rax, vtable.std::ios_base.0
lea rcx, [rbp + 8]
mov qword [rbp + 8], rax
call fcn.18006f7a4
jmp 0x18001da65
mov rdi, qword [rdi + 8]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x18001d938
lea rdx, [rbx + 0x10]
lea rcx, [rsp + 0x60]
call fcn.180011328
mov rcx, rax
lea rdx, [0x18009e314]
call fcn.18001133c
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 0x18001d9ac
mov rdx, qword [rdx]
lea rcx, [rsp + 0x40]
call fcn.180011c30
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.180011328
mov rcx, rax
call fcn.180012718
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x18001da04
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001d9ff
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001da7d
call fcn.18006fd1c
mov rbx, qword [rbx]
jmp 0x18001d961
movdqa xmm0, xmmword [0x18009e7d0]
xor eax, eax
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x5a], al
xor edx, edx
mov dword [rsp + 0x50], 0x27333520
mov dword [rsp + 0x54], 0x36267535
mov word [rsp + 0x58], 0x312c
movsxd rcx, edx
lea eax, [rdx + 0x40]
inc edx
xor byte [rsp + rcx + 0x40], al
cmp edx, 0x1a
jb 0x18001da39
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.180076874
int3
call fcn.18001e708
int3
call fcn.180076874
int3