Function at 0x18017bf90
Capabilities:
Contain obfuscated stackstrings
Get common file path
Get file size
Get startup folder

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x238]
sub rsp, 0x320
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x18032a080]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov rsi, rdx
mov dword [rbp - 0x50], 0x61004d
mov dword [rbp - 0x4c], 0x720063
mov dword [rbp - 0x48], 0x6d006f
mov edi, 0x65
mov dword [rbp - 0x44], 0x640065
mov dword [rbp - 0x40], 0x46005c
mov dword [rbp - 0x3c], 0x61006c
mov dword [rbp - 0x38], 0x680073
mov dword [rbp - 0x34], 0x46005c
mov dword [rbp - 0x30], 0x61006c
mov dword [rbp - 0x2c], 0x680073
mov dword [rbp - 0x28], 0x650048
mov dword [rbp - 0x24], 0x70006c
mov dword [rbp - 0x20], 0x720065
mov dword [rbp - 0x1c], 0x650053
mov dword [rbp - 0x18], 0x760072
mov dword [rbp - 0x14], 0x630069
mov dword [rbp - 0x10], 0x2e0065
mov dword [rbp - 0xc], 0x780065
mov dword [rbp - 8], edi
xor r14d, r14d
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp]
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi - 0x3c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r14w
lea rax, [rbp - 0x50]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], r14w
jne 0x18017c0b0
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x58]
call fcn.180007110
nop
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r14w
lea rax, [rbp]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x18017c0f2
lea rdx, [rbp]
lea rcx, [rsp + 0x38]
call fcn.180007110
nop
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x78]
call fcn.1800f8180
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x18017c165
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18017c160
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18017c160
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18022acec
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r14w
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x18017c1be
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18017c1b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18017c1b9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18022acec
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r14w
lea rcx, [rbp - 0x78]
call fcn.1800f3cf0
test al, al
jne 0x18017c1e7
xor dil, dil
jmp 0x18017c2e8
mov qword [rsi], r14
mov qword [rsp + 0x30], r14
mov ecx, 8
call fcn.18022a7fc
mov qword [rbp - 0x80], rax
mov qword [rax], 0xffffffffffffffff
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov r9d, 1
mov r8d, 0x80000000
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x30]
call fcn.180109b00
test al, al
jne 0x18017c26e
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x18017c269
mov rcx, qword [rbx]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x18017c257
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], r14
mov edx, 8
mov rcx, rbx
call fcn.18022acec
mov qword [rsp + 0x30], r14
xor dil, dil
jmp 0x18017c2e8
mov rbx, qword [rsp + 0x30]
test rbx, rbx
jne 0x18017c27d
xor dil, dil
jmp 0x18017c2bb
mov rcx, qword [rbx]
cmp rcx, 0xffffffffffffffff
jne 0x18017c28b
xor dil, dil
jmp 0x18017c2bb
lea rdx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp eax, 0xffffffff
jne 0x18017c2ab
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x18017c2ab
xor dil, dil
jmp 0x18017c2bb
mov ecx, dword [rbp - 0x80]
shl rcx, 0x20
add rcx, rdi
mov qword [rsi], rcx
mov dil, 1
test rbx, rbx
je 0x18017c2e8
mov rcx, qword [rbx]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x18017c2d6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], r14
mov edx, 8
mov rcx, rbx
call fcn.18022acec
mov qword [rsp + 0x30], r14
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x18017c32b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18017c326
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18017c326
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18022acec
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r14w
movzx eax, dil
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.18022a7d0
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret