Function at 0x14004da70
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, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp], 0xfffffffffffffffe
mov r14, r8
mov rdi, rcx
mov r15, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 0x10
mov r12, r8
jb 0x14004daa4
mov r12, qword [r14]
test r15, r15
mov qword [rbp - 8], rdx
je 0x14004dad1
mov eax, r15d
and eax, 3
movabs rcx, 0x100000001b3
cmp r15, 4
jae 0x14004dadd
movabs r8, 0xcbf29ce484222325
xor edx, edx
jmp 0x14004db2c
movabs r13, 0xcbf29ce484222325
jmp 0x14004db57
mov r11, r15
and r11, 0xfffffffffffffffc
movabs r8, 0xcbf29ce484222325
xor edx, edx
movzx r10d, byte [r12 + rdx]
xor r10, r8
imul r10, rcx
movzx r8d, byte [r12 + rdx + 1]
xor r8, r10
imul r8, rcx
movzx r10d, byte [r12 + rdx + 2]
xor r10, r8
imul r10, rcx
movzx r8d, byte [r12 + rdx + 3]
xor r8, r10
imul r8, rcx
add rdx, 4
cmp r11, rdx
jne 0x14004daf0
mov r13, r8
test rax, rax
je 0x14004db57
add rdx, r12
xor r10d, r10d
nop word [rax + rax]
movzx r13d, byte [rdx + r10]
xor r13, r8
imul r13, rcx
inc r10
mov r8, r13
cmp rax, r10
jne 0x14004db40
mov rax, qword [rdi + 0x30]
and rax, r13
mov rcx, qword [rdi + 0x18]
mov rdx, rax
shl rdx, 4
mov rsi, qword [rcx + rdx + 8]
cmp rsi, qword [rdi + 8]
je 0x14004dbcf
mov qword [rbp - 0x20], r9
add rax, rax
mov rbx, qword [rcx + rax*8]
cmp r15, qword [rsi + 0x20]
jne 0x14004dbb7
nop word cs:[rax + rax]
cmp qword [rsi + 0x28], 0x10
jb 0x14004dba0
mov rdx, qword [rsi + 0x10]
jmp 0x14004dba4
lea rdx, [rsi + 0x10]
mov rcx, r12
mov r8, r15
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14004dce6
cmp rsi, rbx
je 0x14004dbc8
mov rsi, qword [rsi + 8]
cmp r15, qword [rsi + 0x20]
je 0x14004db90
jmp 0x14004dbb7
mov rsi, rbx
mov r9, qword [rbp - 0x20]
movabs rax, 0xdd67c8a60dd67c
cmp qword [rdi + 0x10], rax
je 0x14004de3f
lea rdx, [rdi + 8]
lea rcx, [rbp - 0x18]
mov r8, r14
call fcn.14004e450
mov rax, qword [rdi + 0x10]
inc rax
js 0x14004dc03
cvtsi2ss xmm0, rax
jmp 0x14004dc18
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 0x14004dc2c
cvtsi2ss xmm2, rbx
jmp 0x14004dc43
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 0x14004dd4c
divss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
cvttss2si rax, xmm0
mov rcx, rax
subss xmm0, dword [0x140059860]
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 0x14004dcaa
lea rcx, [rbx*8]
cmp rcx, rax
cmovb rcx, rax
cmp rbx, 0x200
cmovae rcx, rax
mov rbx, rcx
mov rcx, rdi
mov rdx, rbx
call fcn.14004e160
mov rax, qword [rdi + 0x30]
and rax, r13
mov rcx, qword [rdi + 0x18]
mov rdx, rax
shl rdx, 4
mov rsi, qword [rcx + rdx + 8]
cmp rsi, qword [rdi + 8]
je 0x14004dd4c
add rax, rax
mov rdx, qword [rbp - 0x10]
cmp qword [rdx + 0x28], 0x10
jb 0x14004dcf6
mov rbx, qword [rdx + 0x10]
jmp 0x14004dcfa
mov rdi, qword [rbp - 8]
mov qword [rdi], rsi
mov byte [rdi + 8], 0
jmp 0x14004de2b
lea rbx, [rdx + 0x10]
mov r15, qword [rcx + rax*8]
mov r14, qword [rdx + 0x20]
cmp r14, qword [rsi + 0x20]
jne 0x14004dd33
nop dword [rax + rax]
cmp qword [rsi + 0x28], 0x10
jb 0x14004dd20
mov rdx, qword [rsi + 0x10]
jmp 0x14004dd24
lea rdx, [rsi + 0x10]
mov rcx, rbx
mov r8, r14
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14004dd49
cmp rsi, r15
je 0x14004dd44
mov rsi, qword [rsi + 8]
cmp r14, qword [rsi + 0x20]
je 0x14004dd10
jmp 0x14004dd33
mov rsi, r15
jmp 0x14004dd4c
mov rsi, qword [rsi]
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 r13, qword [rdi + 0x30]
shl r13, 4
lea rdx, [r9 + r13]
lea r8, [r9 + r13]
add r8, 8
mov r9, qword [r9 + r13]
cmp r9, qword [rdi + 8]
je 0x14004dda3
cmp r9, rsi
mov rdi, qword [rbp - 8]
je 0x14004ddad
mov rdx, r8
cmp qword [r8], rcx
jne 0x14004ddb0
jmp 0x14004ddad
mov qword [rdx], rax
mov rdx, r8
mov rdi, qword [rbp - 8]
mov qword [rdx], rax
mov qword [rdi], rax
mov byte [rdi + 8], 1
mov rsi, qword [rbp - 0x10]
test rsi, rsi
je 0x14004de2b
lea rcx, [rsi + 0x30]
call fcn.14002ff00
mov rax, qword [rsi + 0x28]
cmp rax, 0x10
jb 0x14004de04
mov rcx, qword [rsi + 0x10]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14004ddff
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14004de4b
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.140055568
mov qword [rsi + 0x20], 0
mov qword [rsi + 0x28], recv
mov byte [rsi + 0x10], 0
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14004de2b
mov edx, 0x128
call fcn.140055568
mov rax, rdi
add rsp, 0x48
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