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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [esp + 0x34]
cmp eax, 0x10000001
jae 0x10020682
mov edi, ecx
add eax, 0xffffffff
or eax, 1
bsr ecx, eax
xor ecx, 0x1f
neg cl
mov esi, 1
shl esi, cl
lea ecx, [edi + 0xc]
mov ebx, dword [edi + 4]
lea eax, [esi + esi]
push ebx
push eax
call fcn.100167a0
lea eax, [esi - 1]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], esi
mov dword [esp + 0x14], edi
mov eax, dword [edi + 4]
mov eax, dword [eax]
mov dword [esp + 0x10], ebx
cmp eax, ebx
je 0x10020667
mov ebx, eax
mov dword [esp + 0x18], edi
jmp 0x10020454
mov ecx, dword [esp + 0xc]
mov dword [eax + ecx*4], edi
mov dword [eax + esi*4], edi
cmp ebx, dword [esp + 0x10]
je 0x10020667
mov eax, ebx
cmp dword [ebx + 0x1c], 7
jbe 0x10020470
mov ecx, dword [eax + 8]
jmp 0x10020473
lea ecx, [eax + 8]
mov dword [esp], eax
mov edx, dword [eax + 0x18]
mov ebx, edx
add ebx, edx
je 0x100204a0
lea edi, [ebx - 1]
mov esi, ebx
and esi, 2
cmp edi, 3
jae 0x100204b0
mov ebp, 0x811c9dc5
xor edi, edi
jmp 0x100204fa
mov ebp, 0x811c9dc5
jmp 0x10020523
and ebx, 0xfffffffc
mov ebp, 0x811c9dc5
xor edi, edi
nop word [eax + eax]
movzx eax, byte [ecx + edi]
xor eax, ebp
imul eax, eax, 0x1000193
movzx ebp, byte [ecx + edi + 1]
xor ebp, eax
imul eax, ebp, 0x1000193
movzx ebp, byte [ecx + edi + 2]
xor ebp, eax
imul eax, ebp, 0x1000193
movzx ebp, byte [ecx + edi + 3]
xor ebp, eax
imul ebp, ebp, 0x1000193
add edi, 4
cmp ebx, edi
jne 0x100204c0
test esi, esi
je 0x10020523
add edi, ecx
xor ebx, ebx
nop word cs:[eax + eax]
nop dword [eax]
movzx eax, byte [edi + ebx]
xor eax, ebp
imul ebp, eax, 0x1000193
add ebx, 1
cmp esi, ebx
jne 0x10020510
mov edi, dword [esp]
mov ebx, dword [edi]
mov eax, dword [esp + 0x18]
and ebp, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
mov esi, ebp
add esi, ebp
mov dword [esp + 0xc], esi
lea esi, [ebp + 1]
add esi, ebp
mov ebp, dword [eax + ebp*8]
mov dword [esp + 0x1c], ebp
cmp ebp, dword [esp + 0x10]
je 0x10020440
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov edi, dword [eax + esi*4]
cmp edx, dword [edi + 0x18]
jne 0x100205d0
test edx, edx
je 0x10020592
cmp dword [edi + 0x1c], 7
jbe 0x10020573
mov ebp, dword [edi + 8]
jmp 0x10020576
lea ebp, [edi + 8]
xor ebx, ebx
nop dword [eax + eax]
movzx eax, word [ecx + ebx*2]
cmp ax, word [ebp + ebx*2]
jne 0x100205d0
add ebx, 1
cmp edx, ebx
jne 0x10020580
mov ebp, esi
mov ecx, dword [edi]
mov edi, dword [esp]
cmp ecx, edi
mov ebx, dword [esp + 4]
je 0x100205b9
mov eax, dword [edi + 4]
mov dword [eax], ebx
mov edx, dword [ebx + 4]
mov dword [edx], ecx
mov esi, dword [ecx + 4]
mov dword [esi], edi
mov dword [ecx + 4], edx
mov dword [ebx + 4], eax
mov dword [edi + 4], esi
mov eax, dword [esp + 8]
mov dword [eax + ebp*4], edi
jmp 0x1002044a
mov esi, dword [esp + 0x1c]
cmp esi, edi
je 0x10020638
mov edi, dword [edi + 4]
cmp edx, dword [edi + 0x18]
jne 0x100205d4
test edx, edx
je 0x10020612
cmp dword [edi + 0x1c], 7
jbe 0x100205f0
mov ebp, dword [edi + 8]
jmp 0x100205f3
lea ebp, [edi + 8]
xor ebx, ebx
nop word cs:[eax + eax]
nop
movzx eax, word [ecx + ebx*2]
cmp ax, word [ebp + ebx*2]
jne 0x100205d4
add ebx, 1
cmp edx, ebx
jne 0x10020600
mov eax, dword [edi]
mov edi, dword [esp]
mov ecx, dword [edi + 4]
mov ebx, dword [esp + 4]
mov dword [ecx], ebx
mov edx, dword [ebx + 4]
mov dword [edx], eax
mov esi, dword [eax + 4]
mov dword [esi], edi
mov dword [eax + 4], edx
mov dword [ebx + 4], ecx
mov dword [edi + 4], esi
jmp 0x1002044a
mov edi, dword [esp]
mov eax, dword [edi + 4]
mov ebx, dword [esp + 4]
mov dword [eax], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], esi
mov edx, dword [esi + 4]
mov dword [edx], edi
mov dword [esi + 4], ecx
mov dword [ebx + 4], eax
mov dword [edi + 4], edx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [eax + ecx*4], edi
jmp 0x1002044a
mov dword [esp + 0x14], 0
lea ecx, [esp + 0x14]
call fcn.10020690
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 4
push str.invalid_hash_bucket_count
call fcn.1002199f
int3