Function at 0x413710
Capabilities:
Encrypt data using chaskey
Encrypt data using speck

Disassembly:
call fcn.004128d5
jmp 0x406e70
jmp 0x413f62
jmp 0x4119c5
jmp 0x4152a1
jno 0x411b6b
je 0x40934d
bswap ax
not ah
not al
movsx eax, cl
dec eax
lea eax, [ebx + edx*4]
jmp 0x413547
jmp 0x443dd8
jmp 0x40765e
jmp 0x412295
jmp 0x413533
jb 0x412232
dec eax
rcr edx, 0x14
rol ah, 1
movzx eax, byte [ebp - 2]
shl dx, cl
sar edx, 4
clc
btc dx, 5
shr eax, 5
movzx edx, bl
bt bx, 4
imul eax, eax, 0x300
bsr dx, sp
dec eax
lea eax, [ebx + eax*4 + 0x94d8]
adc edx, 0xbe1bbdaf
neg dl
dec eax
mov edx, edi
rcl dx, cl
push ecx
shl dh, 7
push ebx
shld dx, bp, 5
and bx, cx
or dx, dx
dec eax
mov ebx, eax
or dx, 0x9b3c
dec eax
add edx, 0xc06d1512
mov edx, 1
cmp dl, dh
stc
cmp ecx, 7
jns 0x4412e8
jb 0x413539
rol al, 1
rcl dh, 1
neg ax
mov eax, dword [ebp - 0x20]
sal cl, 6
and cl, ch
sbb cl, dl
dec eax
not eax
cmc
xadd cl, dh
stc
mov cl, byte [eax + edi]
dec eax
shrd eax, edx, 0x34
not al
add cl, cl
bswap ax
setb dh
movzx ax, al
mov ah, bh
movsx eax, dl
dec eax
lea eax, [ebx + edx*4 + 0x400]
jmp 0x40706e
dec eax
lea eax, [ebx - 0x1c51eb73]
mov ah, 0x5e
setb dh
movsx ax, bl
bswap eax
dec eax
lea eax, [eax + 0x52da7fc3]
movsx eax, al
dec eax
lea eax, [ebx + edx*4 + 0x400]
jmp 0x40fd13
stc
cmp al, 0x1a
dec eax
bsr eax, esp
dec eax
mov edx, edi
adc eax, edx
sub ah, 0x4e
dec eax
sub edx, dword [ebp + 0x18]
movsx eax, bl
rcr ah, 6
and al, 0xc2
btr ax, bx
and edx, 3
sub eax, esi
neg ah
setl ah
mov eax, ecx
clc
test si, si
jne 0x4086f7
shl eax, 4
jmp 0x40e769
jae 0x413539
shld ecx, ecx, 0x1b
xchg al, bl
shr ah, 7
pop ebx
not cl
test ch, ah
pop ecx
ror ah, 6
dec eax
mov byte [ebp - 2], dl
bts ax, 2
rcr ah, 4
cmp ecx, 4
bswap eax
mov eax, ecx
jmp 0x40fbf9
mov ah, 0xdd
not ah
not ax
dec eax
lea eax, [ebx + edx*4 + 0x400]
jmp 0x40e815
cmp esi, edx
bt sp, 9
test dh, 1
mov dh, cl
mov dh, 0
jmp 0x440f36
dec eax
lea eax, [ebx + edx*4]
jmp 0x413547
stosb byte es:[edi], al
jmp 0x407984
jmp 0x412954
mov dh, 0
jmp 0x407277
je 0x40934d
sets ah
mov ah, 0xf0
dec eax
lea eax, [ebx - 0xb5495b8]
jmp 0x40874b
jmp 0x414ef4
jae 0x413539
not al
jmp 0x4121c5
test dh, 1
not dh
not dh
not dh
seta dh
mov dh, 0
jmp 0x413ffa
adc dl, dl
jmp 0x411340
jmp 0x413f4e
stc
inc al
rcr ah, cl
add cl, cl
jmp 0x440a3b
jmp 0x4122bc
call fcn.004128d5
jmp 0x410396
jmp 0x406558
dec eax
lea eax, [ebx + eax*4]
jmp 0x40e981
xor dh, dl
test esi, 0x9dd47cf0
cmp ax, dx
cmc
test dh, 1
setl dh
setnp dh
mov dh, ah
mov dh, 0
jmp 0x406be5
jne 0x412199
bt bx, di
sub ecx, eax
mov al, cl
not al
not al
mov al, byte [ebp - 2]
jmp 0x41499f
dec eax
lea eax, [ebx + eax*4]
jmp 0x40e955
call fcn.004128d5
jmp 0x4107d3
jmp 0x410683
adc dl, dl
jmp 0x408fee
jmp 0x414592
jb 0x412232
bsf eax, esp
not ax
not eax
btr dx, bx
rol dx, cl
movzx eax, byte [ebp - 2]
sbb dl, bh
rol dh, 5
shr eax, 5
setne dh
dec eax
bts edx, edx
imul eax, eax, 0x300
cmp bl, ah
sar dl, cl
add dl, 0xbe
jmp 0x412d78
jmp 0x408ff3
jb 0x413539
bswap ax
bsf ax, sp
mov eax, dword [ebp - 0x20]
add cl, 0x3c
dec eax
not eax
neg dh
mov cl, byte [eax + edi]
dec eax
bswap eax
cmp ah, 0xf3
add cl, cl
jmp 0x407929
call fcn.004128d5
jmp 0x410ba9
jmp 0x412675
clc
cmp ah, 0x7d
test sp, 0x5a0e
stc
shl eax, 4
cmc
stc
add eax, edx
jmp 0x40f140
jmp 0x40f8d6
jmp 0x44097d
je 0x40934d
movsx ax, bl
mov ax, 0x1714
jmp 0x443f7e
jmp 0x440f3b
je 0x40934d
jmp 0x4406ca
mov al, byte [ebp - 2]
jmp 0x4151dd
jmp 0x40eb60
stc
xor dh, dl
clc
test ax, cx
test dh, 1
not dh
jmp 0x44156d
jmp 0x411815
adc dl, dl
jmp 0x4114b4
bt si, dx
cmc
jmp 0x41288c
btr cx, si
shld ax, di, cl
pop ebx
dec eax
lea ecx, [edx*4 - 0x4a5f913f]
movzx ecx, bl
not ch
btc ax, dx
pop ecx
setne ah
mov byte [ebp - 2], dl
dec eax
rol eax, cl
bsr ax, di
sar ah, 4
cmp dx, si
cmp ecx, 4
bswap ax
movzx ax, al
jle 0x412be9
mov eax, ecx
jmp 0x415023
movzx ax, cl
dec eax
lea eax, [ebx + ecx*4 + 0x300]
jmp 0x4068c0
call fcn.004128d5
jmp 0x409240
call fcn.004128d5
jmp 0x41387d
adc dl, dl
jmp 0x413e79
jmp 0x441153
sub ecx, eax
not al
mov al, dh
setg al
jmp 0x411893
adc dl, dl
jmp 0x410446
dec eax
lea eax, [edi - 0x5a5580f5]
movsx ax, al
setae ah
not al
mov eax, ecx
jmp 0x41284d
dec eax
lea eax, [ebx + eax*4 + 0x94d8]
add edx, esi
push ecx
dec dh
dec eax
mov edx, 0xc79ae01e
movsx ax, cl
sete ah
setae al
dec eax
lea eax, [ebx + edx*4]
jp 0x406c1b
call fcn.004128d5
js 0x408c0b
adc dl, dl
jmp 0x414b49
je 0x40934d
dec eax
movzx eax, cl
jmp 0x4411a2
btr eax, 0x17
mov eax, ecx
jo 0x4107ef
stc
stc
shl eax, 4
test si, sp
bt edi, esp
cmp bh, 0x5f
dec eax
cmp esp, 0x14cf9d9
add eax, edx
jmp 0x41191e
jmp 0x411c05
jmp 0x40875e
jmp 0x440f5b
mov dh, 0
jmp 0x411376
adc dl, dl
jmp 0x406888
jb 0x407a83
cmc
test ax, ax
cmc
xor dh, dl
jmp 0x4086e3
jmp 0x408fb0
call fcn.004128d5
jmp 0x4092c8
jmp 0x443f38
jmp 0x407a7d
jb 0x407a83
clc
stc
stc
xor dh, dl
clc
stc
test dh, 1
jmp 0x413ec5
jb 0x40f08e
btr eax, 0x14
bswap ax
clc
clc
cmp ecx, 0xa
movzx ax, al
jmp 0x440ef3
stosb byte es:[edi], al
jmp 0x407984
mov ah, 0xa0
dec eax
lea eax, [ebx + edx*4]
jmp 0x413547
jb 0x407a83
stc
bt esp, edi
cmp ch, ch
jmp 0x40ec1c
mov ah, 0x93
mov ax, 0x29bc
dec eax
lea eax, [esi*2 - 0xe5c9817]
setb dh
movzx ax, dl
dec eax
bswap eax
seta al
dec eax
lea eax, [ebx + edx*4 + 0x400]
jmp 0x440e88
jb 0x40f08e
cmc
rol ax, 8
sub al, 0x91
bts ax, bx
mov eax, 6
cmc
cmp bl, dl
cmp dh, 0x27
dec eax
test esi, ecx
sub ecx, eax
setle al
mov al, byte [ebp - 2]
jmp 0x413918
jmp 0x41044b
jmp 0x40f14e
movsx eax, bl
mov eax, 3
jmp 0x440bb1
jmp 0x4135a9
jb 0x407a83
stc
test bl, 0xa5
test edi, eax
cmp cl, 0xb4
xor dh, dl
jmp 0x409158
jb 0x407a83
stc
jmp 0x411afc
jb 0x40f08e
add eax, 0x2e4864a7
shld ax, dx, cl
bsf ax, cx
cmp ecx, 0xa
dec eax
lea eax, [eax - 0x6646016b]
bswap eax
sets ah
mov eax, 3
jmp 0x40692e
setp ah
dec eax
lea eax, [ebx + edx*4]
jmp 0x413547
jns 0x440e32
jb 0x413539
xadd ah, dh
mov eax, dword [ebp - 0x20]
cmp cl, 0x9e
add dh, ch
bt ecx, 0xa
inc dh
dec eax
not eax
sbb dh, dh
dec eax
bt ecx, edx
sub dh, bh
dec cl
mov cl, byte [eax + edi]
shld eax, ecx, 0xc
add cl, cl
setp dh
dec eax
bswap eax
movzx ax, dl
setb dh
jo 0x407f7e
dec eax
lea eax, [ebx + edx*4 + 0x400]
jmp 0x40f262
not dh
jmp 0x408f5d
stosb byte es:[edi], al
jmp 0x407984
dec eax
lea eax, [ebx + edx*4]
jmp 0x413547