Function at 0x180006ec0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x60
mov rax, qword [0x18005a080]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov edi, dword [0x180060040]
xor r14d, r14d
mov r12, rcx
movabs r13, 0x7ffffef0000e
test edi, edi
jne 0x180007214
call fcn.180006c90
cmp byte [0x18004fe47], r14b
mov rdi, rax
mov rdx, qword [str._wiyYT__y]
mov qword [rsp + 0x20], rdx
je 0x180007061
cmp dword [0x18005a0d0], 2
jl 0x180007027
movdqa xmm2, xmmword [0x180051840]
movdqa xmm4, xmmword [0x180051a80]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x180051850]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180051880]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x20]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800518d0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1800518f0]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rsp + 0x20], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180051880]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x24]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800518d0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1800518f0]
xorps xmm2, xmm0
movd dword [rsp + 0x24], xmm2
jmp 0x180007061
lea r9, [rsp + 0x20]
mov r8d, r14d
nop
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x34
xor byte [r9 - 1], al
cmp r8d, 8
jl 0x180007030
lea rax, [rdi - 0xffffa9]
cmp rax, r13
ja 0x180007183
mov edx, 8
lea rcx, [rdi + 0x50]
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x180007183
mov rdi, qword [rdi + 0x50]
test rdi, rdi
je 0x180007183
lea rax, [rsp + 0x20]
mov rbp, 0xffffffffffffffff
inc rbp
cmp byte [rax + rbp], r14b
jne 0x1800070a1
nop word [rax + rax]
lea rax, [rdi - 0xffffd1]
mov qword [rsp + 0x28], r14
cmp rax, r13
ja 0x1800070dd
mov edx, 8
lea rcx, [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1800070dd
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x28]
call fcn.180035f00
mov rsi, qword [rsp + 0x48]
lea rcx, [rsp + 0x30]
mov rbx, qword [rsp + 0x30]
cmp rsi, 0xf
mov r8, qword [rsp + 0x40]
cmova rcx, rbx
cmp r8, rbp
jne 0x18000711b
lea rdx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180007191
cmp rsi, 0xf
jbe 0x180007152
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x18000714a
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180007263
mov rcx, rbx
call fcn.18004c45c
lea rbx, [rdi + 0x20]
mov rdi, r14
lea rax, [rbx - 0xfffff9]
cmp rax, r13
ja 0x18000717a
mov edx, 8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x18000717a
mov rdi, qword [rbx]
test rdi, rdi
jne 0x1800070b0
mov dword [0x180060040], r14d
xor eax, eax
jmp 0x18000723d
mov qword [rsp + 0x98], r15
lea r15, [rdi + 0x4c]
lea rax, [r15 - 0xfffff9]
mov edi, r14d
cmp rax, r13
ja 0x1800071cb
mov edx, 4
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x30]
test eax, eax
jne 0x1800071cb
mov edi, dword [r15]
mov r15, qword [rsp + 0x98]
cmp rsi, 0xf
jbe 0x180007206
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1800071fe
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180007263
mov rcx, rbx
call fcn.18004c45c
mov dword [0x180060040], edi
test edi, edi
je 0x18000718a
mov ebx, edi
add rbx, r12
lea rax, [rbx - 0xfffff9]
cmp rax, r13
ja 0x18000723a
mov edx, 8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x18000723a
mov r14, qword [rbx]
mov rax, r14
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18004c400
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3