Function at 0x140057490
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rbx, r8
mov r14, rdx
mov rbp, rcx
mov r10, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 7
jbe 0x1400574c3
mov r8, qword [r8]
movabs r9, 0xcbf29ce484222325
xor r15d, r15d
mov ecx, r15d
add r10, r10
je 0x140057504
movabs rdx, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
xor r9, rax
imul r9, rdx
inc rcx
cmp rcx, r10
jb 0x1400574f0
movsxd r12, dword [rbx + 0x20]
xor r12, r9
mov r9, r12
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.140057d00
mov r9, qword [rsp + 0x28]
test r9, r9
je 0x140057534
mov qword [r14], r9
mov byte [r14 + 8], r15b
jmp 0x140057708
movabs rax, 0x38e38e38e38e38e
cmp qword [rbp + 0x10], rax
jne 0x140057552
lea rcx, [0x14009d930]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea r13, [rbp + 8]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r15
mov ecx, 0x48
call fcn.140084afc
mov rsi, rax
mov qword [rsp + 0x38], rax
mov rdx, rbx
lea rcx, [rax + 0x10]
call fcn.140050c20
mov ecx, dword [rbx + 0x20]
mov dword [rsi + 0x30], ecx
mov qword [rsi + 0x38], r15
mov qword [rsi + 0x40], r15
mov rcx, qword [rbp + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x1400575a0
cvtsi2ss xmm0, rcx
jmp 0x1400575b5
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rbp + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x1400575c8
cvtsi2ss xmm1, rcx
jmp 0x1400575dd
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rbp]
jbe 0x1400576b0
mov rcx, rbp
call fcn.140057990
mov rax, qword [rbp + 0x30]
and rax, r12
add rax, rax
mov rdx, qword [rbp + 0x18]
mov r10, qword [rdx + rax*8 + 8]
mov rcx, qword [r13]
cmp r10, rcx
jne 0x14005761e
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], r15
jmp 0x1400576a5
mov rbx, qword [rdx + rax*8]
mov r15, qword [rsi + 0x28]
mov r11, qword [rsi + 0x20]
nop word [rax + rax]
lea rcx, [r10 + 0x10]
cmp qword [r10 + 0x28], 7
jbe 0x14005763f
mov rcx, qword [r10 + 0x10]
lea r8, [rsi + 0x10]
cmp r15, 7
jbe 0x14005764d
mov r8, qword [rsi + 0x10]
cmp r11, qword [r10 + 0x20]
jne 0x14005767d
mov rdx, r11
test r11, r11
je 0x140057674
sub r8, rcx
nop
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x14005767d
add rcx, 2
sub rdx, 1
jne 0x140057660
mov eax, dword [r10 + 0x30]
cmp dword [rsi + 0x30], eax
je 0x140057688
cmp r10, rbx
je 0x140057697
mov r10, qword [r10 + 8]
jmp 0x140057630
mov rax, qword [r10]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], r10
jmp 0x1400576a5
mov qword [rsp + 0x20], r10
mov qword [rsp + 0x28], 0
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov rdx, qword [rsp + 0x20]
mov r8, qword [rdx + 8]
inc qword [rbp + 0x10]
mov qword [rsi], rdx
mov qword [rsi + 8], r8
mov qword [r8], rsi
mov qword [rdx + 8], rsi
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, r12
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [r13]
jne 0x1400576e9
mov qword [rcx + rax*8], rsi
jmp 0x1400576fb
cmp r9, rdx
jne 0x1400576f4
mov qword [rcx + rax*8], rsi
jmp 0x140057700
cmp qword [rcx + rax*8 + 8], r8
jne 0x140057700
mov qword [rcx + rax*8 + 8], rsi
mov qword [r14], rsi
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret