Function at 0x14005c220
Capabilities:
Encode data using xor

Disassembly:
xchg r10, rsp
mov r11, r10
xchg r10, rsp
push rbx
nop
sub rsp, 8
mov qword [rsp], rsi
add rsp, 0x2576c1c1
sub rsp, 0x2576c269
xorps xmm0, xmm0
mov dword [rsp - 0x34], 0x1c936465
mov qword [r11 + 8], rbp
mov eax, 0x2b1b9ded
xor eax, 0x65e76bde
xor eax, 0x6e1b60a8
add eax, 0x54525db1
xor eax, 0x7539f473
xchg r14, r8
mov qword [r11 + 0x20], r8
xchg r8, r14
cmp r9d, eax
mov dword [rsp - 0x10], 0x4ab4073a
xchg r15, r13
mov qword [r11 - 0x18], r13
xchg r15, r13
xchg rsp, rbp
movups xmmword [rbp + 0x20], xmm0
xchg rbp, rsp
cmovbe eax, r9d
xchg r12, rbp
mov r12, r8
xchg rbp, r12
movups xmmword [rsp + 0x30], xmm0
xchg rcx, rcx
xor ebx, ebx
xchg rdx, rsi
mov rdx, rsi
xchg rsi, rdx
movsxd r14, eax
xchg rbp, rbp
xchg r12, rcx
mov r15, r12
xchg rcx, r12
xchg r15, rsp
movups xmmword [r15 + 0x40], xmm0
xchg r15, rsp
xchg rcx, rsp
movups xmmword [rcx + 0x50], xmm0
xchg rcx, rsp
xchg r15, rsp
movups xmmword [r15 + 0x60], xmm0
xchg r15, rsp
movups xmmword [rsp + 0x70], xmm0
mov rsi, rsi
xchg r10, r11
movups xmmword [r10 - 0x38], xmm0
xchg r11, r10
xchg r11, r12
movups xmmword [r12 - 0x28], xmm0
xchg r11, r12
test eax, eax
mov dword [rsp - 0x10], 0x3573ec61
jle 0x14005c2cc
mov qword [r11 + 0x10], rdi
mov edi, ebx
mov dword [rsp - 0x18], ecx
xchg r12, rbp
mov qword [r11 + 0x18], rbp
xchg rbp, r12
movabs r12, 0x533ce5926
add r12, 0x238a1aa1
sub r12, 0x17f57071
add r12, 0x7fffffff
add r12, 0x1f89e318
mov ecx, dword [rbp + 0x38]
test ecx, ecx
mov dword [rsp - 0x34], 0x241bc548
jg 0x14005c264
mov edx, ebx
jmp 0x14005c28f
mov rax, qword [r15]
mov rcx, rcx
imul rax, r12
add rax, 0xb
mov qword [r15], rax
xchg rsi, rsi
shr rax, 7
shr rax, 7
shr rax, 2
and eax, 0x7fff
cdq
idiv ecx
mov r11, r11
movsxd rdx, edx
xchg rdi, rcx
mov rdi, rbp
xchg rdi, rcx
call fcn.140058a50
xchg r13, r13
mov word [rsp + rdi*2 + 0x20], ax
inc rdi
cmp rdi, r14
mov dword [rsp - 0x20], 0x7441e472
jl 0x14005c24a
mov r12, qword [rsp + 0xd0]
mov rdi, qword [rsp + 0xc8]
xchg r15, r13
mov r13, qword [rsp + 0xa0]
xchg r15, r13
lea rax, [rsi + 8]
xchg rsp, rsp
mov r14, qword [rsp + 0xd8]
xorps xmm0, xmm0
xchg rbx, rbp
mov rbx, qword [rsp + 0xc0]
xchg rbx, rbp
nop
movabs rdx, 0xffffffff3b0a4046
sub rdx, 0x1feff6ea
add rdx, 0xdb05692
add rdx, 0x7fffffff
add rdx, 0x57356012
xchg r11, rax
mov qword [rsi], r11
xchg r11, rax
movups xmmword [rax], xmm0
mov dword [rsp - 0x20], 0x1cc756da
movups xmmword [rax + 0x10], xmm0
xchg r14, rax
movups xmmword [r14 + 0x20], xmm0
xchg r14, rax
lea rax, [rsp + 0x20]
nop dword [rax + rax]
mov dword [rsp - 0x34], 0x5c0e9659
inc rdx
cmp word [rax + rdx*2], bx
jne 0x14005c352
mov dword [rsp - 0x24], 0x2b9b3259
xchg rsi, rcx
mov rsi, rcx
xchg rsi, rcx
xchg rdx, r15
mov qword [rsi + 0x38], r15
xchg rdx, r15
call fcn.140016fc0
mov edx, 0x2c14f758
sub edx, 0x167f82d7
add edx, 0x4a1127fe
sub edx, 0x5bff1f65
cmp qword [rsi + 0x38], rbx
jbe 0x14005c400
mov dword [rsp - 0x24], edi
lea r8, [rsp + 0x20]
mov r9d, 0x606027a8
sub r9d, 0xcd7156f
xor r9d, 0x263e71a3
sub r9d, 0x38e1fe37
xor r9d, 0x3cd5659c
sub r8, rax
mov rbp, rbp
nop
movzx ecx, dx
lea rax, [rax + 2]
and cx, r9w
mov dword [rsp - 0x1c], ebx
ror edx, 8
xor cx, word [r8 + rax - 2]
inc rbx
mov word [rax - 2], cx
mov dword [rsp - 0x40], edi
cmp rbx, qword [rsi + 0x38]
jb 0x14005c3d3
xchg r10, rax
mov r10, rsi
xchg r10, rax
sub rsp, 0xffffffffffffff58
mov r15, r15
nop
mov rsi, qword [rsp]
add rsp, 8
nop
mov rbx, qword [rsp]
add rsp, 8
ret