Function at 0x140160b40
Capabilities:
Encrypt data using speck
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2f]
sub rsp, 0x100
mov rax, qword [0x1407ddd00]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r14, qword [rbp + 0x7f]
lea r10, [r8 + r9]
mov rax, qword [rcx + 0x58]
lea rbx, [0x14028c908]
xor r13d, r13d
mov qword [rbp - 0x69], rbx
xorps xmm0, xmm0
mov dword [rbp - 0x71], r13d
mov r15, qword [r14]
xor r9d, r9d
movups xmmword [rbp - 0x41], xmm0
mov esi, r13d
mov dword [rbp - 0x61], r13d
movups xmm0, xmmword [rdx]
movabs rdx, 0xcbf29ce484222325
mov qword [rbp - 0x59], r8
xor r15, rdx
mov qword [rbp - 0x51], r10
mov qword [rbp - 0x49], rax
mov r12d, r13d
mov qword [rbp - 0x31], r9
mov edi, r13d
mov qword [rbp - 0x29], rcx
mov dword [rbp - 0x21], r13d
mov qword [rbp - 0x19], r8
movaps xmmword [rbp - 0x11], xmm0
mov word [rbp - 1], 1
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x28], r15
cmp qword [rcx + 0x28], rsi
jne 0x1401610ac
cmp dword [rcx + 0x90], 1
jne 0x1401610ac
cmp qword [rcx + 0x30], rsi
jne 0x1401610ac
mov rax, qword [rax + 0x28]
shl r12d, 8
mov r9d, r12d
add r9, 0x100
mov rcx, qword [rax]
mov rax, r10
sub rax, r8
lea r9, [rcx + r9*2]
mov qword [rsp + 0x38], r9
cmp rax, 3
jle 0x140160c3b
add r10, 0xfffffffffffffffd
jmp 0x140160c3f
mov r10, qword [rbp - 0x59]
mov qword [rsp + 0x30], r10
movabs r11, 0x100000001b3
nop
test edi, edi
je 0x140160c70
cmp word [rbx], 0
jne 0x140160e0c
mov eax, esi
add edi, 0xffffffff
mov dword [rbp - 0x21], edi
lea rbx, [rbx + rax*2]
mov qword [rbp - 0x69], rbx
jne 0x140160c54
mov r8, qword [rbp - 0x59]
mov qword [rsp + 0x28], r15
cmp r8, r10
jae 0x140160cf0
nop
mov ecx, dword [r8]
mov edx, ecx
shr edx, 0x10
lea eax, [rcx + 0x1010101]
test eax, 0x80808080
jne 0x140160ceb
lea eax, [rcx - 0x20202020]
test eax, 0x80808080
jne 0x140160ceb
movzx eax, cl
movzx ecx, word [r9 + rax*2]
movzx eax, byte [r8 + 1]
xor r15, rcx
imul r15, r11
movzx ecx, word [r9 + rax*2]
xor r15, rcx
movzx eax, dl
imul r15, r11
movzx ecx, word [r9 + rax*2]
movzx eax, byte [r8 + 3]
xor r15, rcx
imul r15, r11
movzx ecx, word [r9 + rax*2]
add r8, 4
xor r15, rcx
imul r15, r11
cmp r8, r10
jb 0x140160c80
mov qword [rsp + 0x28], r15
mov qword [rbp - 0x59], r8
test edi, edi
je 0x140160d20
nop dword [rax + rax]
cmp word [rbx], 0
jne 0x140160e32
mov eax, esi
add edi, 0xffffffff
mov dword [rbp - 0x21], edi
lea rbx, [rbx + rax*2]
mov qword [rbp - 0x69], rbx
jne 0x140160d00
nop dword [rax]
mov r9, qword [rbp - 0x51]
lea rdx, [rsp + 0x20]
mov r8, qword [rbp - 0x59]
mov rcx, qword [rbp - 9]
mov dword [rsp + 0x20], r13d
call qword [rbp - 0x11]
test eax, eax
jle 0x140161484
mov r15, qword [rbp - 0x49]
mov r14d, dword [rsp + 0x20]
cdqe
add qword [rbp - 0x59], rax
cmp byte [r15 + 0x30], 0
je 0x140160eaa
mov rcx, qword [r15 + 0x40]
mov r13d, r14d
mov r12d, dword [rbp - 0x71]
and r13d, 0xfff
movsx eax, byte [rcx + r13]
shr eax, 7
test al, 1
je 0x140160e70
mov ebx, dword [rbp - 0x2d]
mov eax, ebx
and eax, 0xfff
movsx ecx, byte [rax + rcx]
shr ecx, 6
test cl, 1
je 0x140160e70
mov rdx, qword [r15 + 0x38]
lea rcx, [rsp + 0x50]
mov r8d, r14d
call fcn.140176aa0
mov r11, qword [rax]
mov rax, qword [r15 + 0x38]
cmp r11, qword [rax + 8]
je 0x140160e70
cmp dword [r11], r14d
jne 0x140160e70
lea rdx, [r11 + 0x20]
mov r8d, ebx
lea rcx, [rsp + 0x40]
call fcn.140176aa0
mov r8, qword [rsp + 0x40]
cmp r8, qword [r11 + 0x28]
je 0x140160e70
cmp dword [r8], ebx
jne 0x140160e70
cmp dword [r15], 2
mov esi, 3
mov dword [rbp - 0x61], esi
jne 0x140160e53
lea rbx, [r12 + 0x1f]
mov edi, 7
lea rbx, [r8 + rbx*2]
mov dword [rbp - 0x21], edi
jmp 0x140160e5a
test edi, edi
je 0x140160c70
movzx ecx, word [rbx]
dec edi
mov eax, esi
xor r15, rcx
mov dword [rbp - 0x21], edi
imul r15, r11
lea rbx, [rbx + rax*2]
mov qword [rbp - 0x69], rbx
jmp 0x140160c50
test edi, edi
je 0x140160d20
movzx ecx, word [rbx]
dec edi
mov eax, esi
mov dword [rbp - 0x21], edi
lea rbx, [rbx + rax*2]
mov eax, ecx
mov qword [rbp - 0x69], rbx
jmp 0x140161084
mov edi, dword [rbp - 0x21]
lea rbx, [r8 + 0x3a]
lea rcx, [r12 + 0x1c]
mov qword [rbp - 0x69], rbx
lea rcx, [r8 + rcx*2]
test rcx, rcx
jne 0x140160f13
mov rax, qword [r15 + 0x40]
test byte [rax + r13], 1
je 0x140160ea1
lea r8, [rbp - 0x79]
mov edx, r14d
lea rcx, [rbp - 0x71]
call fcn.140176490
test rax, rax
jne 0x140160f22
mov r15, qword [rbp - 0x49]
mov r12d, dword [rbp - 0x71]
mov r14d, dword [rsp + 0x20]
mov dword [rbp - 0x2d], r14d
xor r13d, r13d
jmp 0x140160eae
mov r12d, dword [rbp - 0x71]
mov rax, qword [r15 + 0x28]
mov ecx, r14d
shr rcx, 8
mov r8d, r14d
mov rdx, qword [rax + rcx*8]
test rdx, rdx
je 0x140160f37
shl r12d, 8
mov esi, 0x300
movzx ecx, r8b
mov dword [rbp - 0x61], esi
mov ebx, r12d
add rbx, 0x100
add rbx, rcx
lea rbx, [rdx + rbx*2]
mov qword [rbp - 0x69], rbx
movzx edi, word [rdx + rcx*2]
mov dword [rbp - 0x21], edi
cmp word [rbx], 0
je 0x140160d20
movzx eax, word [rbx]
add rbx, 0x600
dec edi
mov qword [rbp - 0x69], rbx
mov dword [rbp - 0x21], edi
jmp 0x140161070
xor r13d, r13d
mov dword [rbp - 0x2d], r13d
movzx eax, word [rcx]
jmp 0x140161070
movzx eax, word [rax]
xor r13d, r13d
mov edi, dword [rbp - 0x21]
mov esi, dword [rbp - 0x61]
mov rbx, qword [rbp - 0x69]
jmp 0x140161070
lea rdx, [rbp + 0xf]
mov ecx, r14d
call fcn.140178e60
mov edi, eax
test eax, eax
je 0x140160f63
mov r8d, eax
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x71]
call fcn.140179130
mov eax, dword [rbp - 0x71]
dec edi
jmp 0x140161051
lea eax, [r14 - 0x17000]
cmp eax, 0x1aff
ja 0x140160f92
mov eax, 0x1000
mov ecx, 0xfb00
add r14w, ax
mov eax, 0x8000
or r14w, ax
mov word [rbp - 0x3b], r14w
jmp 0x14016101e
movzx eax, r14w
mov edx, 0x8000
or ax, dx
mov ecx, r14d
mov word [rbp - 0x3b], ax
lea eax, [r14 - 0x3400]
shr ecx, 0xf
cmp eax, 0x19b5
jbe 0x140161018
lea eax, [r14 - 0x20000]
cmp eax, 0xa6d6
jbe 0x140161018
lea eax, [r14 - 0x2a700]
cmp eax, 0x1034
jbe 0x140161018
lea eax, [r14 - 0x2b740]
cmp eax, 0xdd
jbe 0x140161018
lea eax, [r14 - 0x2b820]
cmp eax, 0x1681
jbe 0x140161018
lea eax, [r14 - 0x4e00]
cmp eax, 0x51d5
jbe 0x140161010
lea eax, [r14 - 0xfa0e]
cmp eax, 0x1b
jbe 0x140161010
add ecx, 0xfbc0
jmp 0x14016101e
add ecx, 0xfb40
jmp 0x14016101e
add ecx, 0xfb80
mov rax, qword [rbp - 0x29]
lea rdx, str.0Fd_
cmp qword [rax + 0x30], rdx
jne 0x140161037
call fcn.1401762c0
movzx ecx, ax
mov word [rbp - 0x41], cx
mov edi, 1
mov dword [rbp - 0x3f], 0x20020
mov dword [rbp - 0x39], 0
mov eax, r12d
lea rbx, [rbp - 0x3b]
mov dword [rbp - 0x21], edi
lea rbx, [rbx + rax*2]
mov esi, 3
mov qword [rbp - 0x69], rbx
mov dword [rbp - 0x61], esi
movzx ecx, word [rbp + rax*2 - 0x41]
movzx eax, cx
mov r10, qword [rsp + 0x30]
movabs r11, 0x100000001b3
mov r9, qword [rsp + 0x38]
mov r15d, eax
xor r15, qword [rsp + 0x28]
mov ecx, eax
lea rax, [r9 + 0x200]
imul r15, r11
test ecx, ecx
cmovne rax, r9
mov r9, rax
mov qword [rsp + 0x38], rax
jmp 0x140160c50
movabs r13, 0x100000001b3
test edi, edi
je 0x1401610e0
nop word [rax + rax]
cmp word [rbx], 0
jne 0x1401611bf
mov eax, esi
add edi, 0xffffffff
mov dword [rbp - 0x21], edi
lea rbx, [rbx + rax*2]
mov qword [rbp - 0x69], rbx
jne 0x1401610c0
nop dword [rax]
mov r9, qword [rbp - 0x51]
lea rdx, [rsp + 0x20]
mov r8, qword [rbp - 0x59]
xor ebx, ebx
mov rcx, qword [rbp - 9]
mov dword [rsp + 0x20], ebx
call qword [rbp - 0x11]
test eax, eax
jle 0x140161484
mov r15, qword [rbp - 0x49]
mov r14d, dword [rsp + 0x20]
cdqe
add qword [rbp - 0x59], rax
cmp byte [r15 + 0x30], bl
je 0x140161233
mov rcx, qword [r15 + 0x40]
mov r13d, r14d
mov r12d, dword [rbp - 0x71]
and r13d, 0xfff
movsx eax, byte [rcx + r13]
shr eax, 7
test al, 1
je 0x1401611fb
mov ebx, dword [rbp - 0x2d]
mov eax, ebx
and eax, 0xfff
movsx ecx, byte [rax + rcx]
shr ecx, 6
test cl, 1
je 0x1401611fb
mov rdx, qword [r15 + 0x38]
lea rcx, [rbp - 0x79]
mov r8d, r14d
call fcn.140176aa0
mov r11, qword [rax]
mov rax, qword [r15 + 0x38]
cmp r11, qword [rax + 8]
je 0x1401611fb
cmp dword [r11], r14d
jne 0x1401611fb
lea rdx, [r11 + 0x20]
mov r8d, ebx
lea rcx, [rsp + 0x40]
call fcn.140176aa0
mov r8, qword [rsp + 0x40]
cmp r8, qword [r11 + 0x28]
je 0x1401611fb
cmp dword [r8], ebx
jne 0x1401611fb
cmp dword [r15], 2
mov esi, 3
mov dword [rbp - 0x61], esi
jne 0x1401611de
lea rbx, [r12 + 0x1f]
mov edi, 7
lea rbx, [r8 + rbx*2]
mov dword [rbp - 0x21], edi
jmp 0x1401611e5
test edi, edi
je 0x1401610e0
movzx ecx, word [rbx]
dec edi
mov eax, esi
mov dword [rbp - 0x21], edi
lea rbx, [rbx + rax*2]
mov qword [rbp - 0x69], rbx
jmp 0x14016141f
mov edi, dword [rbp - 0x21]
lea rbx, [r8 + 0x3a]
lea rcx, [r12 + 0x1c]
mov qword [rbp - 0x69], rbx
lea rcx, [r8 + rcx*2]
test rcx, rcx
jne 0x14016129b
mov rax, qword [r15 + 0x40]
test byte [rax + r13], 1
je 0x14016122d
lea r8, [rsp + 0x50]
mov edx, r14d
lea rcx, [rbp - 0x71]
call fcn.140176490
mov r12d, dword [rbp - 0x71]
test rax, rax
jne 0x1401612aa
mov r15, qword [rbp - 0x49]
mov r14d, dword [rsp + 0x20]
mov dword [rbp - 0x2d], r14d
jmp 0x140161237
mov r12d, dword [rbp - 0x71]
mov rax, qword [r15 + 0x28]
mov ecx, r14d
shr rcx, 8
mov edx, r14d
mov r8, qword [rax + rcx*8]
test r8, r8
je 0x1401612bc
mov ebx, r12d
movzx edx, dl
shl ebx, 8
mov esi, 0x300
add rbx, 0x100
mov dword [rbp - 0x61], esi
add rbx, rdx
lea rbx, [r8 + rbx*2]
mov qword [rbp - 0x69], rbx
movzx edi, word [r8 + rdx*2]
mov dword [rbp - 0x21], edi
cmp word [rbx], 0
je 0x1401610e0
movzx ecx, word [rbx]
add rbx, 0x600
dec edi
mov qword [rbp - 0x69], rbx
mov dword [rbp - 0x21], edi
jmp 0x140161410
mov dword [rbp - 0x2d], 0
movzx ecx, word [rcx]
jmp 0x140161410
movzx ecx, word [rax]
mov edi, dword [rbp - 0x21]
mov esi, dword [rbp - 0x61]
mov rbx, qword [rbp - 0x69]
jmp 0x140161410
lea rdx, [rbp + 0xf]
mov ecx, r14d
call fcn.140178e60
mov edi, eax
test eax, eax
je 0x140161306
mov r8d, eax
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x71]
call fcn.140179130
mov r12d, dword [rbp - 0x71]
lea rbx, [rbp - 0x3b]
dec edi
mov esi, 3
mov dword [rbp - 0x21], edi
mov dword [rbp - 0x61], esi
lea rbx, [rbx + r12*2]
mov qword [rbp - 0x69], rbx
movzx ecx, word [rbp + r12*2 - 0x41]
jmp 0x140161410
lea eax, [r14 - 0x17000]
cmp eax, 0x1aff
ja 0x140161335
mov eax, 0x1000
mov ecx, 0xfb00
add r14w, ax
mov eax, 0x8000
or r14w, ax
mov word [rbp - 0x3b], r14w
jmp 0x1401613c1
movzx eax, r14w
mov edx, 0x8000
or ax, dx
mov ecx, r14d
mov word [rbp - 0x3b], ax
lea eax, [r14 - 0x3400]
shr ecx, 0xf
cmp eax, 0x19b5
jbe 0x1401613bb
lea eax, [r14 - 0x20000]
cmp eax, 0xa6d6
jbe 0x1401613bb
lea eax, [r14 - 0x2a700]
cmp eax, 0x1034
jbe 0x1401613bb
lea eax, [r14 - 0x2b740]
cmp eax, 0xdd
jbe 0x1401613bb
lea eax, [r14 - 0x2b820]
cmp eax, 0x1681
jbe 0x1401613bb
lea eax, [r14 - 0x4e00]
cmp eax, 0x51d5
jbe 0x1401613b3
lea eax, [r14 - 0xfa0e]
cmp eax, 0x1b
jbe 0x1401613b3
add ecx, 0xfbc0
jmp 0x1401613c1
add ecx, 0xfb40
jmp 0x1401613c1
add ecx, 0xfb80
mov rax, qword [rbp - 0x29]
lea rdx, str.0Fd_
cmp qword [rax + 0x30], rdx
jne 0x1401613da
call fcn.1401762c0
movzx ecx, ax
mov eax, r12d
lea rbx, [rbp - 0x3b]
mov edi, 1
mov word [rbp - 0x41], cx
mov esi, 3
mov dword [rbp - 0x3f], 0x20020
mov dword [rbp - 0x39], 0
lea rbx, [rbx + rax*2]
mov dword [rbp - 0x21], edi
mov qword [rbp - 0x69], rbx
mov dword [rbp - 0x61], esi
movzx ecx, word [rbp + rax*2 - 0x41]
mov r15, qword [rsp + 0x28]
movabs r13, 0x100000001b3
mov rax, qword [rbp - 0x29]
movzx ecx, cx
mov r14, qword [rax + 0x30]
mov eax, ecx
test ecx, ecx
je 0x140161473
test r14, r14
je 0x140161473
cmp qword [r14], 0
je 0x14016145d
test r12d, r12d
jne 0x14016145d
movzx edx, cx
lea rcx, [rbp - 0x71]
call fcn.140175ae0
mov edi, dword [rbp - 0x21]
mov esi, dword [rbp - 0x61]
mov rbx, qword [rbp - 0x69]
mov r12d, dword [rbp - 0x71]
movzx eax, ax
cmp dword [r14 + 0xc], 0
je 0x140161473
movzx edx, ax
lea rcx, [rbp - 0x71]
call fcn.1401756c0
movzx eax, ax
xor r15, rax
imul r15, r13
mov qword [rsp + 0x28], r15
jmp 0x1401610b6
mov rax, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x28]
mov qword [rax], rdx
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1401db8e0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret