Function at 0x140083920
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.140083730
test rdi, rdi
je 0x140083a03
movzx edi, byte [rsi + 1]
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x20]
call fcn.140083730
add rsi, 2
test rdi, rdi
je 0x140083c3c
mov qword [rsp + 0x20], 0x10
lea rdi, [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov r8d, 8
mov rcx, rdi
call fcn.140086000
mov r8d, 0x10
jmp 0x140083c63
mov r10, qword [rsi + 8]
mov rax, qword [rsi + 0x18]
test r10, r10
jne 0x140083a14
mov r10, qword [rsi + 0x10]
test rax, rax
je 0x140083c91
add rax, r10
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
mov r11, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x70]
mov r15, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
jmp 0x140083a69
add rbx, 4
mov rax, qword [rsp + 0x28]
add r11, 4
mov r15, r14
cmp r10, rax
je 0x140083c73
movzx eax, byte [r10]
test al, al
js 0x140083a80
inc r10
jmp 0x140083af0
mov ecx, eax
and ecx, 0x1f
movzx r14d, byte [r10 + 1]
and r14d, 0x3f
cmp al, 0xdf
jbe 0x140083acb
movzx ebp, byte [r10 + 2]
shl r14d, 6
and ebp, 0x3f
or ebp, r14d
cmp al, 0xf0
jb 0x140083ad9
movzx eax, byte [r10 + 3]
and ecx, 7
shl ecx, 0x12
shl ebp, 6
and eax, 0x3f
or eax, ebp
or eax, ecx
cmp eax, 0x110000
je 0x140083c70
add r10, 4
jmp 0x140083af0
add r10, 2
shl ecx, 6
or ecx, r14d
mov eax, ecx
jmp 0x140083af0
add r10, 3
shl ecx, 0xc
or ebp, ecx
mov eax, ebp
nop word cs:[rax + rax]
lea ebp, [rax - 0x41]
mov ecx, eax
xor ecx, 0x20
cmp ebp, 0x1a
cmovae ecx, eax
mov dword [rsp + 0x20], ecx
test rbx, rbx
je 0x140083be0
mov r12d, 8
sub r12, rbx
cmp r12, 4
mov ebp, 4
cmovb rbp, r12
xor eax, eax
cmp rbp, 4
mov r13d, ecx
mov r14d, 0
cmovae r14, r13
setae al
lea rcx, [rax*4 + 1]
shl rax, 2
cmp rcx, rbp
jae 0x140083b5f
movzx r9d, word [rsp + rax + 0x20]
lea ecx, [rax*8]
shl r9, cl
or r14, r9
or rax, 2
cmp rax, rbp
jae 0x140083b75
movzx r9d, byte [rsp + rax + 0x20]
shl eax, 3
mov ecx, eax
shl r9, cl
or r14, r9
lea ecx, [rbx*8]
shl r14, cl
or r14, r15
cmp r12, 4
ja 0x140083a50
add rdx, rsi
rol rsi, 0xd
xor rdi, r14
xor rsi, rdx
rol rdx, 0x20
add r8, rdi
rol rdi, 0x10
xor rdi, r8
add rdx, rdi
rol rdi, 0x15
xor rdi, rdx
add r8, rsi
rol rsi, 0x11
xor rsi, r8
rol r8, 0x20
xor rdx, r14
cmp rbx, 8
je 0x140083be3
add rbx, 0xfffffffffffffffc
xor r14d, r14d
xor eax, eax
mov rcx, rax
or rcx, 1
cmp rcx, rbx
jb 0x140083bff
jmp 0x140083c1a
mov r13d, ecx
mov ebx, 4
xor r12d, r12d
mov r14, r13
mov eax, 4
mov rcx, rax
or rcx, 1
cmp rcx, rbx
jae 0x140083c1a
lea rcx, [rax + r12]
movzx r9d, word [rsp + rcx + 0x20]
lea ecx, [rax*8]
shl r9, cl
or r14, r9
or rax, 2
cmp rax, rbx
jae 0x140083a54
add r12, rax
movzx r9d, byte [rsp + r12 + 0x20]
shl eax, 3
mov ecx, eax
shl r9, cl
or r14, r9
jmp 0x140083a54
mov qword [rsp + 0x20], 4
lea rdi, [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov r8d, 8
mov rcx, rdi
call fcn.140086000
mov r8d, 4
mov rcx, rdi
mov rdx, rsi
call fcn.140086000
jmp 0x140083c91
mov r14, r15
mov qword [rsp + 0x60], r11
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], r8
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