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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r9, r8
mov r15, rdx
mov r13, rcx
mov r10, qword [r8 + 0x10]
mov rdx, r8
mov rdi, qword [r8 + 0x18]
cmp rdi, 8
jb 0x1400406a1
mov rdx, qword [r8]
movabs r14, 0xcbf29ce484222325
lea r8, [r10 + r10]
xor ecx, ecx
test r8, r8
je 0x1400406d3
movabs r11, 0x100000001b3
movzx eax, byte [rcx + rdx]
xor r14, rax
imul r14, r11
inc rcx
cmp rcx, r8
jb 0x1400406c0
mov rax, qword [r13 + 0x30]
and rax, r14
add rax, rax
mov rcx, qword [r13 + 0x18]
mov rbx, qword [rcx + rax*8 + 8]
mov rsi, qword [r13 + 8]
cmp rbx, rsi
jne 0x1400406f7
mov rbx, rsi
mov rdi, rsi
jmp 0x140040762
mov r11, qword [rcx + rax*8]
nop dword [rax + rax]
lea rcx, [rbx + 0x10]
mov rax, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 8
jb 0x140040712
mov rcx, qword [rcx]
mov r8, r9
cmp rdi, 8
jb 0x14004071e
mov r8, qword [r9]
cmp r10, rax
jne 0x140040751
mov rdx, r10
test r10, r10
je 0x140040744
sub r8, rcx
nop
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x140040751
add rcx, 2
sub rdx, 1
jne 0x140040730
mov qword [r15], rbx
mov byte [r15 + 8], 0
jmp 0x14004092f
cmp rbx, r11
je 0x14004075c
mov rbx, qword [rbx + 8]
jmp 0x140040700
mov rsi, rbx
mov rdi, rbx
movabs rax, 0x38e38e38e38e38e
cmp qword [r13 + 0x10], rax
je 0x14004094a
mov qword [rsp + 0x30], r9
lea r9, [rsp + 0x30]
lea rdx, [r13 + 8]
lea rcx, [rsp + 0x40]
call fcn.140041020
nop
mov rcx, qword [r13 + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x1400407a3
cvtsi2ss xmm0, rcx
jmp 0x1400407b8
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [r13 + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x1400407cb
cvtsi2ss xmm1, rcx
jmp 0x1400407e0
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [r13]
seta al
test al, al
je 0x1400408aa
mov rcx, r13
call fcn.1400332c0
mov r10, qword [rsp + 0x48]
mov rax, r14
and rax, qword [r13 + 0x30]
add rax, rax
mov rcx, qword [r13 + 0x18]
mov r9, qword [rcx + rax*8 + 8]
mov rbx, qword [r13 + 8]
cmp r9, rbx
jne 0x140040824
mov qword [rsp + 0x30], rbx
jmp 0x140040897
mov rsi, qword [rcx + rax*8]
mov rbp, qword [r10 + 0x28]
mov r11, qword [r10 + 0x20]
mov rbx, r9
lea rcx, [r9 + 0x10]
mov rax, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 8
jb 0x140040845
mov rcx, qword [rcx]
lea r8, [r10 + 0x10]
cmp rbp, 8
jb 0x140040853
mov r8, qword [r10 + 0x10]
cmp r11, rax
jne 0x140040887
mov rdx, r11
test r11, r11
je 0x140040877
sub r8, rcx
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x140040887
add rcx, 2
sub rdx, 1
jne 0x140040863
mov rbx, qword [r9]
mov qword [rsp + 0x30], rbx
mov rdi, rbx
mov rsi, rbx
jmp 0x1400408af
cmp r9, rsi
je 0x140040892
mov r9, qword [r9 + 8]
jmp 0x140040830
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x38], 0
mov rdi, rbx
mov rsi, qword [rsp + 0x30]
jmp 0x1400408af
mov r10, qword [rsp + 0x48]
mov qword [rsp + 0x48], 0
mov rcx, qword [rbx + 8]
inc qword [r13 + 0x10]
mov qword [r10], rsi
mov qword [r10 + 8], rcx
mov qword [rcx], r10
mov qword [rbx + 8], r10
mov rax, qword [r13 + 0x18]
and r14, qword [r13 + 0x30]
add r14, r14
mov rdx, qword [rax + r14*8]
cmp rdx, qword [r13 + 8]
jne 0x1400408e9
mov qword [rax + r14*8], r10
jmp 0x1400408fb
cmp rdx, rdi
jne 0x1400408f4
mov qword [rax + r14*8], r10
jmp 0x140040900
cmp qword [rax + r14*8 + 8], rcx
jne 0x140040900
mov qword [rax + r14*8 + 8], r10
mov qword [r15], r10
mov byte [r15 + 8], 1
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14004092f
add rcx, 0x10
call fcn.140033210
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14004092f
mov edx, 0x48
call fcn.14006c550
mov rax, r15
mov rbx, qword [rsp + 0xa8]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.unordered_map_set_too_long
call fcn.14006a7dc
int3