Function at 0x14001b570
Capabilities:
Encrypt data using speck

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], r8
mov dword [rax + 0x10], edx
push rbp
push rsi
push rdi
lea rbp, [rax - 0x5f]
sub rsp, 0x90
movaps xmmword [rax - 0x28], xmm6
mov rbx, r8
mov rsi, rcx
test edx, edx
jne 0x14001b79d
mov ebx, 1
lea r8, [0x14002f99c]
mov edx, ebx
call fcn.14001b570
cmp dword [0x140041730], 0
jne 0x14001b782
movsd xmm6, qword [0x140037540]
movaps xmmword [rsp + 0x70], xmm7
movsd xmm7, qword [0x140037558]
mov ecx, dword [0x1400418e0]
mov dword [rbp - 0x11], 2
lea eax, [rcx - 0x10]
mov edi, ecx
cmp eax, 2
ja 0x14001b77d
call fcn.140019d10
cmp eax, ebx
je 0x14001b744
cmp dword [0x140041730], 0
jne 0x14001b764
lea r8, [0x14002f99c]
lea rcx, [rbp - 0x11]
mov edx, ebx
call fcn.14001b570
cmp dword [0x140041730], 0
jne 0x14001b764
lea rdx, [0x140041738]
mov rcx, rsi
call fcn.14001b010
test eax, eax
je 0x14001b75e
mov ecx, dword [rbp - 0x11]
xor edx, edx
mov eax, edx
mov dword [rbp + 0x6f], edx
cmp ecx, 0x23
jne 0x14001b657
cmp qword [rbp - 9], rax
je 0x14001b6b0
mov eax, ebx
jmp 0x14001b6b0
cmp ecx, 0x24
jne 0x14001b671
movsd xmm0, qword [rbp - 9]
comisd xmm0, xmm6
jae 0x14001b66d
comisd xmm7, xmm0
jb 0x14001b6b0
mov eax, ebx
jmp 0x14001b6b0
cmp ecx, 0x25
jne 0x14001b6b0
cmp byte [rbp + 7], al
jne 0x14001b720
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x14001b6b0
call fcn.140017570
mov ecx, dword [rbp + 0x6f]
mov r8, qword [rbp - 9]
test eax, eax
cmovne ecx, ebx
xor edx, edx
mov dword [rbp + 0x6f], ecx
mov rcx, qword [0x140040d58]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [rbp + 0x6f]
xor edx, edx
movsxd rcx, eax
mov word [rbp + 8], bx
mov qword [rbp - 9], rcx
sub edi, 0x10
je 0x14001b6f3
dec edi
je 0x14001b6e2
dec edi
jne 0x14001b708
mov rax, qword [rsi + 8]
test rax, rax
jne 0x14001b6db
test rcx, rcx
je 0x14001b700
test rax, rax
je 0x14001b6ef
test rcx, rcx
je 0x14001b6ef
jmp 0x14001b700
cmp qword [rsi + 8], 0
jne 0x14001b6ef
test eax, eax
mov eax, edx
je 0x14001b702
mov eax, ebx
jmp 0x14001b702
cmp qword [rsi + 8], 0
je 0x14001b700
test eax, eax
mov eax, ebx
jne 0x14001b702
mov eax, edx
cdqe
mov qword [rsi + 8], rax
cmp byte [rsi + 0x18], 0
je 0x14001b716
cmp byte [rbp + 7], 0
mov eax, ebx
jne 0x14001b718
mov eax, edx
mov byte [rsi + 0x18], al
jmp 0x14001b5d3
mov r8, qword [rbp - 9]
test r8, r8
je 0x14001b738
mov rcx, qword [0x140040d58]
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor edx, edx
mov dword [rbp - 0x11], edx
lea rdx, str.NoLiteralString
jmp 0x14001b74b
lea rdx, str.ArgumentExpected
lea rcx, str.Parser
call fcn.14000ef40
mov qword [0x140041738], rax
mov dword [0x140041730], ebx
cmp dword [rbp - 0x11], 0x25
jne 0x14001b77d
mov r8, qword [rbp - 9]
mov rcx, qword [0x140040d58]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
movaps xmm7, xmmword [rsp + 0x70]
mov rbx, qword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
cmp edx, 1
jne 0x14001b844
cmp dword [0x1400418e0], 0x13
jne 0x14001b82e
call fcn.140019d10
cmp eax, 1
jne 0x14001b7df
lea rdx, str.ArgumentExpected
lea rcx, str.Parser
call fcn.14000ef40
mov qword [0x140041738], rax
mov dword [0x140041730], 1
jmp 0x14001b782
cmp dword [0x140041730], 0
jne 0x14001b782
lea r8, [0x14002f99c]
mov edx, 2
mov rcx, rsi
call fcn.14001b570
cmp dword [0x140041730], 0
jne 0x14001b782
lea rdx, [0x140041738]
mov rcx, rsi
call fcn.14001b010
test eax, eax
je 0x14001b7d3
xor eax, eax
cmp qword [rsi + 8], rax
sete al
mov qword [rsi + 8], rax
jmp 0x14001b782
lea r8, [0x14002f99c]
mov edx, 2
call fcn.14001b570
jmp 0x14001b782
cmp edx, 7
jge 0x14001bdea
lea eax, [rdx + 1]
lea r8, [0x14002f99c]
mov edx, eax
mov dword [rbp - 0x19], eax
call fcn.14001b570
cmp dword [0x140041730], 0
jne 0x14001b782
mov ebx, dword [0x1400418e0]
xor edi, edi
xorps xmm6, xmm6
mov eax, dword [rbp + 0x6f]
mov dword [rbp - 0x11], 2
cmp eax, 2
jne 0x14001b890
lea eax, [rbx - 0x14]
cmp eax, 5
jmp 0x14001b8c6
cmp eax, 3
jne 0x14001b89d
lea eax, [rbx - 5]
cmp eax, 1
jmp 0x14001b8c6
cmp eax, 4
jne 0x14001b8aa
lea eax, [rbx - 7]
cmp eax, 1
jmp 0x14001b8c6
cmp eax, 5
jne 0x14001b8b7
lea eax, [rbx - 9]
cmp eax, 1
jmp 0x14001b8c6
cmp eax, 6
jne 0x14001b782
lea eax, [rbx - 0xb]
cmp eax, 3
ja 0x14001b782
call fcn.140019d10
cmp eax, 1
je 0x14001bda4
cmp dword [0x140041730], edi
jne 0x14001bdc8
mov edx, dword [rbp - 0x19]
lea r8, [0x14002f99c]
lea rcx, [rbp - 0x11]
call fcn.14001b570
cmp dword [0x140041730], edi
jne 0x14001bdc8
cmp byte [rsi + 0x19], dil
jne 0x14001bd9b
cmp byte [rbp + 8], dil
jne 0x14001bd9b
mov eax, dword [rsi]
cmp eax, 0x25
jne 0x14001b9f3
cmp dword [rbp - 0x11], eax
jne 0x14001bd92
sub ebx, 5
je 0x14001b974
sub ebx, 0xf
je 0x14001b95b
dec ebx
jne 0x14001bd5a
mov rdx, qword [rbp - 9]
mov rcx, qword [rsi + 8]
call fcn.140017680
mov ecx, edi
test eax, eax
setne cl
mov dword [rbp + 0x7f], ecx
jmp 0x14001b9db
mov rdx, qword [rbp - 9]
mov rcx, qword [rsi + 8]
call fcn.140017680
mov ecx, edi
test eax, eax
sete cl
mov dword [rbp + 0x7f], ecx
jmp 0x14001b9db
mov rcx, qword [rbp - 9]
call fcn.140017740
mov rcx, qword [rsi + 8]
mov ebx, eax
call fcn.140017740
mov edx, dword [0x140055e40]
mov rcx, qword [0x140040d58]
add edx, ebx
add eax, edx
xor edx, edx
movsxd r8, eax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x14001b9db
mov rdx, qword [rsi + 8]
mov rcx, rax
call fcn.1400176c0
mov rdx, qword [rbp - 9]
mov rcx, rbx
call fcn.140017610
mov r8, qword [rsi + 8]
mov rcx, qword [0x140040d58]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rsi + 8], rbx
cmp dword [0x140041730], edi
jne 0x14001bdc8
mov r9d, dword [rbp - 0x11]
mov edx, dword [rbp + 0x6f]
jmp case.0x14001bbe0.9
mov r9d, dword [rbp - 0x11]
cmp r9d, 0x25
je 0x14001bd92
cmp eax, 0x24
je 0x14001bb99
cmp r9d, 0x24
je 0x14001bb99
mov r8, qword [rbp - 9]
add ebx, 0xfffffffb
cmp ebx, 0x14
ja case.0x14001ba38.15
lea rdx, [0x140000000]
movsxd rax, ebx
mov ecx, dword [rdx + rax*4 + 0x1c0f0]
add rcx, rdx
jmp rcx
add qword [rsi + 8], r8
mov edx, dword [rbp + 0x6f]
mov byte [rsi + 0x1a], dil
jmp 0x14001bc10
sub qword [rsi + 8], r8
mov edx, dword [rbp + 0x6f]
mov byte [rsi + 0x1a], dil
jmp 0x14001bc10
mov rax, qword [rsi + 8]
mov edx, dword [rbp + 0x6f]
mov byte [rsi + 0x1a], dil
imul rax, r8
mov qword [rsi + 8], rax
jmp 0x14001bc10
or qword [rsi + 8], r8
mov edx, dword [rbp + 0x6f]
mov byte [rsi + 0x1a], dil
jmp 0x14001bc10
and qword [rsi + 8], r8
mov edx, dword [rbp + 0x6f]
mov byte [rsi + 0x1a], dil
jmp 0x14001bc10
xor qword [rsi + 8], r8
mov edx, dword [rbp + 0x6f]
mov byte [rsi + 0x1a], dil
jmp 0x14001bc10
mov edx, dword [rbp + 0x6f]
mov rcx, r8
mov byte [rsi + 0x1a], dil
shl qword [rsi + 8], cl
jmp 0x14001bc10
mov edx, dword [rbp + 0x6f]
mov rcx, r8
mov byte [rsi + 0x1a], dil
sar qword [rsi + 8], cl
jmp 0x14001bc10
cmp qword [rsi + 8], r8
mov edx, dword [rbp + 0x6f]
mov ecx, edi
sete cl
mov byte [rsi + 0x1a], dil
mov dword [rbp + 0x7f], ecx
jmp 0x14001bc10
cmp qword [rsi + 8], r8
mov edx, dword [rbp + 0x6f]
mov ecx, edi
setne cl
mov byte [rsi + 0x1a], dil
mov dword [rbp + 0x7f], ecx
jmp 0x14001bc10
cmp qword [rsi + 8], r8
mov edx, dword [rbp + 0x6f]
mov ecx, edi
setl cl
mov byte [rsi + 0x1a], dil
mov dword [rbp + 0x7f], ecx
jmp 0x14001bc10
cmp qword [rsi + 8], r8
mov edx, dword [rbp + 0x6f]
mov ecx, edi
setg cl
mov byte [rsi + 0x1a], dil
mov dword [rbp + 0x7f], ecx
jmp 0x14001bc10
cmp qword [rsi + 8], r8
mov edx, dword [rbp + 0x6f]
mov ecx, edi
setle cl
mov byte [rsi + 0x1a], dil
mov dword [rbp + 0x7f], ecx
jmp 0x14001bc10
cmp qword [rsi + 8], r8
mov edx, dword [rbp + 0x6f]
mov ecx, edi
setge cl
mov byte [rsi + 0x1a], dil
mov dword [rbp + 0x7f], ecx
jmp 0x14001bc10
test r8, r8
je 0x14001bd76
mov rax, qword [rsi + 8]
mov byte [rsi + 0x1a], dil
cqo
idiv r8
mov edx, dword [rbp + 0x6f]
mov qword [rsi + 8], rax
jmp 0x14001bc10
test r8, r8
je 0x14001bd63
mov rax, qword [rsi + 8]
cqo
idiv r8
mov qword [rsi + 8], rdx
mov edx, dword [rbp + 0x6f]
mov byte [rsi + 0x1a], dil
jmp 0x14001bc10
mov edx, dword [rbp + 0x6f]
cmp edx, 4
jg 0x14001bd89
cmp eax, 0x23
jne 0x14001bbe2
xorps xmm0, xmm0
mov dword [rsi], 0x24
cvtsi2sd xmm0, qword [rsi + 8]
movsd qword [rsi + 8], xmm0
movsd xmm1, qword [rbp - 9]
add ebx, 0xfffffffb
cmp ebx, 0x14
ja case.0x14001bbe0.9
lea r8, [0x140000000]
movsxd rax, ebx
mov ecx, dword [r8 + rax*4 + 0x1c144]
add rcx, r8
jmp rcx
cmp r9d, 0x23
jne 0x14001bbbe
xorps xmm1, xmm1
mov r9d, 0x24
mov dword [rbp - 0x11], r9d
cvtsi2sd xmm1, qword [rbp - 9]
movsd qword [rbp - 9], xmm1
jmp 0x14001bbc3
addsd xmm1, qword [rsi + 8]
movsd qword [rsi + 8], xmm1
mov r8, qword [rbp - 9]
mov ebx, dword [rbp + 0x7f]
cmp edx, 2
jne 0x14001bc4b
cmp dword [rsi], 0x25
jne 0x14001bc38
mov r8, qword [rsi + 8]
mov rcx, qword [0x140040d58]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, qword [rbp - 9]
mov r9d, dword [rbp - 0x11]
movsxd rax, ebx
mov dword [rsi], 0x23
mov word [rsi + 0x19], 1
mov qword [rsi + 8], rax
cmp byte [rsi + 0x18], dil
je 0x14001bc5c
mov eax, 1
cmp byte [rbp + 7], dil
jne 0x14001bc5e
mov eax, edi
mov ebx, dword [0x1400418e0]
mov byte [rsi + 0x18], al
cmp r9d, 0x25
jne 0x14001b879
mov rcx, qword [0x140040d58]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14001b879
movsd xmm0, qword [rsi + 8]
subsd xmm0, xmm1
movsd qword [rsi + 8], xmm0
jmp case.0x14001bbe0.9
mulsd xmm1, qword [rsi + 8]
jmp 0x14001bc07
ucomisd xmm1, xmm6
jp 0x14001bcae
je 0x14001bd76
movsd xmm0, qword [rsi + 8]
divsd xmm0, xmm1
movsd qword [rsi + 8], xmm0
jmp case.0x14001bbe0.9
movsd xmm0, qword [rsi + 8]
ucomisd xmm0, xmm1
jp 0x14001bcec
jne 0x14001bcec
mov r8, qword [rbp - 9]
mov ebx, 1
mov dword [rbp + 0x7f], ebx
jmp 0x14001bc13
movsd xmm0, qword [rsi + 8]
ucomisd xmm0, xmm1
jp 0x14001bcce
jne 0x14001bcce
mov r8, qword [rbp - 9]
mov ebx, edi
mov dword [rbp + 0x7f], ebx
jmp 0x14001bc13
comisd xmm1, xmmword [rsi + 8]
mov r8, qword [rbp - 9]
mov ebx, edi
seta bl
mov dword [rbp + 0x7f], ebx
jmp 0x14001bc13
movsd xmm0, qword [rsi + 8]
mov r8, qword [rbp - 9]
mov ebx, edi
comisd xmm0, xmm1
seta bl
mov dword [rbp + 0x7f], ebx
jmp 0x14001bc13
comisd xmm1, xmmword [rsi + 8]
mov r8, qword [rbp - 9]
mov ebx, edi
setae bl
mov dword [rbp + 0x7f], ebx
jmp 0x14001bc13
movsd xmm0, qword [rsi + 8]
mov r8, qword [rbp - 9]
mov ebx, edi
comisd xmm0, xmm1
setae bl
mov dword [rbp + 0x7f], ebx
jmp 0x14001bc13
lea rdx, str.InvalidStringOp
jmp 0x14001bdab
lea rdx, [0x140034d5c]
lea rcx, str.DebuggerErrors
jmp 0x14001b7c7
lea rdx, [0x140034d3c]
lea rcx, str.DebuggerErrors
jmp 0x14001b7c7
lea rdx, str.FloatBinary
jmp 0x14001bdab
lea rdx, str.NumericString
jmp 0x14001bdab
lea rdx, str.BooleanContext
jmp 0x14001bdab
lea rdx, str.ArgumentExpected
lea rcx, str.Parser
call fcn.14000ef40
mov dword [0x140041730], 1
mov qword [0x140041738], rax
cmp dword [rbp - 0x11], 0x25
jne 0x14001b782
mov r8, qword [rbp - 9]
mov rcx, qword [0x140040d58]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14001b782
jne 0x14001bed4
mov ebx, dword [0x1400418e0]
lea eax, [rbx - 5]
cmp eax, 1
jbe 0x14001be0a
cmp ebx, 0xf
je 0x14001be0a
mov ebx, 2
jmp 0x14001be25
call fcn.140019d10
cmp eax, 1
je 0x14001b7b9
cmp dword [0x140041730], 0
jne 0x14001b782
lea r8, [0x14002f99c]
mov edx, 8
mov rcx, rsi
call fcn.14001b570
cmp dword [0x140041730], 0
jne 0x14001b782
cmp ebx, 2
je 0x14001b782
cmp byte [rsi + 0x19], 0
je 0x14001be61
lea rdx, str.BooleanContext
jmp 0x14001b7c0
mov eax, dword [rsi]
cmp eax, 0x25
jne 0x14001be74
lea rdx, str.NoStringOp
jmp 0x14001b7c0
cmp eax, 0x24
jne 0x14001bea9
cmp ebx, 0xf
jne 0x14001be8a
lea rdx, str.NoFloatOp
jmp 0x14001b7c0
cmp ebx, 6
jne 0x14001b782
movsd xmm0, qword [rsi + 8]
xorps xmm0, xmmword [0x140037560]
movsd qword [rsi + 8], xmm0
jmp 0x14001b782
cmp ebx, 0xf
jne 0x14001bebb
not qword [rsi + 8]
mov byte [rsi + 0x1a], 0
jmp 0x14001b782
cmp ebx, 6
jne 0x14001becb
mov rax, qword [rsi + 8]
neg rax
mov qword [rsi + 8], rax
mov byte [rsi + 0x1a], 0
jmp 0x14001b782
mov eax, dword [0x1400418e0]
add eax, 0xfffffffb
cmp eax, 0x21
ja case.0x14001bf01.7
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x1c1b8]
mov ecx, dword [rdx + rax*4 + 0x1c198]
add rcx, rdx
jmp rcx
movups xmm0, xmmword [0x1400418e0]
movups xmm1, xmmword [0x1400418f0]
movups xmmword [rsi], xmm0
movups xmm0, xmmword [0x140041900]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi + 0x20], xmm0
mov word [rsi + 0x18], 1
call fcn.140019d10
jmp 0x14001b782
call fcn.140019d10
cmp eax, 1
je 0x14001bf71
cmp dword [0x140041730], 0
jne 0x14001b782
lea r8, [0x14002f99c]
xor edx, edx
mov rcx, rsi
call fcn.14001b570
cmp dword [0x140041730], 0
jne 0x14001b782
cmp dword [0x1400418e0], 0x1b
je 0x14001bf29
lea rdx, str.UnmatchedLParen
jmp 0x14001b7c0
mov rax, qword [0x1400418f0]
mov rdi, qword [0x1400418e8]
mov qword [rbp + 0x7f], rax
call fcn.140019d10
cmp eax, 3
jne 0x14001bfbe
cmp byte [rbx], 0
jne 0x14001bfb2
mov rdx, qword [rbp + 0x7f]
mov r8, rsi
mov rcx, rdi
call fcn.14001d3d0
jmp 0x14001b782
lea rdx, str.InvalidModuleUse
jmp 0x14001b7c0
mov rdx, qword [rbp + 0x7f]
xor eax, eax
mov r9, rsi
mov r8, rbx
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.14001cd40
mov word [rsi + 0x18], 0
jmp 0x14001b782
call fcn.140019d10
cmp eax, 0x26
je 0x14001c01c
cmp dword [0x140041730], 0
jne 0x14001c01c
cmp dword [0x140041734], 0
lea rcx, str.Parser
je 0x14001c010
lea rdx, str.IdentifierExpected
jmp 0x14001b7c7
lea rdx, [0x140035540]
jmp 0x14001b7c7
mov rdi, qword [0x1400418e8]
mov rbx, qword [0x1400418f0]
call fcn.140019d10
mov r8, qword [rbp + 0x77]
mov r9, rsi
mov rdx, rbx
mov rcx, rdi
mov dword [rsp + 0x20], 1
call fcn.14001cd40
mov word [rsi + 0x18], 0
jmp 0x14001b782
call fcn.140019d10
cmp eax, 0x26
je 0x14001c073
cmp dword [0x140041730], 0
jne 0x14001c073
lea rdx, str.IdentifierExpected_
jmp 0x14001b7c0
mov rdx, rbx
mov rcx, rsi
call fcn.14001d220
mov word [rsi + 0x18], 0
cmp dword [0x140041730], 0
jne 0x14001b782
call fcn.140019d10
jmp 0x14001b782
call fcn.140019d10
cmp eax, 0x26
je 0x14001c0ba
cmp dword [0x140041730], 0
jne 0x14001c0ba
lea rdx, str.ConstantExpected
jmp 0x14001b7c0
mov rdx, rbx
mov rcx, rsi
call fcn.14001c7c0
mov word [rsi + 0x18], 1
jmp 0x14001c084
lea r8, [0x14002f99c]
xor edx, edx
mov rcx, rsi
call fcn.14001b570
jmp 0x14001b782
lea rdx, str.UnexpectedToken
jmp 0x14001b7c0