Function at 0x1800b1d20
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x78
call fcn.1800623d0
cmp eax, 1
jbe 0x1800b1d38
mov eax, 0xfffffff8
add rsp, 0x78
ret
mov rcx, qword [0x18020abe0]
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x70], rdi
movaps xmmword [rsp + 0x60], xmm6
call fcn.18004c7a0
mov esi, dword [0x18010b088]
xor ebx, ebx
lea rdi, [rbx - 1]
test al, al
jne 0x1800b1f64
cmp byte [0x1800f980b], bl
movups xmm0, xmmword [0x1800f97f8]
mov eax, dword [0x1800f9808]
mov dword [rsp + 0x50], eax
movups xmmword [rsp + 0x40], xmm0
je 0x1800b1f20
mov r8d, ebx
cmp esi, 2
jl 0x1800b1ed7
movdqa xmm0, xmmword [0x1800f9ce0]
lea rcx, [rsp + 0x44]
movdqa xmm5, xmmword [0x1800f9b20]
movdqa xmm4, xmmword [0x1800f9cb0]
movdqa xmm6, xmmword [0x1800f9bb0]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
nop
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800f9ca0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800f9ca0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x1800b1dd0
cmp r8d, 0x14
jge 0x1800b1f20
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x35
xor byte [r9 - 1], al
cmp r8d, 0x14
jl 0x1800b1ef0
xorps xmm0, xmm0
lea rax, [rsp + 0x40]
xorps xmm1, xmm1
mov r8, rdi
movups xmmword [rsp + 0x20], xmm0
movdqu xmmword [rsp + 0x30], xmm1
nop dword [rax]
inc r8
cmp byte [rax + r8], bl
jne 0x1800b1f40
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.180013c60
mov dl, 1
lea rcx, [rsp + 0x20]
call fcn.180028a60
cmp byte [0x18020ab78], bl
je 0x1800b1ff4
mov rcx, qword [0x18020abe0]
lea r8, [0x18020aba0]
lea rdx, [0x1800b11c0]
mov rcx, qword [rcx + 0x40]
call fcn.180062460
test eax, eax
jne 0x1800b1fea
mov rax, qword [0x18020abe0]
mov edx, 1
mov rcx, qword [rax + 0x40]
call fcn.180062950
test eax, eax
jne 0x1800b1fea
mov rcx, qword [0x18020abe0]
lea r8, [0x18020abc0]
lea rdx, [0x1800b1490]
mov rcx, qword [rcx + 0x68]
call fcn.180062460
test eax, eax
jne 0x1800b1fea
mov rax, qword [0x18020abe0]
mov edx, 1
mov rcx, qword [rax + 0x68]
call fcn.180062950
test eax, eax
je 0x1800b21d9
mov eax, 0xfffffff9
jmp 0x1800b21d9
cmp byte [0x1800f9825], bl
mov eax, dword [0x1800f9820]
movups xmm0, xmmword [str.gWV_BeRRJ]
mov dword [rsp + 0x50], eax
movzx eax, word [0x1800f9824]
movups xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x54], ax
je 0x1800b219c
cmp esi, 2
jl 0x1800b2162
movdqa xmm0, xmmword [0x1800f9ce0]
lea rcx, [rsp + 0x44]
movdqa xmm5, xmmword [0x1800f9b20]
movdqa xmm4, xmmword [0x1800f9cb0]
movdqa xmm6, xmmword [0x1800f9bb0]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ebx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800f9ca0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800f9ca0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x1800b2060
cmp ebx, 0x16
jge 0x1800b219c
movsxd rax, ebx
lea r8, [rsp + 0x40]
add r8, rax
nop dword [rax]
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, bl
inc ebx
sub al, cl
add al, 0x35
xor byte [r8 - 1], al
cmp ebx, 0x16
jl 0x1800b2170
xorps xmm0, xmm0
lea rax, [rsp + 0x40]
xorps xmm1, xmm1
movups xmmword [rsp + 0x20], xmm0
movdqu xmmword [rsp + 0x30], xmm1
inc rdi
cmp byte [rax + rdi], 0
jne 0x1800b21b2
mov r8, rdi
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.180013c60
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.180028a60
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
ret