Function at 0x1400021c0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rdi
mov rbp, rsp
sub rsp, 0x58
mov qword [rax + 8], rbx
test cl, 1
mov qword [rax + 0x10], rsi
mov esi, ecx
mov qword [rax + 0x18], r12
mov ecx, 1
mov qword [rax + 0x20], r14
mov qword [rax - 0x18], r15
movzx eax, byte [0x14000f175]
cmovne eax, ecx
lea rdi, [rcx - 2]
mov byte [0x14000f175], al
test sil, 2
movzx eax, byte [0x14000f176]
cmovne eax, ecx
test sil, 4
mov byte [0x14000f176], al
movzx eax, byte [0x14000f177]
cmovne eax, ecx
mov byte [0x14000f177], al
test sil, 0x10
je 0x140002290
cmp word [0x14000b6ba], 0
movsd xmm0, qword [str.WEQXV_]
mov eax, dword [0x14000b6b8]
movsd qword [rbp - 0x38], xmm0
mov dword [rbp - 0x30], eax
je 0x14000226e
xor word [rbp - 0x36], 0x37
mov eax, 0x61
xor word [rbp - 0x34], 0x38
xor word [rbp - 0x32], 0x39
xor word [rbp - 0x30], 0x3a
xor word [rbp - 0x2e], 0x3b
mov word [rbp - 0x38], ax
lea rax, [rbp - 0x38]
mov r8, rdi
inc r8
cmp word [rax + r8*2], 0
jne 0x140002275
lea rdx, [rbp - 0x38]
lea rcx, [0x14000f008]
call fcn.1400034f0
mov r14d, dword [reloc.d2d1.dll_Ordinal_1]
xor ebx, ebx
movaps xmmword [rsp + 0x40], xmm6
lea r15d, [rbx + 4]
lea r12d, [rbx + 0x1f]
test sil, 0x20
je 0x140002410
movups xmm0, xmmword [str.uXMKSNuVTPXIUqVZKSTP_]
pextrw eax, xmm0, 7
movups xmmword [rbp - 0x38], xmm0
test ax, ax
je 0x1400023ef
mov r8d, ebx
cmp r14d, 2
jl 0x1400023bd
movdqa xmm2, xmmword [0x14000b7a0]
movdqa xmm3, xmmword [0x14000b7b0]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x14000b810]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r15d
movd xmm5, r12d
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14000b7c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [str.uXMKSNuVTPXIUqVZKSTP_]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
paddw xmm2, xmmword [0x14000b7d0]
pxor xmm2, xmm0
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movq qword [rbp - 0x38], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14000b7c0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rbp - 0x30]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x14000b7d0]
pxor xmm2, xmm0
movq qword [rbp - 0x30], xmm2
jmp 0x1400023ef
lea r9, [rbp - 0x38]
mov eax, 0x51eb851f
lea r9, [r9 + 2]
mul r8d
shr edx, 4
movzx eax, dx
imul ecx, eax, 0x32
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x36
xor word [r9 - 2], ax
cmp r8d, 8
jl 0x1400023c1
lea rax, [rbp - 0x38]
mov r8, rdi
inc r8
cmp word [rax + r8*2], bx
jne 0x1400023f6
lea rdx, [rbp - 0x38]
lea rcx, [0x14000f008]
call fcn.1400034f0
test sil, 8
je 0x14000257c
movups xmm0, xmmword [0x14000b6d0]
pextrw eax, xmm0, 7
movups xmmword [rbp - 0x38], xmm0
test ax, ax
je 0x14000255a
cmp r14d, 2
jl 0x14000252c
movdqa xmm2, xmmword [0x14000b7a0]
movdqa xmm4, xmmword [0x14000b810]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r15d
movd xmm5, r12d
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14000b7c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, qword [0x14000b7d0]
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [0x14000b6d0]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movdqa xmm2, xmmword [0x14000b7b0]
pxor xmm3, xmm0
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movq qword [rbp - 0x38], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14000b7c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, qword [0x14000b7d0]
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rbp - 0x30]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rbp - 0x30], xmm3
jmp 0x14000255a
lea r8, [rbp - 0x38]
mov eax, 0x51eb851f
lea r8, [r8 + 2]
mul ebx
shr edx, 4
movzx eax, dx
imul ecx, eax, 0x32
movzx eax, bx
inc ebx
sub ax, cx
add ax, 0x36
xor word [r8 - 2], ax
cmp ebx, 8
jl 0x140002530
lea rax, [rbp - 0x38]
mov r8, rdi
inc r8
cmp word [rax + r8*2], 0
jne 0x140002561
lea rdx, [rbp - 0x38]
lea rcx, [0x14000f008]
call fcn.1400034f0
movaps xmm6, xmmword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
mov r14, qword [rsp + 0x88]
mov r12, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x70]
test sil, 0x40
je 0x14000260d
movzx eax, word [0x14000b6f0]
mov ecx, 0x47
movups xmm0, xmmword [0x14000b6e0]
mov r8, rdi
movups xmmword [rbp - 0x38], xmm0
xor word [rbp - 0x36], 0x37
xor word [rbp - 0x34], 0x38
xor word [rbp - 0x32], 0x39
xor word [rbp - 0x30], 0x3a
xor word [rbp - 0x2e], 0x3b
xor word [rbp - 0x2c], 0x3c
xor word [rbp - 0x2a], 0x3d
xor ax, 0x3e
mov word [rbp - 0x38], cx
mov word [rbp - 0x28], ax
lea rax, [rbp - 0x38]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400025f2
lea rdx, [rbp - 0x38]
lea rcx, [0x14000f008]
call fcn.1400034f0
test sil, sil
mov rsi, qword [rsp + 0x78]
jns 0x140002683
mov eax, dword [0x14000b700]
mov ecx, 0x49
movsd xmm0, qword [0x14000b6f8]
mov dword [rbp - 0x30], eax
movzx eax, word [0x14000b704]
xor word [rbp - 0x30], 0x3a
xor word [rbp - 0x2e], 0x3b
movsd qword [rbp - 0x38], xmm0
xor word [rbp - 0x36], 0x37
xor word [rbp - 0x34], 0x38
xor word [rbp - 0x32], 0x39
xor ax, 0x3c
mov word [rbp - 0x38], cx
mov word [rbp - 0x2c], ax
lea rax, [rbp - 0x38]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140002666
mov r8, rdi
lea rdx, [rbp - 0x38]
lea rcx, [0x14000f008]
call fcn.1400034f0
add rsp, 0x58
pop rdi
pop rbp
ret