Function at 0x1400216f7
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rdi
mov dword [rsp - 0x30], ebp
push r14
sub rsp, 0xb0
mov edi, edx
xchg rbp, rbp
xchg rcx, rbx
mov rcx, rbx
xchg rcx, rbx
lea rdx, [rsp + 0xe0]
call fcn.14003ddf0
mov rbx, rbx
xchg rdx, rdi
mov rdi, rax
xchg rdx, rdi
xchg rcx, rbx
mov rbx, rcx
xchg rcx, rbx
call fcn.14003e89c
mov dword [rsp - 0x1c], esp
xchg r14, rcx
mov rcx, rax
xchg rcx, r14
test rax, rax
mov dword [rsp - 0x34], 0x5912ecb6
je 0x1400219fe
mov r9, qword [0x1400c8d10]
lea rcx, [0x140000000]
mov rbp, rbp
xchg rbp, rdx
mov qword [rsp + 0xd0], rdx
xchg rbp, rdx
mov qword [rsp + 0xd8], rsi
xchg r12, rcx
mov qword [rsp + 0xe8], rcx
xchg r12, rcx
movabs r12, 0x5073338f73362fcf
sub r12, 0x3ddf73de
add r12, 0x1dd05b2c
add r12, 0xa0bad1
xor r12, 0xe7e32e
xchg r15, r13
mov qword [rsp + 0xa8], r15
xchg r15, r13
xor r9, r12
mov dword [rsp - 0x2c], ecx
xchg rdi, r15
mov qword [rsp + 0xa0], rdi
xchg rdi, r15
xor r15d, r15d
mov rcx, rcx
movzx edx, di
mov ebp, r15d
mov esi, r15d
lea r8d, [r15 + 0xa]
mov dword [rsp - 0x20], 0x1f86f07
call r9
lea r13, [r15 - 1]
mov rbx, rax
mov rbp, rbp
test rax, rax
je 0x14002177b
mov r8, qword [0x1400c8d20]
mov r9, r9
lea rcx, [0x140000000]
xor r8, r12
xchg r9, rdx
mov r9, rax
xchg rdx, r9
call r8
mov dword [rsp - 0x20], 0xa2c6c35
mov rdi, rax
test rax, rax
je 0x14002177b
mov r8, qword [0x1400c8d30]
mov dword [rsp - 0x10], ecx
lea rcx, [0x140000000]
xor r8, r12
xchg rdx, rbx
mov rbx, rdx
xchg rbx, rdx
call r8
mov ecx, eax
mov r13, r13
mov esi, eax
mov eax, 0x5fe8d0f8
sub eax, 0x20960922
xor eax, 0x6d4a176
add eax, 0x261454e7
xor eax, 0x5f9abb83
shr rcx, 2
mov rbx, rbx
mul rcx
cmovo rax, r13
xchg rcx, rbp
mov rbp, rax
xchg rcx, rbp
call fcn.140077b60
mov r8d, esi
xchg r11, rdi
mov rdx, r11
xchg r11, rdi
xchg rcx, rax
mov rax, rcx
xchg rcx, rax
xchg rbp, rax
mov rax, rbp
xchg rbp, rax
call fcn.140077ff0
lea r8, [rsi + rbp]
mov dword [rsp - 0x3c], 0x2debb77b
xchg rcx, rbp
mov rbp, rcx
xchg rbp, rcx
cmp rbp, r8
xchg rsi, rsi
jae 0x14002177b
nop word [rax + rax]
xor dword [rcx], 0x7ee01212
mov r8, r8
mov edx, dword [rcx]
cmp edx, 0xff00ff00
cmove edx, r15d
mov dword [rsp - 0x40], 0x5b69f1c0
mov dword [rcx], edx
neg rcx
add rcx, 0xfffffffffffffffc
neg rcx
cmp rcx, r8
jb 0x140021749
lea rcx, [0x1400011e0]
mov dword [rsp - 0x44], edi
mov qword [rsp + 0x98], 0x243728ad
add qword [rsp + 0x98], 0x15c7b344
add qword [rsp + 0x98], 0x312a04bf
sub qword [rsp + 0x98], 0x6b28e098
xchg rbx, rcx
mov qword [rsp + 0x20], rbx
xchg rcx, rbx
mov eax, 0x50d11cf9
sub eax, 0x1334ca3d
xor eax, 0xb00b602
add eax, 0x175b4d9d
sub eax, 0x4df83257
mov ecx, esi
shr rcx, 1
shr rcx, 1
mul rcx
cmovo rax, r13
mov dword [rsp - 0x18], 0x3082fff1
xchg rsp, rax
mov rcx, rsp
xchg rsp, rax
call fcn.140077b60
mov r8d, esi
mov rbp, rbp
xchg rbp, rdx
mov rbp, rdx
xchg rdx, rbp
xchg rcx, rax
mov rax, rcx
xchg rcx, rax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], esi
mov r14, r14
call fcn.140077ff0
xchg rbp, r13
mov rbp, qword [rsp + 0xa8]
xchg rbp, r13
lea rcx, [r14 + 0x10]
mov rax, qword [rcx + 0x280]
mov r13, r13
xchg r10, r12
mov r10, qword [rsp + 0xe8]
xchg r10, r12
cmp rax, 5
xchg rbx, rbx
jae 0x14002193f
xchg r11, rsi
mov r11, rax
xchg r11, rsi
shl rsi, 5
shl rsi, 1
shl rsi, 1
add rsi, rcx
xchg rsi, rsi
inc rax
mov qword [rcx + 0x280], rax
mov rax, qword [rsp + 0x98]
mov qword [rsi + 0x78], rax
xchg r9, r9
cmp rax, 0x78
jbe 0x1400218e9
xchg r12, rdi
mov r12, qword [rsp + 0x20]
xchg r12, rdi
mov rcx, qword [rsp + 0x98]
mov dword [rsp - 0x34], esi
xchg r14, rax
mov r14, qword [rdi]
xchg r14, rax
xchg rdx, rbx
mov rdx, qword [rax + 0x10]
xchg rbx, rdx
call fcn.140077eb0
mov dword [rsp - 0x38], 0x245d21be
xchg rsp, rax
mov rdx, rsp
xchg rsp, rax
xchg rcx, rdi
mov rdi, rcx
xchg rdi, rcx
call rbx
xchg rcx, rcx
mov qword [rsi], rax
jmp 0x14002193f
cmp qword [rsp + 0x98], r15
jbe 0x14002193f
xchg rsp, rsp
mov rax, qword [rsp + 0x20]
lea rcx, [rsp + 0x20]
xchg rdx, rsp
mov rsp, rsi
xchg rdx, rsp
xchg rdi, r8
mov rdi, qword [rax + 0x10]
xchg r8, rdi
lea rax, [fcn.140021160]
cmp r8, rax
mov dword [rsp - 0x38], 0x5640be44
jne 0x140021939
call fcn.140021160
jmp 0x14002193f
call r8
mov rsp, rsp
cmp qword [rsp + 0x98], 0x78
xchg rsi, r11
mov r11, qword [rsp + 0xd8]
xchg r11, rsi
jbe 0x14002198b
mov r13, r13
mov rcx, qword [rsp + 0x20]
xor edx, edx
mov rax, qword [rcx]
call qword [rax]
mov dword [rsp - 0x10], 0x264648b4
xchg rcx, r9
mov r9, qword [rsp + 0x20]
xchg r9, rcx
call fcn.140077cf0
mov r12, r12
jmp 0x1400219af
cmp qword [rsp + 0x98], r15
jbe 0x1400219af
mov rax, qword [rsp + 0x20]
mov dword [rsp - 0x3c], 0x33b53c36
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [rax]
xchg rsi, rcx
mov rsi, rbp
xchg rsi, rcx
xchg r14, r15
mov qword [rsp + 0x98], r14
xchg r14, r15
call fcn.140077b70
mov rax, qword [r14]
mov dword [rsp - 0x40], 0x2f8a66cd
xchg r14, r13
mov rcx, r13
xchg r13, r14
call qword [rax + 8]
xchg r10, r15
mov r10, qword [rsp + 0xa0]
xchg r10, r15
xchg rbp, r8
mov r8, qword [rsp + 0xd0]
xchg r8, rbp
neg rsp
add rsp, 0xffffffffffffff50
neg rsp
nop
mov r14, qword [rsp]
add rsp, 8
nop
mov rdi, qword [rsp]
add rsp, 8
nop
mov rbx, qword [rsp]
add rsp, 8
ret