Function at 0x14000d390
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 0x14000d5bd
mov ebx, 1
lea r8, [0x140031e7d]
mov edx, ebx
call fcn.14000d390
cmp dword [0x140045350], 0
jne 0x14000d5a2
movsd xmm6, qword [0x1400371e0]
movaps xmmword [rsp + 0x70], xmm7
movsd xmm7, qword [0x1400371f8]
mov ecx, dword [0x140045500]
mov dword [rbp - 0x11], 2
lea eax, [rcx - 0x10]
mov edi, ecx
cmp eax, 2
ja 0x14000d59d
call fcn.14000bb30
cmp eax, ebx
je 0x14000d564
cmp dword [0x140045350], 0
jne 0x14000d584
lea r8, [0x140031e7d]
lea rcx, [rbp - 0x11]
mov edx, ebx
call fcn.14000d390
cmp dword [0x140045350], 0
jne 0x14000d584
lea rdx, [0x140045358]
mov rcx, rsi
call fcn.14000ce30
test eax, eax
je 0x14000d57e
mov ecx, dword [rbp - 0x11]
xor edx, edx
mov eax, edx
mov dword [rbp + 0x6f], edx
cmp ecx, 0x23
jne 0x14000d477
cmp qword [rbp - 9], rax
je 0x14000d4d0
mov eax, ebx
jmp 0x14000d4d0
cmp ecx, 0x24
jne 0x14000d491
movsd xmm0, qword [rbp - 9]
comisd xmm0, xmm6
jae 0x14000d48d
comisd xmm7, xmm0
jb 0x14000d4d0
mov eax, ebx
jmp 0x14000d4d0
cmp ecx, 0x25
jne 0x14000d4d0
cmp byte [rbp + 7], al
jne 0x14000d540
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x14000d4d0
call fcn.1400219a0
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 [0x1400441a0]
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 0x14000d513
dec edi
je 0x14000d502
dec edi
jne 0x14000d528
mov rax, qword [rsi + 8]
test rax, rax
jne 0x14000d4fb
test rcx, rcx
je 0x14000d520
test rax, rax
je 0x14000d50f
test rcx, rcx
je 0x14000d50f
jmp 0x14000d520
cmp qword [rsi + 8], 0
jne 0x14000d50f
test eax, eax
mov eax, edx
je 0x14000d522
mov eax, ebx
jmp 0x14000d522
cmp qword [rsi + 8], 0
je 0x14000d520
test eax, eax
mov eax, ebx
jne 0x14000d522
mov eax, edx
cdqe
mov qword [rsi + 8], rax
cmp byte [rsi + 0x18], 0
je 0x14000d536
cmp byte [rbp + 7], 0
mov eax, ebx
jne 0x14000d538
mov eax, edx
mov byte [rsi + 0x18], al
jmp 0x14000d3f3
mov r8, qword [rbp - 9]
test r8, r8
je 0x14000d558
mov rcx, qword [0x1400441a0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor edx, edx
mov dword [rbp - 0x11], edx
lea rdx, str.NoLiteralString
jmp 0x14000d56b
lea rdx, str.ArgumentExpected
lea rcx, str.Parser
call fcn.140019380
mov qword [0x140045358], rax
mov dword [0x140045350], ebx
cmp dword [rbp - 0x11], 0x25
jne 0x14000d59d
mov r8, qword [rbp - 9]
mov rcx, qword [0x1400441a0]
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 0x14000d664
cmp dword [0x140045500], 0x13
jne 0x14000d64e
call fcn.14000bb30
cmp eax, 1
jne 0x14000d5ff
lea rdx, str.ArgumentExpected
lea rcx, str.Parser
call fcn.140019380
mov qword [0x140045358], rax
mov dword [0x140045350], 1
jmp 0x14000d5a2
cmp dword [0x140045350], 0
jne 0x14000d5a2
lea r8, [0x140031e7d]
mov edx, 2
mov rcx, rsi
call fcn.14000d390
cmp dword [0x140045350], 0
jne 0x14000d5a2
lea rdx, [0x140045358]
mov rcx, rsi
call fcn.14000ce30
test eax, eax
je 0x14000d5f3
xor eax, eax
cmp qword [rsi + 8], rax
sete al
mov qword [rsi + 8], rax
jmp 0x14000d5a2
lea r8, [0x140031e7d]
mov edx, 2
call fcn.14000d390
jmp 0x14000d5a2
cmp edx, 7
jge 0x14000dc0a
lea eax, [rdx + 1]
lea r8, [0x140031e7d]
mov edx, eax
mov dword [rbp - 0x19], eax
call fcn.14000d390
cmp dword [0x140045350], 0
jne 0x14000d5a2
mov ebx, dword [0x140045500]
xor edi, edi
xorps xmm6, xmm6
mov eax, dword [rbp + 0x6f]
mov dword [rbp - 0x11], 2
cmp eax, 2
jne 0x14000d6b0
lea eax, [rbx - 0x14]
cmp eax, 5
jmp 0x14000d6e6
cmp eax, 3
jne 0x14000d6bd
lea eax, [rbx - 5]
cmp eax, 1
jmp 0x14000d6e6
cmp eax, 4
jne 0x14000d6ca
lea eax, [rbx - 7]
cmp eax, 1
jmp 0x14000d6e6
cmp eax, 5
jne 0x14000d6d7
lea eax, [rbx - 9]
cmp eax, 1
jmp 0x14000d6e6
cmp eax, 6
jne 0x14000d5a2
lea eax, [rbx - 0xb]
cmp eax, 3
ja 0x14000d5a2
call fcn.14000bb30
cmp eax, 1
je 0x14000dbc4
cmp dword [0x140045350], edi
jne 0x14000dbe8
mov edx, dword [rbp - 0x19]
lea r8, [0x140031e7d]
lea rcx, [rbp - 0x11]
call fcn.14000d390
cmp dword [0x140045350], edi
jne 0x14000dbe8
cmp byte [rsi + 0x19], dil
jne 0x14000dbbb
cmp byte [rbp + 8], dil
jne 0x14000dbbb
mov eax, dword [rsi]
cmp eax, 0x25
jne 0x14000d813
cmp dword [rbp - 0x11], eax
jne 0x14000dbb2
sub ebx, 5
je 0x14000d794
sub ebx, 0xf
je 0x14000d77b
dec ebx
jne 0x14000db7a
mov rdx, qword [rbp - 9]
mov rcx, qword [rsi + 8]
call fcn.140021ab0
mov ecx, edi
test eax, eax
setne cl
mov dword [rbp + 0x7f], ecx
jmp 0x14000d7fb
mov rdx, qword [rbp - 9]
mov rcx, qword [rsi + 8]
call fcn.140021ab0
mov ecx, edi
test eax, eax
sete cl
mov dword [rbp + 0x7f], ecx
jmp 0x14000d7fb
mov rcx, qword [rbp - 9]
call fcn.140021b70
mov rcx, qword [rsi + 8]
mov ebx, eax
call fcn.140021b70
mov edx, dword [0x140059ac0]
mov rcx, qword [0x1400441a0]
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 0x14000d7fb
mov rdx, qword [rsi + 8]
mov rcx, rax
call fcn.140021af0
mov rdx, qword [rbp - 9]
mov rcx, rbx
call fcn.140021a40
mov r8, qword [rsi + 8]
mov rcx, qword [0x1400441a0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rsi + 8], rbx
cmp dword [0x140045350], edi
jne 0x14000dbe8
mov r9d, dword [rbp - 0x11]
mov edx, dword [rbp + 0x6f]
jmp case.0x14000da00.9
mov r9d, dword [rbp - 0x11]
cmp r9d, 0x25
je 0x14000dbb2
cmp eax, 0x24
je 0x14000d9b9
cmp r9d, 0x24
je 0x14000d9b9
mov r8, qword [rbp - 9]
add ebx, 0xfffffffb
cmp ebx, 0x14
ja case.0x14000d858.15
lea rdx, [0x140000000]
movsxd rax, ebx
mov ecx, dword [rdx + rax*4 + 0xdf10]
add rcx, rdx
jmp rcx
add qword [rsi + 8], r8
mov edx, dword [rbp + 0x6f]
mov byte [rsi + 0x1a], dil
jmp 0x14000da30
sub qword [rsi + 8], r8
mov edx, dword [rbp + 0x6f]
mov byte [rsi + 0x1a], dil
jmp 0x14000da30
mov rax, qword [rsi + 8]
mov edx, dword [rbp + 0x6f]
mov byte [rsi + 0x1a], dil
imul rax, r8
mov qword [rsi + 8], rax
jmp 0x14000da30
or qword [rsi + 8], r8
mov edx, dword [rbp + 0x6f]
mov byte [rsi + 0x1a], dil
jmp 0x14000da30
and qword [rsi + 8], r8
mov edx, dword [rbp + 0x6f]
mov byte [rsi + 0x1a], dil
jmp 0x14000da30
xor qword [rsi + 8], r8
mov edx, dword [rbp + 0x6f]
mov byte [rsi + 0x1a], dil
jmp 0x14000da30
mov edx, dword [rbp + 0x6f]
mov rcx, r8
mov byte [rsi + 0x1a], dil
shl qword [rsi + 8], cl
jmp 0x14000da30
mov edx, dword [rbp + 0x6f]
mov rcx, r8
mov byte [rsi + 0x1a], dil
sar qword [rsi + 8], cl
jmp 0x14000da30
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 0x14000da30
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 0x14000da30
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 0x14000da30
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 0x14000da30
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 0x14000da30
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 0x14000da30
test r8, r8
je 0x14000db96
mov rax, qword [rsi + 8]
mov byte [rsi + 0x1a], dil
cqo
idiv r8
mov edx, dword [rbp + 0x6f]
mov qword [rsi + 8], rax
jmp 0x14000da30
test r8, r8
je 0x14000db83
mov rax, qword [rsi + 8]
cqo
idiv r8
mov qword [rsi + 8], rdx
mov edx, dword [rbp + 0x6f]
mov byte [rsi + 0x1a], dil
jmp 0x14000da30
mov edx, dword [rbp + 0x6f]
cmp edx, 4
jg 0x14000dba9
cmp eax, 0x23
jne 0x14000da02
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.0x14000da00.9
lea r8, [0x140000000]
movsxd rax, ebx
mov ecx, dword [r8 + rax*4 + 0xdf64]
add rcx, r8
jmp rcx
cmp r9d, 0x23
jne 0x14000d9de
xorps xmm1, xmm1
mov r9d, 0x24
mov dword [rbp - 0x11], r9d
cvtsi2sd xmm1, qword [rbp - 9]
movsd qword [rbp - 9], xmm1
jmp 0x14000d9e3
addsd xmm1, qword [rsi + 8]
movsd qword [rsi + 8], xmm1
mov r8, qword [rbp - 9]
mov ebx, dword [rbp + 0x7f]
cmp edx, 2
jne 0x14000da6b
cmp dword [rsi], 0x25
jne 0x14000da58
mov r8, qword [rsi + 8]
mov rcx, qword [0x1400441a0]
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 0x14000da7c
mov eax, 1
cmp byte [rbp + 7], dil
jne 0x14000da7e
mov eax, edi
mov ebx, dword [0x140045500]
mov byte [rsi + 0x18], al
cmp r9d, 0x25
jne 0x14000d699
mov rcx, qword [0x1400441a0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14000d699
movsd xmm0, qword [rsi + 8]
subsd xmm0, xmm1
movsd qword [rsi + 8], xmm0
jmp case.0x14000da00.9
mulsd xmm1, qword [rsi + 8]
jmp 0x14000da27
ucomisd xmm1, xmm6
jp 0x14000dace
je 0x14000db96
movsd xmm0, qword [rsi + 8]
divsd xmm0, xmm1
movsd qword [rsi + 8], xmm0
jmp case.0x14000da00.9
movsd xmm0, qword [rsi + 8]
ucomisd xmm0, xmm1
jp 0x14000db0c
jne 0x14000db0c
mov r8, qword [rbp - 9]
mov ebx, 1
mov dword [rbp + 0x7f], ebx
jmp 0x14000da33
movsd xmm0, qword [rsi + 8]
ucomisd xmm0, xmm1
jp 0x14000daee
jne 0x14000daee
mov r8, qword [rbp - 9]
mov ebx, edi
mov dword [rbp + 0x7f], ebx
jmp 0x14000da33
comisd xmm1, xmmword [rsi + 8]
mov r8, qword [rbp - 9]
mov ebx, edi
seta bl
mov dword [rbp + 0x7f], ebx
jmp 0x14000da33
movsd xmm0, qword [rsi + 8]
mov r8, qword [rbp - 9]
mov ebx, edi
comisd xmm0, xmm1
seta bl
mov dword [rbp + 0x7f], ebx
jmp 0x14000da33
comisd xmm1, xmmword [rsi + 8]
mov r8, qword [rbp - 9]
mov ebx, edi
setae bl
mov dword [rbp + 0x7f], ebx
jmp 0x14000da33
movsd xmm0, qword [rsi + 8]
mov r8, qword [rbp - 9]
mov ebx, edi
comisd xmm0, xmm1
setae bl
mov dword [rbp + 0x7f], ebx
jmp 0x14000da33
lea rdx, str.InvalidStringOp
jmp 0x14000dbcb
lea rdx, [0x140036ee0]
lea rcx, str.DebuggerErrors
jmp 0x14000d5e7
lea rdx, [0x140036edc]
lea rcx, str.DebuggerErrors
jmp 0x14000d5e7
lea rdx, str.FloatBinary
jmp 0x14000dbcb
lea rdx, str.NumericString
jmp 0x14000dbcb
lea rdx, str.BooleanContext
jmp 0x14000dbcb
lea rdx, str.ArgumentExpected
lea rcx, str.Parser
call fcn.140019380
mov dword [0x140045350], 1
mov qword [0x140045358], rax
cmp dword [rbp - 0x11], 0x25
jne 0x14000d5a2
mov r8, qword [rbp - 9]
mov rcx, qword [0x1400441a0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14000d5a2
jne 0x14000dcf4
mov ebx, dword [0x140045500]
lea eax, [rbx - 5]
cmp eax, 1
jbe 0x14000dc2a
cmp ebx, 0xf
je 0x14000dc2a
mov ebx, 2
jmp 0x14000dc45
call fcn.14000bb30
cmp eax, 1
je 0x14000d5d9
cmp dword [0x140045350], 0
jne 0x14000d5a2
lea r8, [0x140031e7d]
mov edx, 8
mov rcx, rsi
call fcn.14000d390
cmp dword [0x140045350], 0
jne 0x14000d5a2
cmp ebx, 2
je 0x14000d5a2
cmp byte [rsi + 0x19], 0
je 0x14000dc81
lea rdx, str.BooleanContext
jmp 0x14000d5e0
mov eax, dword [rsi]
cmp eax, 0x25
jne 0x14000dc94
lea rdx, str.NoStringOp
jmp 0x14000d5e0
cmp eax, 0x24
jne 0x14000dcc9
cmp ebx, 0xf
jne 0x14000dcaa
lea rdx, str.NoFloatOp
jmp 0x14000d5e0
cmp ebx, 6
jne 0x14000d5a2
movsd xmm0, qword [rsi + 8]
xorps xmm0, xmmword [0x140037200]
movsd qword [rsi + 8], xmm0
jmp 0x14000d5a2
cmp ebx, 0xf
jne 0x14000dcdb
not qword [rsi + 8]
mov byte [rsi + 0x1a], 0
jmp 0x14000d5a2
cmp ebx, 6
jne 0x14000dceb
mov rax, qword [rsi + 8]
neg rax
mov qword [rsi + 8], rax
mov byte [rsi + 0x1a], 0
jmp 0x14000d5a2
mov eax, dword [0x140045500]
add eax, 0xfffffffb
cmp eax, 0x21
ja case.0x14000dd21.7
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0xdfd8]
mov ecx, dword [rdx + rax*4 + 0xdfb8]
add rcx, rdx
jmp rcx
movups xmm0, xmmword [0x140045500]
movups xmm1, xmmword [0x140045510]
movups xmmword [rsi], xmm0
movups xmm0, xmmword [0x140045520]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi + 0x20], xmm0
mov word [rsi + 0x18], 1
call fcn.14000bb30
jmp 0x14000d5a2
call fcn.14000bb30
cmp eax, 1
je 0x14000dd91
cmp dword [0x140045350], 0
jne 0x14000d5a2
lea r8, [0x140031e7d]
xor edx, edx
mov rcx, rsi
call fcn.14000d390
cmp dword [0x140045350], 0
jne 0x14000d5a2
cmp dword [0x140045500], 0x1b
je 0x14000dd49
lea rdx, str.UnmatchedLParen
jmp 0x14000d5e0
mov rax, qword [0x140045510]
mov rdi, qword [0x140045508]
mov qword [rbp + 0x7f], rax
call fcn.14000bb30
cmp eax, 3
jne 0x14000ddde
cmp byte [rbx], 0
jne 0x14000ddd2
mov rdx, qword [rbp + 0x7f]
mov r8, rsi
mov rcx, rdi
call fcn.14000f1f0
jmp 0x14000d5a2
lea rdx, str.InvalidModuleUse
jmp 0x14000d5e0
mov rdx, qword [rbp + 0x7f]
xor eax, eax
mov r9, rsi
mov r8, rbx
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.14000eb60
mov word [rsi + 0x18], 0
jmp 0x14000d5a2
call fcn.14000bb30
cmp eax, 0x26
je 0x14000de3c
cmp dword [0x140045350], 0
jne 0x14000de3c
cmp dword [0x140045354], 0
lea rcx, str.Parser
je 0x14000de30
lea rdx, str.IdentifierExpected
jmp 0x14000d5e7
lea rdx, [0x140036f48]
jmp 0x14000d5e7
mov rdi, qword [0x140045508]
mov rbx, qword [0x140045510]
call fcn.14000bb30
mov r8, qword [rbp + 0x77]
mov r9, rsi
mov rdx, rbx
mov rcx, rdi
mov dword [rsp + 0x20], 1
call fcn.14000eb60
mov word [rsi + 0x18], 0
jmp 0x14000d5a2
call fcn.14000bb30
cmp eax, 0x26
je 0x14000de93
cmp dword [0x140045350], 0
jne 0x14000de93
lea rdx, str.IdentifierExpected_
jmp 0x14000d5e0
mov rdx, rbx
mov rcx, rsi
call fcn.14000f040
mov word [rsi + 0x18], 0
cmp dword [0x140045350], 0
jne 0x14000d5a2
call fcn.14000bb30
jmp 0x14000d5a2
call fcn.14000bb30
cmp eax, 0x26
je 0x14000deda
cmp dword [0x140045350], 0
jne 0x14000deda
lea rdx, str.ConstantExpected
jmp 0x14000d5e0
mov rdx, rbx
mov rcx, rsi
call fcn.14000e5e0
mov word [rsi + 0x18], 1
jmp 0x14000dea4
lea r8, [0x140031e7d]
xor edx, edx
mov rcx, rsi
call fcn.14000d390
jmp 0x14000d5a2
lea rdx, str.UnexpectedToken
jmp 0x14000d5e0