Function at 0x180093950
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x5f]
sub rsp, 0xb0
mov eax, dword [0x180120d50]
mov qword [r11 - 0x10], rbx
cmp eax, 0xb
jge 0x180093b55
movups xmm0, xmmword [0x180100868]
movzx eax, word [0x180100898]
xor ebx, ebx
cmp dword [0x18011f018], 2
movups xmm1, xmmword [0x180100878]
mov word [rbp + 0x27], ax
movzx eax, byte [0x18010089a]
movups xmmword [rbp - 9], xmm0
mov byte [rbp + 0x29], al
movups xmm0, xmmword [0x180100888]
movups xmmword [rbp + 7], xmm1
movups xmmword [rbp + 0x17], xmm0
jl 0x180093afc
movdqa xmm0, xmmword [0x180108f60]
lea rcx, [rbp - 5]
movdqa xmm5, xmmword [0x180108e60]
movdqa xmm4, xmmword [0x180109000]
movdqa xmmword [rbp - 0x29], xmm0
mov edx, dword [rbp - 0x29]
movaps xmmword [r11 - 0x28], xmm6
movdqa xmm6, xmmword [0x180108e90]
nop dword [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
mov eax, ebx
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
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 [0x180108f40]
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, 4
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 [0x180108f40]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x30
jl 0x1800939f0
movaps xmm6, xmmword [rsp + 0x90]
cmp eax, 0x33
jge 0x180093b3d
movsxd rax, ebx
lea r8, [rbp - 9]
add r8, rax
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, bl
inc ebx
sub al, cl
add al, 0x30
xor byte [r8 - 1], al
cmp ebx, 0x33
jl 0x180093b10
xor r8d, r8d
lea rdx, [rbp - 9]
lea rcx, [rbp + 0x67]
call fcn.18001e430
mov rcx, qword [rax]
jmp 0x180093bfc
mov qword [rsp + 0xa0], rdi
cmp eax, 0x17
jge 0x180093b6b
lea rdx, [0x180122128]
jmp 0x180093b7e
lea rdx, [0x180122148]
cmp eax, 0x1b
jl 0x180093b7e
lea rdx, [0x180122168]
lea rcx, [rbp - 9]
call fcn.180034050
xor r9d, r9d
lea rcx, [rbp + 0x67]
xor r8d, r8d
mov rdx, rax
call fcn.180042ac0
xor ebx, ebx
lea rcx, [rbp - 0x29]
xorps xmm0, xmm0
mov qword [rbp - 0x19], rbx
mov rdi, rax
movdqu xmmword [rbp - 0x29], xmm0
lea edx, [rbx + 1]
call fcn.18002f250
mov rax, qword [rbp - 0x29]
lea r8, [rbp - 0x29]
xor r9d, r9d
mov dword [rsp + 0x20], ebx
lea rdx, [rbp + 0x77]
mov rcx, rdi
mov byte [rax], 0xe8
inc rax
mov qword [rbp - 0x21], rax
call fcn.18004ad70
mov rdx, rax
mov rcx, qword [rax]
test rcx, rcx
je 0x180093bf4
movsxd rax, dword [rcx + 1]
add rcx, 5
add rcx, rax
mov qword [rdx], rcx
mov rdi, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xa8]
mov qword [0x1801216c8], rcx
test rcx, rcx
jne 0x180093c1b
xor al, al
add rsp, 0xb0
pop rbp
ret
mov byte [0x18011f0ac], 0
mov al, 1
add rsp, 0xb0
pop rbp
ret