Function at 0x1800080f0
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 + 0x58], rax
mov edi, dword [0x180060028]
xor r14d, r14d
mov r12, rcx
movabs r13, 0x7ffffef0000e
test edi, edi
jne 0x180008464
call fcn.180007eb0
cmp dword [0x18005a0d0], 2
mov rdi, rax
mov ecx, dword [0x1800500c8]
mov r8d, r14d
movsd xmm0, qword [str.gAWCgzUVLRPZ.5B]
mov dword [rsp + 0x28], ecx
movzx ecx, word [0x1800500cc]
mov word [rsp + 0x2c], cx
movzx ecx, byte [0x1800500ce]
mov byte [rsp + 0x2e], cl
movsd qword [rsp + 0x20], xmm0
jl 0x180008276
movdqa xmm2, xmmword [0x180051840]
mov r8d, 8
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 [str.gAWCgzUVLRPZ.5B]
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
movsxd rax, r8d
lea r9, [rsp + 0x20]
add r9, rax
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, 0xf
jl 0x180008281
lea rax, [rdi - 0xffffa9]
cmp rax, r13
ja 0x1800083d3
mov edx, 8
lea rcx, [rdi + 0x50]
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1800083d3
mov rdi, qword [rdi + 0x50]
test rdi, rdi
je 0x1800083d3
lea rax, [rsp + 0x20]
mov rbp, 0xffffffffffffffff
inc rbp
cmp byte [rax + rbp], r14b
jne 0x1800082f2
nop dword [rax + rax]
lea rax, [rdi - 0xffffd1]
mov qword [rsp + 0x30], r14
cmp rax, r13
ja 0x18000832d
mov edx, 8
lea rcx, [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x18000832d
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.180035f00
mov rsi, qword [rsp + 0x50]
lea rcx, [rsp + 0x38]
mov rbx, qword [rsp + 0x38]
cmp rsi, 0xf
mov r8, qword [rsp + 0x48]
cmova rcx, rbx
cmp r8, rbp
jne 0x18000836b
lea rdx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1800083e1
cmp rsi, 0xf
jbe 0x1800083a2
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x18000839a
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800084b3
mov rcx, rbx
call fcn.18004c45c
lea rbx, [rdi + 0x20]
mov rdi, r14
lea rax, [rbx - 0xfffff9]
cmp rax, r13
ja 0x1800083ca
mov edx, 8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1800083ca
mov rdi, qword [rbx]
test rdi, rdi
jne 0x180008300
mov dword [0x180060028], r14d
xor eax, eax
jmp 0x18000848d
mov qword [rsp + 0x98], r15
lea r15, [rdi + 0x4c]
lea rax, [r15 - 0xfffff9]
mov edi, r14d
cmp rax, r13
ja 0x18000841b
mov edx, 4
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x38]
test eax, eax
jne 0x18000841b
mov edi, dword [r15]
mov r15, qword [rsp + 0x98]
cmp rsi, 0xf
jbe 0x180008456
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x18000844e
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800084b3
mov rcx, rbx
call fcn.18004c45c
mov dword [0x180060028], edi
test edi, edi
je 0x1800083da
mov ebx, edi
add rbx, r12
lea rax, [rbx - 0xfffff9]
cmp rax, r13
ja 0x18000848a
mov edx, 8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x18000848a
mov r14, qword [rbx]
mov rax, r14
mov rcx, qword [rsp + 0x58]
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