Function at 0x140057af0
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 qword [rbp - 8], rdx
mov rdi, rcx
mov r15, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 0x10
mov r12, r8
jb 0x140057b28
mov r12, qword [r14]
test r15, r15
je 0x140057b51
mov eax, r15d
and eax, 3
movabs rcx, 0x100000001b3
cmp r15, 4
jae 0x140057b5d
movabs r8, 0xcbf29ce484222325
xor edx, edx
jmp 0x140057bac
movabs r13, 0xcbf29ce484222325
jmp 0x140057bd7
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 0x140057b70
mov r13, r8
test rax, rax
je 0x140057bd7
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 0x140057bc0
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 0x140057c4f
mov qword [rbp - 0x20], r9
add rax, rax
mov rbx, qword [rcx + rax*8]
cmp r15, qword [rsi + 0x20]
jne 0x140057c37
nop word cs:[rax + rax]
cmp qword [rsi + 0x28], 0x10
jb 0x140057c20
mov rdx, qword [rsi + 0x10]
jmp 0x140057c24
lea rdx, [rsi + 0x10]
mov rcx, r12
mov r8, r15
call fcn.1400c9820
test eax, eax
je 0x140057d89
cmp rsi, rbx
je 0x140057c48
mov rsi, qword [rsi + 8]
cmp r15, qword [rsi + 0x20]
je 0x140057c10
jmp 0x140057c37
mov rsi, rbx
mov r9, qword [rbp - 0x20]
movabs rax, 0xdd67c8a60dd67c
cmp qword [rdi + 0x10], rax
je 0x140057ed3
lea rdx, [rdi + 8]
lea rcx, [rbp - 0x18]
mov r8, r14
call fcn.1400586c0
mov rax, qword [rdi + 0x10]
inc rax
js 0x140057cc5
cvtsi2ss xmm0, rax
movss xmm1, dword [rdi]
mov rbx, qword [rdi + 0x38]
test rbx, rbx
jns 0x140057ce7
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
ja 0x140057cf8
and r13, qword [rdi + 0x30]
lea r15, [r13*2 + 1]
add r13, r13
jmp 0x140057dec
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 0x140057c8e
cvtsi2ss xmm2, rbx
movaps xmm3, xmm0
divss xmm3, xmm2
ucomiss xmm3, xmm1
jbe 0x140057cb1
divss xmm0, xmm1
call fcn.1400a439c
cvttss2si rax, xmm0
mov rcx, rax
subss xmm0, dword [0x1400cb720]
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 0x140057d4f
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.140019d70
and r13, qword [rdi + 0x30]
mov rax, qword [rdi + 0x18]
lea r15, [r13*2 + 1]
add r13, r13
mov rsi, qword [rax + r13*8 + 8]
cmp rsi, qword [rdi + 8]
je 0x140057dec
mov rcx, qword [rbp - 0x10]
cmp qword [rcx + 0x28], 0x10
jb 0x140057d99
mov rbx, qword [rcx + 0x10]
jmp 0x140057d9d
mov rdi, qword [rbp - 8]
mov qword [rdi], rsi
mov byte [rdi + 8], 0
jmp 0x140057ebf
lea rbx, [rcx + 0x10]
mov r12, qword [rax + r13*8]
mov r14, qword [rcx + 0x20]
cmp r14, qword [rsi + 0x20]
jne 0x140057dd3
nop dword [rax + rax]
cmp qword [rsi + 0x28], 0x10
jb 0x140057dc0
mov rdx, qword [rsi + 0x10]
jmp 0x140057dc4
lea rdx, [rsi + 0x10]
mov rcx, rbx
mov r8, r14
call fcn.1400c9820
test eax, eax
je 0x140057de9
cmp rsi, r12
je 0x140057de4
mov rsi, qword [rsi + 8]
cmp r14, qword [rsi + 0x20]
je 0x140057db0
jmp 0x140057dd3
mov rsi, r12
jmp 0x140057dec
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]
lea rdx, [r9 + r13*8]
lea r8, [r9 + r15*8]
mov r9, qword [r9 + r13*8]
cmp r9, qword [rdi + 8]
je 0x140057e37
cmp r9, rsi
mov rdi, qword [rbp - 8]
je 0x140057e41
mov rdx, r8
cmp qword [r8], rcx
jne 0x140057e44
jmp 0x140057e41
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 0x140057ebf
lea rcx, [rsi + 0x30]
call fcn.140044d50
mov rax, qword [rsi + 0x28]
cmp rax, 0x10
jb 0x140057e98
mov rcx, qword [rsi + 0x10]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140057e93
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x140057edf
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.14009a7e4
mov qword [rsi + 0x20], 0
mov qword [rsi + 0x28], setsockopt
mov byte [rsi + 0x10], 0
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x140057ebf
mov edx, 0x128
call fcn.14009a7e4
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 fcn.14009bac8
call fcn.1400a4324
int3