Function at 0x1400466f0
Capabilities:
Encrypt data using speck

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rsi, r8
movabs rax, 0x736f6d6570736575
xor rax, rcx
movabs r8, 0x646f72616e646f6d
xor r8, rdx
movabs r9, 0x6c7967656e657261
xor r9, rcx
movabs r10, 0x7465646279746573
xor r10, rdx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x48], r10
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rdx
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
movzx edi, byte [rsi]
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x20]
call fcn.140046500
test rdi, rdi
je 0x1400467d3
movzx edi, byte [rsi + 1]
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x20]
call fcn.140046500
add rsi, 2
test rdi, rdi
je 0x140046a18
mov qword [rsp + 0x20], 0x10
lea rdi, [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov r8d, 8
mov rcx, rdi
call fcn.1400763f0
mov r8d, 0x10
jmp 0x140046a3f
mov r8, qword [rsi + 0x18]
test r8, r8
je 0x140046a72
mov rsi, qword [rsi + 0x10]
add r8, rsi
mov rdx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov r9, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x70]
mov r15, qword [rsp + 0x68]
mov r11, qword [rsp + 0x48]
mov r10, qword [rsp + 0x40]
jmp 0x140046834
add rbx, 4
add r9, 4
mov r15, r12
cmp rsi, r8
je 0x140046a4f
movzx eax, byte [rsi]
test al, al
js 0x140046840
inc rsi
jmp 0x1400468b0
mov ecx, eax
and ecx, 0x1f
movzx r14d, byte [rsi + 1]
and r14d, 0x3f
cmp al, 0xdf
jbe 0x140046889
movzx ebp, byte [rsi + 2]
shl r14d, 6
and ebp, 0x3f
or ebp, r14d
cmp al, 0xf0
jb 0x140046897
movzx eax, byte [rsi + 3]
and ecx, 7
shl ecx, 0x12
shl ebp, 6
and eax, 0x3f
or eax, ebp
or eax, ecx
cmp eax, 0x110000
je 0x140046a4c
add rsi, 4
jmp 0x1400468b0
add rsi, 2
shl ecx, 6
or ecx, r14d
mov eax, ecx
jmp 0x1400468b0
add rsi, 3
shl ecx, 0xc
or ebp, ecx
mov eax, ebp
nop word cs:[rax + rax]
lea ecx, [rax - 0x41]
mov ebp, eax
or ebp, 0x20
cmp ecx, 0x1a
cmovae ebp, eax
mov dword [rsp + 0x20], ebp
mov r14d, ebp
test rbx, rbx
je 0x1400469b0
mov r13d, 8
sub r13, rbx
xor eax, eax
cmp r13, 4
mov ebp, 4
cmovb rbp, r13
mov r12d, 0
cmovae r12, r14
setae al
lea rcx, [rax*4 + 1]
shl rax, 2
cmp rcx, rbp
jae 0x14004691a
movzx edi, word [rsp + rax + 0x20]
lea ecx, [rax*8]
shl rdi, cl
or r12, rdi
or rax, 2
cmp rax, rbp
jae 0x14004692f
movzx edi, byte [rsp + rax + 0x20]
shl eax, 3
mov ecx, eax
shl rdi, cl
or r12, rdi
lea ecx, [rbx*8]
shl r12, cl
or r12, r15
cmp r13, 4
ja 0x140046820
add rdx, r10
rol r10, 0xd
xor r11, r12
xor r10, rdx
rol rdx, 0x20
mov rax, qword [rsp + 0x28]
add rax, r11
rol r11, 0x10
xor r11, rax
add rdx, r11
rol r11, 0x15
xor r11, rdx
add rax, r10
rol r10, 0x11
xor r10, rax
rol rax, 0x20
mov qword [rsp + 0x28], rax
xor rdx, r12
cmp rbx, 8
je 0x1400469b0
add rbx, 0xfffffffffffffffc
xor r14d, r14d
xor eax, eax
mov rcx, rax
or rcx, 1
cmp rcx, rbx
jb 0x1400469c9
jmp 0x1400469e8
mov ebx, 4
xor r13d, r13d
mov eax, 4
mov rcx, rax
or rcx, 1
cmp rcx, rbx
jae 0x1400469e8
lea rcx, [rsp + rax]
add rcx, 0x20
movzx edi, word [r13 + rcx]
lea ecx, [rax*8]
shl rdi, cl
or r14, rdi
or rax, 2
cmp rax, rbx
jae 0x140046a10
add r13, rax
movzx r12d, byte [rsp + r13 + 0x20]
shl eax, 3
mov ecx, eax
shl r12, cl
or r12, r14
jmp 0x140046824
mov r12, r14
jmp 0x140046824
mov qword [rsp + 0x20], 4
lea rdi, [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov r8d, 8
mov rcx, rdi
call fcn.1400763f0
mov r8d, 4
mov rcx, rdi
mov rdx, rsi
call fcn.1400763f0
jmp 0x140046a72
mov r12, r15
mov qword [rsp + 0x60], r9
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x48], r11
mov qword [rsp + 0x40], r10
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdx
mov rcx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x30]
add rax, rcx
rol rcx, 0xd
xor rdx, r9
xor rcx, rax
rol rax, 0x20
mov r8, qword [rsp + 0x38]
add r8, rdx
rol rdx, 0x10
xor rdx, r8
add rax, rdx
rol rdx, 0x15
add r8, rcx
rol rcx, 0x11
xor rdx, rax
xor rcx, r8
rol r8, 0x20
xor rax, r9
add rax, rcx
rol rcx, 0xd
xor rcx, rax
rol rax, 0x20
xor r8, 0xff
add r8, rdx
rol rdx, 0x10
xor rdx, r8
add rax, rdx
rol rdx, 0x15
add r8, rcx
rol rcx, 0x11
xor rcx, r8
rol r8, 0x20
xor rdx, rax
add rax, rcx
rol rcx, 0xd
xor rcx, rax
rol rax, 0x20
add r8, rdx
rol rdx, 0x10
xor rdx, r8
add rax, rdx
rol rdx, 0x15
add r8, rcx
rol rcx, 0x11
xor rcx, r8
rol r8, 0x20
xor rdx, rax
add rax, rcx
rol rcx, 0xd
add r8, rdx
rol rdx, 0x10
xor rdx, r8
rol rdx, 0x15
xor rcx, rax
add r8, rcx
rol rcx, 0x11
mov rax, r8
rol rax, 0x20
xor rax, rcx
xor rax, rdx
xor rax, r8
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret