Function at 0x53fb90
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 + 0x28], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [esp + 0x34]
cmp ecx, eax
ja 0x53fe6c
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 0x53fe47
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 0x53fc15
mov eax, dword [ebx]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
xor edi, edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], eax
mov ebx, 0x811c9dc5
test ebp, ebp
je 0x53fc57
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 0x53fc30
mov eax, dword [ecx + 0x1c]
mov ebp, dword [ecx + 0x18]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
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 0x53fc78
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x53fe3c
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 + 0x34], edi
jbe 0x53fc95
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 0x53fcc6
mov esi, dword [esp + 0x28]
mov edi, dword [ecx + 8]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x10], edi
cmp ebp, dword [esp + 0x34]
jne 0x53fd6f
sub ebp, 4
jb 0x53fcf2
mov edi, dword [edi]
cmp edi, dword [ebx]
jne 0x53fcf7
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 0x53fcd5
cmp ebp, 0xfffffffc
je 0x53fd3f
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x24]
mov bl, byte [ebx]
cmp bl, byte [edi]
jne 0x53fd38
cmp ebp, 0xfffffffd
je 0x53fd3f
mov ebx, dword [esp + 0x10]
mov bl, byte [ebx + 1]
cmp bl, byte [edi + 1]
jne 0x53fd38
cmp ebp, 0xfffffffe
je 0x53fd3f
mov ebx, dword [esp + 0x10]
mov bl, byte [ebx + 2]
cmp bl, byte [edi + 2]
jne 0x53fd38
cmp ebp, 0xffffffff
je 0x53fd3f
mov ebx, dword [esp + 0x10]
mov bl, byte [ebx + 3]
cmp bl, byte [edi + 3]
je 0x53fd3f
sbb edi, edi
or edi, 1
jmp 0x53fd41
xor edi, edi
test edi, edi
jne 0x53fd6f
mov ebp, dword [eax]
cmp ebp, ecx
je 0x53fd63
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 0x53fe3c
mov edi, dword [esp + 0x1c]
cmp dword [edi], eax
je 0x53fe1d
nop dword [eax + eax]
mov eax, dword [eax + 4]
cmp dword [eax + 0x1c], 0xf
lea edi, [eax + 8]
mov ebx, dword [edi + 0x10]
jbe 0x53fd91
mov edi, dword [edi]
cmp dword [esp + 0x18], 0xf
lea ebp, [ecx + 8]
jbe 0x53fd9e
mov ebp, dword [ecx + 8]
cmp dword [esp + 0x14], ebx
jne 0x53fe11
mov ebx, dword [esp + 0x14]
sub ebx, 4
mov dword [esp + 0x10], ebx
jb 0x53fdcb
mov ebx, dword [ebp]
cmp ebx, dword [edi]
jne 0x53fdd0
mov ebx, dword [esp + 0x10]
add ebp, 4
add edi, 4
sub ebx, 4
mov dword [esp + 0x10], ebx
jae 0x53fdb1
cmp ebx, 0xfffffffc
je 0x53fe0b
mov bl, byte [ebp]
cmp bl, byte [edi]
jne 0x53fe04
cmp dword [esp + 0x10], 0xfffffffd
je 0x53fe0b
mov bl, byte [ebp + 1]
cmp bl, byte [edi + 1]
jne 0x53fe04
cmp dword [esp + 0x10], 0xfffffffe
je 0x53fe0b
mov bl, byte [ebp + 2]
cmp bl, byte [edi + 2]
jne 0x53fe04
cmp dword [esp + 0x10], 0xffffffff
je 0x53fe0b
mov bl, byte [ebp + 3]
cmp bl, byte [edi + 3]
je 0x53fe0b
sbb edi, edi
or edi, 1
jmp 0x53fe0d
xor edi, edi
test edi, edi
je 0x53fe50
mov ebx, dword [esp + 0x1c]
cmp dword [ebx], eax
jne 0x53fd80
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 0x53fbf3
pop ebp
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 0x53fe3c
push str.invalid_hash_bucket_count
call fcn.0059bdd7
int3