Function at 0x1800bc740
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rdi
sub rsp, 0xd0
movaps xmmword [r11 - 0x18], xmm6
mov rax, qword [0x18012c040]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov rbx, rcx
xor ecx, ecx
mov qword [rbx], rcx
mov qword [rbx + 8], rcx
movups xmm0, xmmword [0x180111698]
movups xmmword [r11 - 0x58], xmm0
movups xmm1, xmmword [0x1801116a8]
movups xmmword [r11 - 0x48], xmm1
movups xmm0, xmmword [0x1801116b8]
movups xmmword [r11 - 0x38], xmm0
movsd xmm0, qword [0x1801116c8]
movsd qword [r11 - 0x28], xmm0
cmp dword [0x18012c090], 2
jl 0x1800bc8d1
movdqa xmm4, xmmword [0x1801148f0]
movdqa xmm3, xmmword [0x180114d90]
movdqa xmm5, xmmword [0x180114920]
movdqa xmm0, xmmword [0x1801149e0]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [r11 - 0x54]
movdqa xmm6, xmmword [0x180114990]
mov r8d, dword [rsp + 0x60]
nop dword [rax + rax]
movd xmm2, ecx
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, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 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, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x38
jl 0x1800bc7f0
jmp 0x1800bc90c
lea r8, [rsp + 0x80]
nop dword [rax]
mov eax, 0x51eb851f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, cl
sub al, dl
add al, 0x38
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x38
jl 0x1800bc8e0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea rax, [rsp + 0x80]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800bc930
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x40]
call fcn.180013310
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x90], xmm1
xor r8d, r8d
lea rdx, [0x180100ff1]
lea rcx, [rsp + 0x80]
call fcn.180013310
nop
cmp byte [0x18012dd90], 0
jne 0x1800bc99e
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.180026f50
mov rcx, rax
call fcn.180027cc0
jmp 0x1800bc9a8
lea rcx, [rsp + 0x40]
call fcn.18000d920
mov rdi, rax
lea rcx, [rsp + 0x80]
call fcn.180027960
cmp qword [0x18012de30], 0
je 0x1800bc9f6
mov rax, qword [0x18012de20]
movsxd rdx, dword [rbx + 8]
lea rdx, [rdx*8 + 8]
xor r8d, r8d
mov rcx, qword [rbx]
call rax
mov qword [rbx], rax
test rax, rax
je 0x1800bc9f6
movsxd rcx, dword [rbx + 8]
mov qword [rax + rcx*8], rdi
inc dword [rbx + 8]
mov ecx, dword [rbx + 8]
mov dword [rbx + 0xc], ecx
lea rcx, [rsp + 0x40]
call fcn.180027960
mov rax, rbx
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.1800d4da0
mov rbx, qword [rsp + 0xe8]
movaps xmm6, xmmword [rsp + 0xc0]
add rsp, 0xd0
pop rdi
ret