Function at 0x140125b50
Capabilities:
Encode data using xor

Disassembly:
xchg rdi, rax
mov rdi, rsp
xchg rdi, rax
mov qword [rax + 8], rbx
xchg rsi, r15
mov qword [rax + 0x10], r15
xchg r15, rsi
xchg rdi, r11
mov qword [rax + 0x18], r11
xchg rdi, r11
mov qword [rax + 0x20], r12
nop
mov qword [rsp - 8], rbp
sub rsp, 8
nop
mov qword [rsp - 8], r14
sub rsp, 8
push r15
mov rsp, rsp
lea rbp, [rax - 0x5f]
add rsp, 0xffffffffffffff60
mov rsi, rdx
lea rdx, [rbp + 7]
mov dword [rsp - 0x30], edx
call fcn.140125760
xchg r11, r15
mov r11, qword [rbp + 0x3f]
xchg r15, r11
lea rax, [rbp - 0x31]
mov dword [rsp - 0xc], esi
mov rbx, qword [rbp + 7]
lea rcx, [rbp - 0x39]
xorps xmm0, xmm0
xchg rcx, rax
mov qword [rbp - 0x39], rcx
xchg rcx, rax
xchg rbp, r11
movups xmmword [r11 - 0x31], xmm0
xchg r11, rbp
lea rdx, [r15 + 1]
xchg rbx, rbp
movups xmmword [rbx - 0x21], xmm0
xchg rbx, rbp
xchg rdi, rbp
movups xmmword [rdi - 0x11], xmm0
xchg rbp, rdi
call fcn.140017b4c
mov dword [rsp - 0x1c], 0x157d19c4
xor edi, edi
mov r14d, 0x1dc18028
add r14d, 0x5572196e
add r14d, 0x412dc9e
xor r14d, 0x77e3bfa1
xor r14d, 0x1a7afa7e
xchg rdi, rax
mov r8, rdi
xchg rdi, rax
mov edx, r14d
mov dword [rsp - 0x10], ecx
mov r12d, 0x60b4d841
xor r12d, 0x52e86748
sub r12d, 0x26523080
sub r12d, 0xc0a8d8a
test r15, r15
je 0x140125c9b
mov dword [rsp - 0x24], esi
xchg rcx, rax
mov rax, rcx
xchg rcx, rax
sub rbx, rax
xchg rbp, r15
mov r9, rbp
xchg rbp, r15
movzx eax, dx
mov dword [rsp - 0x30], ecx
ror edx, 6
ror edx, 1
ror edx, 1
and ax, r12w
xor ax, word [rbx + rcx]
mov word [rcx], ax
mov r13, r13
lea rcx, [rcx + 2]
sub r9, 1
jne 0x140125c69
mov dword [rsp - 0x28], 0x706f0986
mov word [r8 + r15*2], di
mov edx, 0xdc06bc5
add edx, 0x5fc4a828
sub edx, 0x5c1294b3
sub edx, 0x11727f0c
xchg rcx, r9
mov r9, qword [rbp - 0x39]
xchg rcx, r9
call fcn.14009a5a0
xchg rdi, rdi
lea rcx, [rsi + 8]
xorps xmm0, xmm0
test rax, rax
je 0x140125d78
mov dword [rsp - 0x34], 0x2a003f57
mov word [rax], di
or rdx, 0xffffffffffffffff
mov rbx, qword [rbp - 0x39]
mov qword [rsi], rcx
mov r10, r10
movups xmmword [rcx], xmm0
xchg rcx, rdx
movups xmmword [rdx + 0x10], xmm0
xchg rcx, rdx
xchg r13, rcx
movups xmmword [r13 + 0x20], xmm0
xchg r13, rcx
inc rdx
mov dword [rsp - 0x40], esi
cmp word [rbx + rdx*2], di
jne 0x140125d0a
xchg rcx, rsi
mov rsi, rcx
xchg rsi, rcx
mov qword [rsi + 0x38], rdx
call fcn.140017b4c
xchg r13, r13
cmp qword [rsi + 0x38], rdi
jbe 0x140125ded
sub rbx, rax
mov dword [rsp - 0x30], 0x4a4d0d34
movzx ecx, r14w
inc rdi
and cx, r12w
ror r14d, 7
ror r14d, 1
xor cx, word [rbx + rax]
mov word [rax], cx
mov dword [rsp - 0x10], esi
lea rax, [rax + 2]
cmp rdi, qword [rsi + 0x38]
jb 0x140125d45
xchg r11, r11
jmp 0x140125ded
mov rdx, qword [rbp + 0x3f]
xchg rdi, rcx
mov qword [rsi], rdi
xchg rdi, rcx
xchg r15, rcx
movups xmmword [r15], xmm0
xchg r15, rcx
xchg rcx, r15
movups xmmword [r15 + 0x10], xmm0
xchg r15, rcx
xchg r15, rcx
movups xmmword [r15 + 0x20], xmm0
xchg rcx, r15
xchg rsi, rcx
mov rsi, rcx
xchg rsi, rcx
xchg r10, rdx
mov qword [rsi + 0x38], r10
xchg r10, rdx
call fcn.140017b4c
cmp qword [rsi + 0x38], rdi
mov dword [rsp - 0x10], edx
jbe 0x140125ded
xchg r14, rcx
mov r14, qword [rbp + 7]
xchg r14, rcx
movzx edx, word [rcx + rdi*2]
mov word [rax + rdi*2], dx
inc rdi
xchg rbp, rbp
cmp rdi, qword [rsi + 0x38]
jb 0x140125dcb
xchg rcx, r15
mov r15, qword [rbp - 0x39]
xchg rcx, r15
lea rax, [rbp - 0x31]
mov ebx, 0x52499d9f
xor ebx, 0x2386e5ba
sub ebx, 0x582bbd97
xor ebx, 0x19a3babe
cmp rcx, rax
mov dword [rsp - 0x40], ebp
jne 0x140125e31
lea rdi, [rbp - 0x31]
xor eax, eax
mov rsp, rsp
mov ecx, ebx
rep stosb byte [rdi], al
jmp 0x140125e39
call fcn.1400992c0
mov rsp, rsp
mov rcx, qword [rbp + 7]
lea rax, [rbp + 0xf]
cmp rcx, rax
jne 0x140125e66
mov dword [rsp - 0x28], ebx
mov rcx, rbx
lea rdi, [rbp + 0xf]
xor eax, eax
rep stosb byte [rdi], al
mov dword [rsp - 0x38], 0x6b5c3193
jmp 0x140125e6e
call fcn.1400992c0
mov r10, r10
lea r11, [rsp + 0xa0]
xchg r9, rax
mov r9, rsi
xchg r9, rax
xchg r8, rbx
mov r8, qword [r11 + 0x20]
xchg r8, rbx
mov rsi, qword [r11 + 0x28]
xchg rdi, rdi
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
nop
add rsp, 8
mov r15, qword [rsp - 8]
pop r14
mov dword [rsp - 0x14], edi
nop
mov rbp, qword [rsp]
add rsp, 8
ret