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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x10022360
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov eax, dword [edx + 0x10]
cmp dword [edx + 0x14], 7
mov ecx, edx
jbe 0x10021670
mov ecx, dword [edx]
mov edi, eax
add edi, eax
mov dword [ebp - 0x34], eax
je 0x10021692
lea esi, [edi - 1]
mov edx, edi
and edx, 2
mov dword [ebp - 0x20], edx
cmp esi, 3
jae 0x10021699
mov edx, 0x811c9dc5
xor esi, esi
jmp 0x100216ea
mov ebx, 0x811c9dc5
jmp 0x10021713
and edi, 0xfffffffc
mov edx, 0x811c9dc5
xor esi, esi
nop word cs:[eax + eax]
nop dword [eax]
movzx ebx, byte [ecx + esi]
xor ebx, edx
imul ebx, ebx, 0x1000193
movzx edx, byte [ecx + esi + 1]
xor edx, ebx
imul edx, edx, 0x1000193
movzx ebx, byte [ecx + esi + 2]
xor ebx, edx
imul edx, ebx, 0x1000193
movzx ebx, byte [ecx + esi + 3]
xor ebx, edx
imul edx, ebx, 0x1000193
add esi, 4
cmp edi, esi
jne 0x100216b0
mov eax, dword [ebp - 0x20]
test eax, eax
mov ebx, edx
je 0x10021713
add esi, ecx
xor edi, edi
nop word [eax + eax]
movzx edx, byte [esi + edi]
xor edx, ebx
imul ebx, edx, 0x1000193
add edi, 1
cmp eax, edi
jne 0x10021700
mov edi, dword [ebp - 0x28]
mov edx, dword [edi + 0x18]
mov dword [ebp - 0x30], ebx
and edx, ebx
mov esi, dword [edi + 0xc]
mov ebx, dword [esi + edx*8 + 4]
mov dword [ebp - 0x24], ebx
cmp ebx, dword [edi + 4]
je 0x100217b1
add edx, edx
mov eax, dword [esi + edx*4]
mov dword [ebp - 0x20], eax
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x34]
mov edx, esi
cmp eax, dword [esi + 0x18]
jne 0x10021790
test eax, eax
je 0x1002179c
mov esi, edx
cmp dword [edx + 0x1c], 7
jbe 0x10021760
mov esi, dword [esi + 8]
jmp 0x10021763
add esi, 8
xor edi, edi
nop word cs:[eax + eax]
nop
movzx ebx, word [ecx + edi*2]
cmp bx, word [esi + edi*2]
jne 0x10021790
add edi, 1
cmp eax, edi
jne 0x10021770
jmp 0x1002179c
cmp edx, dword [ebp - 0x20]
je 0x100217a8
mov esi, edx
mov esi, dword [edx + 4]
jmp 0x1002173f
mov eax, dword [ebp + 8]
mov dword [eax], edx
xor ecx, ecx
jmp 0x10021a6d
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov edi, dword [ebp - 0x28]
cmp dword [edi + 8], 0x6666666
je 0x10021a8c
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x10], 0
push 0x28
call fcn.1002245e
add esp, 4
mov ecx, eax
mov ebx, eax
mov dword [eax + 8], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x34], edx
cmp dword [eax + 0x14], 7
jbe 0x10021800
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov edi, dword [ebp - 0x28]
mov edx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x24]
add ecx, 8
mov eax, dword [ebp - 0x34]
cmp eax, 7
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x20], ecx
ja 0x1002182d
mov eax, dword [ebp - 0x38]
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
mov eax, 7
jmp 0x100218ac
or eax, 7
cmp eax, 0x7ffffffe
mov ecx, SysReAllocString
mov dword [ebp - 0x40], eax
cmovb ecx, eax
lea eax, [ecx + ecx]
cmp ecx, 0x7ff
jb 0x10021873
cmp ecx, 0x7fffffee
jae 0x10021a9d
add eax, 0x25
mov dword [ebp - 0x3c], ebx
push eax
call fcn.1002245e
add esp, 4
mov ecx, eax
add eax, 0x23
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x10021882
add eax, 2
mov dword [ebp - 0x3c], ebx
push eax
call fcn.1002245e
add esp, 4
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x34]
add ecx, ecx
add ecx, 2
push ecx
push edx
push eax
call fcn.10027af0
add esp, 0xc
mov edi, dword [ebp - 0x28]
mov edx, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x34]
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x20], 0
mov eax, dword [edi + 8]
add eax, 1
movq xmm1, qword [0x1004b130]
movd xmm0, eax
por xmm0, xmm1
subsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss xmm2, dword [edi + 0x1c]
orpd xmm2, xmm1
subsd xmm2, xmm1
cvtsd2ss xmm2, xmm2
movss xmm1, dword [edi]
movaps xmm3, xmm0
divss xmm3, xmm2
ucomiss xmm3, xmm1
jbe 0x10021a0f
mov esi, dword [edi + 0x1c]
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
call fcn.100338e0
add esp, 8
fstp dword [ebp - 0x44]
movss xmm0, dword [ebp - 0x44]
movss xmm1, dword [0x1004b138]
movaps xmm2, xmm0
subss xmm2, xmm1
cvttss2si eax, xmm2
xor eax, 0x80000000
cvttss2si ecx, xmm0
ucomiss xmm0, xmm1
cmovae ecx, eax
cmp ecx, 8
mov eax, 8
cmova eax, ecx
cmp esi, eax
jae 0x10021971
lea ecx, [esi*8]
cmp ecx, eax
cmovb ecx, eax
cmp esi, 0x1ff
cmova ecx, eax
mov esi, ecx
mov dword [ebp - 0x10], 1
mov ecx, edi
push esi
call fcn.10021b40
mov edi, dword [ebp - 0x28]
mov eax, dword [edi + 0x18]
mov edx, dword [ebp - 0x30]
and eax, edx
mov ecx, dword [edi + 0xc]
mov esi, dword [ecx + eax*8 + 4]
cmp esi, dword [edi + 4]
je 0x10021a0c
add eax, eax
mov ebx, dword [ebp - 0x2c]
cmp dword [ebx + 0x1c], 7
jbe 0x100219a8
mov edx, dword [ebx + 8]
mov dword [ebp - 0x20], edx
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebx + 0x18]
mov eax, esi
cmp ecx, dword [esi + 0x18]
jne 0x100219f0
test ecx, ecx
je 0x10021a00
mov edx, eax
cmp dword [eax + 0x1c], 7
jbe 0x100219c9
mov edx, dword [edx + 8]
jmp 0x100219cc
add edx, 8
xor esi, esi
nop
mov edi, dword [ebp - 0x20]
movzx edi, word [edi + esi*2]
cmp di, word [edx + esi*2]
jne 0x100219f0
add esi, 1
cmp ecx, esi
jne 0x100219d0
jmp 0x10021a00
cmp eax, dword [ebp - 0x24]
je 0x10021a84
mov esi, eax
mov esi, dword [eax + 4]
jmp 0x100219b1
mov esi, eax
mov esi, dword [eax]
mov edi, dword [ebp - 0x28]
mov edx, dword [ebp - 0x30]
jmp 0x10021a0f
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], esi
mov ecx, dword [esi + 4]
add dword [edi + 8], 1
mov dword [ebx], esi
mov dword [ebx + 4], ecx
mov dword [ecx], ebx
mov dword [esi + 4], ebx
mov esi, dword [edi + 0xc]
and edx, dword [edi + 0x18]
lea eax, [esi + edx*8]
add eax, 4
mov dword [ebp - 0x20], eax
mov eax, ebx
mov ebx, edx
lea edx, [esi + edx*8]
mov esi, dword [esi + ebx*8]
cmp esi, dword [edi + 4]
je 0x10021a55
cmp esi, dword [ebp - 0x24]
je 0x10021a61
mov edx, dword [ebp - 0x20]
cmp dword [edx], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x2c]
jne 0x10021a69
jmp 0x10021a67
mov dword [edx], eax
mov ecx, eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
jmp 0x10021a67
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x2c]
mov dword [edx], ecx
mov dword [eax], ecx
mov cl, 1
mov byte [eax + 4], cl
mov ecx, dword [ebp - 0x18]
mov dword fs:[0], ecx
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov esi, dword [ebp - 0x24]
jmp 0x10021a04
mov dword [ebp - 0x10], 0xffffffff
push str.unordered_map_set_too_long
call fcn.1002310f
mov dword [ebp - 0x3c], ebx
call fcn.1000a200
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0xc
add ebp, 0xc
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x10021ac9
push 0x28
push eax
call fcn.100224e8
add esp, 8
add esp, 0xc
pop ebp
ret