Function at 0x180026260
Capabilities:
Encode data using xor
Get common file path
Get startup folder

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rax, qword [0x180037020]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rbx
mov qword [rcx + 8], rbx
mov qword [rcx + 0x10], rbx
mov edi, 1
mov dword [rsp + 0x30], edi
lea r14, [0x180038430]
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov qword [rbp + 0xb0], rbx
mov qword [rbp + 0xc0], rbx
mov qword [rbp + 0xc8], 7
mov word [rbp + 0xb0], bx
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax]
inc r8
cmp word [r14 + r8*2], 0
jne 0x180026310
mov rdx, r14
lea rcx, [rbp + 0xb0]
call fcn.180006110
nop
mov dword [rsp + 0x38], 0xf31ef309
mov dword [rsp + 0x3c], 0xf33cf320
mov dword [rsp + 0x40], 0xf306f32a
xor eax, eax
mov word [rsp + 0x44], ax
mov edx, ebx
mov r8d, 0xcab
nop dword [rax]
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x38]
lea rcx, [rcx + rax*2]
movzx eax, dx
sub ax, r8w
xor word [rcx], ax
inc edx
cmp edx, 6
jb 0x180026360
mov word [rsp + 0x44], bx
lea rax, [rsp + 0x38]
nop word [rax + rax]
inc rsi
cmp word [rax + rsi*2], 0
jne 0x180026390
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xc8]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x1800263f1
lea rdi, [rcx + rsi]
mov qword [rbp + 0xc0], rdi
lea rbx, [rbp + 0xb0]
cmp rdx, 8
cmovae rbx, qword [rbp + 0xb0]
lea rcx, [rbx + rcx*2]
lea r8, [rsi + rsi]
lea rdx, [rsp + 0x38]
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
mov word [rbx + rdi*2], ax
mov edi, dword [rsp + 0x30]
xor ebx, ebx
jmp 0x18002640a
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x38]
mov rdx, rsi
lea rcx, [rbp + 0xb0]
call fcn.180006f80
mov r13d, ebx
mov r10d, 0x2d
movabs rdx, 0x7fffffffffffffff
movabs rax, 0x7ffffffffffffffe
mov qword [rbp + 0x70], rbx
mov qword [rbp + 0x80], rbx
mov qword [rbp + 0x88], rbx
mov r12, qword [rbp + 0xc0]
lea rbx, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 8
cmovae rbx, qword [rbp + 0xb0]
cmp r12, 8
jae 0x18002646d
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x70], xmm0
lea r14d, [r10 - 0x26]
jmp 0x1800264ee
mov r14, r12
or r14, 7
cmp r14, rax
cmova r14, rax
lea rcx, [r14 + 1]
cmp rcx, rdx
ja 0x18002693f
add rcx, rcx
cmp rcx, 0x1000
jb 0x1800264c3
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18002693f
mov rcx, rax
call fcn.180029c40
mov rcx, rax
test rax, rax
je 0x1800268fe
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1800264d1
test rcx, rcx
je 0x1800264cf
call fcn.180029c40
jmp 0x1800264d1
xor eax, eax
mov qword [rbp + 0x70], rax
lea r8, [r12*2 + 2]
mov rdx, rbx
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov r10d, 0x2d
mov qword [rbp + 0x88], r14
mov qword [rbp + 0x80], r12
lea r9, [rbp + 0xfa]
test r13d, r13d
jns 0x180026549
mov ecx, r13d
neg ecx
nop dword [rax]
sub r9, 2
mov eax, 0xcccccccd
mul ecx
shr edx, 3
movzx eax, dx
shl ax, 2
lea r8d, [rax + rdx]
add r8w, r8w
sub cx, r8w
add cx, 0x30
mov word [r9], cx
mov ecx, edx
test edx, edx
jne 0x180026510
add r9, 0xfffffffffffffffe
mov word [r9], r10w
jmp 0x180026580
mov r8d, r13d
nop dword [rax]
sub r9, 2
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub r8w, cx
add r8w, 0x30
mov word [r9], r8w
mov r8d, edx
test edx, edx
jne 0x180026550
xor ebx, ebx
mov qword [rbp + 0x90], rbx
mov edx, ebx
mov qword [rbp + 0xa0], rbx
mov r15d, 7
mov qword [rbp + 0xa8], r15
mov word [rbp + 0x90], bx
lea rax, [rbp + 0xfa]
cmp r9, rax
je 0x1800265ea
lea r8, [rbp + 0xfa]
sub r8, r9
sar r8, 1
mov rdx, r9
lea rcx, [rbp + 0x90]
call fcn.180006110
mov r14, qword [rbp + 0x88]
mov r12, qword [rbp + 0x80]
mov r15, qword [rbp + 0xa8]
mov rdx, qword [rbp + 0xa0]
or edi, 6
mov dword [rsp + 0x30], edi
lea r9, [rbp + 0x90]
mov rsi, qword [rbp + 0x90]
cmp r15, 8
cmovae r9, rsi
mov rax, r14
sub rax, r12
cmp rdx, rax
ja 0x18002664c
lea rdi, [rdx + r12]
mov qword [rbp + 0x80], rdi
lea rbx, [rbp + 0x70]
cmp r14, 8
cmovae rbx, qword [rbp + 0x70]
lea rcx, [rbx + r12*2]
lea r8, [rdx + rdx]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
xor eax, eax
mov word [rbx + rdi*2], ax
lea rcx, [rbp + 0x70]
mov edi, dword [rsp + 0x30]
xor ebx, ebx
jmp 0x18002666b
mov qword [rsp + 0x20], rdx
lea rcx, [rbp + 0x70]
call fcn.180006f80
mov rcx, rax
mov r15, qword [rbp + 0xa8]
mov rsi, qword [rbp + 0x90]
mov rdx, qword [rcx + 0x10]
mov r8, qword [rcx + 0x18]
mov rax, r8
sub rax, rdx
cmp rax, 4
jb 0x1800266a4
lea rax, [rdx + 4]
mov qword [rcx + 0x10], rax
cmp r8, 8
jb 0x180026690
mov rcx, qword [rcx]
movabs r8, 0x7400780074002e
mov qword [rcx + rdx*2], r8
mov word [rcx + rax*2], bx
jmp 0x1800266bf
mov qword [rsp + 0x20], 4
lea r9, str..txt
mov edx, 4
call fcn.180006f80
nop
cmp r15, 8
jb 0x1800266fa
lea rdx, [r15*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1800266f2
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800268f0
mov rcx, rsi
call fcn.180029c7c
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 8
cmovae rdx, qword [rbp + 0x70]
mov r8d, 1
lea rcx, [rsp + 0x60]
call fcn.18001afa0
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x60], rsi
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x5c], edx
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
test byte [rsp + rcx + 0x70], 6
jne 0x18002681f
mov qword [rbp + 0x90], rbx
mov qword [rbp + 0xa0], rbx
mov qword [rbp + 0xa8], sendto
mov byte [rbp + 0x90], 0
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x60]
call fcn.180029540
cmp qword [rbp + 0xa0], 0
je 0x1800267dd
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
je 0x1800267c9
lea rdx, [rbp + 0x90]
mov rcx, rax
call fcn.180005cb0
add qword [rbx + 8], 0x20
jmp 0x1800267db
lea r8, [rbp + 0x90]
mov rdx, rax
mov rcx, rbx
call fcn.18000a8e0
xor ebx, ebx
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x18002681f
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180026819
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800268f7
call fcn.180029c7c
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], rsi
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x70]
call fcn.1800055b0
lea rcx, [rsp + 0x78]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
jb 0x18002689f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002689a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800268fe
call fcn.180029c7c
inc r13d
cmp r13d, 0xa
jl 0x18002640d
mov rdx, qword [rbp + 0xc8]
cmp rdx, 8
jb 0x18002690a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180026905
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180026905
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.180029c7c
mov rax, qword [rsp + 0x48]
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.180029c20
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1800014a0
int3