Function at 0x14009ea20
Capabilities:
Encode data using base64
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 rsi, rcx
movzx eax, byte [rcx]
movabs r14, 0xcbf29ce484222325
xor rax, r14
movabs r15, 0x100000001b3
imul rax, r15
movzx ecx, byte [rcx + 1]
xor rcx, rax
imul rcx, r15
movzx eax, byte [rsi + 2]
xor rax, rcx
imul rax, r15
movzx ebx, byte [rsi + 3]
xor rbx, rax
imul rbx, r15
mov rcx, qword [0x1406c3e48]
and rcx, rbx
mov rdx, qword [0x1406c3e30]
mov rax, rcx
shl rax, 4
mov r13, qword [rdx + rax + 8]
cmp r13, qword [0x1406c3e20]
je 0x14009ead4
mov eax, dword [rsi]
cmp eax, dword [r13 + 0x10]
je 0x14009efce
add rcx, rcx
mov rdi, qword [rdx + rcx*8]
nop dword [rax + rax]
cmp r13, rdi
je 0x14009ead7
mov r13, qword [r13 + 8]
cmp eax, dword [r13 + 0x10]
jne 0x14009eac0
jmp 0x14009efce
mov rdi, r13
movabs rax, 0x555555555555555
cmp qword [0x1406c3e28], rax
je 0x14009efe6
mov ecx, 0x30
call fcn.14016e404
mov r13, rax
mov eax, dword [rsi]
mov dword [r13 + 0x10], eax
xorps xmm0, xmm0
movups xmmword [r13 + 0x14], xmm0
mov qword [r13 + 0x24], 0
mov rax, qword [0x1406c3e28]
inc rax
js 0x14009eb27
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
jmp 0x14009eb3f
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
addss xmm0, xmm0
movss xmm1, dword [0x1406c3e18]
mov rsi, qword [0x1406c3e50]
test rsi, rsi
js 0x14009eb5a
cvtsi2ss xmm2, rsi
jmp 0x14009eb71
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 0x14009ef71
divss xmm0, xmm1
call fcn.140354908
cvttss2si rax, xmm0
mov rcx, rax
subss xmm0, dword [0x140377c54]
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 0x14009ebd8
lea rcx, [rsi*8]
cmp rcx, rax
cmovb rcx, rax
cmp rsi, 0x200
cmovae rcx, rax
mov rsi, rcx
mov qword [rbp - 8], r13
movabs rax, 0x800000000000001
cmp rsi, rax
jae 0x14009eff2
dec rsi
or rsi, 1
bsr rsi, rsi
xor rsi, 0xffffffffffffffc0
add rsi, 0x41
mov eax, 1
mov ecx, esi
shl rax, cl
mov qword [rbp - 0x10], rax
mov r13d, 2
shl r13, cl
mov r12, qword [0x1406c3e20]
mov rax, qword [0x1406c3e38]
mov rcx, qword [0x1406c3e30]
mov rdx, rax
sub rdx, rcx
mov r8, rdx
sar r8, 3
cmp r8, r13
jae 0x14009ec90
mov rax, r13
shr rax, 0x3d
jne 0x14009effe
mov eax, reloc.WS2_32.dll_recv
mov ecx, esi
shl rax, cl
cmp r13, 0x200
jb 0x14009ecb7
movabs rcx, 0x1ffffffffffffffc
cmp r13, rcx
jae 0x14009f003
add rax, 0x27
mov rcx, rax
call fcn.14016e404
mov rdi, rax
add rdi, 0x27
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14009ecc2
cmp rcx, rax
mov r13, qword [rbp - 8]
mov r11, qword [rbp - 0x10]
je 0x14009eddc
add rdx, 0xfffffffffffffff8
cmp rdx, 0x18
jae 0x14009ed8e
mov r8, rcx
jmp 0x14009edd0
mov rcx, rax
call fcn.14016e404
mov rdi, rax
mov rdx, qword [0x1406c3e40]
mov rcx, qword [0x1406c3e30]
sub rdx, rcx
je 0x14009ecff
cmp rdx, 0x1000
jb 0x14009ecfa
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
jae 0x14009f008
add rdx, 0x27
mov rcx, rax
call fcn.14016e448
mov qword [0x1406c3e30], rdi
lea rax, [rdi + r13*8]
mov edx, reloc.WS2_32.dll_recv
mov ecx, esi
shl rdx, cl
mov qword [0x1406c3e38], rax
mov qword [0x1406c3e40], rax
add rdx, 0xfffffffffffffff8
cmp rdx, 0x18
jae 0x14009ed39
mov rcx, rdi
mov r13, qword [rbp - 8]
mov r11, qword [rbp - 0x10]
jmp 0x14009ed80
shr rdx, 3
inc rdx
mov r8, rdx
and r8, 0xfffffffffffffffc
lea rcx, [rdi + r8*8]
movq xmm0, r12
pshufd xmm0, xmm0, 0x44
xor r9d, r9d
mov r13, qword [rbp - 8]
mov r11, qword [rbp - 0x10]
movdqu xmmword [rdi + r9*8], xmm0
movdqu xmmword [rdi + r9*8 + 0x10], xmm0
add r9, 4
cmp r8, r9
jne 0x14009ed60
cmp rdx, r8
je 0x14009eddc
nop dword [rax + rax]
mov qword [rcx], r12
add rcx, 8
cmp rcx, rax
jne 0x14009ed80
jmp 0x14009eddc
shr rdx, 3
inc rdx
mov r9, rdx
and r9, 0xfffffffffffffffc
lea r8, [rcx + r9*8]
movq xmm0, r12
pshufd xmm0, xmm0, 0x44
xor r10d, r10d
nop dword [rax]
movdqu xmmword [rcx + r10*8], xmm0
movdqu xmmword [rcx + r10*8 + 0x10], xmm0
add r10, 4
cmp r9, r10
jne 0x14009edb0
cmp rdx, r9
je 0x14009eddc
nop dword [rax + rax]
mov qword [r8], r12
add r8, 8
cmp r8, rax
jne 0x14009edd0
lea rcx, [r11 - 1]
mov qword [0x1406c3e48], rcx
mov qword [0x1406c3e50], r11
mov rdi, qword [0x1406c3e20]
mov rax, qword [rdi]
cmp rax, r12
jne 0x14009ee21
jmp 0x14009ef30
mov qword [rdx + r8*8], rcx
mov qword [rdx + r10*8], rcx
cmp rax, r12
je 0x14009ef22
mov rcx, rax
mov rax, qword [rax]
movzx edx, byte [rcx + 0x10]
xor rdx, r14
imul rdx, r15
movzx r8d, byte [rcx + 0x11]
xor r8, rdx
imul r8, r15
movzx edx, byte [rcx + 0x12]
xor rdx, r8
imul rdx, r15
movzx r9d, byte [rcx + 0x13]
xor r9, rdx
imul r9, r15
and r9, qword [0x1406c3e48]
mov rdx, qword [0x1406c3e30]
lea r8, [r9 + r9]
lea r10, [r9*2 + 1]
shl r9, 4
mov r9, qword [rdx + r9]
cmp r9, r12
je 0x14009ee10
mov r11, qword [rdx + r10*8]
mov esi, dword [rcx + 0x10]
cmp esi, dword [r11 + 0x10]
jne 0x14009eec0
mov r8, qword [r11]
cmp r8, rcx
je 0x14009ee14
mov r9, qword [rcx + 8]
mov qword [r9], rax
mov r11, qword [rax + 8]
mov qword [r11], r8
mov rsi, qword [r8 + 8]
mov qword [rsi], rcx
mov qword [r8 + 8], r11
mov qword [rax + 8], r9
mov qword [rcx + 8], rsi
jmp 0x14009ee14
cmp r9, r11
je 0x14009eef8
mov r11, qword [r11 + 8]
cmp esi, dword [r11 + 0x10]
jne 0x14009eec0
mov rdx, qword [r11]
mov r8, qword [rcx + 8]
mov qword [r8], rax
mov r9, qword [rax + 8]
mov qword [r9], rdx
mov r10, qword [rdx + 8]
mov qword [r10], rcx
mov qword [rdx + 8], r9
mov qword [rax + 8], r8
mov qword [rcx + 8], r10
jmp 0x14009ee18
mov r10, qword [rcx + 8]
mov qword [r10], rax
mov r11, qword [rax + 8]
mov qword [r11], r9
mov rsi, qword [r9 + 8]
mov qword [rsi], rcx
mov qword [r9 + 8], r11
mov qword [rax + 8], r10
mov qword [rcx + 8], rsi
mov qword [rdx + r8*8], rcx
jmp 0x14009ee18
mov rcx, qword [0x1406c3e48]
mov rdi, qword [0x1406c3e20]
and rcx, rbx
mov r8, qword [0x1406c3e30]
mov rax, rcx
shl rax, 4
mov rax, qword [r8 + rax + 8]
cmp rax, rdi
je 0x14009ef71
mov edx, dword [r13 + 0x10]
cmp edx, dword [rax + 0x10]
je 0x14009ef6e
add rcx, rcx
mov rdi, qword [r8 + rcx*8]
nop dword [rax + rax]
cmp rax, rdi
je 0x14009ef71
mov rax, qword [rax + 8]
cmp edx, dword [rax + 0x10]
jne 0x14009ef60
mov rdi, qword [rax]
mov rax, qword [rdi + 8]
inc qword [0x1406c3e28]
mov qword [r13], rdi
mov qword [r13 + 8], rax
mov qword [rax], r13
mov qword [rdi + 8], r13
mov r8, qword [0x1406c3e30]
and rbx, qword [0x1406c3e48]
shl rbx, 4
lea rcx, [r8 + rbx]
lea rdx, [r8 + rbx]
add rdx, 8
mov r8, qword [r8 + rbx]
cmp r8, qword [0x1406c3e20]
je 0x14009efc5
cmp r8, rdi
je 0x14009efcb
mov rcx, rdx
cmp qword [rdx], rax
jne 0x14009efce
jmp 0x14009efcb
mov qword [rcx], r13
mov rcx, rdx
mov qword [rcx], r13
add r13, 0x14
mov rax, r13
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 fcn.14016f374
lea rcx, str.invalid_hash_bucket_count
call fcn.14016f374
call fcn.140001260
call fcn.140001260
call fcn.14034ece4
int3