Function at 0x1403af4b6
Capabilities:
Encrypt data using speck

Disassembly:
push r15
push r14
push r13
test esi, 0x29707802
clc
push r12
cmc
cmp dil, 0xc1
push rsi
movzx si, r13b
shl sil, 0xc0
bsr rsi, r14
push rdi
bsr esi, ecx
jmp 0x1403af4e1
push rbp
push rbx
movsx rsi, ax
movzx rbp, di
bts esi, esp
sub rsp, 0xa88
movsx bp, sil
mov rsi, rcx
and ebp, 0x72c16505
xor di, cx
mov qword [rsp + 0x40], 0
shl bp, 0x4f
movabs rbp, 0xe78235ad970d2b55
sub dil, r12b
bts edi, ecx
movabs rdi, 0x6cbb02d0d49b29be
cmc
cmp dl, 1
mov qword [rsp + 0x128], r8
jmp 0x1403af53e
mov dword [rsp + 0x4c], r9d
jne 0x1403af605
movabs rax, 0xe7f735c197612b70
mov qword [rsp + 0x130], rax
mov rax, rdi
movsx cx, r10b
xchg cl, ch
mov qword [rsp + 0x138], rax
bswap cx
movsx ecx, r13w
mov rcx, rbp
jmp 0x1403af57c
mov qword [rsp + 0x280], rcx
jmp 0x1403af589
mov qword [rsp + 0x288], rax
mov al, spl
bswap eax
lea rax, [rsp + 0x280]
movaps xmm0, xmmword [rsp + 0x130]
xorps xmm0, xmmword [rax]
movaps xmmword [rsp + 0x130], xmm0
mov cl, 2
not r9b
movsx dx, sil
lea rcx, [rsp + 0x200]
cqo
bswap r9w
setbe r8b
lea r8, [rsp + 0x130]
cmova rdx, r11
not dh
mov edx, 0x40
mov r9, rsi
jmp 0x1403af5e8
call fcn.1403b02da
mov ecx, 0x13ff
xor edx, edx
movzx r8, r10w
mov r8d, esi
jmp 0x1403af600
jmp 0x1403af916
mov ebx, edx
movzx ax, r10b
movabs rax, 0xe7ee358897752b65
jmp 0x1403af61b
mov qword [rsp + 0x130], rax
cmovle eax, ebp
movabs rax, 0x6cbb02d0d4c329d2
jmp 0x1403af635
mov qword [rsp + 0x138], rax
bswap ax
mov rax, rbp
jmp 0x1403af648
mov qword [rsp + 0x280], rax
movsx eax, r11w
cwde
movsx rax, si
mov rax, rdi
jmp 0x1403af661
mov qword [rsp + 0x288], rax
movsxd rax, r10d
nop
jmp 0x1403af672
lea rax, [rsp + 0x280]
jmp 0x1403af67f
movaps xmm0, xmmword [rsp + 0x130]
jmp 0x1403af68c
xorps xmm0, xmmword [rax]
movaps xmmword [rsp + 0x130], xmm0
mov ch, 0x3e
jmp 0x1403af69f
lea rcx, [rsp + 0x200]
lea r8, [rsp + 0x130]
movsxd r9, r13d
mov edx, 0x40
movzx r9d, r9w
bswap r9w
mov r9, rsi
call fcn.1403b02da
test bl, bl
jmp 0x1403af6ce
je 0x1403af87a
movzx eax, bl
cmp r13b, bl
cmc
stc
cmp eax, 2
jmp 0x1403af6e4
jne 0x1403af887
movabs r14, 0xcbf29ce484222325
movzx rcx, r10w
movzx cx, ah
not ch
mov ecx, esi
jmp 0x1403af705
call sub.ntdll.dll_RtlNtStatusToDosError
mov r8d, eax
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
and cl, dil
sub ch, 0x5b
mov r11, qword [rax + 0x18]
bts dx, dx
rol cl, 0xe6
test r15b, r11b
add r11, 0x10
movzx r15, di
movabs rdx, 0x2cc10c8855a9a8cd
xchg r15b, r15b
movabs r15, 0x1d12a89b9e723ff5
mov cx, r10w
not cx
mov ecx, 0x1bff
jmp 0x1403af75e
jmp 0x1403af771
cmp rax, rdx
jmp 0x1403af76b
je 0x1403af8b2
mov r11, qword [r11]
rcr r10d, 0x3f
shrd r10d, r9d, 0xdd
movzx r10w, r12b
mov r10, qword [r11 + 0x30]
cmc
test r10, r10
jmp 0x1403af78f
je 0x1403af8f6
mov r12, qword [r11 + 0x60]
neg bh
xor bh, 0x56
rcl bh, cl
mov rbx, 0xffffffffffffffff
nop word cs:[rax + rax]
cmp word [r12 + rbx*2 + 2], 0
jmp 0x1403af7bf
lea rbx, [rbx + 1]
jne 0x1403af7b3
mov rax, r14
cmp cl, dil
jmp 0x1403af7da
test rbx, rbx
jmp 0x1403af7e2
je 0x1403af763
sub esi, esi
bt di, 0x73
test r15b, r13b
test r13b, 0x8d
mov rbp, r14
rcl r13w, 0xfc
ror r9, 0x6f
nop word [rax + rax]
movsx eax, dx
movzx eax, word [r12 + rsi*2]
adc dil, bpl
and r9b, 0xd0
lea edi, [rax - 0x41]
lea r13d, [rax - 0x410]
lea r9d, [rax + 0x20]
cmp r13w, 0x20
jmp 0x1403af82f
cmovb eax, r9d
test esi, r11d
cmp di, 0x1a
jmp 0x1403af83f
cmovb eax, r9d
cmc
cmp r15b, bl
stc
movzx eax, ax
xor rax, rbp
imul rax, r15
setbe bpl
xchg bpl, bpl
mov ebp, esi
inc esi
movsx ebp, bp
movsxd rbp, esp
mov rbp, rax
cmc
cmp rsi, rbx
jmp 0x1403af86f
jb 0x1403af80b
jmp 0x1403af763
xor r13d, r13d
jmp 0x1403af882
jmp 0x1403af959
cmp bl, 3
movsx r8, dx
movzx r8d, si
sets ch
not cx
movsx ecx, r9w
cmovne r8d, esi
movsx ecx, r9w
movsx rcx, r11w
mov ecx, 0x13ff
jmp 0x1403af914
test r11, r11
movzx rdi, ax
movzx dx, r14b
cqo
cmove r10, r11
mov rdx, r10
movsx rdi, r13w
movabs rbp, 0xe78235ad970d2b55
cmovb di, r14w
not dil
movzx di, r9b
movabs rdi, 0x6cbb02d0d49b29be
jmp 0x1403af8f1
jmp 0x1403af916
movabs rbp, 0xe78235ad970d2b55
clc
movabs rdi, 0x6cbb02d0d49b29be
adc al, r10b
neg ax
sar al, 0x48
xor edx, edx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
cmp al, dil
mov qword [rsp + 0x30], 0
jmp 0x1403af934
mov dword [rsp + 0x28], 0
clc
cmp r10b, 0xbd
cmc
sub r9d, r9d
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
mov r13, qword [rsp + 0x40]
movsx r8, r11w
bts r8w, r9w
lea rcx, [rsp + 0x280]
sal r8b, cl
shl r8b, 0xb2
mov r8b, cl
mov r8d, 0x800
xor edx, edx
jmp 0x1403af978
call fcn.1404a3c96
movabs rax, 0xe7ed35df977f2b10
seto bh
mov qword [rsp + 0x50], rax
mov al, r15b
movsx ax, r10b
movabs rax, 0x6c9e02f0d4a129cc
mov qword [rsp + 0x58], rax
cwde
not bx
movabs rax, 0xbb83b115fb5723ec
setge r12b
mov qword [rsp + 0x60], rax
movzx bx, dil
cwde
movabs rax, 0xd2ef72cb161baac
jmp 0x1403af9da
mov qword [rsp + 0x68], rax
cdqe
movabs rax, 0x23396ef01c4484dc
jmp 0x1403af9f4
mov qword [rsp + 0x70], rax
movabs rax, 0x17711b7cc255afae
movsxd r15, esi
movsx r12w, spl
jmp 0x1403afa10
mov qword [rsp + 0x78], rax
movzx r12d, r8w
movabs rax, 0x314846d9144fae6f
mov r14b, 0xca
mov qword [rsp + 0x80], rax
setge bh
movzx r14w, r10b
movabs rax, 0x178dd9cfd41ab93e
xchg r12d, r15d
mov qword [rsp + 0x88], rax
xchg bx, ax
bswap r12w
movabs rax, 0xafe3d510c4170ff7
movsx r12d, r12w
mov qword [rsp + 0x90], rax
mov r15d, r8d
movabs rax, 0xf2b1d93b98f8762c
setae r14b
bswap r12
mov qword [rsp + 0x98], rax
movsxd r14, esi
movsx si, r10b
xchg ebx, r12d
movabs rax, 0x9086a47a193ab849
mov qword [rsp + 0xa0], rax
movsx r15w, bpl
jmp 0x1403afaaa
movabs rax, 0xf9f44acd0c6a853c
movzx bx, spl
movsx r15, bx
not r12d
mov qword [rsp + 0xa8], rax
movsx ebx, cx
jmp 0x1403afad1
movabs rax, 0x46ec87c61fbaad11
cmove r15, r14
mov qword [rsp + 0xb0], rax
movzx r12w, al
movzx r12, di
movsx r12d, r8w
movabs rax, 0x5102c52d8dbf581e
mov qword [rsp + 0xb8], rax
xchg sil, al
movabs rax, 0x9f52a16fed4b976f
mov si, 0x321d
movsx r15d, r15w
xchg r15b, sil
mov qword [rsp + 0xc0], rax
cwde
movsx r12, r8w
movabs rax, 0xf6a5483bf0ec9ca3
mov qword [rsp + 0xc8], rax
movabs rax, 0x60e699bcbdc17680
movsx bx, r14b
mov sil, 6
movsx esi, cx
mov qword [rsp + 0xd0], rax
movabs rax, 0xbd6f0372efe2893d
not r14w
movsx si, bpl
movsxd rsi, r15d
mov qword [rsp + 0xd8], rax
movabs rax, 0x98880c705ee3d44a
movsxd rsi, r15d
mov qword [rsp + 0xe0], rax
movsx r14, di
movabs rax, 0x9b7661660ff4953f
movzx bx, ah
mov qword [rsp + 0xe8], rax
cwde
movabs rax, 0x53d62999d3e90ae0
movsx r15d, bx
not si
mov qword [rsp + 0xf0], rax
lahf
movzx r15, di
movsx ax, r12b
movabs rax, 0xc69b1bd14864426
jmp 0x1403afbde
mov qword [rsp + 0xf8], rax
movzx r12d, r10w
movzx bx, dl
cmovbe si, r12w
movabs rax, 0x56abc9090122ed13
mov qword [rsp + 0x100], rax
cwde
movabs rax, 0xf54db3f725dd577b
movsx r15d, r14w
mov qword [rsp + 0x108], rax
movsx r12, bp
movsx r15d, r12w
movabs rax, 0x12e9428a7f611679
movsx r12d, r8w
movzx r12d, r13w
mov qword [rsp + 0x110], rax
movzx r12d, dx
movabs rax, 0x187f5c28d0b2d517
mov qword [rsp + 0x118], rax
movzx rax, r10w
cbw
mov qword [rsp + 0x130], rbp
mov ax, 0x5068
movsxd rbx, r15d
mov qword [rsp + 0x138], rdi
cbw
movsx ax, r9b
movabs rbx, 0xbbeab153fb5d239f
mov qword [rsp + 0x140], rbx
xchg r15w, si
movsxd r12, ecx
movabs rsi, 0xd0ef716b104bac0
mov qword [rsp + 0x148], rsi
cdqe
movzx r14w, r15b
setne al
movabs r14, 0x230f6ec11c7484f9
mov qword [rsp + 0x150], r14
mov ax, bx
xchg r12b, r12b
movabs r15, 0x177b1b24c239afc2
movzx r12d, di
movsxd r12, ecx
mov qword [rsp + 0x158], r15
mov r12b, 0x19
cbw
movabs rax, 0x312d46b71426ae23
mov r12w, 0x6c78
xchg r12b, r12b
not r12b
mov qword [rsp + 0x160], rax
movabs rax, 0x17e9d9ead43ab904
jmp 0x1403afd0f
mov qword [rsp + 0x168], rax
movsx r12d, r10w
setnp ah
movabs rax, 0xaf90d535c41d0ffd
movsx r12d, dx
mov qword [rsp + 0x170], rax
lahf
movsx r12d, di
bswap eax
movabs rax, 0xf2ded97898f27626
movzx r12d, dx
jmp 0x1403afd52
mov qword [rsp + 0x178], rax
movabs rax, 0x90e5a41b194eb827
not r12d
mov qword [rsp + 0x180], rax
jmp 0x1403afd7b
movabs rax, 0xf9814abe0c4a8548
mov qword [rsp + 0x188], rax
movabs rax, 0x469e87a91fcaad61
cmovle r12d, r15d
movsx r12d, bx
mov r12b, 0x9a
mov qword [rsp + 0x190], rax
movsx ax, sil
seto ah
mov al, 0x9b
movabs rax, 0x516cc54c8d9f586a
jmp 0x1403afdcb
mov qword [rsp + 0x198], rax
xchg al, r12b
jmp 0x1403afde0
movabs rax, 0x9f20a11fed6b970b
cmovne r12w, r13w
xchg r12w, r12w
bswap r12w
mov qword [rsp + 0x1a0], rax
movzx r12, dx
not rax
movabs rax, 0xf6c14852f09a9ccc
mov qword [rsp + 0x1a8], rax
not r12b
movabs rax, 0x60c699ddbde176e5
mov r12, 0x30aa2e1f
xchg r12, r12
mov qword [rsp + 0x1b0], rax
setne r12b
cdqe
cwde
movabs rax, 0xbd0a0300ef81894e
mov qword [rsp + 0x1b8], rax
setb al
jmp 0x1403afe58
movabs rax, 0x98e00c035e8dd42f
jmp 0x1403afe71
mov qword [rsp + 0x1c0], rax
lahf
movabs rax, 0x9b0161460f809550
mov qword [rsp + 0x1c8], rax
setno al
movsxd rax, edi
movabs rax, 0x53f629f1d39d0a89
mov qword [rsp + 0x1d0], rax
movabs rax, 0xc1ab1d414ee4452
mov r12b, 0x5f
movzx r12w, r13b
cmovno r12w, ax
mov qword [rsp + 0x1d8], rax
movsx r12w, r13b
xchg r12d, r12d
cmovne r12w, r15w
movabs rax, 0x56cdc967014bed33
cmove r12w, di
mov qword [rsp + 0x1e0], rax
movsx ax, dl
movzx eax, di
movabs rax, 0xf52cb39a25af5714
mov qword [rsp + 0x1e8], rax
movzx r12, di
movabs rax, 0x128742e57f08160d
movsx r12d, sp
cmovne r12d, r9d
mov qword [rsp + 0x1f0], rax
movzx rax, r14w
cbw
movsx r12w, r13b
movabs rax, 0x187f5c28d0b2d536
mov qword [rsp + 0x1f8], rax
lea r12, [rsp + 0x130]
mov rax, r12
jmp 0x1403aff4b
movaps xmm0, xmmword [rsp + 0x50]
xorps xmm0, xmmword [rax]
movaps xmmword [rsp + 0x50], xmm0
jmp 0x1403aff5d
movaps xmm0, xmmword [rsp + 0x60]
jmp 0x1403aff67
xorps xmm0, xmmword [rax + 0x10]
movaps xmmword [rsp + 0x60], xmm0
jmp 0x1403aff75
movaps xmm0, xmmword [rsp + 0x70]
xorps xmm0, xmmword [rax + 0x20]
movaps xmmword [rsp + 0x70], xmm0
jmp 0x1403aff88
movaps xmm0, xmmword [rsp + 0x80]
xorps xmm0, xmmword [rax + 0x30]
movaps xmmword [rsp + 0x80], xmm0
movaps xmm0, xmmword [rsp + 0x90]
xorps xmm0, xmmword [rax + 0x40]
movaps xmmword [rsp + 0x90], xmm0
movaps xmm0, xmmword [rsp + 0xa0]
jmp 0x1403affbd
xorps xmm0, xmmword [rax + 0x50]
movaps xmmword [rsp + 0xa0], xmm0
jmp 0x1403affce
movaps xmm0, xmmword [rsp + 0xb0]
jmp 0x1403affdb
xorps xmm0, xmmword [rax + 0x60]
movaps xmmword [rsp + 0xb0], xmm0
jmp 0x1403affec
movaps xmm0, xmmword [rsp + 0xc0]
jmp 0x1403afff9
xorps xmm0, xmmword [rax + 0x70]
movaps xmmword [rsp + 0xc0], xmm0
jmp 0x1403b000a
movaps xmm0, xmmword [rsp + 0xd0]
jmp 0x1403b0017
xorps xmm0, xmmword [rax + 0x80]
movaps xmmword [rsp + 0xd0], xmm0
movaps xmm0, xmmword [rsp + 0xe0]
jmp 0x1403b0033
xorps xmm0, xmmword [rax + 0x90]
movaps xmmword [rsp + 0xe0], xmm0
movaps xmm0, xmmword [rsp + 0xf0]
jmp 0x1403b004f
xorps xmm0, xmmword [rax + 0xa0]
movaps xmmword [rsp + 0xf0], xmm0
movaps xmm0, xmmword [rsp + 0x100]
jmp 0x1403b006b
xorps xmm0, xmmword [rax + 0xb0]
movaps xmmword [rsp + 0x100], xmm0
jmp 0x1403b007f
movaps xmm0, xmmword [rsp + 0x110]
jmp 0x1403b008c
xorps xmm0, xmmword [rax + 0xc0]
movaps xmmword [rsp + 0x110], xmm0
mov qword [rsp + 0x30], r13
cdq
mov eax, dword [rsp + 0x4c]
movzx r13, r13w
movzx r13w, r8b
cwd
mov dword [rsp + 0x28], eax
movsx r9w, spl
xchg r8b, r13b
mov rax, qword [rsp + 0x128]
movsx rdx, r11w
mov qword [rsp + 0x20], rax
cdq
lea r8, [rsp + 0x50]
movsx ecx, dx
setle r9b
lea r9, [rsp + 0x200]
mov edx, 0x400
mov rcx, 0x38e213a1
lea r13, [rsp + 0x280]
movsx rcx, r14w
mov rcx, r13
jmp 0x1403b0102
call fcn.1403b02da
mov rcx, qword [rsp + 0x40]
jmp 0x1403b0111
call qword [sym.imp.KERNEL32.dll_LocalFree]
movabs rax, 0xe7e335d9976c2b13
jmp 0x1403b0126
mov qword [rsp + 0x50], rax
movabs rax, 0x6cc902b5d4bb29d2
mov qword [rsp + 0x58], rax
movsxd rax, r12d
movsx ax, r13b
movabs rax, 0xbbcab121fb3223ed
jmp 0x1403b0151
mov qword [rsp + 0x60], rax
sete ah
movsx eax, si
cwde
movabs rax, 0xd7bf775b167baaf
jmp 0x1403b016c
mov qword [rsp + 0x68], rax
movabs rax, 0x236b6ea41c06848b
jmp 0x1403b0180
mov qword [rsp + 0x70], rax
mov ah, dl
sete al
movzx eax, r8w
movabs rax, 0x177b1b24c239afe3
jmp 0x1403b019d
mov qword [rsp + 0x78], rax
jmp 0x1403b01a7
mov qword [rsp + 0x130], rbp
jmp 0x1403b01b4
mov qword [rsp + 0x138], rdi
mov qword [rsp + 0x140], rbx
jmp 0x1403b01c9
mov qword [rsp + 0x148], rsi
jmp 0x1403b01d6
mov qword [rsp + 0x150], r14
jmp 0x1403b01e3
mov qword [rsp + 0x158], r15
jmp 0x1403b01f0
movaps xmm0, xmmword [rsp + 0x50]
jmp 0x1403b01fa
xorps xmm0, xmmword [r12]
movaps xmmword [rsp + 0x50], xmm0
jmp 0x1403b0209
movaps xmm0, xmmword [rsp + 0x60]
xorps xmm0, xmmword [r12 + 0x10]
movaps xmmword [rsp + 0x60], xmm0
jmp 0x1403b021e
movaps xmm0, xmmword [rsp + 0x70]
jmp 0x1403b0228
xorps xmm0, xmmword [r12 + 0x20]
movaps xmmword [rsp + 0x70], xmm0
cmc
movzx r8w, r10b
lea r8, [rsp + 0x50]
test r8w, 0x97f
sub ecx, ecx
cwd
movzx r9w, spl
bswap edx
mov rdx, r13
mov r9w, 0x16d7
movsx r9w, r9b
movsx r9, r8w
mov r9d, 0x10
jmp 0x1403b026b
call qword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [0x1400dd058]
or r10b, r8b
cmc
mov r10, 0xffffffffffffffff
xor edx, edx
jmp 0x1403b0289
syscall
add rsp, 0xa88
movzx r12w, bl
movsxd r12, r11d
pop rbx
movzx ebp, r13w
pop rbp
xchg dil, r15b
not r14d
movzx edi, si
pop rdi
xchg sil, r13b
movsx r13d, bx
pop rsi
pop r12
movsx r14w, r12b
jmp 0x1403b02be
pop r13
mov r14b, spl
pop r14
movzx r15w, bpl
bswap r15d
movsx r15w, al
pop r15
jmp 0x1403b02d9
ret