Function at 0x1800360b0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movups xmm0, xmmword [0x1800ed298]
movups xmmword [rbp - 0x29], xmm0
mov eax, dword [0x1800ed2a8]
mov dword [rbp - 0x19], eax
xor edi, edi
lea r15d, [rdi + 5]
lea r12d, [rdi + 0x1f]
mov r14d, dword [0x180112028]
cmp byte [0x1800ed2ab], dil
je 0x1800362ae
mov ecx, edi
cmp r14d, 2
jl 0x18003626c
movdqa xmm5, xmmword [0x1800feda0]
movdqa xmm4, xmmword [0x1800ff260]
movd xmm6, r15d
movdqa xmm7, xmmword [0x1800fee60]
movd xmm8, r12d
movdqa xmm0, xmmword [0x1800fef30]
movdqa xmmword [rbp - 0x49], xmm0
lea rdx, [rbp - 0x25]
mov r8d, dword [rbp - 0x49]
nop word [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800fef10]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
pxor xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800fef10]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
pxor xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x10
jl 0x180036160
cmp ecx, 0x14
jge 0x1800362ae
movsxd rax, ecx
lea r8, [rbp - 0x29]
add r8, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
sub al, dl
add al, 0x34
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x14
jl 0x180036280
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x39], xmm1
lea rax, [rbp - 0x29]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x1800362d0
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x49]
call fcn.180013d70
nop
lea rcx, [rbp - 0x49]
call fcn.18004f2d0
mov rsi, rax
mov rcx, rax
call fcn.18004efa0
test al, al
jne 0x180036304
mov rsi, rdi
jmp 0x18003630e
mov eax, dword [0x1802117c4]
mov rsi, qword [rax + rsi]
mov rdx, qword [rbp - 0x31]
cmp rdx, 0x10
jb 0x180036349
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180036344
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800365cd
call fcn.1800b7ba8
movups xmm0, xmmword [0x1800ee468]
movups xmmword [rbp - 0x29], xmm0
mov eax, dword [0x1800ee478]
mov dword [rbp - 0x19], eax
cmp byte [0x1800ee47b], 0
je 0x180036503
mov r8d, edi
cmp r14d, 2
jl 0x1800364bf
movdqa xmm5, xmmword [0x1800feda0]
movdqa xmm4, xmmword [0x1800ff260]
movd xmm6, r15d
movdqa xmm7, xmmword [0x1800fee60]
movd xmm8, r12d
movdqa xmm0, xmmword [0x1800fef30]
movdqa xmmword [rbp - 0x49], xmm0
lea rcx, [rbp - 0x25]
mov edx, dword [rbp - 0x49]
nop dword [rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800fef10]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800fef10]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x1800363b0
cmp r8d, 0x14
jge 0x180036503
movsxd rax, r8d
lea r9, [rbp - 0x29]
add r9, rax
nop dword [rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x14
jl 0x1800364d0
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
lea rax, [rbp - 0x29]
inc rbx
cmp byte [rax + rbx], 0
jne 0x180036516
mov r8, rbx
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x11]
call fcn.180013d70
nop
lea rcx, [rbp - 0x11]
call fcn.18004f2d0
mov rbx, rax
mov rcx, rax
call fcn.18004efa0
test al, al
je 0x180036552
mov eax, dword [0x1802117c4]
mov rdi, qword [rax + rbx]
mov rdx, qword [rbp + 7]
cmp rdx, 0x10
jb 0x180036589
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180036584
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800365cd
call fcn.1800b7ba8
mov r9d, 0x48
lea r8d, [r9 - 0x20]
mov rdx, rdi
mov rcx, rsi
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
jmp 0x18004f470
call fcn.1800be590
int3