Function at 0x140122820
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.140122630
test rdi, rdi
je 0x140122903
movzx edi, byte [rsi + 1]
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x20]
call fcn.140122630
add rsi, 2
test rdi, rdi
je 0x140122b48
mov qword [rsp + 0x20], 0x10
lea rdi, [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov r8d, 8
mov rcx, rdi
call fcn.140129870
mov r8d, 0x10
jmp case.0x1401211e6.93
mov r8, qword [rsi + 0x18]
test r8, r8
je 0x140122ba2
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 0x140122964
add rbx, 4
add r9, 4
mov r15, r12
cmp rsi, r8
je 0x140122b7f
movzx eax, byte [rsi]
test al, al
js 0x140122970
inc rsi
jmp 0x1401229e0
mov ecx, eax
and ecx, 0x1f
movzx r14d, byte [rsi + 1]
and r14d, 0x3f
cmp al, 0xdf
jbe 0x1401229b9
movzx ebp, byte [rsi + 2]
shl r14d, 6
and ebp, 0x3f
or ebp, r14d
cmp al, 0xf0
jb 0x1401229c7
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 0x140122b7c
add rsi, 4
jmp 0x1401229e0
add rsi, 2
shl ecx, 6
or ecx, r14d
mov eax, ecx
jmp 0x1401229e0
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 0x140122ae0
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 0x140122a4a
movzx edi, word [rsp + rax + 0x20]
lea ecx, [rax*8]
shl rdi, cl
or r12, rdi
or rax, 2
cmp rax, rbp
jae 0x140122a5f
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 0x140122950
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 0x140122ae0
add rbx, 0xfffffffffffffffc
xor r14d, r14d
xor eax, eax
mov rcx, rax
or rcx, 1
cmp rcx, rbx
jb 0x140122af9
jmp 0x140122b18
mov ebx, 4
xor r13d, r13d
mov eax, 4
mov rcx, rax
or rcx, 1
cmp rcx, rbx
jae 0x140122b18
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 0x140122b40
add r13, rax
movzx r12d, byte [rsp + r13 + 0x20]
shl eax, 3
mov ecx, eax
shl r12, cl
or r12, r14
jmp 0x140122954
mov r12, r14
jmp 0x140122954
mov qword [rsp + 0x20], 4
lea rdi, [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov r8d, 8
mov rcx, rdi
call fcn.140129870
mov r8d, 4
mov r12, r15
mov qword [rsp + 0x60], r9