Function at 0x1800a79f0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
movaps xmmword [rsp + 0x90], xmm6
cmp dword [0x180149de0], 0xb
jge 0x1800a7bc5
movups xmm0, xmmword [0x1801254e8]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [0x1801254f8]
movups xmmword [rbp + 7], xmm1
movups xmm0, xmmword [0x180125508]
movups xmmword [rbp + 0x17], xmm0
movzx eax, word [0x180125518]
mov word [rbp + 0x27], ax
movzx eax, byte [0x18012551a]
mov byte [rbp + 0x29], al
xor edi, edi
cmp dword [0x180148090], 2
jl 0x1800a7b72
movdqa xmm4, xmmword [0x18012e100]
movdqa xmm3, xmmword [0x18012e5e0]
movdqa xmm5, xmmword [0x18012e170]
movdqa xmm0, xmmword [0x18012e230]
movdqa xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 5]
movdqa xmm6, xmmword [0x18012e1e0]
mov edx, dword [rbp - 0x29]
nop
movd xmm2, edi
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdi + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edi, 8
lea rcx, [rcx + 8]
cmp edi, 0x30
jl 0x1800a7a90
cmp edi, 0x33
jge 0x1800a7bad
movsxd rax, edi
lea r8, [rbp - 9]
add r8, rax
nop dword [rax]
mov eax, 0x4bda12f7
imul edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, dil
sub al, cl
add al, 0x30
xor byte [r8], al
inc edi
lea r8, [r8 + 1]
cmp edi, 0x33
jl 0x1800a7b80
xor r8d, r8d
lea rdx, [rbp - 9]
lea rcx, [rbp + 0x67]
call fcn.180038a30
mov rcx, qword [rax]
jmp 0x1800a7ca0
movsd xmm0, qword [0x18012de68]
movsd xmm1, qword [0x180149dd8]
comisd xmm0, xmm1
jbe 0x1800a7be4
lea rdx, [0x18014b750]
jmp 0x1800a7c19
movsd xmm0, qword [0x18012de88]
comisd xmm0, xmm1
jbe 0x1800a7bfb
lea rdx, [0x18014b770]
jmp 0x1800a7c19
lea rax, [0x18014b790]
lea rdx, [0x18014b7b0]
movsd xmm0, qword [0x18012ded8]
comisd xmm0, xmm1
cmova rdx, rax
lea rcx, [rbp - 9]
call fcn.18002d350
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x6f]
call fcn.1800aaa60
mov rbx, rax
mov byte [rbp + 0x67], 0xe8
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x29], xmm0
xor edi, edi
mov qword [rbp - 0x19], rdi
mov edx, 1
lea rcx, [rbp - 0x29]
call fcn.18000f4e0
mov rax, qword [rbp - 0x29]
movzx ecx, byte [rbp + 0x67]
mov byte [rax], cl
inc rax
mov qword [rbp - 0x21], rax
mov dword [rsp + 0x28], 0x800
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [rbp - 0x29]
lea rdx, [rbp + 0x77]
mov rcx, rbx
call fcn.1800ab590
mov rdx, rax
mov rcx, qword [rax]
test rcx, rcx
je 0x1800a7ca0
movsxd rax, dword [rcx + 1]
add rcx, 5
add rcx, rax
mov qword [rdx], rcx
mov qword [0x18014a780], rcx
xorps xmm0, xmm0
xorps xmm1, xmm1
xor r8d, r8d
lea rdx, [0x18011e4f0]
movups xmmword [rbp - 0x29], xmm0
movdqu xmmword [rbp - 0x19], xmm1
test rcx, rcx
lea rcx, [rbp - 0x29]
jne 0x1800a7d1a
call fcn.180016750
nop
cmp byte [0x180149df8], 0
je 0x1800a7d0d
mov byte [rbp + 0x67], 0
mov dword [rbp + 0x6f], 2
lea rax, [rbp + 0x67]
mov qword [rsp + 0x28], rax
lea rax, [0x18014aff8]
mov qword [rsp + 0x20], rax
lea r9, [0x18014afe8]
lea r8, [rbp - 0x29]
lea rdx, [rbp + 0x6f]
call fcn.1800288e0
nop
lea rcx, [rbp - 0x29]
call fcn.18002d710
xor al, al
jmp 0x1800a7d70
call fcn.180016750
nop
cmp byte [0x180149df8], 0
je 0x1800a7d5e
mov byte [rbp + 0x67], 0
mov dword [rbp + 0x6f], 2
lea rax, [rbp + 0x67]
mov qword [rsp + 0x28], rax
lea rax, [0x18014aff8]
mov qword [rsp + 0x20], rax
lea r9, [0x18014afe8]
lea r8, [rbp - 0x29]
lea rdx, [rbp + 0x6f]
call fcn.1800288e0
nop
lea rcx, [rbp - 0x29]
call fcn.18002d710
mov byte [0x1801480d8], 0
mov al, 1
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rdi
pop rbx
pop rbp
ret