Function at 0x1404cc8ee
Capabilities:
Encrypt data using speck

Disassembly:
mov qword [rsp + 0x20], rbx
sbb bl, dil
push rsi
movsx ebx, r13w
rcl bx, 0xf8
sar bl, 0x83
push rdi
push r12
bts ebx, esp
mov bx, r13w
shr bx, cl
push r13
push r14
or r14b, 0x2c
sub rsp, 0x40
cmovs rbx, rcx
dec r14b
mov ebx, ecx
sub r13d, r13d
test rdx, rdx
jmp 0x1404cc92f
and dword [rsp + 0x78], r13d
mov r14b, 1
cmp r12w, sp
mov byte [rsp + 0x70], r14b
jmp 0x1404cc946
cmp ecx, 2
jmp 0x1404cc94e
je 0x1404cc9a1
cmp ecx, 4
jmp 0x1404cc95c
je 0x1404cc9ee
cmp ecx, 6
jmp 0x1404cc96a
je 0x1404cc9a1
cmp ecx, 8
je 0x1404cc9ee
cmp ecx, 0xb
je 0x1404cc9ee
cmp ecx, 0xf
jmp 0x1404cc98a
je 0x1404cc9a1
lea eax, [rcx - 0x15]
cmp eax, 1
jmp 0x1404cc99b
ja 0x1404ccaa7
sub ecx, 2
jmp 0x1404cc9a9
je 0x1404ccb12
sub ecx, 4
jmp 0x1404cc9b7
je 0x1404ccadf
sub ecx, 9
je 0x1404ccb01
sub ecx, 6
jmp 0x1404cc9ce
je 0x1404ccaf0
cmp ecx, 1
jmp 0x1404cc9dc
je 0x1404ccadf
xor edi, edi
jmp 0x1404cc9e9
jmp 0x1404ccb21
call fcn.1404c61bb
mov r13, rax
test rax, rax
jmp 0x1404cc9fe
jne 0x1404cca42
or eax, 0xffffffff
movzx bx, r8b
mov rbx, qword [rsp + 0x88]
sal r12b, 0xf4
add rsp, 0x40
movzx si, r14b
bswap r14
pop r14
movzx r13, sp
movzx edi, r11w
pop r13
movzx si, r11b
setbe sil
cmovnp r12d, edi
pop r12
pop rdi
pop rsi
ret
mov rax, qword [rax]
sar ch, cl
xor cx, r13w
shrd cx, r14w, 0x44
mov rcx, qword [0x1400c2fe0]
shl rcx, 4
test ebp, ebx
jmp 0x1404cca63
add rcx, rax
jmp 0x1404cca6b
jmp 0x1404cca82
cmp dword [rax + 4], ebx
jmp 0x1404cca78
je 0x1404cca99
add rax, 0x10
cmp rax, rcx
jmp 0x1404cca8a
jne 0x1404cca70
sub eax, eax
stc
test si, dx
cmp r9, r12
test rax, rax
jmp 0x1404ccaa1
jne 0x1404ccac1
call fcn.1404b1cac
mov dword [rax], 0x16
jmp 0x1404ccab7
call fcn.1404b290a
jmp 0x1404cca04
lea rdi, [rax + 8]
test rbx, r10
xor r14b, r14b
jmp 0x1404ccad0
mov byte [rsp + 0x70], r14b
jmp 0x1404ccada
jmp 0x1404ccb21
lea rdi, [0x1400bada8]
jmp 0x1404ccaeb
jmp 0x1404ccb21
lea rdi, [0x1400bada0]
jmp 0x1404ccafc
jmp 0x1404ccb21
lea rdi, [0x1400badb0]
jmp 0x1404ccb0d
jmp 0x1404ccb21
lea rdi, [0x1400bad98]
cmp r13b, 0x20
cmp dil, spl
cmc
and qword [rsp + 0x80], 0
cmp al, r9b
cmp dil, 0x1a
test r14b, r14b
jmp 0x1404ccb39
je 0x1404ccb55
mov ecx, 3
call fcn.1402676b2
nop
shr si, 0x49
cmovb si, bx
or esi, r14d
mov rsi, qword [rdi]
cmc
test r14b, r14b
je 0x1404ccb82
mov rax, qword [0x1400b7288]
mov ecx, eax
and ecx, 0x3f
cmp edx, esi
xor rsi, rax
ror rsi, cl
cmp dx, 0x2a7d
cmp dil, dil
test r13b, 0x69
cmp rsi, 1
je 0x1404ccc91
test rsi, rsi
je 0x1404ccd79
mov r12d, 0x910
stc
cmp ebx, 0xb
jmp 0x1404ccba4
ja 0x1404ccc12
bt r12d, ebx
jmp 0x1404ccbb3
jae 0x1404ccc12
mov rax, qword [r13 + 8]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x30], rax
cmp r15, 0x729c54f9
and qword [r13 + 8], 0
test r9, 0xea53f3f
clc
test cl, r11b
cmp ebx, 8
jne 0x1404ccc7d
call fcn.1404c5ee2
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x78], eax
jmp 0x1404ccbfb
mov dword [rsp + 0x20], eax
jmp 0x1404ccc04
call fcn.1404c5ee2
mov dword [rax + 0x10], 0x8c
clc
cmc
cmp ebx, 8
jmp 0x1404ccc1a
jne 0x1404ccc7d
mov rax, qword [0x1400c2fe8]
and rcx, r8
shl rax, 4
jmp 0x1404ccc33
add rax, qword [r13]
not cx
cmc
mov rcx, qword [0x1400c2ff0]
test rdx, r9
shl rcx, 4
test rdi, r15
jmp 0x1404ccc51
add rcx, rax
cmp al, bpl
mov qword [rsp + 0x28], rax
cmc
test r15, rbx
clc
cmp rax, rcx
je 0x1404ccc9a
and qword [rax + 8], 0
test r10b, 0x4b
stc
add rax, 0x10
jmp 0x1404ccc57
mov rax, qword [0x1400b7288]
jmp 0x1404ccc89
mov qword [rdi], rax
jmp 0x1404ccc9a
mov r12d, 0x910
test edi, r11d
test r14b, r14b
jmp 0x1404ccca2
je 0x1404cccb7
mov ecx, 3
jmp 0x1404cccb2
call fcn.14018a191
cmp rsi, 1
jmp 0x1404cccc0
jne 0x1404cccd2
xor eax, eax
jmp 0x1404ccccd
jmp 0x1404cca0c
cmp ebx, 8
jmp 0x1404cccda
jne 0x1404ccd12
call fcn.1404c5ee2
mov edx, dword [rax + 0x10]
movsx rcx, sp
movzx cx, r14b
mov ecx, ebx
mov rax, rsi
cmovae r8d, r10d
movsx r8, r11w
mov r8, qword [case.0x1400f3ca8.0]
jmp 0x1404ccd0a
call r8
jmp 0x1404ccd25
mov ecx, ebx
mov rax, rsi
mov rdx, qword [case.0x1400f3ca8.0]
jmp 0x1404ccd23
call rdx
cmp ebx, 0xb
jmp 0x1404ccd2d
ja 0x1404cccc6
bt r12d, ebx
jmp 0x1404ccd3c
jae 0x1404cccc6
mov rax, qword [rsp + 0x80]
clc
mov qword [r13 + 8], rax
stc
cmp ebx, 8
jmp 0x1404ccd58
jne 0x1404cccc6
call fcn.1404c5ee2
mov ecx, dword [rsp + 0x78]
jmp 0x1404ccd6c
mov dword [rax + 0x10], ecx
jmp 0x1404ccd74
jmp 0x1404cccc6
test r14b, r14b
jmp 0x1404ccd81
je 0x1404ccd94
lea ecx, [rsi + 3]
jmp 0x1404ccd8f
call fcn.14018a191
mov ecx, 3
call fcn.1401b1873
nop
jmp 0x1404ccda4
int3