Function at 0x140066c21
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov dword [rsp - 0x3c], 0x33090e9f
push rbx
push rsi
add rsp, 0xffffffffffffff58
xorps xmm0, xmm0
mov dword [rsp - 0x30], 0x5c1ed54b
xchg rbp, rsp
mov qword [r11 + 8], rsp
xchg rsp, rbp
mov eax, 0x5d1053b0
sub eax, 0x2f499472
sub eax, 0x2826ad45
add eax, 0x50f5f0fb
xor eax, 0x569602cb
mov qword [r11 + 0x20], r14
cmp r9d, eax
xchg r13, r15
mov qword [r11 - 0x18], r13
xchg r15, r13
xchg rbx, rsp
movups xmmword [rbx + 0x20], xmm0
xchg rbx, rsp
cmovbe eax, r9d
xchg r8, r14
mov rbp, r14
xchg r14, r8
xchg rdi, rsp
movups xmmword [rdi + 0x30], xmm0
xchg rdi, rsp
xor ebx, ebx
mov dword [rsp - 0x2c], ebp
mov rsi, rdx
movsxd r14, eax
xchg rcx, r9
mov r15, r9
xchg r9, rcx
xchg r13, rsp
movups xmmword [r13 + 0x40], xmm0
xchg r13, rsp
xchg rsp, r8
movups xmmword [r8 + 0x50], xmm0
xchg r8, rsp
xchg rcx, rsp
movups xmmword [rcx + 0x60], xmm0
xchg rsp, rcx
xchg rsp, rcx
movups xmmword [rcx + 0x70], xmm0
xchg rsp, rcx
xchg r11, r10
movups xmmword [r10 - 0x38], xmm0
xchg r10, r11
xchg r11, rbx
movups xmmword [rbx - 0x28], xmm0
xchg rbx, r11
test eax, eax
xchg r15, r15
jle 0x140066d58
xchg rdi, r13
mov qword [r11 + 0x10], r13
xchg rdi, r13
mov edi, ebx
mov dword [rsp - 0x2c], edx
xchg r14, r12
mov qword [r11 + 0x18], r14
xchg r14, r12
movabs r12, 0x51ca76757
add r12, 0x4e6831f7
sub r12, 0x3b12c192
add r12, 0x4c068a11
add r12, 0x62e984a0
mov ecx, dword [rbp + 0x38]
mov dword [rsp - 0x20], edi
test ecx, ecx
jg 0x140066cf1
mov edx, ebx
mov dword [rsp - 0x24], 0x500676ff
jmp 0x140066d20
mov rax, qword [r15]
imul rax, r12
sub rax, 0xfffffffffffffff5
xchg rdx, rdx
mov qword [r15], rax
shr rax, 2
shr rax, 2
shr rax, 9
shr rax, 2
shr rax, 1
and eax, 0x7fff
cdq
mov rdi, rdi
idiv ecx
movsxd rdx, edx
xchg rbp, rcx
mov rbp, rcx
xchg rcx, rbp
call fcn.140063540
mov r13, r13
mov word [rsp + rdi*2 + 0x20], ax
inc rdi
cmp rdi, r14
xchg r12, r12
jl 0x140066cd3
mov r12, qword [rsp + 0xd0]
mov rdi, qword [rsp + 0xc8]
xchg r15, rdi
mov rdi, qword [rsp + 0xa0]
xchg rdi, r15
lea rax, [rsi + 8]
mov dword [rsp - 0x38], 0x62ddd0f5
xchg r14, rcx
mov rcx, qword [rsp + 0xd8]
xchg rcx, r14
xorps xmm0, xmm0
mov dword [rsp - 0x18], ecx
xchg rdi, rbp
mov rdi, qword [rsp + 0xc0]
xchg rdi, rbp
nop
movabs rdx, 0xffffffff68ce18d1
xor rdx, 0x77885faf
add rdx, 0x30f14ed6
add rdx, 0x7fffffff
add rdx, 0x2fc869ac
mov qword [rsi], rax
mov dword [rsp - 0x44], 0x4f184a7a
xchg r12, rax
movups xmmword [r12], xmm0
xchg r12, rax
xchg rdx, rax
movups xmmword [rdx + 0x10], xmm0
xchg rdx, rax
xchg r11, rax
movups xmmword [r11 + 0x20], xmm0
xchg r11, rax
lea rax, [rsp + 0x20]
nop dword [rax + rax]
mov dword [rsp - 0x2c], 0xda9ce4c
inc rdx
cmp word [rax + rdx*2], bx
jne 0x140066df3
xchg rsi, rcx
mov rsi, rcx
xchg rsi, rcx
xchg rdx, r14
mov qword [rsi + 0x38], r14
xchg rdx, r14
call fcn.14001739c
mov edx, 0x28f5ce0f
add edx, 0x2a9d37c
add edx, 0x23edc3ba
xor edx, 0x50efb47b
xor edx, 0x2e51d70c
cmp qword [rsi + 0x38], rbx
jbe 0x140066ea8
xchg r12, r12
lea r8, [rsp + 0x20]
mov r9d, 0x30dd789b
sub r9d, 0x265c5641
add r9d, 0x6f667ae1
sub r9d, 0x5e10698e
sub r9d, 0x1bd732ae
sub r8, rax
nop
movzx ecx, dx
xchg rdi, rdi
lea rax, [rax + 2]
and cx, r9w
ror edx, 1
ror edx, 1
ror edx, 2
ror edx, 2
ror edx, 1
ror edx, 1
xor cx, word [r8 + rax - 2]
inc rbx
mov dword [rsp - 0x14], edi
mov word [rax - 2], cx
cmp rbx, qword [rsi + 0x38]
jb 0x140066e6e
mov r12, r12
xchg r13, rsi
mov rax, r13
xchg r13, rsi
add rsp, 0x2e7bb39f
sub rsp, 0x2e7bb2f7
nop
mov rsi, qword [rsp]
add rsp, 8
nop
mov rbx, qword [rsp]
add rsp, 8
ret