Function at 0x180001b90
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x148]
sub rsp, 0x240
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x180025008]
xor rax, rsp
mov qword [rbp + 0x110], rax
movups xmm0, xmmword [0x180021440]
lea rcx, [rsp + 0x20]
movups xmm1, xmmword [0x180021450]
xor ebx, ebx
movzx eax, word [0x180021d88]
mov edx, ebx
mov edi, dword [0x180025018]
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [0x180021460]
lea esi, [rbx + 6]
movups xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [0x180021b40]
movups xmmword [rsp + 0x30], xmm1
movups xmm1, xmmword [0x180021470]
movups xmmword [rbp - 0x40], xmm0
movups xmm0, xmmword [str._r.____]
movups xmmword [rsp + 0x50], xmm1
movups xmm1, xmmword [0x180021b50]
movups xmmword [rbp - 0x20], xmm0
movsd xmm0, qword [0x180021b80]
movups xmmword [rbp - 0x30], xmm1
movups xmm1, xmmword [0x180021b70]
movsd qword [rbp], xmm0
movups xmm0, xmmword [0x180021610]
movups xmmword [rbp - 0x10], xmm1
movups xmm1, xmmword [0x180021600]
movups xmmword [rbp + 0x20], xmm0
movups xmm0, xmmword [0x180021630]
movups xmmword [rbp + 0x10], xmm1
movups xmm1, xmmword [0x180021620]
movups xmmword [rbp + 0x40], xmm0
movups xmm0, xmmword [0x180021d30]
movups xmmword [rbp + 0x30], xmm1
movsd xmm1, qword [0x180021640]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x180021d50]
movsd qword [rbp + 0x50], xmm1
movups xmm1, xmmword [0x180021d40]
movups xmmword [rbp - 0x80], xmm0
movups xmm0, xmmword [0x180021d70]
movups xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [0x180021d60]
movups xmmword [rbp - 0x60], xmm0
movups xmm0, xmmword [0x1800215a0]
movups xmmword [rbp - 0x70], xmm1
movsd xmm1, qword [0x180021d80]
movups xmmword [rbp + 0x60], xmm0
movups xmm0, xmmword [0x1800215c0]
movsd qword [rbp - 0x50], xmm1
movups xmm1, xmmword [0x1800215b0]
movups xmmword [rbp + 0x80], xmm0
movups xmm0, xmmword [0x1800215e0]
movups xmmword [rbp + 0x70], xmm1
movups xmm1, xmmword [0x1800215d0]
movups xmmword [rbp + 0xa0], xmm0
movups xmm0, xmmword [0x180021c60]
movups xmmword [rbp + 0x90], xmm1
movsd xmm1, qword [0x1800215f0]
movups xmmword [rbp + 0xc0], xmm0
movups xmm0, xmmword [0x180021c80]
movsd qword [rbp + 0xb0], xmm1
movups xmm1, xmmword [0x180021c70]
movups xmmword [rbp + 0xe0], xmm0
movsd xmm0, qword [0x180021ca0]
movups xmmword [rbp + 0xd0], xmm1
movups xmm1, xmmword [0x180021c90]
movsd qword [rbp + 0x100], xmm0
mov word [rbp - 0x48], ax
movups xmmword [rbp + 0xf0], xmm1
cmp edi, 2
jl 0x180001e40
movdqa xmm5, xmmword [0x1800220f0]
movdqa xmm6, xmmword [str.____]
movdqa xmm7, xmmword [0x180022110]
movd xmm4, esi
nop dword [rax]
xorps xmm0, xmm0
movd xmm1, edx
pshufd xmm1, xmm1, 0
lea eax, [rdx + 4]
paddd xmm1, xmm5
lea rcx, [rcx + 0x10]
pcmpgtd xmm0, xmm1
movq xmm2, xmm7
pand xmm0, xmm6
add edx, 8
paddd xmm0, xmm1
psrad xmm0, xmm4
pslld xmm0, xmm4
psubd xmm1, xmm0
pshuflw xmm0, xmm1, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
movd xmm1, eax
paddw xmm3, xmm2
pshufd xmm1, xmm1, 0
pxor xmm3, xmm0
movq qword [rcx - 0x10], xmm3
xorps xmm0, xmm0
paddd xmm1, xmm5
movq xmm2, xmm7
pcmpgtd xmm0, xmm1
pand xmm0, xmm6
paddd xmm0, xmm1
psrad xmm0, xmm4
pslld xmm0, xmm4
psubd xmm1, xmm0
pshuflw xmm0, xmm1, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp edx, 0x20
jl 0x180001d90
jmp 0x180001e5a
movzx eax, dx
lea rcx, [rcx + 2]
and ax, 0x3f
inc edx
add ax, 0x36
xor word [rcx - 2], ax
cmp edx, 0x20
jl 0x180001e40
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.180007e70
mov qword [0x1800279b8], rax
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
cmp word [rbp + 6], bx
je 0x180001fb2
mov ecx, ebx
cmp edi, 2
jl 0x180001f82
movdqa xmm5, xmmword [0x1800220f0]
lea rdx, [rbp - 0x40]
movdqa xmm6, xmmword [str.____]
movdqa xmm7, xmmword [0x180022110]
movd xmm4, esi
nop word [rax + rax]
xorps xmm0, xmm0
movd xmm1, ecx
pshufd xmm1, xmm1, 0
lea eax, [rcx + 4]
paddd xmm1, xmm5
lea rdx, [rdx + 0x10]
pcmpgtd xmm0, xmm1
movq xmm2, xmm7
pand xmm0, xmm6
add ecx, 8
paddd xmm0, xmm1
psrad xmm0, xmm4
pslld xmm0, xmm4
psubd xmm1, xmm0
pshuflw xmm0, xmm1, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 0x10]
pshufd xmm3, xmm1, 0xd8
movd xmm1, eax
paddw xmm3, xmm2
pshufd xmm1, xmm1, 0
pxor xmm3, xmm0
movq qword [rdx - 0x10], xmm3
xorps xmm0, xmm0
paddd xmm1, xmm5
movq xmm2, xmm7
pcmpgtd xmm0, xmm1
pand xmm0, xmm6
paddd xmm0, xmm1
psrad xmm0, xmm4
pslld xmm0, xmm4
psubd xmm1, xmm0
pshuflw xmm0, xmm1, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rdx - 8], xmm3
cmp ecx, 0x20
jl 0x180001ed0
cmp ecx, 0x24
jge 0x180001fb2
movsxd rax, ecx
lea rdx, [rbp - 0x40]
lea rdx, [rdx + rax*2]
nop dword [rax]
mov eax, ecx
and eax, 0x8000003f
jge 0x180001fa0
dec eax
or eax, 0xffffffc0
inc eax
add ax, 0x36
inc ecx
xor word [rdx], ax
add rdx, 2
cmp ecx, 0x24
jl 0x180001f90
xor edx, edx
lea rcx, [rbp - 0x40]
call fcn.180007e70
movzx ecx, bx
mov qword [0x1800279a0], rax
mov eax, ecx
shl rcx, 0x10
or rcx, rax
mov rax, rcx
shl rcx, 0x20
or rcx, rax
mov qword [rbp], rcx
movq xmm0, rcx
movlhps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
cmp word [rbp + 0x56], bx
je 0x180002112
mov ecx, ebx
cmp edi, 2
jl 0x1800020e2
movdqa xmm5, xmmword [0x1800220f0]
lea rdx, [rbp + 0x10]
movdqa xmm6, xmmword [str.____]
movdqa xmm7, xmmword [0x180022110]
movd xmm4, esi
nop dword [rax + rax]
xorps xmm0, xmm0
movd xmm1, ecx
pshufd xmm1, xmm1, 0
lea eax, [rcx + 4]
paddd xmm1, xmm5
lea rdx, [rdx + 0x10]
pcmpgtd xmm0, xmm1
movq xmm2, xmm7
pand xmm0, xmm6
add ecx, 8
paddd xmm0, xmm1
psrad xmm0, xmm4
pslld xmm0, xmm4
psubd xmm1, xmm0
pshuflw xmm0, xmm1, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 0x10]
pshufd xmm3, xmm1, 0xd8
movd xmm1, eax
paddw xmm3, xmm2
pshufd xmm1, xmm1, 0
pxor xmm3, xmm0
movq qword [rdx - 0x10], xmm3
xorps xmm0, xmm0
paddd xmm1, xmm5
movq xmm2, xmm7
pcmpgtd xmm0, xmm1
pand xmm0, xmm6
paddd xmm0, xmm1
psrad xmm0, xmm4
pslld xmm0, xmm4
psubd xmm1, xmm0
pshuflw xmm0, xmm1, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rdx - 8], xmm3
cmp ecx, 0x20
jl 0x180002030
cmp ecx, 0x24
jge 0x180002112
movsxd rax, ecx
lea rdx, [rbp + 0x10]
lea rdx, [rdx + rax*2]
nop dword [rax]
mov eax, ecx
and eax, 0x8000003f
jge 0x180002100
dec eax
or eax, 0xffffffc0
inc eax
add ax, 0x36
inc ecx
xor word [rdx], ax
add rdx, 2
cmp ecx, 0x24
jl 0x1800020f0
xor edx, edx
lea rcx, [rbp + 0x10]
call fcn.180007e70
movzx ecx, bx
mov qword [0x180027998], rax
mov eax, ecx
shl rcx, 0x10
or rcx, rax
mov rax, rcx
shl rcx, 0x20
or rcx, rax
mov qword [rbp + 0x50], rcx
movq xmm0, rcx
movlhps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
cmp word [rbp - 0x48], bx
je 0x180002272
mov ecx, ebx
cmp edi, 2
jl 0x180002242
movdqa xmm5, xmmword [0x1800220f0]
lea rdx, [rsp + 0x60]
movdqa xmm6, xmmword [str.____]
movdqa xmm7, xmmword [0x180022110]
movd xmm4, esi
nop dword [rax]
xorps xmm0, xmm0
movd xmm1, ecx
pshufd xmm1, xmm1, 0
lea eax, [rcx + 4]
paddd xmm1, xmm5
lea rdx, [rdx + 0x10]
pcmpgtd xmm0, xmm1
movq xmm2, xmm7
pand xmm0, xmm6
add ecx, 8
paddd xmm0, xmm1
psrad xmm0, xmm4
pslld xmm0, xmm4
psubd xmm1, xmm0
pshuflw xmm0, xmm1, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 0x10]
pshufd xmm3, xmm1, 0xd8
movd xmm1, eax
paddw xmm3, xmm2
pshufd xmm1, xmm1, 0
pxor xmm3, xmm0
movq qword [rdx - 0x10], xmm3
xorps xmm0, xmm0
paddd xmm1, xmm5
movq xmm2, xmm7
pcmpgtd xmm0, xmm1
pand xmm0, xmm6
paddd xmm0, xmm1
psrad xmm0, xmm4
pslld xmm0, xmm4
psubd xmm1, xmm0
pshuflw xmm0, xmm1, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rdx - 8], xmm3
cmp ecx, 0x28
jl 0x180002190
cmp ecx, 0x2d
jge 0x180002272
movsxd rax, ecx
lea rdx, [rsp + 0x60]
lea rdx, [rdx + rax*2]
nop
mov eax, ecx
and eax, 0x8000003f
jge 0x180002260
dec eax
or eax, 0xffffffc0
inc eax
add ax, 0x36
inc ecx
xor word [rdx], ax
add rdx, 2
cmp ecx, 0x2d
jl 0x180002250
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.180007e70
movzx ecx, bx
mov qword [0x1800279b0], rax
mov eax, ecx
shl rcx, 0x10
or rcx, rax
mov rax, rcx
shl rcx, 0x20
or rcx, rax
mov qword [rbp - 0x50], rcx
mov word [rbp - 0x48], cx
movq xmm0, rcx
movlhps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
cmp word [rbp + 0xb6], bx
je 0x1800023e2
mov ecx, ebx
cmp edi, 2
jl 0x1800023b2
movdqa xmm5, xmmword [0x1800220f0]
lea rdx, [rbp + 0x60]
movdqa xmm6, xmmword [str.____]
movdqa xmm7, xmmword [0x180022110]
movd xmm4, esi
nop dword [rax]
xorps xmm0, xmm0
movd xmm1, ecx
pshufd xmm1, xmm1, 0
lea eax, [rcx + 4]
paddd xmm1, xmm5
lea rdx, [rdx + 0x10]
pcmpgtd xmm0, xmm1
movq xmm2, xmm7
pand xmm0, xmm6
add ecx, 8
paddd xmm0, xmm1
psrad xmm0, xmm4
pslld xmm0, xmm4
psubd xmm1, xmm0
pshuflw xmm0, xmm1, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 0x10]
pshufd xmm3, xmm1, 0xd8
movd xmm1, eax
paddw xmm3, xmm2
pshufd xmm1, xmm1, 0
pxor xmm3, xmm0
movq qword [rdx - 0x10], xmm3
xorps xmm0, xmm0
paddd xmm1, xmm5
movq xmm2, xmm7
pcmpgtd xmm0, xmm1
pand xmm0, xmm6
paddd xmm0, xmm1
psrad xmm0, xmm4
pslld xmm0, xmm4
psubd xmm1, xmm0
pshuflw xmm0, xmm1, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rdx - 8], xmm3
cmp ecx, 0x28
jl 0x180002300
cmp ecx, 0x2c
jge 0x1800023e2
movsxd rax, ecx
lea rdx, [rbp + 0x60]
lea rdx, [rdx + rax*2]
nop dword [rax]
mov eax, ecx
and eax, 0x8000003f
jge 0x1800023d0
dec eax
or eax, 0xffffffc0
inc eax
add ax, 0x36
inc ecx
xor word [rdx], ax
add rdx, 2
cmp ecx, 0x2c
jl 0x1800023c0
xor edx, edx
lea rcx, [rbp + 0x60]
call fcn.180007e70
movzx ecx, bx
mov qword [0x1800279a8], rax
mov eax, ecx
shl rcx, 0x10
or rcx, rax
mov rax, rcx
shl rcx, 0x20
or rcx, rax
mov qword [rbp + 0xb0], rcx
movq xmm0, rcx
movlhps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
cmp word [rbp + 0x106], bx
je 0x180002552
cmp edi, 2
jl 0x180002522
movdqa xmm5, xmmword [0x1800220f0]
lea rcx, [rbp + 0xc0]
movdqa xmm6, xmmword [str.____]
movdqa xmm7, xmmword [0x180022110]
movd xmm4, esi
nop
xorps xmm0, xmm0
movd xmm1, ebx
pshufd xmm1, xmm1, 0
lea eax, [rbx + 4]
paddd xmm1, xmm5
lea rcx, [rcx + 0x10]
pcmpgtd xmm0, xmm1
movq xmm2, xmm7
pand xmm0, xmm6
add ebx, 8
paddd xmm0, xmm1
psrad xmm0, xmm4
pslld xmm0, xmm4
psubd xmm1, xmm0
pshuflw xmm0, xmm1, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
movd xmm1, eax
paddw xmm3, xmm2
pshufd xmm1, xmm1, 0
pxor xmm3, xmm0
movq qword [rcx - 0x10], xmm3
xorps xmm0, xmm0
paddd xmm1, xmm5
movq xmm2, xmm7
pcmpgtd xmm0, xmm1
pand xmm0, xmm6
paddd xmm0, xmm1
psrad xmm0, xmm4
pslld xmm0, xmm4
psubd xmm1, xmm0
pshuflw xmm0, xmm1, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp ebx, 0x20
jl 0x180002470
cmp ebx, 0x24
jge 0x180002552
movsxd rax, ebx
lea rcx, [rbp + 0xc0]
lea rcx, [rcx + rax*2]
mov eax, ebx
and eax, 0x8000003f
jge 0x180002540
dec eax
or eax, 0xffffffc0
inc eax
add ax, 0x36
inc ebx
xor word [rcx], ax
add rcx, 2
cmp ebx, 0x24
jl 0x180002530
xor edx, edx
lea rcx, [rbp + 0xc0]
call fcn.180007e70
mov qword [0x180027990], rax
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.180008760
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret