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

Disassembly:
sub esp, 0x18
mov edx, dword [esp + 0x1c]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push edi
mov edi, 1
mov dword [esp + 0x1c], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x100205ab
lea eax, [edx - 1]
or eax, edi
bsr ecx, eax
push esi
mov esi, dword [ebx + 4]
push esi
mov dword [esp + 0x1c], esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.100201b0
mov ecx, dword [ebx + 4]
lea eax, [edi - 1]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edi
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x10020586
push ebp
mov ebx, dword [ecx + 0x1c]
lea ebp, [ecx + 8]
mov edx, dword [edx]
mov dword [esp + 0x20], ebx
cmp ebx, 0x10
jb 0x10020387
mov ebp, dword [ecx + 8]
mov eax, dword [ecx + 0x18]
xor edi, edi
mov dword [esp + 0x10], eax
mov ebx, 0x811c9dc5
test eax, eax
je 0x100203b5
mov esi, eax
nop dword [eax + eax]
movzx eax, byte [edi + ebp]
inc edi
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edi, esi
jb 0x100203a0
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
and ebx, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
lea eax, [eax + ebx*8]
mov dword [esp + 0x14], eax
cmp dword [eax], esi
jne 0x100203d4
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x1002057b
mov eax, dword [eax + 4]
cmp dword [eax + 0x1c], 0x10
lea edi, [eax + 8]
mov ebx, edi
mov dword [esp + 0x18], edi
jb 0x100203ec
mov ebx, dword [edi]
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x20], 0x10
lea ebp, [ecx + 8]
jb 0x100203f9
mov ebp, dword [ecx + 8]
mov esi, dword [esp + 0x10]
cmp esi, dword [edi + 0x10]
mov esi, dword [esp + 0x1c]
jne 0x100204a9
mov edi, dword [esp + 0x10]
sub edi, 4
mov dword [esp + 0x2c], edi
jb 0x10020435
mov edi, dword [ebp]
cmp edi, dword [ebx]
jne 0x1002043a
mov edi, dword [esp + 0x2c]
add ebx, 4
add ebp, 4
mov dword [esp + 0x18], ebx
sub edi, 4
mov dword [esp + 0x2c], edi
jae 0x10020417
cmp edi, 0xfffffffc
je 0x10020479
mov edi, dword [esp + 0x18]
mov bl, byte [ebp]
cmp bl, byte [edi]
jne 0x10020472
cmp dword [esp + 0x2c], 0xfffffffd
je 0x10020479
mov bl, byte [ebp + 1]
cmp bl, byte [edi + 1]
jne 0x10020472
cmp dword [esp + 0x2c], 0xfffffffe
je 0x10020479
mov bl, byte [ebp + 2]
cmp bl, byte [edi + 2]
jne 0x10020472
cmp dword [esp + 0x2c], 0xffffffff
je 0x10020479
mov bl, byte [ebp + 3]
cmp bl, byte [edi + 3]
je 0x10020479
sbb edi, edi
or edi, 1
jmp 0x1002047b
xor edi, edi
test edi, edi
jne 0x100204a9
mov ebp, dword [eax]
cmp ebp, ecx
je 0x1002049d
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ecx
mov dword [ebp + 4], edi
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x14]
mov dword [eax + 4], ecx
jmp 0x1002057b
mov edi, dword [esp + 0x14]
cmp dword [edi], eax
je 0x1002055c
mov eax, dword [eax + 4]
cmp dword [eax + 0x1c], 0x10
lea ebp, [eax + 8]
jb 0x100204c4
mov ebp, dword [eax + 8]
cmp dword [esp + 0x20], 0x10
lea edi, [ecx + 8]
jb 0x100204d1
mov edi, dword [ecx + 8]
mov esi, dword [esp + 0x10]
cmp esi, dword [eax + 0x18]
mov esi, dword [esp + 0x1c]
jne 0x10020550
mov ebx, dword [esp + 0x10]
sub ebx, 4
mov dword [esp + 0x2c], ebx
jb 0x1002050a
nop dword [eax + eax]
mov ebx, dword [edi]
cmp ebx, dword [ebp]
jne 0x1002050f
mov ebx, dword [esp + 0x2c]
add edi, 4
add ebp, 4
sub ebx, 4
mov dword [esp + 0x2c], ebx
jae 0x100204f0
cmp ebx, 0xfffffffc
je 0x1002054a
mov bl, byte [edi]
cmp bl, byte [ebp]
jne 0x10020543
cmp dword [esp + 0x2c], 0xfffffffd
je 0x1002054a
mov bl, byte [edi + 1]
cmp bl, byte [ebp + 1]
jne 0x10020543
cmp dword [esp + 0x2c], 0xfffffffe
je 0x1002054a
mov bl, byte [edi + 2]
cmp bl, byte [ebp + 2]
jne 0x10020543
cmp dword [esp + 0x2c], 0xffffffff
je 0x1002054a
mov bl, byte [edi + 3]
cmp bl, byte [ebp + 3]
je 0x1002054a
sbb edi, edi
or edi, 1
jmp 0x1002054c
xor edi, edi
test edi, edi
je 0x1002058f
mov ebx, dword [esp + 0x14]
cmp dword [ebx], eax
jne 0x100204b5
mov ebp, dword [ecx + 4]
mov dword [ebp], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [esp + 0x14]
mov dword [edx + 4], ebp
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ecx, edx
cmp edx, esi
jne 0x10020373
pop ebp
pop esi
pop edi
pop ebx
add esp, 0x18
ret 4
mov ebx, dword [ecx + 4]
mov ebp, dword [eax]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ecx
mov dword [ebp + 4], edi
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x1002057b
push str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
int3