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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x228]
sub rsp, 0x300
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x180009010]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov r13, rcx
mov qword [rsp + 0x30], rcx
xor r15d, r15d
lea rdx, [rbp - 0x40]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], r15
lea rax, [rbp - 0x40]
mov rdi, 0xffffffffffffffff
mov rbx, rdi
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], r15w
jne 0x180001d20
movabs r14, 0x7ffffffffffffffe
cmp rbx, r14
ja 0x1800022ce
mov qword [rbp - 0x80], 7
cmp rbx, 8
jae 0x180001d6f
mov qword [rsp + 0x78], rbx
add rbx, rbx
mov r8, rbx
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x68]
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rbx + 0x68], r15w
jmp 0x180001e20
mov rax, rbx
or rax, 7
cmp rax, r14
jbe 0x180001d8b
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x180001dbd
mov r14, rax
mov ecx, 0xa
cmp rax, rcx
cmovb r14, rcx
lea rcx, [r14 + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x1800022d4
add rcx, rcx
cmp rcx, 0x1000
jb 0x180001de9
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800022d4
mov rcx, rax
call fcn.180004380
test rax, rax
je 0x180002285
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x180001dfb
test rcx, rcx
je 0x180001df8
call fcn.180004380
mov rsi, rax
jmp 0x180001dfb
mov rsi, r15
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], r14
add rbx, rbx
mov r8, rbx
lea rdx, [rbp - 0x40]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rsi], r15w
mov rax, qword [0x180006398]
mov qword [rsp + 0x30], rax
cmp word [0x18000639e], 0
je 0x180001f94
cmp dword [0x180009018], 2
jl 0x180001f2c
mov eax, 0x1f
movd xmm6, eax
movdqa xmm7, xmmword [0x180006520]
movdqa xmm4, xmm7
punpckldq xmm4, xmm7
movdqa xmm2, xmm7
punpckhdq xmm2, xmm7
movdqa xmm5, xmm4
pmuldq xmm5, xmmword [0x180006580]
movdqa xmm0, xmm2
pmuldq xmm0, xmmword [0x180006580]
shufps xmm5, xmm0, 0xdd
mov eax, 5
movd xmm0, eax
psrad xmm5, xmm0
pmuldq xmm4, xmmword [0x180006590]
pmuldq xmm2, xmmword [0x180006590]
shufps xmm4, xmm2, 0xdd
psubd xmm4, xmm7
mov eax, 6
movd xmm0, eax
psrad xmm4, xmm0
movdqa xmm1, xmm4
psrld xmm1, xmm6
paddd xmm1, xmm4
pmulld xmm1, xmmword [0x1800065a0]
movdqa xmm0, xmm7
psubd xmm0, xmm1
pshuflw xmm0, xmm0, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movdqa xmm0, xmm5
psrld xmm0, xmm6
paddd xmm0, xmm5
pmulld xmm0, xmmword [0x180006540]
psubd xmm7, xmm0
pshuflw xmm0, xmm7, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm3, xmm2
paddw xmm3, xmmword [0x180006550]
movq xmm0, qword [rsp + 0x30]
pxor xmm3, xmm0
movq qword [rsp + 0x30], xmm3
jmp 0x180001f94
lea r10, [rsp + 0x30]
mov r9d, r15d
mov r11d, 0xff8e
nop word [rax + rax]
mov eax, 0x4c8f8d29
imul r9d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul r8d, eax, 0x6b
mov eax, 0x8fb823ef
imul r9d
add edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx ecx, dx
imul ecx, r11d
sub cx, r8w
lea eax, [r9 + 0x20]
add ax, ax
add cx, ax
xor word [r10], cx
inc r9d
lea r10, [r10 + 2]
cmp r9d, 4
jl 0x180001f40
lea rax, [rsp + 0x30]
mov rsi, rdi
nop dword [rax]
inc rsi
cmp word [rax + rsi*2], 0
jne 0x180001fa0
mov r14, qword [rsp + 0x78]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
sub rax, r14
cmp rsi, rax
ja 0x180001ff3
lea rax, [rsi + r14]
mov qword [rsp + 0x78], rax
lea rbx, [rsp + 0x68]
cmp rcx, 8
cmovae rbx, qword [rsp + 0x68]
lea rcx, [rbx + r14*2]
lea r8, [rsi + rsi]
lea rdx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [r14 + rsi]
mov word [rbx + rax*2], r15w
jmp 0x18000200a
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x30]
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.180004020
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rcx, rax
movabs rax, 0x346dc5d63886594b
imul rcx
mov rcx, rdx
sar rcx, 0xb
mov rax, rcx
shr rax, 0x3f
add rcx, rax
lea r9, [rbp - 0x4e]
movabs r10, 0xcccccccccccccccd
jns 0x180002090
neg rcx
nop dword [rax]
nop dword [rax + rax]
sub r9, 2
mov rax, r10
mul rcx
shr rdx, 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 rcx, rdx
test rdx, rdx
jne 0x180002050
add r9, 0xfffffffffffffffe
mov eax, 0x2d
mov word [r9], ax
jmp 0x1800020c1
sub r9, 2
mov rax, r10
mul rcx
shr rdx, 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 rcx, rdx
test rdx, rdx
jne 0x180002090
lea r8, [rbp - 0x4e]
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.1800041f0
nop
lea r9, [rsp + 0x48]
mov rsi, qword [rsp + 0x48]
mov r15, qword [rsp + 0x60]
cmp r15, 8
cmovae r9, rsi
mov r12, qword [rsp + 0x78]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
sub rax, r12
mov r14, qword [rsp + 0x58]
cmp r14, rax
ja 0x180002139
lea rax, [r14 + r12]
mov qword [rsp + 0x78], rax
lea rbx, [rsp + 0x68]
cmp rcx, 8
cmovae rbx, qword [rsp + 0x68]
lea rcx, [rbx + r12*2]
lea r8, [r14 + r14]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [r14 + r12]
xor r14d, r14d
mov word [rbx + rax*2], r14w
jmp 0x180002158
mov qword [rsp + 0x20], r14
mov rdx, r14
lea rcx, [rsp + 0x68]
call fcn.180004020
mov r15, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x48]
xor r14d, r14d
cmp r15, 8
jb 0x180002196
lea rdx, [r15*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x18000218e
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000218e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.18000473c
movsd xmm0, qword [str.n_H]
movzx eax, word [0x1800063e0]
movsd qword [rsp + 0x30], xmm0
mov ecx, 0x2e
mov word [rsp + 0x30], cx
xor word [rsp + 0x32], 0x42
xor word [rsp + 0x34], 0x44
xor word [rsp + 0x36], 0x46
xor ax, 0x48
mov word [rsp + 0x38], ax
lea rax, [rsp + 0x30]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1800021d5
mov rsi, qword [rsp + 0x78]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
sub rax, rsi
cmp rdi, rax
ja 0x180002228
lea rax, [rsi + rdi]
mov qword [rsp + 0x78], rax
lea rbx, [rsp + 0x68]
cmp rcx, 8
cmovae rbx, qword [rsp + 0x68]
lea rcx, [rbx + rsi*2]
lea r8, [rdi + rdi]
lea rdx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsi + rdi]
mov word [rbx + rax*2], r14w
jmp 0x18000223f
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x30]
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.180004020
lea rdx, [rsp + 0x68]
mov rcx, r13
call fcn.1800019d0
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x180002291
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000228c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000228c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18000473c
mov rax, r13
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.180004360
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.180001870
int3
call fcn.1800017d0
int3