Function at 0x140066eb0
Capabilities:
Encrypt data using speck

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x2b8
movdqa xmmword [rsp + 0x2a0], xmm15
movdqa xmmword [rsp + 0x290], xmm14
movdqa xmmword [rsp + 0x280], xmm13
movdqa xmmword [rsp + 0x270], xmm12
movdqa xmmword [rsp + 0x260], xmm11
movdqa xmmword [rsp + 0x250], xmm10
movdqa xmmword [rsp + 0x240], xmm9
movaps xmmword [rsp + 0x230], xmm8
movdqa xmmword [rsp + 0x220], xmm7
movdqa xmmword [rsp + 0x210], xmm6
mov qword [rsp + 0x1f0], rcx
mov rax, qword [rsp + 0x328]
mov rcx, qword [rsp + 0x320]
mov qword [rsp + 0x110], r9
mov qword [rcx + 0x10], 0
mov dword [rsp + 0xf8], 0
mov qword [rsp + 0xf0], 0
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x1e8], rax
add r8, rdx
pxor xmm6, xmm6
movdqu xmmword [rsp + 0x132], xmm6
movzx eax, word [rsp + 0x140]
mov word [rsp + 0xd6], ax
movups xmm0, xmmword [rsp + 0x130]
movups xmmword [rsp + 0xc6], xmm0
movdqu xmmword [rsp + 0x11b], xmm6
mov byte [rsp + 0x12b], 0
mov qword [rsp + 0x40], 0
lea r12, [rsp + 0x50]
mov dword [rsp + 0x50], 0
mov word [rsp + 0x54], 0
mov byte [rsp + 0x58], 0
mov dword [rsp + 0x5c], 0
mov byte [rsp + 0x60], 0
mov dword [rsp + 0x64], 0
mov byte [rsp + 0x68], 0
mov dword [rsp + 0x6c], 0
mov byte [rsp + 0x70], 0
mov dword [rsp + 0x74], 0
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x80], r8
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], 0
mov rax, r9
shr rax, 0x20
mov byte [rsp + 0xa4], al
mov qword [rsp + 0x190], r9
mov dword [rsp + 0xa0], r9d
mov eax, dword [rsp + 0x128]
mov dword [rsp + 0xb5], eax
movdqu xmm0, xmmword [rsp + 0x118]
movdqu xmmword [rsp + 0xa5], xmm0
mov dword [rsp + 0xc0], 0
mov word [rsp + 0xc4], 0
mov dword [rsp + 0xe0], 0x110000
mov byte [rsp + 0xe4], 0
lea r15, [0x1403f9050]
lea rdi, [0x1403fcb20]
xor eax, eax
test rax, rax
je 0x140067181
cmp rax, 1
jne 0x140067b8e
mov rax, qword [rsp + 0x48]
cmp dword [rsp + 0xc0], 0
je 0x1400670de
cmp rax, qword [rsp + 0xd8]
jb 0x140067bb2
mov qword [rsp + 0xd8], 0
jmp 0x14006710e
movzx ecx, word [rsp + 0xc4]
cmp rcx, 4
ja 0x140069a0b
cmp rax, rcx
jb 0x140067bf2
cmp word [rsp + 0xc4], 0
je 0x14006710e
mov word [rsp + 0xc4], 0
mov qword [rsp + 0x40], 0
jmp 0x140067181
mov rcx, qword [rsp + 0x48]
mov eax, dword [rsp + 0xc0]
test eax, eax
je 0x140067bbc
cmp rcx, qword [rsp + 0xd8]
jae 0x140067c10
mov rdx, qword [rsp + 0xd0]
jmp 0x140067bdc
mov rcx, qword [rsp + 0xd0]
jmp 0x140067bfa
movzx r8d, word [rsp + 0xc4]
cmp r8, 5
jae 0x140069a0b
lea rdx, [rsp + 0xc8]
cmp rcx, r8
jae 0x140067c1e
mov ebx, dword [rdx + rcx*4]
inc rcx
mov qword [rsp + 0x40], 2
mov qword [rsp + 0x48], rcx
jmp 0x140067c60
lea rcx, [rsp + 0xc8]
mov ebx, dword [rcx + rax*4]
inc rax
mov qword [rsp + 0x40], 1
mov qword [rsp + 0x48], rax
jmp 0x140067c60
mov qword [rsp + 0xd8], 0
jmp 0x140067c33
cmp word [rsp + 0xc4], 0
je 0x140067c33
mov word [rsp + 0xc4], 0
mov ebx, dword [rsp + 0xe0]
mov dword [rsp + 0xe0], 0x110000
cmp ebx, 0x110000
je 0x140067dae
nop word cs:[rax + rax]
mov rsi, qword [rsp + 0x320]
mov rdx, qword [rsi + 0x10]
cmp rdx, qword [rsi]
jne 0x140067c85
mov rcx, rsi
call fcn.14022e120
mov rdx, qword [rsi + 0x10]
mov rax, qword [rsi + 8]
mov byte [rax + rdx], bl
inc rdx
mov qword [rsi + 0x10], rdx
mov rax, qword [rsp + 0x40]
jmp 0x1400670a0
mov dword [rsp + 0x130], 0
mov eax, ebx
cmp ebx, 0x800
jae 0x140067cd5
shr eax, 6
or al, 0xc0
mov byte [rsp + 0x130], al
and bl, 0x3f
or bl, 0x80
mov byte [rsp + 0x131], bl
mov ebx, 2
jmp 0x140067d4b
cmp ebx, 0x10000
jae 0x140067d0d
shr eax, 0xc
or al, 0xe0
mov byte [rsp + 0x130], al
mov eax, ebx
shr eax, 6
and al, 0x3f
or al, 0x80
mov byte [rsp + 0x131], al
and bl, 0x3f
or bl, 0x80
mov byte [rsp + 0x132], bl
mov ebx, 3
jmp 0x140067d4b
shr eax, 0x12
or al, 0xf0
mov byte [rsp + 0x130], al
mov eax, ebx
shr eax, 0xc
and al, 0x3f
or al, 0x80
mov byte [rsp + 0x131], al
mov eax, ebx
shr eax, 6
and al, 0x3f
or al, 0x80
mov byte [rsp + 0x132], al
and bl, 0x3f
or bl, 0x80
mov byte [rsp + 0x133], bl
mov ebx, 4
mov rcx, qword [rsp + 0x320]
mov rax, qword [rcx]
mov r14, qword [rcx + 0x10]
sub rax, r14
cmp rax, rbx
jb 0x140067d92
mov rsi, qword [rsp + 0x320]
mov rcx, qword [rsi + 8]
add rcx, r14
lea rdx, [rsp + 0x130]
mov r8, rbx
call fcn.1403c4426
add r14, rbx
mov qword [rsi + 0x10], r14
mov rax, qword [rsp + 0x40]
jmp 0x1400670a0
mov rsi, qword [rsp + 0x320]
mov rcx, rsi
mov rdx, r14
mov r8, rbx
call fcn.1403c7970
mov r14, qword [rsi + 0x10]
jmp 0x140067d62
cmp dword [rsp + 0x50], 0
je 0x140067df2
cmp qword [rsp + 0x58], 0
mov r12, qword [rsp + 0x328]
mov r14, qword [rsp + 0x110]
mov rsi, qword [rsp + 0x320]
je 0x140067e0a
mov r8, qword [rsp + 0x60]
mov rcx, qword [0x1404d4148]
xor edx, edx
call qword [0x1403d75f8]
mov eax, dword [rsp + 0xc0]
jmp 0x140067e0a
mov r12, qword [rsp + 0x328]
mov r14, qword [rsp + 0x110]
mov rsi, qword [rsp + 0x320]
test eax, eax
je 0x140067e30
cmp qword [rsp + 0xc8], 0
je 0x140067e30
mov r8, qword [rsp + 0xd0]
mov rcx, qword [0x1404d4148]
xor edx, edx
call qword [0x1403d75f8]
movabs r15, 0x8080808080808080
mov qword [rsp + 0x118], 0
mov qword [rsp + 0x120], 8
mov qword [rsp + 0x128], 0
mov rax, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
mov qword [rsp + 0x130], 0
mov qword [rsp + 0x138], rcx
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x148], rcx
mov qword [rsp + 0x150], 0
mov qword [rsp + 0x158], rcx
mov qword [rsp + 0x160], 1
movabs rax, 0x2e0000002e
mov qword [rsp + 0x168], rax
mov word [rsp + 0x170], 1
and qword [rsp + 0x190], 0xffffffffffff00ff
mov dil, 1
lea r13, [0x14046f160]
movdqa xmm6, xmmword [0x1403d8010]
movdqa xmm7, xmmword [0x1403d7d60]
xorps xmm8, xmm8
movdqa xmm14, xmmword [0x1403d7dd0]
movdqa xmm15, xmmword [0x1403d8070]
movdqa xmm9, xmmword [0x1403d8080]
movdqa xmm10, xmmword [0x1403d8090]
movdqa xmm12, xmmword [0x1403d80b0]
movdqa xmm13, xmmword [0x1403d80c0]
movdqa xmm11, xmmword [0x1403d80d0]
mov dword [rsp + 0x2c], 0
jmp 0x140067f89