Function at 0x14001c630
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 0x14001c85d
mov ebx, 1
lea r8, [0x140042088]
mov edx, ebx
call fcn.14001c630
cmp dword [0x140055b50], 0
jne 0x14001c842
movsd xmm6, qword [0x1400445b0]
movaps xmmword [rsp + 0x70], xmm7
movsd xmm7, qword [0x1400445c8]
mov ecx, dword [0x140055d00]
mov dword [rbp - 0x11], 2
lea eax, [rcx - 0x10]
mov edi, ecx
cmp eax, 2
ja 0x14001c83d
call fcn.14001add0
cmp eax, ebx
je 0x14001c804
cmp dword [0x140055b50], 0
jne 0x14001c824
lea r8, [0x140042088]
lea rcx, [rbp - 0x11]
mov edx, ebx
call fcn.14001c630
cmp dword [0x140055b50], 0
jne 0x14001c824
lea rdx, [0x140055b58]
mov rcx, rsi
call fcn.14001c0d0
test eax, eax
je 0x14001c81e
mov ecx, dword [rbp - 0x11]
xor edx, edx
mov eax, edx
mov dword [rbp + 0x6f], edx
cmp ecx, 0x23
jne 0x14001c717
cmp qword [rbp - 9], rax
je 0x14001c770
mov eax, ebx
jmp 0x14001c770
cmp ecx, 0x24
jne 0x14001c731
movsd xmm0, qword [rbp - 9]
comisd xmm0, xmm6
jae 0x14001c72d
comisd xmm7, xmm0
jb 0x14001c770
mov eax, ebx
jmp 0x14001c770
cmp ecx, 0x25
jne 0x14001c770
cmp byte [rbp + 7], al
jne 0x14001c7e0
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x14001c770
call fcn.140030c60
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 [0x1400552c8]
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 0x14001c7b3
dec edi
je 0x14001c7a2
dec edi
jne 0x14001c7c8
mov rax, qword [rsi + 8]
test rax, rax
jne 0x14001c79b
test rcx, rcx
je 0x14001c7c0
test rax, rax
je 0x14001c7af
test rcx, rcx
je 0x14001c7af
jmp 0x14001c7c0
cmp qword [rsi + 8], 0
jne 0x14001c7af
test eax, eax
mov eax, edx
je 0x14001c7c2
mov eax, ebx
jmp 0x14001c7c2
cmp qword [rsi + 8], 0
je 0x14001c7c0
test eax, eax
mov eax, ebx
jne 0x14001c7c2
mov eax, edx
cdqe
mov qword [rsi + 8], rax
cmp byte [rsi + 0x18], 0
je 0x14001c7d6
cmp byte [rbp + 7], 0
mov eax, ebx
jne 0x14001c7d8
mov eax, edx
mov byte [rsi + 0x18], al
jmp 0x14001c693
mov r8, qword [rbp - 9]
test r8, r8
je 0x14001c7f8
mov rcx, qword [0x1400552c8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor edx, edx
mov dword [rbp - 0x11], edx
lea rdx, str.NoLiteralString
jmp 0x14001c80b
lea rdx, str.ArgumentExpected
lea rcx, str.Parser
call fcn.140028630
mov qword [0x140055b58], rax
mov dword [0x140055b50], ebx
cmp dword [rbp - 0x11], 0x25
jne 0x14001c83d
mov r8, qword [rbp - 9]
mov rcx, qword [0x1400552c8]
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 0x14001c904
cmp dword [0x140055d00], 0x13
jne 0x14001c8ee
call fcn.14001add0
cmp eax, 1
jne 0x14001c89f
lea rdx, str.ArgumentExpected
lea rcx, str.Parser
call fcn.140028630
mov qword [0x140055b58], rax
mov dword [0x140055b50], 1
jmp 0x14001c842
cmp dword [0x140055b50], 0
jne 0x14001c842
lea r8, [0x140042088]
mov edx, 2
mov rcx, rsi
call fcn.14001c630
cmp dword [0x140055b50], 0
jne 0x14001c842
lea rdx, [0x140055b58]
mov rcx, rsi
call fcn.14001c0d0
test eax, eax
je 0x14001c893
xor eax, eax
cmp qword [rsi + 8], rax
sete al
mov qword [rsi + 8], rax
jmp 0x14001c842
lea r8, [0x140042088]
mov edx, 2
call fcn.14001c630
jmp 0x14001c842
cmp edx, 7
jge 0x14001ceaa
lea eax, [rdx + 1]
lea r8, [0x140042088]
mov edx, eax
mov dword [rbp - 0x19], eax
call fcn.14001c630
cmp dword [0x140055b50], 0
jne 0x14001c842
mov ebx, dword [0x140055d00]
xor edi, edi
xorps xmm6, xmm6
mov eax, dword [rbp + 0x6f]
mov dword [rbp - 0x11], 2
cmp eax, 2
jne 0x14001c950
lea eax, [rbx - 0x14]
cmp eax, 5
jmp 0x14001c986
cmp eax, 3
jne 0x14001c95d
lea eax, [rbx - 5]
cmp eax, 1
jmp 0x14001c986
cmp eax, 4
jne 0x14001c96a
lea eax, [rbx - 7]
cmp eax, 1
jmp 0x14001c986
cmp eax, 5
jne 0x14001c977
lea eax, [rbx - 9]
cmp eax, 1
jmp 0x14001c986
cmp eax, 6
jne 0x14001c842
lea eax, [rbx - 0xb]
cmp eax, 3
ja 0x14001c842
call fcn.14001add0
cmp eax, 1
je 0x14001ce64
cmp dword [0x140055b50], edi
jne 0x14001ce88
mov edx, dword [rbp - 0x19]
lea r8, [0x140042088]
lea rcx, [rbp - 0x11]
call fcn.14001c630
cmp dword [0x140055b50], edi
jne 0x14001ce88
cmp byte [rsi + 0x19], dil
jne 0x14001ce5b
cmp byte [rbp + 8], dil
jne 0x14001ce5b
mov eax, dword [rsi]
cmp eax, 0x25
jne 0x14001cab3
cmp dword [rbp - 0x11], eax
jne 0x14001ce52
sub ebx, 5
je 0x14001ca34
sub ebx, 0xf
je 0x14001ca1b
dec ebx
jne 0x14001ce1a
mov rdx, qword [rbp - 9]
mov rcx, qword [rsi + 8]
call fcn.140030d70
mov ecx, edi
test eax, eax
setne cl
mov dword [rbp + 0x7f], ecx
jmp 0x14001ca9b
mov rdx, qword [rbp - 9]
mov rcx, qword [rsi + 8]
call fcn.140030d70
mov ecx, edi
test eax, eax
sete cl
mov dword [rbp + 0x7f], ecx
jmp 0x14001ca9b
mov rcx, qword [rbp - 9]
call fcn.140030e30
mov rcx, qword [rsi + 8]
mov ebx, eax
call fcn.140030e30
mov edx, dword [0x14006a2e0]
mov rcx, qword [0x1400552c8]
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 0x14001ca9b
mov rdx, qword [rsi + 8]
mov rcx, rax
call fcn.140030db0
mov rdx, qword [rbp - 9]
mov rcx, rbx
call fcn.140030d00
mov r8, qword [rsi + 8]
mov rcx, qword [0x1400552c8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rsi + 8], rbx
cmp dword [0x140055b50], edi
jne 0x14001ce88
mov r9d, dword [rbp - 0x11]
mov edx, dword [rbp + 0x6f]
jmp case.0x14001cca0.9
mov r9d, dword [rbp - 0x11]
cmp r9d, 0x25
je 0x14001ce52
cmp eax, 0x24
je 0x14001cc59
cmp r9d, 0x24
je 0x14001cc59
mov r8, qword [rbp - 9]
add ebx, 0xfffffffb
cmp ebx, 0x14
ja case.0x14001caf8.15
lea rdx, [0x140000000]
movsxd rax, ebx
mov ecx, dword [rdx + rax*4 + 0x1d1b0]
add rcx, rdx
jmp rcx
add qword [rsi + 8], r8
mov edx, dword [rbp + 0x6f]
mov byte [rsi + 0x1a], dil
jmp 0x14001ccd0
sub qword [rsi + 8], r8
mov edx, dword [rbp + 0x6f]
mov byte [rsi + 0x1a], dil
jmp 0x14001ccd0
mov rax, qword [rsi + 8]
mov edx, dword [rbp + 0x6f]
mov byte [rsi + 0x1a], dil
imul rax, r8
mov qword [rsi + 8], rax
jmp 0x14001ccd0
or qword [rsi + 8], r8
mov edx, dword [rbp + 0x6f]
mov byte [rsi + 0x1a], dil
jmp 0x14001ccd0
and qword [rsi + 8], r8
mov edx, dword [rbp + 0x6f]
mov byte [rsi + 0x1a], dil
jmp 0x14001ccd0
xor qword [rsi + 8], r8
mov edx, dword [rbp + 0x6f]
mov byte [rsi + 0x1a], dil
jmp 0x14001ccd0
mov edx, dword [rbp + 0x6f]
mov rcx, r8
mov byte [rsi + 0x1a], dil
shl qword [rsi + 8], cl
jmp 0x14001ccd0
mov edx, dword [rbp + 0x6f]
mov rcx, r8
mov byte [rsi + 0x1a], dil
sar qword [rsi + 8], cl
jmp 0x14001ccd0
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 0x14001ccd0
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 0x14001ccd0
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 0x14001ccd0
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 0x14001ccd0
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 0x14001ccd0
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 0x14001ccd0
test r8, r8
je 0x14001ce36
mov rax, qword [rsi + 8]
mov byte [rsi + 0x1a], dil
cqo
idiv r8
mov edx, dword [rbp + 0x6f]
mov qword [rsi + 8], rax
jmp 0x14001ccd0
test r8, r8
je 0x14001ce23
mov rax, qword [rsi + 8]
cqo
idiv r8
mov qword [rsi + 8], rdx
mov edx, dword [rbp + 0x6f]
mov byte [rsi + 0x1a], dil
jmp 0x14001ccd0
mov edx, dword [rbp + 0x6f]
cmp edx, 4
jg 0x14001ce49
cmp eax, 0x23
jne 0x14001cca2
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.0x14001cca0.9
lea r8, [0x140000000]
movsxd rax, ebx
mov ecx, dword [r8 + rax*4 + 0x1d204]
add rcx, r8
jmp rcx
cmp r9d, 0x23
jne 0x14001cc7e
xorps xmm1, xmm1
mov r9d, 0x24
mov dword [rbp - 0x11], r9d
cvtsi2sd xmm1, qword [rbp - 9]
movsd qword [rbp - 9], xmm1
jmp 0x14001cc83
addsd xmm1, qword [rsi + 8]
movsd qword [rsi + 8], xmm1
mov r8, qword [rbp - 9]
mov ebx, dword [rbp + 0x7f]
cmp edx, 2
jne 0x14001cd0b
cmp dword [rsi], 0x25
jne 0x14001ccf8
mov r8, qword [rsi + 8]
mov rcx, qword [0x1400552c8]
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 0x14001cd1c
mov eax, 1
cmp byte [rbp + 7], dil
jne 0x14001cd1e
mov eax, edi
mov ebx, dword [0x140055d00]
mov byte [rsi + 0x18], al
cmp r9d, 0x25
jne 0x14001c939
mov rcx, qword [0x1400552c8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14001c939
movsd xmm0, qword [rsi + 8]
subsd xmm0, xmm1
movsd qword [rsi + 8], xmm0
jmp case.0x14001cca0.9
mulsd xmm1, qword [rsi + 8]
jmp 0x14001ccc7
ucomisd xmm1, xmm6
jp 0x14001cd6e
je 0x14001ce36
movsd xmm0, qword [rsi + 8]
divsd xmm0, xmm1
movsd qword [rsi + 8], xmm0
jmp case.0x14001cca0.9
movsd xmm0, qword [rsi + 8]
ucomisd xmm0, xmm1
jp 0x14001cdac
jne 0x14001cdac
mov r8, qword [rbp - 9]
mov ebx, 1
mov dword [rbp + 0x7f], ebx
jmp 0x14001ccd3
movsd xmm0, qword [rsi + 8]
ucomisd xmm0, xmm1
jp 0x14001cd8e
jne 0x14001cd8e
mov r8, qword [rbp - 9]
mov ebx, edi
mov dword [rbp + 0x7f], ebx
jmp 0x14001ccd3
comisd xmm1, xmmword [rsi + 8]
mov r8, qword [rbp - 9]
mov ebx, edi
seta bl
mov dword [rbp + 0x7f], ebx
jmp 0x14001ccd3
movsd xmm0, qword [rsi + 8]
mov r8, qword [rbp - 9]
mov ebx, edi
comisd xmm0, xmm1
seta bl
mov dword [rbp + 0x7f], ebx
jmp 0x14001ccd3
comisd xmm1, xmmword [rsi + 8]
mov r8, qword [rbp - 9]
mov ebx, edi
setae bl
mov dword [rbp + 0x7f], ebx
jmp 0x14001ccd3
movsd xmm0, qword [rsi + 8]
mov r8, qword [rbp - 9]
mov ebx, edi
comisd xmm0, xmm1
setae bl
mov dword [rbp + 0x7f], ebx
jmp 0x14001ccd3
lea rdx, str.InvalidStringOp
jmp 0x14001ce6b
lea rdx, [0x1400442b0]
lea rcx, str.DebuggerErrors
jmp 0x14001c887
lea rdx, [0x1400442ac]
lea rcx, str.DebuggerErrors
jmp 0x14001c887
lea rdx, str.FloatBinary
jmp 0x14001ce6b
lea rdx, str.NumericString
jmp 0x14001ce6b
lea rdx, str.BooleanContext
jmp 0x14001ce6b
lea rdx, str.ArgumentExpected
lea rcx, str.Parser
call fcn.140028630
mov dword [0x140055b50], 1
mov qword [0x140055b58], rax
cmp dword [rbp - 0x11], 0x25
jne 0x14001c842
mov r8, qword [rbp - 9]
mov rcx, qword [0x1400552c8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14001c842
jne 0x14001cf94
mov ebx, dword [0x140055d00]
lea eax, [rbx - 5]
cmp eax, 1
jbe 0x14001ceca
cmp ebx, 0xf
je 0x14001ceca
mov ebx, 2
jmp 0x14001cee5
call fcn.14001add0
cmp eax, 1
je 0x14001c879
cmp dword [0x140055b50], 0
jne 0x14001c842
lea r8, [0x140042088]
mov edx, 8
mov rcx, rsi
call fcn.14001c630
cmp dword [0x140055b50], 0
jne 0x14001c842
cmp ebx, 2
je 0x14001c842
cmp byte [rsi + 0x19], 0
je 0x14001cf21
lea rdx, str.BooleanContext
jmp 0x14001c880
mov eax, dword [rsi]
cmp eax, 0x25
jne 0x14001cf34
lea rdx, str.NoStringOp
jmp 0x14001c880
cmp eax, 0x24
jne 0x14001cf69
cmp ebx, 0xf
jne 0x14001cf4a
lea rdx, str.NoFloatOp
jmp 0x14001c880
cmp ebx, 6
jne 0x14001c842
movsd xmm0, qword [rsi + 8]
xorps xmm0, xmmword [0x1400445d0]
movsd qword [rsi + 8], xmm0
jmp 0x14001c842
cmp ebx, 0xf
jne 0x14001cf7b
not qword [rsi + 8]
mov byte [rsi + 0x1a], 0
jmp 0x14001c842
cmp ebx, 6
jne 0x14001cf8b
mov rax, qword [rsi + 8]
neg rax
mov qword [rsi + 8], rax
mov byte [rsi + 0x1a], 0
jmp 0x14001c842
mov eax, dword [0x140055d00]
add eax, 0xfffffffb
cmp eax, 0x21
ja case.0x14001cfc1.7
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x1d278]
mov ecx, dword [rdx + rax*4 + 0x1d258]
add rcx, rdx
jmp rcx
movups xmm0, xmmword [0x140055d00]
movups xmm1, xmmword [0x140055d10]
movups xmmword [rsi], xmm0
movups xmm0, xmmword [0x140055d20]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi + 0x20], xmm0
mov word [rsi + 0x18], 1
call fcn.14001add0
jmp 0x14001c842
call fcn.14001add0
cmp eax, 1
je 0x14001d031
cmp dword [0x140055b50], 0
jne 0x14001c842
lea r8, [0x140042088]
xor edx, edx
mov rcx, rsi
call fcn.14001c630
cmp dword [0x140055b50], 0
jne 0x14001c842
cmp dword [0x140055d00], 0x1b
je 0x14001cfe9
lea rdx, str.UnmatchedLParen
jmp 0x14001c880
mov rax, qword [0x140055d10]
mov rdi, qword [0x140055d08]
mov qword [rbp + 0x7f], rax
call fcn.14001add0
cmp eax, 3
jne 0x14001d07e
cmp byte [rbx], 0
jne 0x14001d072
mov rdx, qword [rbp + 0x7f]
mov r8, rsi
mov rcx, rdi
call fcn.14001e490
jmp 0x14001c842
lea rdx, str.InvalidModuleUse
jmp 0x14001c880
mov rdx, qword [rbp + 0x7f]
xor eax, eax
mov r9, rsi
mov r8, rbx
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.14001de00
mov word [rsi + 0x18], 0
jmp 0x14001c842
call fcn.14001add0
cmp eax, 0x26
je 0x14001d0dc
cmp dword [0x140055b50], 0
jne 0x14001d0dc
cmp dword [0x140055b54], 0
lea rcx, str.Parser
je 0x14001d0d0
lea rdx, str.IdentifierExpected
jmp 0x14001c887
lea rdx, [0x140044318]
jmp 0x14001c887
mov rdi, qword [0x140055d08]
mov rbx, qword [0x140055d10]
call fcn.14001add0
mov r8, qword [rbp + 0x77]
mov r9, rsi
mov rdx, rbx
mov rcx, rdi
mov dword [rsp + 0x20], 1
call fcn.14001de00
mov word [rsi + 0x18], 0
jmp 0x14001c842
call fcn.14001add0
cmp eax, 0x26
je 0x14001d133
cmp dword [0x140055b50], 0
jne 0x14001d133
lea rdx, str.IdentifierExpected_
jmp 0x14001c880
mov rdx, rbx
mov rcx, rsi
call fcn.14001e2e0
mov word [rsi + 0x18], 0
cmp dword [0x140055b50], 0
jne 0x14001c842
call fcn.14001add0
jmp 0x14001c842
call fcn.14001add0
cmp eax, 0x26
je 0x14001d17a
cmp dword [0x140055b50], 0
jne 0x14001d17a
lea rdx, str.ConstantExpected
jmp 0x14001c880
mov rdx, rbx
mov rcx, rsi
call fcn.14001d880
mov word [rsi + 0x18], 1
jmp 0x14001d144
lea r8, [0x140042088]
xor edx, edx
mov rcx, rsi
call fcn.14001c630
jmp 0x14001c842
lea rdx, str.UnexpectedToken
jmp 0x14001c880