Function at 0x140534900
Capabilities:
Encode data using xor
Encrypt data using speck
Hash data using fnv

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp], 0xfffffffffffffffe
mov rbx, r8
mov qword [rbp - 8], rdx
mov rdi, rcx
mov r14, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 0x10
mov r15, r8
jb 0x140534938
mov r15, qword [rbx]
test r14, r14
je 0x140534961
mov eax, r14d
and eax, 3
movabs rcx, 0x100000001b3
cmp r14, 4
jae 0x14053496d
movabs r8, 0xcbf29ce484222325
xor edx, edx
jmp 0x1405349bc
movabs r12, 0xcbf29ce484222325
jmp 0x1405349e7
mov r9, r14
and r9, 0xfffffffffffffffc
movabs r8, 0xcbf29ce484222325
xor edx, edx
movzx r10d, byte [r15 + rdx]
xor r10, r8
imul r10, rcx
movzx r8d, byte [r15 + rdx + 1]
xor r8, r10
imul r8, rcx
movzx r10d, byte [r15 + rdx + 2]
xor r10, r8
imul r10, rcx
movzx r8d, byte [r15 + rdx + 3]
xor r8, r10
imul r8, rcx
add rdx, 4
cmp r9, rdx
jne 0x140534980
mov r12, r8
test rax, rax
je 0x1405349e7
add rdx, r15
xor r9d, r9d
nop word [rax + rax]
movzx r12d, byte [rdx + r9]
xor r12, r8
imul r12, rcx
inc r9
cmp rax, r9
mov r8, r12
jne 0x1405349d0
mov rsi, qword [rdi + 8]
cmp byte [0x1407904a0], 0
jne 0x140534a6c
nop
mov rax, qword [rdi + 0x30]
and rax, r12
mov rcx, qword [rdi + 0x18]
mov rdx, rax
shl rdx, 4
mov r13, qword [rcx + rdx + 8]
cmp r13, rsi
je 0x140534a6c
add rax, rax
mov rsi, qword [rcx + rax*8]
nop dword [rax + rax]
cmp r14, qword [r13 + 0x20]
jne 0x140534a5d
cmp qword [r13 + 0x28], 0x10
jb 0x140534a40
mov r9, qword [r13 + 0x10]
jmp 0x140534a44
lea r9, [r13 + 0x10]
mov rcx, r14
mov rdx, r15
mov r8d, 0x84fea6d7
call fcn.14053a020
test eax, eax
je 0x140534b9b
cmp r13, rsi
je 0x140534a69
nop
mov r13, qword [r13 + 8]
jmp 0x140534a20
mov rsi, r13
movabs rax, 0x492492492492492
cmp qword [rdi + 0x10], rax
je 0x140534d0b
lea r8, [rdi + 8]
mov qword [rsp + 0x20], rbx
lea rcx, [rbp - 0x18]
mov r9d, 0x62fefb94
call fcn.1405358b0
mov rax, qword [rdi + 0x10]
inc rax
js 0x140534aa8
cvtsi2ss xmm0, rax
jmp 0x140534abd
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
movss xmm1, dword [rdi]
mov rbx, qword [rdi + 0x38]
test rbx, rbx
js 0x140534ad1
cvtsi2ss xmm2, rbx
jmp 0x140534ae8
mov rax, rbx
shr rax, 1
mov ecx, ebx
and ecx, 1
or rcx, rax
cvtsi2ss xmm2, rcx
addss xmm2, xmm2
movaps xmm3, xmm0
divss xmm3, xmm2
ucomiss xmm3, xmm1
jbe 0x140534c0e
divss xmm0, xmm1
call fcn.1405d189c
cvttss2si rax, xmm0
mov rcx, rax
subss xmm0, dword [0x14060e8a0]
cvttss2si rdx, xmm0
sar rcx, 0x3f
and rdx, rcx
or rdx, rax
cmp rdx, 9
mov eax, 8
cmovae rax, rdx
cmp rbx, rax
jae 0x140534b4f
lea rcx, [rbx*8]
cmp rcx, rax
cmovbe rcx, rax
cmp rbx, 0x200
cmovae rcx, rax
mov rbx, rcx
nop
mov qword [rsp + 0x20], rdi
mov r8, rbx
mov r9d, 0xfedbe1eb
call fcn.1405358b0
mov rax, qword [rdi + 0x30]
and rax, r12
mov rsi, qword [rdi + 8]
mov rcx, qword [rdi + 0x18]
mov rdx, rax
shl rdx, 4
mov r15, qword [rcx + rdx + 8]
cmp r15, rsi
je 0x140534c0e
add rax, rax
mov rdx, qword [rbp - 0x10]
cmp qword [rdx + 0x28], 0x10
jb 0x140534bab
mov rbx, qword [rdx + 0x10]
jmp 0x140534baf
mov rax, qword [rbp - 8]
mov qword [rax], r13
mov byte [rax + 8], 0
jmp 0x140534cf6
lea rbx, [rdx + 0x10]
nop
mov rsi, qword [rcx + rax*8]
mov r14, qword [rdx + 0x20]
nop dword [rax + rax]
cmp r14, qword [r15 + 0x20]
jne 0x140534bf9
cmp qword [r15 + 0x28], 0x10
jb 0x140534be0
mov r9, qword [r15 + 0x10]
jmp 0x140534be4
lea r9, [r15 + 0x10]
mov rcx, r14
mov rdx, rbx
mov r8d, 0x6b977847
call fcn.14053a020
test eax, eax
je 0x140534c0a
cmp r15, rsi
je 0x140534c05
nop
mov r15, qword [r15 + 8]
jmp 0x140534bc0
mov rsi, r15
jmp 0x140534c0e
nop
mov rsi, qword [r15]
mov rax, qword [rbp - 0x10]
mov qword [rbp - 0x10], 0
mov rcx, qword [rsi + 8]
inc qword [rdi + 0x10]
mov qword [rax], rsi
mov qword [rax + 8], rcx
mov qword [rcx], rax
mov qword [rsi + 8], rax
mov r9, qword [rdi + 0x18]
and r12, qword [rdi + 0x30]
shl r12, 4
lea rdx, [r9 + r12]
lea r8, [r9 + r12]
add r8, 8
mov r9, qword [r9 + r12]
cmp r9, qword [rdi + 8]
je 0x140534c62
cmp r9, rsi
je 0x140534c69
nop
cmp qword [r8], rcx
mov rdx, r8
jne 0x140534c6d
jmp 0x140534c69
nop
mov qword [rdx], rax
mov rdx, r8
nop
mov qword [rdx], rax
mov rcx, qword [rbp - 8]
mov qword [rcx], rax
mov byte [rcx + 8], 1
mov rsi, qword [rbp - 0x10]
test rsi, rsi
je 0x140534cf6
mov rax, qword [rsi + 0x28]
cmp rax, 0x10
jb 0x140534cc8
nop
mov r9, qword [rsi + 0x10]
lea rcx, [rax + 1]
cmp rcx, 0x1000
jb 0x140534cbd
nop
mov rdx, qword [r9 - 8]
add r9, 0xfffffffffffffff8
sub r9, rdx
cmp r9, 0x20
jae 0x140534ddf
add rax, 0x28
mov rcx, rax
mov r9, rdx
mov r8d, 0xe8c43cb0
call fcn.14053a020
nop
mov qword [rsi + 0x20], 0
mov qword [rsi + 0x28], 0xf
mov byte [rsi + 0x10], 0
mov r9, qword [rbp - 0x10]
test r9, r9
je 0x140534cf6
mov ecx, 0x38
mov r8d, 0xa9976d30
call fcn.14053a020
mov rax, qword [rbp - 8]
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
nop
movzx eax, byte [0x14077c19b]
cmp al, 0x93
je 0x140534dd3
mov cl, 0x8a
nop dword [rax]
mov al, 0x47
lock cmpxchg byte [0x14077c19b], cl
je 0x140534d35
cmp al, 0x93
jne 0x140534d20
jmp 0x140534dd3
mov r8d, 0xf7bd25d4
mov r9d, 0xf7bd25d2
xor r10d, r10d
movabs r11, 0x4924924924924925
lea rax, [0x1406139d0]
mov esi, 0xf7bd25c8
add rsi, rax
lea rdi, [0x14077c180]
nop word cs:[rax + rax]
mov rax, r8
shr rax, 2
mul r11
mov rcx, rdx
mov rax, r9
shr rax, 2
mul r11
shr rdx, 1
imul rax, rdx, 0xffffffffffffffe4
add rax, rsi
movzx eax, byte [r10 + rax + 0xb]
xor al, 0xc
add byte [r10 + rdi], al
cmp r10, 0x1a
je 0x140534dcb
shr rcx, 1
imul rax, rcx, 0xffffffffffffffe4
add rax, rsi
add rax, 0xc
movzx eax, byte [rax + r10]
xor al, 0xc
add byte [r10 + rdi + 1], al
add r10, 2
add r8, 2
add r9, 2
jmp 0x140534d70
mov al, 0x93
xchg byte [0x14077c19b], al
lea rcx, [0x14077c180]
call fcn.140095530
call fcn.1400954e0
int3