Function at 0x1400cf100
Capabilities:
Encrypt data using hc-128

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x168
mov rax, qword [0x14014d470]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x170]
add rax, 0x10
mov qword [rsp + 0x10], rax
mov dword [rsp], 0
jmp 0x1400cf140
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
cmp dword [rsp], 0x10
jge 0x1400cf1e0
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax]
shl eax, 0x18
mov dword [rsp + 0xc], eax
mov rax, qword [rsp + 0x10]
inc rax
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax]
shl eax, 0x10
mov ecx, dword [rsp + 0xc]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0xc], eax
mov rax, qword [rsp + 0x10]
inc rax
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax]
shl eax, 8
mov ecx, dword [rsp + 0xc]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0xc], eax
mov rax, qword [rsp + 0x10]
inc rax
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax]
mov ecx, dword [rsp + 0xc]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0xc], eax
mov rax, qword [rsp + 0x10]
inc rax
mov qword [rsp + 0x10], rax
movsxd rax, dword [rsp]
mov ecx, dword [rsp + 0xc]
mov dword [rsp + rax*4 + 0x50], ecx
jmp 0x1400cf138
jmp 0x1400cf1ea
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
cmp dword [rsp], 0x40
jge 0x1400cf2d8
mov eax, dword [rsp]
sub eax, 0xf
cdqe
mov eax, dword [rsp + rax*4 + 0x50]
shr eax, 7
mov ecx, dword [rsp]
sub ecx, 0xf
movsxd rcx, ecx
mov ecx, dword [rsp + rcx*4 + 0x50]
shl ecx, 0x19
or eax, ecx
mov ecx, dword [rsp]
sub ecx, 0xf
movsxd rcx, ecx
mov ecx, dword [rsp + rcx*4 + 0x50]
shr ecx, 0x12
mov edx, dword [rsp]
sub edx, 0xf
movsxd rdx, edx
mov edx, dword [rsp + rdx*4 + 0x50]
shl edx, 0xe
or ecx, edx
xor eax, ecx
mov ecx, dword [rsp]
sub ecx, 0xf
movsxd rcx, ecx
mov ecx, dword [rsp + rcx*4 + 0x50]
shr ecx, 3
xor eax, ecx
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp]
sub eax, 2
cdqe
mov eax, dword [rsp + rax*4 + 0x50]
shr eax, 0x11
mov ecx, dword [rsp]
sub ecx, 2
movsxd rcx, ecx
mov ecx, dword [rsp + rcx*4 + 0x50]
shl ecx, 0xf
or eax, ecx
mov ecx, dword [rsp]
sub ecx, 2
movsxd rcx, ecx
mov ecx, dword [rsp + rcx*4 + 0x50]
shr ecx, 0x13
mov edx, dword [rsp]
sub edx, 2
movsxd rdx, edx
mov edx, dword [rsp + rdx*4 + 0x50]
shl edx, 0xd
or ecx, edx
xor eax, ecx
mov ecx, dword [rsp]
sub ecx, 2
movsxd rcx, ecx
mov ecx, dword [rsp + rcx*4 + 0x50]
shr ecx, 0xa
xor eax, ecx
mov dword [rsp + 0x48], eax
mov eax, dword [rsp]
sub eax, 0x10
cdqe
mov eax, dword [rsp + rax*4 + 0x50]
add eax, dword [rsp + 0x4c]
mov ecx, dword [rsp]
sub ecx, 7
movsxd rcx, ecx
add eax, dword [rsp + rcx*4 + 0x50]
add eax, dword [rsp + 0x48]
movsxd rcx, dword [rsp]
mov dword [rsp + rcx*4 + 0x50], eax
jmp 0x1400cf1e2
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x170]
mov eax, dword [rcx + rax + 0x50]
mov dword [rsp + 8], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x170]
mov eax, dword [rcx + rax + 0x50]
mov dword [rsp + 0x18], eax
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x170]
mov eax, dword [rcx + rax + 0x50]
mov dword [rsp + 0x1c], eax
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x170]
mov eax, dword [rcx + rax + 0x50]
mov dword [rsp + 0x2c], eax
mov eax, 4
imul rax, rax, 4
mov rcx, qword [rsp + 0x170]
mov eax, dword [rcx + rax + 0x50]
mov dword [rsp + 4], eax
mov eax, 4
imul rax, rax, 5
mov rcx, qword [rsp + 0x170]
mov eax, dword [rcx + rax + 0x50]
mov dword [rsp + 0x24], eax
mov eax, 4
imul rax, rax, 6
mov rcx, qword [rsp + 0x170]
mov eax, dword [rcx + rax + 0x50]
mov dword [rsp + 0x20], eax
mov eax, 4
imul rax, rax, 7
mov rcx, qword [rsp + 0x170]
mov eax, dword [rcx + rax + 0x50]
mov dword [rsp + 0x28], eax
mov dword [rsp], 0
jmp 0x1400cf3b1
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
cmp dword [rsp], 0x40
jge 0x1400cf502
mov eax, dword [rsp + 8]
shr eax, 2
mov ecx, dword [rsp + 8]
shl ecx, 0x1e
or eax, ecx
mov ecx, dword [rsp + 8]
shr ecx, 0xd
mov edx, dword [rsp + 8]
shl edx, 0x13
or ecx, edx
xor eax, ecx
mov ecx, dword [rsp + 8]
shr ecx, 0x16
mov edx, dword [rsp + 8]
shl edx, 0xa
or ecx, edx
xor eax, ecx
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x18]
mov ecx, dword [rsp + 8]
and ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x1c]
mov edx, dword [rsp + 8]
and edx, ecx
mov ecx, edx
xor eax, ecx
mov ecx, dword [rsp + 0x1c]
mov edx, dword [rsp + 0x18]
and edx, ecx
mov ecx, edx
xor eax, ecx
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 4]
shr eax, 6
mov ecx, dword [rsp + 4]
shl ecx, 0x1a
or eax, ecx
mov ecx, dword [rsp + 4]
shr ecx, 0xb
mov edx, dword [rsp + 4]
shl edx, 0x15
or ecx, edx
xor eax, ecx
mov ecx, dword [rsp + 4]
shr ecx, 0x19
mov edx, dword [rsp + 4]
shl edx, 7
or ecx, edx
xor eax, ecx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 4]
and ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 4]
not ecx
and ecx, dword [rsp + 0x20]
xor eax, ecx
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
add eax, dword [rsp + 0x38]
movsxd rcx, dword [rsp]
lea rdx, [0x14012fc70]
add eax, dword [rdx + rcx*4]
movsxd rcx, dword [rsp]
add eax, dword [rsp + rcx*4 + 0x50]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 4]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov eax, dword [rsp + 0x1c]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x18]
mov dword [rsp + 0x1c], eax
mov eax, dword [rsp + 8]
mov dword [rsp + 0x18], eax
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
jmp 0x1400cf3a9
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x170]
mov eax, dword [rcx + rax + 0x50]
add eax, dword [rsp + 8]
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x170]
mov dword [rdx + rcx + 0x50], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x170]
mov eax, dword [rcx + rax + 0x50]
add eax, dword [rsp + 0x18]
mov ecx, 4
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x170]
mov dword [rdx + rcx + 0x50], eax
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x170]
mov eax, dword [rcx + rax + 0x50]
add eax, dword [rsp + 0x1c]
mov ecx, 4
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x170]
mov dword [rdx + rcx + 0x50], eax
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x170]
mov eax, dword [rcx + rax + 0x50]
add eax, dword [rsp + 0x2c]
mov ecx, 4
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x170]
mov dword [rdx + rcx + 0x50], eax
mov eax, 4
imul rax, rax, 4
mov rcx, qword [rsp + 0x170]
mov eax, dword [rcx + rax + 0x50]
add eax, dword [rsp + 4]
mov ecx, 4
imul rcx, rcx, 4
mov rdx, qword [rsp + 0x170]
mov dword [rdx + rcx + 0x50], eax
mov eax, 4
imul rax, rax, 5
mov rcx, qword [rsp + 0x170]
mov eax, dword [rcx + rax + 0x50]
add eax, dword [rsp + 0x24]
mov ecx, 4
imul rcx, rcx, 5
mov rdx, qword [rsp + 0x170]
mov dword [rdx + rcx + 0x50], eax
mov eax, 4
imul rax, rax, 6
mov rcx, qword [rsp + 0x170]
mov eax, dword [rcx + rax + 0x50]
add eax, dword [rsp + 0x20]
mov ecx, 4
imul rcx, rcx, 6
mov rdx, qword [rsp + 0x170]
mov dword [rdx + rcx + 0x50], eax
mov eax, 4
imul rax, rax, 7
mov rcx, qword [rsp + 0x170]
mov eax, dword [rcx + rax + 0x50]
add eax, dword [rsp + 0x28]
mov ecx, 4
imul rcx, rcx, 7
mov rdx, qword [rsp + 0x170]
mov dword [rdx + rcx + 0x50], eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140101630
add rsp, 0x168
ret