Function at 0x140066e10
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 0x14006703d
mov ebx, 1
lea r8, [0x1400ba520]
mov edx, ebx
call fcn.140066e10
cmp dword [0x1400efe00], 0
jne 0x140067022
movsd xmm6, qword [0x1400be838]
movaps xmmword [rsp + 0x70], xmm7
movsd xmm7, qword [0x1400be850]
mov ecx, dword [0x1400effb0]
mov dword [rbp - 0x11], 2
lea eax, [rcx - 0x10]
mov edi, ecx
cmp eax, 2
ja 0x14006701d
call fcn.1400655b0
cmp eax, ebx
je 0x140066fe4
cmp dword [0x1400efe00], 0
jne 0x140067004
lea r8, [0x1400ba520]
lea rcx, [rbp - 0x11]
mov edx, ebx
call fcn.140066e10
cmp dword [0x1400efe00], 0
jne 0x140067004
lea rdx, [0x1400efe08]
mov rcx, rsi
call fcn.1400668b0
test eax, eax
je 0x140066ffe
mov ecx, dword [rbp - 0x11]
xor edx, edx
mov eax, edx
mov dword [rbp + 0x6f], edx
cmp ecx, 0x23
jne 0x140066ef7
cmp qword [rbp - 9], rax
je 0x140066f50
mov eax, ebx
jmp 0x140066f50
cmp ecx, 0x24
jne 0x140066f11
movsd xmm0, qword [rbp - 9]
comisd xmm0, xmm6
jae 0x140066f0d
comisd xmm7, xmm0
jb 0x140066f50
mov eax, ebx
jmp 0x140066f50
cmp ecx, 0x25
jne 0x140066f50
cmp byte [rbp + 7], al
jne 0x140066fc0
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x140066f50
call fcn.14007b420
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 [0x1400ee4b8]
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 0x140066f93
dec edi
je 0x140066f82
dec edi
jne 0x140066fa8
mov rax, qword [rsi + 8]
test rax, rax
jne 0x140066f7b
test rcx, rcx
je 0x140066fa0
test rax, rax
je 0x140066f8f
test rcx, rcx
je 0x140066f8f
jmp 0x140066fa0
cmp qword [rsi + 8], 0
jne 0x140066f8f
test eax, eax
mov eax, edx
je 0x140066fa2
mov eax, ebx
jmp 0x140066fa2
cmp qword [rsi + 8], 0
je 0x140066fa0
test eax, eax
mov eax, ebx
jne 0x140066fa2
mov eax, edx
cdqe
mov qword [rsi + 8], rax
cmp byte [rsi + 0x18], 0
je 0x140066fb6
cmp byte [rbp + 7], 0
mov eax, ebx
jne 0x140066fb8
mov eax, edx
mov byte [rsi + 0x18], al
jmp 0x140066e73
mov r8, qword [rbp - 9]
test r8, r8
je 0x140066fd8
mov rcx, qword [0x1400ee4b8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor edx, edx
mov dword [rbp - 0x11], edx
lea rdx, str.NoLiteralString
jmp 0x140066feb
lea rdx, str.ArgumentExpected
lea rcx, str.Parser
call fcn.140072e00
mov qword [0x1400efe08], rax
mov dword [0x1400efe00], ebx
cmp dword [rbp - 0x11], 0x25
jne 0x14006701d
mov r8, qword [rbp - 9]
mov rcx, qword [0x1400ee4b8]
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 0x1400670e4
cmp dword [0x1400effb0], 0x13
jne 0x1400670ce
call fcn.1400655b0
cmp eax, 1
jne 0x14006707f
lea rdx, str.ArgumentExpected
lea rcx, str.Parser
call fcn.140072e00
mov qword [0x1400efe08], rax
mov dword [0x1400efe00], 1
jmp 0x140067022
cmp dword [0x1400efe00], 0
jne 0x140067022
lea r8, [0x1400ba520]
mov edx, 2
mov rcx, rsi
call fcn.140066e10
cmp dword [0x1400efe00], 0
jne 0x140067022
lea rdx, [0x1400efe08]
mov rcx, rsi
call fcn.1400668b0
test eax, eax
je 0x140067073
xor eax, eax
cmp qword [rsi + 8], rax
sete al
mov qword [rsi + 8], rax
jmp 0x140067022
lea r8, [0x1400ba520]
mov edx, 2
call fcn.140066e10
jmp 0x140067022
cmp edx, 7
jge 0x14006768a
lea eax, [rdx + 1]
lea r8, [0x1400ba520]
mov edx, eax
mov dword [rbp - 0x19], eax
call fcn.140066e10
cmp dword [0x1400efe00], 0
jne 0x140067022
mov ebx, dword [0x1400effb0]
xor edi, edi
xorps xmm6, xmm6
mov eax, dword [rbp + 0x6f]
mov dword [rbp - 0x11], 2
cmp eax, 2
jne 0x140067130
lea eax, [rbx - 0x14]
cmp eax, 5
jmp 0x140067166
cmp eax, 3
jne 0x14006713d
lea eax, [rbx - 5]
cmp eax, 1
jmp 0x140067166
cmp eax, 4
jne 0x14006714a
lea eax, [rbx - 7]
cmp eax, 1
jmp 0x140067166
cmp eax, 5
jne 0x140067157
lea eax, [rbx - 9]
cmp eax, 1
jmp 0x140067166
cmp eax, 6
jne 0x140067022
lea eax, [rbx - 0xb]
cmp eax, 3
ja 0x140067022
call fcn.1400655b0
cmp eax, 1
je 0x140067644
cmp dword [0x1400efe00], edi
jne 0x140067668
mov edx, dword [rbp - 0x19]
lea r8, [0x1400ba520]
lea rcx, [rbp - 0x11]
call fcn.140066e10
cmp dword [0x1400efe00], edi
jne 0x140067668
cmp byte [rsi + 0x19], dil
jne 0x14006763b
cmp byte [rbp + 8], dil
jne 0x14006763b
mov eax, dword [rsi]
cmp eax, 0x25
jne 0x140067293
cmp dword [rbp - 0x11], eax
jne 0x140067632
sub ebx, 5
je 0x140067214
sub ebx, 0xf
je 0x1400671fb
dec ebx
jne 0x1400675fa
mov rdx, qword [rbp - 9]
mov rcx, qword [rsi + 8]
call fcn.14007b530
mov ecx, edi
test eax, eax
setne cl
mov dword [rbp + 0x7f], ecx
jmp 0x14006727b
mov rdx, qword [rbp - 9]
mov rcx, qword [rsi + 8]
call fcn.14007b530
mov ecx, edi
test eax, eax
sete cl
mov dword [rbp + 0x7f], ecx
jmp 0x14006727b
mov rcx, qword [rbp - 9]
call fcn.14007b5f0
mov rcx, qword [rsi + 8]
mov ebx, eax
call fcn.14007b5f0
mov edx, dword [0x140104650]
mov rcx, qword [0x1400ee4b8]
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 0x14006727b
mov rdx, qword [rsi + 8]
mov rcx, rax
call fcn.14007b570
mov rdx, qword [rbp - 9]
mov rcx, rbx
call fcn.14007b4c0
mov r8, qword [rsi + 8]
mov rcx, qword [0x1400ee4b8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rsi + 8], rbx
cmp dword [0x1400efe00], edi
jne 0x140067668
mov r9d, dword [rbp - 0x11]
mov edx, dword [rbp + 0x6f]
jmp case.0x140067480.9
mov r9d, dword [rbp - 0x11]
cmp r9d, 0x25
je 0x140067632
cmp eax, 0x24
je 0x140067439
cmp r9d, 0x24
je 0x140067439
mov r8, qword [rbp - 9]
add ebx, 0xfffffffb
cmp ebx, 0x14
ja case.0x1400672d8.15
lea rdx, [0x140000000]
movsxd rax, ebx
mov ecx, dword [rdx + rax*4 + 0x67990]
add rcx, rdx
jmp rcx
add qword [rsi + 8], r8
mov edx, dword [rbp + 0x6f]
mov byte [rsi + 0x1a], dil
jmp 0x1400674b0
sub qword [rsi + 8], r8
mov edx, dword [rbp + 0x6f]
mov byte [rsi + 0x1a], dil
jmp 0x1400674b0
mov rax, qword [rsi + 8]
mov edx, dword [rbp + 0x6f]
mov byte [rsi + 0x1a], dil
imul rax, r8
mov qword [rsi + 8], rax
jmp 0x1400674b0
or qword [rsi + 8], r8
mov edx, dword [rbp + 0x6f]
mov byte [rsi + 0x1a], dil
jmp 0x1400674b0
and qword [rsi + 8], r8
mov edx, dword [rbp + 0x6f]
mov byte [rsi + 0x1a], dil
jmp 0x1400674b0
xor qword [rsi + 8], r8
mov edx, dword [rbp + 0x6f]
mov byte [rsi + 0x1a], dil
jmp 0x1400674b0
mov edx, dword [rbp + 0x6f]
mov rcx, r8
mov byte [rsi + 0x1a], dil
shl qword [rsi + 8], cl
jmp 0x1400674b0
mov edx, dword [rbp + 0x6f]
mov rcx, r8
mov byte [rsi + 0x1a], dil
sar qword [rsi + 8], cl
jmp 0x1400674b0
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 0x1400674b0
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 0x1400674b0
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 0x1400674b0
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 0x1400674b0
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 0x1400674b0
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 0x1400674b0
test r8, r8
je 0x140067616
mov rax, qword [rsi + 8]
mov byte [rsi + 0x1a], dil
cqo
idiv r8
mov edx, dword [rbp + 0x6f]
mov qword [rsi + 8], rax
jmp 0x1400674b0
test r8, r8
je 0x140067603
mov rax, qword [rsi + 8]
cqo
idiv r8
mov qword [rsi + 8], rdx
mov edx, dword [rbp + 0x6f]
mov byte [rsi + 0x1a], dil
jmp 0x1400674b0
mov edx, dword [rbp + 0x6f]
cmp edx, 4
jg 0x140067629
cmp eax, 0x23
jne 0x140067482
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.0x140067480.9
lea r8, [0x140000000]
movsxd rax, ebx
mov ecx, dword [r8 + rax*4 + 0x679e4]
add rcx, r8
jmp rcx
cmp r9d, 0x23
jne 0x14006745e
xorps xmm1, xmm1
mov r9d, 0x24
mov dword [rbp - 0x11], r9d
cvtsi2sd xmm1, qword [rbp - 9]
movsd qword [rbp - 9], xmm1
jmp 0x140067463
addsd xmm1, qword [rsi + 8]
movsd qword [rsi + 8], xmm1
mov r8, qword [rbp - 9]
mov ebx, dword [rbp + 0x7f]
cmp edx, 2
jne 0x1400674eb
cmp dword [rsi], 0x25
jne 0x1400674d8
mov r8, qword [rsi + 8]
mov rcx, qword [0x1400ee4b8]
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 0x1400674fc
mov eax, 1
cmp byte [rbp + 7], dil
jne 0x1400674fe
mov eax, edi
mov ebx, dword [0x1400effb0]
mov byte [rsi + 0x18], al
cmp r9d, 0x25
jne 0x140067119
mov rcx, qword [0x1400ee4b8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140067119
movsd xmm0, qword [rsi + 8]
subsd xmm0, xmm1
movsd qword [rsi + 8], xmm0
jmp case.0x140067480.9
mulsd xmm1, qword [rsi + 8]
jmp 0x1400674a7
ucomisd xmm1, xmm6
jp 0x14006754e
je 0x140067616
movsd xmm0, qword [rsi + 8]
divsd xmm0, xmm1
movsd qword [rsi + 8], xmm0
jmp case.0x140067480.9
movsd xmm0, qword [rsi + 8]
ucomisd xmm0, xmm1
jp 0x14006758c
jne 0x14006758c
mov r8, qword [rbp - 9]
mov ebx, 1
mov dword [rbp + 0x7f], ebx
jmp 0x1400674b3
movsd xmm0, qword [rsi + 8]
ucomisd xmm0, xmm1
jp 0x14006756e
jne 0x14006756e
mov r8, qword [rbp - 9]
mov ebx, edi
mov dword [rbp + 0x7f], ebx
jmp 0x1400674b3
comisd xmm1, xmmword [rsi + 8]
mov r8, qword [rbp - 9]
mov ebx, edi
seta bl
mov dword [rbp + 0x7f], ebx
jmp 0x1400674b3
movsd xmm0, qword [rsi + 8]
mov r8, qword [rbp - 9]
mov ebx, edi
comisd xmm0, xmm1
seta bl
mov dword [rbp + 0x7f], ebx
jmp 0x1400674b3
comisd xmm1, xmmword [rsi + 8]
mov r8, qword [rbp - 9]
mov ebx, edi
setae bl
mov dword [rbp + 0x7f], ebx
jmp 0x1400674b3
movsd xmm0, qword [rsi + 8]
mov r8, qword [rbp - 9]
mov ebx, edi
comisd xmm0, xmm1
setae bl
mov dword [rbp + 0x7f], ebx
jmp 0x1400674b3
lea rdx, str.InvalidStringOp
jmp 0x14006764b
lea rdx, [0x1400be538]
lea rcx, str.DebuggerErrors
jmp 0x140067067
lea rdx, [0x1400be534]
lea rcx, str.DebuggerErrors
jmp 0x140067067
lea rdx, str.FloatBinary
jmp 0x14006764b
lea rdx, str.NumericString
jmp 0x14006764b
lea rdx, str.BooleanContext
jmp 0x14006764b
lea rdx, str.ArgumentExpected
lea rcx, str.Parser
call fcn.140072e00
mov dword [0x1400efe00], 1
mov qword [0x1400efe08], rax
cmp dword [rbp - 0x11], 0x25
jne 0x140067022
mov r8, qword [rbp - 9]
mov rcx, qword [0x1400ee4b8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140067022
jne 0x140067774
mov ebx, dword [0x1400effb0]
lea eax, [rbx - 5]
cmp eax, 1
jbe 0x1400676aa
cmp ebx, 0xf
je 0x1400676aa
mov ebx, 2
jmp 0x1400676c5
call fcn.1400655b0
cmp eax, 1
je 0x140067059
cmp dword [0x1400efe00], 0
jne 0x140067022
lea r8, [0x1400ba520]
mov edx, 8
mov rcx, rsi
call fcn.140066e10
cmp dword [0x1400efe00], 0
jne 0x140067022
cmp ebx, 2
je 0x140067022
cmp byte [rsi + 0x19], 0
je 0x140067701
lea rdx, str.BooleanContext
jmp 0x140067060
mov eax, dword [rsi]
cmp eax, 0x25
jne 0x140067714
lea rdx, str.NoStringOp
jmp 0x140067060
cmp eax, 0x24
jne 0x140067749
cmp ebx, 0xf
jne 0x14006772a
lea rdx, str.NoFloatOp
jmp 0x140067060
cmp ebx, 6
jne 0x140067022
movsd xmm0, qword [rsi + 8]
xorps xmm0, xmmword [0x1400be860]
movsd qword [rsi + 8], xmm0
jmp 0x140067022
cmp ebx, 0xf
jne 0x14006775b
not qword [rsi + 8]
mov byte [rsi + 0x1a], 0
jmp 0x140067022
cmp ebx, 6
jne 0x14006776b
mov rax, qword [rsi + 8]
neg rax
mov qword [rsi + 8], rax
mov byte [rsi + 0x1a], 0
jmp 0x140067022
mov eax, dword [0x1400effb0]
add eax, 0xfffffffb
cmp eax, 0x21
ja case.0x1400677a1.7
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x67a58]
mov ecx, dword [rdx + rax*4 + 0x67a38]
add rcx, rdx
jmp rcx
movups xmm0, xmmword [0x1400effb0]
movups xmm1, xmmword [0x1400effc0]
movups xmmword [rsi], xmm0
movups xmm0, xmmword [0x1400effd0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi + 0x20], xmm0
mov word [rsi + 0x18], 1
call fcn.1400655b0
jmp 0x140067022
call fcn.1400655b0
cmp eax, 1
je 0x140067811
cmp dword [0x1400efe00], 0
jne 0x140067022
lea r8, [0x1400ba520]
xor edx, edx
mov rcx, rsi
call fcn.140066e10
cmp dword [0x1400efe00], 0
jne 0x140067022
cmp dword [0x1400effb0], 0x1b
je 0x1400677c9
lea rdx, str.UnmatchedLParen
jmp 0x140067060
mov rax, qword [0x1400effc0]
mov rdi, qword [0x1400effb8]
mov qword [rbp + 0x7f], rax
call fcn.1400655b0
cmp eax, 3
jne 0x14006785e
cmp byte [rbx], 0
jne 0x140067852
mov rdx, qword [rbp + 0x7f]
mov r8, rsi
mov rcx, rdi
call fcn.140068c70
jmp 0x140067022
lea rdx, str.InvalidModuleUse
jmp 0x140067060
mov rdx, qword [rbp + 0x7f]
xor eax, eax
mov r9, rsi
mov r8, rbx
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.1400685e0
mov word [rsi + 0x18], 0
jmp 0x140067022
call fcn.1400655b0
cmp eax, 0x26
je 0x1400678bc
cmp dword [0x1400efe00], 0
jne 0x1400678bc
cmp dword [0x1400efe04], 0
lea rcx, str.Parser
je 0x1400678b0
lea rdx, str.IdentifierExpected
jmp 0x140067067
lea rdx, [0x1400be5a0]
jmp 0x140067067
mov rdi, qword [0x1400effb8]
mov rbx, qword [0x1400effc0]
call fcn.1400655b0
mov r8, qword [rbp + 0x77]
mov r9, rsi
mov rdx, rbx
mov rcx, rdi
mov dword [rsp + 0x20], 1
call fcn.1400685e0
mov word [rsi + 0x18], 0
jmp 0x140067022
call fcn.1400655b0
cmp eax, 0x26
je 0x140067913
cmp dword [0x1400efe00], 0
jne 0x140067913
lea rdx, str.IdentifierExpected_
jmp 0x140067060
mov rdx, rbx
mov rcx, rsi
call fcn.140068ac0
mov word [rsi + 0x18], 0
cmp dword [0x1400efe00], 0
jne 0x140067022
call fcn.1400655b0
jmp 0x140067022
call fcn.1400655b0
cmp eax, 0x26
je 0x14006795a
cmp dword [0x1400efe00], 0
jne 0x14006795a
lea rdx, str.ConstantExpected
jmp 0x140067060
mov rdx, rbx
mov rcx, rsi
call fcn.140068060
mov word [rsi + 0x18], 1
jmp 0x140067924
lea r8, [0x1400ba520]
xor edx, edx
mov rcx, rsi
call fcn.140066e10
jmp 0x140067022
lea rdx, str.UnexpectedToken
jmp 0x140067060