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

Disassembly:
sub esp, 0x28
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push edi
mov edi, 1
mov dword [esp + 0x2c], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [esp + 0x34]
cmp ecx, eax
ja 0x53fb7d
lea eax, [ecx - 1]
or eax, edi
bsr ecx, eax
push esi
mov esi, dword [ebx + 4]
push esi
mov dword [esp + 0x20], esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.00477300
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x53fb47
push ebp
mov eax, dword [ecx + 0x1c]
lea ebx, [ecx + 8]
mov edx, dword [edx]
mov ebp, dword [ebx + 0x10]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
cmp eax, 0xf
jbe 0x53f915
mov eax, dword [ebx]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
xor edi, edi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], eax
mov ebx, 0x811c9dc5
test ebp, ebp
je 0x53f957
mov esi, dword [esp + 0x14]
nop dword [eax]
movzx eax, byte [esi + edi]
inc edi
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edi, ebp
jb 0x53f930
mov eax, dword [ecx + 0x1c]
mov ebp, dword [ecx + 0x18]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x34]
mov edi, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
and edi, ebx
lea eax, [eax + edi*8]
mov dword [esp + 0x1c], eax
cmp dword [eax], esi
jne 0x53f978
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x53fb3c
mov eax, dword [eax + 4]
cmp dword [eax + 0x1c], 0xf
lea ebx, [eax + 8]
mov edi, dword [ebx + 0x10]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edi
jbe 0x53f995
mov ebx, dword [ebx]
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x18], 0xf
lea edi, [ecx + 8]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebp
jbe 0x53f9c6
mov esi, dword [esp + 0x2c]
mov edi, dword [ecx + 8]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x10], edi
cmp ebp, dword [esp + 0x28]
jne 0x53fa6f
sub ebp, 4
jb 0x53f9f2
mov edi, dword [edi]
cmp edi, dword [ebx]
jne 0x53f9f7
mov edi, dword [esp + 0x10]
add ebx, 4
add edi, 4
mov dword [esp + 0x24], ebx
mov dword [esp + 0x10], edi
sub ebp, 4
jae 0x53f9d5
cmp ebp, 0xfffffffc
je 0x53fa3f
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x24]
mov bl, byte [ebx]
cmp bl, byte [edi]
jne 0x53fa38
cmp ebp, 0xfffffffd
je 0x53fa3f
mov ebx, dword [esp + 0x10]
mov bl, byte [ebx + 1]
cmp bl, byte [edi + 1]
jne 0x53fa38
cmp ebp, 0xfffffffe
je 0x53fa3f
mov ebx, dword [esp + 0x10]
mov bl, byte [ebx + 2]
cmp bl, byte [edi + 2]
jne 0x53fa38
cmp ebp, 0xffffffff
je 0x53fa3f
mov ebx, dword [esp + 0x10]
mov bl, byte [ebx + 3]
cmp bl, byte [edi + 3]
je 0x53fa3f
sbb edi, edi
or edi, 1
jmp 0x53fa41
xor edi, edi
test edi, edi
jne 0x53fa6f
mov ebp, dword [eax]
cmp ebp, ecx
je 0x53fa63
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 + 0x1c]
mov dword [eax + 4], ecx
jmp 0x53fb3c
mov edi, dword [esp + 0x1c]
cmp dword [edi], eax
je 0x53fb1d
nop dword [eax + eax]
mov eax, dword [eax + 4]
cmp dword [eax + 0x1c], 0xf
lea edi, [eax + 8]
mov ebx, dword [edi + 0x10]
jbe 0x53fa91
mov edi, dword [edi]
cmp dword [esp + 0x18], 0xf
lea ebp, [ecx + 8]
jbe 0x53fa9e
mov ebp, dword [ecx + 8]
cmp dword [esp + 0x14], ebx
jne 0x53fb11
mov ebx, dword [esp + 0x14]
sub ebx, 4
mov dword [esp + 0x10], ebx
jb 0x53facb
mov ebx, dword [ebp]
cmp ebx, dword [edi]
jne 0x53fad0
mov ebx, dword [esp + 0x10]
add ebp, 4
add edi, 4
sub ebx, 4
mov dword [esp + 0x10], ebx
jae 0x53fab1
cmp ebx, 0xfffffffc
je 0x53fb0b
mov bl, byte [ebp]
cmp bl, byte [edi]
jne 0x53fb04
cmp dword [esp + 0x10], 0xfffffffd
je 0x53fb0b
mov bl, byte [ebp + 1]
cmp bl, byte [edi + 1]
jne 0x53fb04
cmp dword [esp + 0x10], 0xfffffffe
je 0x53fb0b
mov bl, byte [ebp + 2]
cmp bl, byte [edi + 2]
jne 0x53fb04
cmp dword [esp + 0x10], 0xffffffff
je 0x53fb0b
mov bl, byte [ebp + 3]
cmp bl, byte [edi + 3]
je 0x53fb0b
sbb edi, edi
or edi, 1
jmp 0x53fb0d
xor edi, edi
test edi, edi
je 0x53fb61
mov ebx, dword [esp + 0x1c]
cmp dword [ebx], eax
jne 0x53fa80
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 + 0x1c]
mov dword [edx + 4], ebp
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ecx, edx
cmp edx, esi
jne 0x53f8f3
pop ebp
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0
call fcn.0050b9a0
pop esi
pop edi
pop ebx
add esp, 0x28
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 0x53fb3c
push str.invalid_hash_bucket_count
call fcn.0059bdd7
int3