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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp], 0xfffffffffffffffe
mov r14, rdx
mov r15, rcx
mov r11, qword [r8]
mov r9, qword [r8 + 8]
mov rdx, r9
add rdx, r9
je 0x140004d6b
lea rbx, [rdx - 1]
mov r10d, edx
and r10d, 2
movabs rcx, 0x100000001b3
cmp rbx, 3
jae 0x140004d7a
movabs rsi, 0xcbf29ce484222325
xor edi, edi
jmp 0x140004dcc
movabs r13, 0xcbf29ce484222325
jmp 0x140004df7
and rdx, 0xfffffffffffffffc
movabs rsi, 0xcbf29ce484222325
xor edi, edi
nop word [rax + rax]
movzx ebx, byte [r11 + rdi]
xor rbx, rsi
imul rbx, rcx
movzx esi, byte [r11 + rdi + 1]
xor rsi, rbx
imul rsi, rcx
movzx ebx, byte [r11 + rdi + 2]
xor rbx, rsi
imul rbx, rcx
movzx esi, byte [r11 + rdi + 3]
xor rsi, rbx
imul rsi, rcx
add rdi, 4
cmp rdx, rdi
jne 0x140004d90
mov r13, rsi
test r10, r10
je 0x140004df7
add rdi, r11
xor edx, edx
nop dword [rax]
movzx r13d, byte [rdi + rdx]
xor r13, rsi
imul r13, rcx
inc rdx
mov rsi, r13
cmp r10, rdx
jne 0x140004de0
mov rbx, qword [r15 + 0x30]
and rbx, r13
mov rdx, qword [r15 + 0x18]
mov rcx, rbx
shl rcx, 4
mov r12, qword [rdx + rcx + 8]
cmp r12, qword [r15 + 8]
je 0x140004e82
add rbx, rbx
mov r10, qword [rdx + rbx*8]
lea rdx, [r9 - 1]
cmp r9, qword [r12 + 0x18]
jne 0x140004e5f
nop word cs:[rax + rax]
test r9, r9
je 0x140004e72
mov rsi, qword [r12 + 0x10]
xor ecx, ecx
nop dword [rax]
movzx edi, word [r11 + rcx*2]
movzx ebx, word [rsi + rcx*2]
cmp di, bx
jne 0x140004e5a
lea rax, [rcx + 1]
cmp rdx, rcx
mov rcx, rax
jne 0x140004e40
cmp di, bx
je 0x140004e72
cmp r12, r10
je 0x140004e7f
mov r12, qword [r12 + 8]
cmp r9, qword [r12 + 0x18]
je 0x140004e30
jmp 0x140004e5f
mov qword [r14], r12
mov byte [r14 + 8], 0
jmp 0x1400050c8
mov r12, r10
movabs rax, 0x492492492492492
cmp qword [r15 + 0x10], rax
je 0x1400050dc
lea rdx, [r15 + 8]
lea rcx, [rbp - 0x10]
call fcn.140005130
mov rax, qword [r15 + 0x10]
inc rax
js 0x140004eb3
cvtsi2ss xmm0, rax
jmp 0x140004ec8
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
movss xmm1, dword [r15]
mov rsi, qword [r15 + 0x38]
test rsi, rsi
js 0x140004edd
cvtsi2ss xmm2, rsi
jmp 0x140004ef4
mov rax, rsi
shr rax, 1
mov ecx, esi
and ecx, 1
or rcx, rax
cvtsi2ss xmm2, rcx
addss xmm2, xmm2
movaps xmm3, xmm0
divss xmm3, xmm2
ucomiss xmm3, xmm1
jbe 0x140004ffb
divss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
cvttss2si rax, xmm0
mov rcx, rax
subss xmm0, dword [0x14002c740]
cvttss2si rdx, xmm0
sar rcx, 0x3f
and rdx, rcx
or rdx, rax
cmp rdx, 9
mov eax, 8
cmovae rax, rdx
cmp rsi, rax
jae 0x140004f5b
lea rcx, [rsi*8]
cmp rcx, rax
cmovb rcx, rax
cmp rsi, 0x200
cmovae rcx, rax
mov rsi, rcx
mov rcx, r15
mov rdx, rsi
call fcn.1400052e0
mov rax, qword [r15 + 0x30]
and rax, r13
mov rcx, qword [r15 + 0x18]
mov rdx, rax
shl rdx, 4
mov r12, qword [rcx + rdx + 8]
cmp r12, qword [r15 + 8]
je 0x140004ffb
add rax, rax
mov rdx, qword [rbp - 8]
mov r8, qword [rcx + rax*8]
mov r10, qword [rdx + 0x10]
mov r9, qword [rdx + 0x18]
lea rsi, [r9 - 1]
cmp r9, qword [r12 + 0x18]
jne 0x140004fdf
nop word cs:[rax + rax]
test r9, r9
je 0x140004ff2
mov rax, qword [r12 + 0x10]
xor edx, edx
nop dword [rax]
movzx edi, word [r10 + rdx*2]
movzx ebx, word [rax + rdx*2]
cmp di, bx
jne 0x140004fda
lea rcx, [rdx + 1]
cmp rsi, rdx
mov rdx, rcx
jne 0x140004fc0
cmp di, bx
je 0x140004ff2
cmp r12, r8
je 0x140004ff8
mov r12, qword [r12 + 8]
cmp r9, qword [r12 + 0x18]
je 0x140004fb0
jmp 0x140004fdf
mov r12, qword [r12]
jmp 0x140004ffb
mov r12, r8
mov rax, qword [rbp - 8]
mov qword [rbp - 8], 0
mov rcx, qword [r12 + 8]
inc qword [r15 + 0x10]
mov qword [rax], r12
mov qword [rax + 8], rcx
mov qword [rcx], rax
mov qword [r12 + 8], rax
mov rbx, qword [r15 + 0x18]
and r13, qword [r15 + 0x30]
shl r13, 4
lea rdx, [rbx + r13]
lea rsi, [rbx + r13]
add rsi, 8
mov rbx, qword [rbx + r13]
cmp rbx, qword [r15 + 8]
je 0x140005050
cmp rbx, r12
je 0x140005056
mov rdx, rsi
cmp qword [rsi], rcx
jne 0x140005059
jmp 0x140005056
mov qword [rdx], rax
mov rdx, rsi
mov qword [rdx], rax
mov qword [r14], rax
mov byte [r14 + 8], 1
mov rdi, qword [rbp - 8]
test rdi, rdi
je 0x1400050c8
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x1400050bb
mov rdx, qword [rdi + 0x30]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14000509b
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
jae 0x1400050e8
add rdx, 0x27
mov rcx, rax
add rdi, 0x20
call fcn.140029c98
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
mov rdi, qword [rbp - 8]
test rdi, rdi
je 0x1400050c8
mov edx, 0x38
mov rcx, rdi
call fcn.140029c98
mov rax, r14
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, str.unordered_map_set_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3