Function at 0x1403afaf6
Capabilities:
Encrypt data using speck

Disassembly:
push r15
push r14
test r14b, r9b
stc
push r13
jmp 0x1403afb09
push r12
jmp 0x1403afb10
push rsi
rcr sil, 0xbd
push rdi
push rbp
rol bp, cl
cmp r8d, r14d
push rbx
test r9b, r13b
or rdi, r13
rcr rbp, 0xe7
sub rsp, 0xa88
sal di, cl
or sil, r11b
bswap esi
mov rsi, rcx
shl di, 0x76
mov qword [rsp + 0x40], 0
movsx ebp, si
movabs rbp, 0xe78235ad970d2b55
movabs rdi, 0x6cbb02d0d49b29be
clc
cmp dl, 1
jmp 0x1403afb67
mov qword [rsp + 0x128], r8
jmp 0x1403afb74
mov dword [rsp + 0x4c], r9d
jmp 0x1403afb7e
jne 0x1403afc58
movabs rax, 0xe7f735c197612b70
jmp 0x1403afb97
mov qword [rsp + 0x130], rax
cmovle cx, r15w
cwde
cdqe
mov rax, rdi
mov cx, 0x7d00
mov qword [rsp + 0x138], rax
mov rcx, rbp
jmp 0x1403afbbe
mov qword [rsp + 0x280], rcx
jmp 0x1403afbcb
mov qword [rsp + 0x288], rax
lea rax, [rsp + 0x280]
jmp 0x1403afbe0
movaps xmm0, xmmword [rsp + 0x130]
jmp 0x1403afbed
xorps xmm0, xmmword [rax]
movaps xmmword [rsp + 0x130], xmm0
xchg rdx, r8
cdq
cmovns dx, r14w
lea rcx, [rsp + 0x200]
lea r8, [rsp + 0x130]
not r9b
jmp 0x1403afc19
mov edx, 0x40
xchg r9d, r9d
mov r9, rsi
jmp 0x1403afc29
call fcn.1403b094d
mov ecx, 0x13ff
bsr r8w, r11w
or r8b, 0xb0
sub edx, edx
movzx r8d, dx
movzx r8w, bl
movsx r8, cx
mov r8d, esi
jmp 0x1403afc53
jmp 0x1403aff79
mov ebx, edx
jmp 0x1403afc5f
movabs rax, 0xe7ee358897752b65
jmp 0x1403afc6e
mov qword [rsp + 0x130], rax
jmp 0x1403afc7d
movabs rax, 0x6cbb02d0d4c329d2
jmp 0x1403afc8c
mov qword [rsp + 0x138], rax
movzx ax, r9b
movsx eax, r10w
mov rax, rbp
jmp 0x1403afca5
mov qword [rsp + 0x280], rax
not ah
mov rax, rdi
jmp 0x1403afcb7
mov qword [rsp + 0x288], rax
jmp 0x1403afcc8
lea rax, [rsp + 0x280]
movaps xmm0, xmmword [rsp + 0x130]
xorps xmm0, xmmword [rax]
movaps xmmword [rsp + 0x130], xmm0
lea rcx, [rsp + 0x200]
cdq
movzx dx, r9b
lea r8, [rsp + 0x130]
mov edx, 0x40
movzx r9, bx
jmp 0x1403afd07
mov r9, rsi
call fcn.1403b094d
test bl, bl
jmp 0x1403afd16
je 0x1403afed6
movzx eax, bl
cmp sil, dil
stc
cmp eax, 2
jne 0x1403afee3
movabs r14, 0xcbf29ce484222325
mov ecx, esi
call sub.ntdll.dll_RtlNtStatusToDosError
mov r8d, eax
movsxd r11, esp
inc r11w
mov rax, qword gs:[0x30]
sal r15w, cl
rcr r15b, 0xb9
sar r11d, cl
mov rax, qword [rax + 0x60]
cqo
neg cx
mov r11, qword [rax + 0x18]
add r11, 0x10
cqo
movsx dx, spl
bswap r15
movabs rdx, 0x2cc10c8855a9a8cd
movsx r15, r9w
movsx r15d, r14w
movzx cx, r11b
movabs r15, 0x1d12a89b9e723ff5
bswap ecx
movzx rcx, sp
movsx cx, sil
mov ecx, 0x1bff
jmp 0x1403afdac
jmp 0x1403afdba
cmp rax, rdx
je 0x1403aff14
mov r11, qword [r11]
mov r10, qword [r11 + 0x30]
test r10, r10
jmp 0x1403afdc9
je 0x1403aff56
mov r12, qword [r11 + 0x60]
sub bl, 0x7f
btc bx, r10w
mov rbx, 0xffffffffffffffff
jmp 0x1403afdee
nop word cs:[rax + rax]
cmp word [r12 + rbx*2 + 2], 0
jmp 0x1403afe06
lea rbx, [rbx + 1]
jmp 0x1403afe0f
jne 0x1403afdfa
mov rax, r14
clc
cmp r11, rcx
stc
test rbx, rbx
jmp 0x1403afe25
je 0x1403afdb1
sub esi, esi
xor di, 0xe39
bt ebp, 0x11
mov rbp, r14
bt ax, dx
lahf
sub r13b, bpl
nop word [rax + rax]
or r13b, r11b
test al, 0x72
sal r13b, 0xfa
movzx eax, word [r12 + rsi*2]
shld r9d, esi, 0xc9
movzx r9d, bp
lea edi, [rax - 0x41]
btc r13w, si
lea r13d, [rax - 0x410]
add r9b, bpl
xadd r9b, r9b
lea r9d, [rax + 0x20]
cmp rdx, rbx
cmc
cmp r13w, 0x20
jmp 0x1403afe86
cmovb eax, r9d
clc
cmp ax, r13w
cmp di, 0x1a
jmp 0x1403afe98
cmovb eax, r9d
clc
jmp 0x1403afea2
movzx eax, ax
clc
cmc
xor rax, rbp
not bpl
imul rax, r15
movsx bp, al
bswap bp
movzx rbp, sp
inc esi
mov rbp, rax
cmc
clc
cmp rsi, rbx
jmp 0x1403afecb
jb 0x1403afe50
jmp 0x1403afdb1
sub r13d, r13d
jmp 0x1403afede
jmp 0x1403affca
cmp bl, 3
movsx r8d, r8w
movzx r8d, si
movsx rcx, r12w
mov cx, r9w
movsx cx, sil
cmovne r8d, esi
movsx ecx, dx
bswap rcx
jmp 0x1403aff0a
mov ecx, 0x13ff
jmp 0x1403aff75
test r11, r11
cmove r10, r11
xchg dl, dil
mov rdx, r10
bswap rbp
movsx rbp, r13w
cmovns ebp, r8d
movabs rbp, 0xe78235ad970d2b55
movsx di, r15b
movzx di, bl
xchg di, di
movabs rdi, 0x6cbb02d0d49b29be
jmp 0x1403aff51
jmp 0x1403aff79
movabs rbp, 0xe78235ad970d2b55
sbb eax, ecx
movabs rdi, 0x6cbb02d0d49b29be
xor eax, r9d
movsx rax, cx
sal eax, cl
sub edx, edx
sal eax, cl
lea rax, [rsp + 0x40]
test rdx, r11
mov qword [rsp + 0x20], rax
jmp 0x1403aff8c
mov qword [rsp + 0x30], 0
cmp edi, 0x526f19da
stc
mov dword [rsp + 0x28], 0
stc
jmp 0x1403affaa
sub r9d, r9d
jmp 0x1403affb2
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
mov r13, qword [rsp + 0x40]
movsx ecx, r8w
btr r8, 0xea
and r8w, r8w
lea rcx, [rsp + 0x280]
shr r8, 0x9c
and r8w, r15w
bsf r8, r10
mov r8d, 0x800
cmc
sub edx, edx
jmp 0x1403affec
call fcn.1404a4dde
movabs rax, 0xe7ed35df977f2b10
xchg r14d, r15d
movzx r14d, r12w
mov qword [rsp + 0x50], rax
xchg rsi, rax
bswap bx
movabs rax, 0x6c9e02f0d4a129cc
setno bl
movzx r15d, r10w
movsx r15d, dx
mov qword [rsp + 0x58], rax
movsxd r15, esi
movabs rax, 0xbb83b115fb5723ec
mov qword [rsp + 0x60], rax
movabs rax, 0xd2ef72cb161baac
mov ebx, edx
mov qword [rsp + 0x68], rax
movzx eax, r14w
movsxd r14, ecx
movabs rax, 0x23396ef01c4484dc
setb sil
mov qword [rsp + 0x70], rax
not r14d
movabs rax, 0x17711b7cc255afae
mov qword [rsp + 0x78], rax
cdqe
movsx rsi, r14w
movzx r12, r11w
movabs rax, 0x314846d9144fae6f
movsx r15w, al
jmp 0x1403b0093
mov qword [rsp + 0x80], rax
xchg sil, sil
cbw
movabs rax, 0x178dd9cfd41ab93e
movsxd r15, r12d
mov qword [rsp + 0x88], rax
movzx bx, r10b
mov r14d, 0x27291e57
cmovbe r14d, r12d
movabs rax, 0xafe3d510c4170ff7
jmp 0x1403b00d3
mov qword [rsp + 0x90], rax
jmp 0x1403b00e4
movabs rax, 0xf2b1d93b98f8762c
movzx rsi, dx
jmp 0x1403b00fb
mov qword [rsp + 0x98], rax
cmovno r12d, r15d
bswap eax
cwde
movabs rax, 0x9086a47a193ab849
movsxd rbx, r9d
mov qword [rsp + 0xa0], rax
not r15b
jmp 0x1403b012b
movabs rax, 0xf9f44acd0c6a853c
mov qword [rsp + 0xa8], rax
movsx si, r8b
movabs rax, 0x46ec87c61fbaad11
movzx r15, r12w
mov qword [rsp + 0xb0], rax
cwde
movsx ax, r13b
movabs rax, 0x5102c52d8dbf581e
mov r12b, r12b
mov qword [rsp + 0xb8], rax
cmovbe ax, sp
movabs rax, 0x9f52a16fed4b976f
mov qword [rsp + 0xc0], rax
bswap esi
jmp 0x1403b0194
movabs rax, 0xf6a5483bf0ec9ca3
not esi
mov qword [rsp + 0xc8], rax
movabs rax, 0x60e699bcbdc17680
mov qword [rsp + 0xd0], rax
movabs rax, 0xbd6f0372efe2893d
movzx r15w, r15b
movzx rsi, bp
cmovp r14, rcx
mov qword [rsp + 0xd8], rax
movsx r12d, bx
movabs rax, 0x98880c705ee3d44a
mov r14b, 0x3f
mov qword [rsp + 0xe0], rax
mov bx, 0x2fc6
movzx rbx, bx
movabs rax, 0x9b7661660ff4953f
movsx r12d, r12w
movsx r15, r11w
mov r14d, r13d
mov qword [rsp + 0xe8], rax
cwde
movabs rax, 0x53d62999d3e90ae0
movsx r14w, dl
mov r14b, 0x83
movsxd r12, r8d
mov qword [rsp + 0xf0], rax
xchg r12b, r15b
cbw
movabs rax, 0xc69b1bd14864426
setg r12b
movsx si, bl
mov qword [rsp + 0xf8], rax
movabs rax, 0x56abc9090122ed13
not bx
movzx r15, cx
mov qword [rsp + 0x100], rax
cwde
cdqe
movzx rsi, sp
movabs rax, 0xf54db3f725dd577b
jmp 0x1403b0289
mov qword [rsp + 0x108], rax
setge sil
movabs rax, 0x12e9428a7f611679
mov qword [rsp + 0x110], rax
movzx r15w, al
movsx r14d, sp
movabs rax, 0x187f5c28d0b2d517
xchg sil, sil
setb r15b
movsx esi, cx
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x130], rbp
mov qword [rsp + 0x138], rdi
cmovb bx, bx
movabs rbx, 0xbbeab153fb5d239f
cmove r12, r9
movzx rsi, r9w
bswap r12w
mov qword [rsp + 0x140], rbx
movabs rsi, 0xd0ef716b104bac0
mov qword [rsp + 0x148], rsi
xchg r14w, ax
cwde
not r14b
movabs r14, 0x230f6ec11c7484f9
mov r15w, 0x5a61
movzx r12w, r14b
mov qword [rsp + 0x150], r14
mov r12, 0x68d139e6
xchg r12w, ax
movabs r15, 0x177b1b24c239afc2
cdqe
cmovne ax, di
movzx r12w, sil
mov qword [rsp + 0x158], r15
cwde
cdqe
movzx rax, di
movabs rax, 0x312d46b71426ae23
mov qword [rsp + 0x160], rax
movabs rax, 0x17e9d9ead43ab904
mov qword [rsp + 0x168], rax
mov al, al
setns r12b
not r12b
movabs rax, 0xaf90d535c41d0ffd
jmp 0x1403b03a2
mov qword [rsp + 0x170], rax
jmp 0x1403b03b8
movabs rax, 0xf2ded97898f27626
mov qword [rsp + 0x178], rax
cmovne rax, rbx
jmp 0x1403b03d7
movabs rax, 0x90e5a41b194eb827
movsx r12d, dx
mov r12b, 0xb1
mov r12b, bpl
mov qword [rsp + 0x180], rax
seto r12b
nop
movzx ax, al
movabs rax, 0xf9814abe0c4a8548
movsx r12d, si
cmove r12w, ax
mov qword [rsp + 0x188], rax
movsx r12, r15w
movabs rax, 0x469e87a91fcaad61
bswap r12
movzx r12w, r14b
mov qword [rsp + 0x190], rax
movabs rax, 0x516cc54c8d9f586a
movsxd r12, r11d
movzx r12d, cx
movzx r12, cx
mov qword [rsp + 0x198], rax
mov al, bh
cbw
cmovnp ax, r12w
movabs rax, 0x9f20a11fed6b970b
xchg r12b, r12b
mov qword [rsp + 0x1a0], rax
xchg r12d, eax
movzx r12, r9w
movabs rax, 0xf6c14852f09a9ccc
movzx r12, di
setns r12b
cmovl r12, r8
mov qword [rsp + 0x1a8], rax
movabs rax, 0x60c699ddbde176e5
mov qword [rsp + 0x1b0], rax
movsx eax, r12w
mov r12w, 0x7324
lahf
movabs rax, 0xbd0a0300ef81894e
xchg r12b, r12b
movzx r12, di
bswap r12d
mov qword [rsp + 0x1b8], rax
movabs rax, 0x98e00c035e8dd42f
mov r12b, r13b
not r12b
mov r12b, 0xbd
mov qword [rsp + 0x1c0], rax
movabs rax, 0x9b0161460f809550
mov r12d, esp
movzx r12d, cx
movzx r12, r11w
mov qword [rsp + 0x1c8], rax
movzx r12w, dil
movabs rax, 0x53f629f1d39d0a89
movzx r12d, r9w
mov r12d, edi
mov r12w, 0xe6
mov qword [rsp + 0x1d0], rax
cbw
movabs rax, 0xc1ab1d414ee4452
movzx r12w, dil
movzx r12, r10w
mov qword [rsp + 0x1d8], rax
jmp 0x1403b054e
movabs rax, 0x56cdc967014bed33
mov qword [rsp + 0x1e0], rax
mov rax, 0x7b506b86
movabs rax, 0xf52cb39a25af5714
mov qword [rsp + 0x1e8], rax
movsx ax, r9b
movsxd r12, r10d
not ax
movabs rax, 0x128742e57f08160d
xchg r12b, r12b
mov qword [rsp + 0x1f0], rax
movsx eax, r9w
movabs rax, 0x187f5c28d0b2d536
sete r12b
mov qword [rsp + 0x1f8], rax
bswap rax
cwde
cbw
lea r12, [rsp + 0x130]
movzx ax, dil
not al
mov rax, r12
jmp 0x1403b05d0
movaps xmm0, xmmword [rsp + 0x50]
xorps xmm0, xmmword [rax]
movaps xmmword [rsp + 0x50], xmm0
jmp 0x1403b05e2
movaps xmm0, xmmword [rsp + 0x60]
xorps xmm0, xmmword [rax + 0x10]
movaps xmmword [rsp + 0x60], xmm0
jmp 0x1403b05f5
movaps xmm0, xmmword [rsp + 0x70]
jmp 0x1403b05ff
xorps xmm0, xmmword [rax + 0x20]
movaps xmmword [rsp + 0x70], xmm0
movaps xmm0, xmmword [rsp + 0x80]
jmp 0x1403b0615
xorps xmm0, xmmword [rax + 0x30]
movaps xmmword [rsp + 0x80], xmm0
jmp 0x1403b0626
movaps xmm0, xmmword [rsp + 0x90]
jmp 0x1403b0633
xorps xmm0, xmmword [rax + 0x40]
movaps xmmword [rsp + 0x90], xmm0
jmp 0x1403b0644
movaps xmm0, xmmword [rsp + 0xa0]
jmp 0x1403b0651
xorps xmm0, xmmword [rax + 0x50]
movaps xmmword [rsp + 0xa0], xmm0
jmp 0x1403b0662
movaps xmm0, xmmword [rsp + 0xb0]
jmp 0x1403b066f
xorps xmm0, xmmword [rax + 0x60]
movaps xmmword [rsp + 0xb0], xmm0
jmp 0x1403b0680
movaps xmm0, xmmword [rsp + 0xc0]
xorps xmm0, xmmword [rax + 0x70]
movaps xmmword [rsp + 0xc0], xmm0
movaps xmm0, xmmword [rsp + 0xd0]
jmp 0x1403b06a1
xorps xmm0, xmmword [rax + 0x80]
movaps xmmword [rsp + 0xd0], xmm0
jmp 0x1403b06b5
movaps xmm0, xmmword [rsp + 0xe0]
xorps xmm0, xmmword [rax + 0x90]
movaps xmmword [rsp + 0xe0], xmm0
jmp 0x1403b06d1
movaps xmm0, xmmword [rsp + 0xf0]
jmp 0x1403b06de
xorps xmm0, xmmword [rax + 0xa0]
movaps xmmword [rsp + 0xf0], xmm0
jmp 0x1403b06f2
movaps xmm0, xmmword [rsp + 0x100]
jmp 0x1403b06ff
xorps xmm0, xmmword [rax + 0xb0]
movaps xmmword [rsp + 0x100], xmm0
movaps xmm0, xmmword [rsp + 0x110]
xorps xmm0, xmmword [rax + 0xc0]
movaps xmmword [rsp + 0x110], xmm0
mov qword [rsp + 0x30], r13
movsx r13d, dx
cwde
jmp 0x1403b0734
mov eax, dword [rsp + 0x4c]
movzx r13d, cx
movsxd rcx, r13d
cdq
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x50]
not cl
lea r9, [rsp + 0x200]
movsx r13d, r9w
setb dl
mov edx, 0x400
jmp 0x1403b0771
lea r13, [rsp + 0x280]
mov cx, r11w
movzx cx, r15b
mov rcx, r13
jmp 0x1403b078a
call fcn.1403b094d
mov rcx, qword [rsp + 0x40]
jmp 0x1403b0799
call qword [sym.imp.KERNEL32.dll_LocalFree]
movabs rax, 0xe7e335d9976c2b13
mov qword [rsp + 0x50], rax
jmp 0x1403b07b5
movabs rax, 0x6cc902b5d4bb29d2
mov qword [rsp + 0x58], rax
movzx eax, si
movsx rax, r13w
not rax
movabs rax, 0xbbcab121fb3223ed
mov qword [rsp + 0x60], rax
movabs rax, 0xd7bf775b167baaf
jmp 0x1403b07ec
mov qword [rsp + 0x68], rax
cmovo ax, r14w
cdqe
movabs rax, 0x236b6ea41c06848b
jmp 0x1403b0807
mov qword [rsp + 0x70], rax
mov al, r8b
movabs rax, 0x177b1b24c239afe3
mov qword [rsp + 0x78], rax
jmp 0x1403b0823
mov qword [rsp + 0x130], rbp
jmp 0x1403b0830
mov qword [rsp + 0x138], rdi
jmp 0x1403b083d
mov qword [rsp + 0x140], rbx
jmp 0x1403b084a
mov qword [rsp + 0x148], rsi
jmp 0x1403b0857
mov qword [rsp + 0x150], r14
mov qword [rsp + 0x158], r15
jmp 0x1403b086c
movaps xmm0, xmmword [rsp + 0x50]
jmp 0x1403b0876
xorps xmm0, xmmword [r12]
movaps xmmword [rsp + 0x50], xmm0
jmp 0x1403b0885
movaps xmm0, xmmword [rsp + 0x60]
jmp 0x1403b088f
xorps xmm0, xmmword [r12 + 0x10]
movaps xmmword [rsp + 0x60], xmm0
jmp 0x1403b089f
movaps xmm0, xmmword [rsp + 0x70]
jmp 0x1403b08a9
xorps xmm0, xmmword [r12 + 0x20]
movaps xmmword [rsp + 0x70], xmm0
bsf r8, rdx
lea r8, [rsp + 0x50]
xor dl, sil
dec r9b
sub ecx, ecx
not dl
movsx r9, r11w
cmovle r9d, r11d
mov rdx, r13
movzx r9, r13w
movsx r9d, bp
movsx r9w, dl
mov r9d, 0x10
jmp 0x1403b08ea
call qword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [0x1400dd058]
cmc
movsx r10w, r15b
or r10w, bp
mov r10, 0xffffffffffffffff
test spl, 0xa7
sub edx, edx
jmp 0x1403b0912
syscall
add rsp, 0xa88
pop rbx
movzx edi, r14w
mov di, 0x522b
movsx si, r13b
pop rbp
pop rdi
mov r14d, edx
cmovbe r13w, r9w
not r12b
pop rsi
movzx r13, sp
movsx r15, r15w
pop r12
pop r13
pop r14
pop r15
jmp 0x1403b094c
ret