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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e8565
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x64e2c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x4c], edx
mov eax, 0x1fffffff
mov edi, 1
bsr ecx, eax
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x52f736
mov esi, dword [edx + 4]
lea eax, [ecx - 1]
or eax, edi
mov dword [ebp - 0x50], esi
bsr ecx, eax
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, dword [edx + 0x10]
mov eax, ecx
mov edx, dword [edx + 0xc]
sub eax, edx
sar eax, 2
lea ebx, [edi + edi]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x48], eax
cmp eax, ebx
jae 0x52f58b
lea eax, [ebp - 0x38]
push eax
call fcn.00524b90
add esp, 4
lea ecx, [ebx*4]
mov dword [ebp - 4], 0
mov dword [ebp - 0x44], ecx
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x52f740
mov eax, dword [ecx]
lea edx, [ebp - 0x44]
push edx
call dword [eax + 8]
mov ecx, dword [ebp - 0x14]
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x52f50c
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
push eax
call dword [edx + 0x10]
cmp dword [ebp - 0x48], 0
je 0x52f569
mov edi, dword [ebp - 0x4c]
lea eax, [ebp - 0x38]
push eax
mov edi, dword [edi + 0xc]
call fcn.00524b30
add esp, 4
mov ecx, dword [ebp - 0x48]
shl ecx, 2
mov dword [ebp - 0x44], ecx
mov ecx, dword [eax + 0x24]
mov dword [ebp - 4], 1
mov dword [ebp - 0x48], edi
test ecx, ecx
je 0x52f745
mov eax, dword [ecx]
lea edx, [ebp - 0x44]
push edx
lea edx, [ebp - 0x48]
push edx
call dword [eax + 8]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x52f566
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
push eax
call edx
mov edi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x4c]
lea eax, [edi + edi]
lea eax, [ebx + eax*4]
mov dword [ecx + 0xc], ebx
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
cmp ebx, eax
je 0x52f59c
nop
mov dword [ebx], esi
add ebx, 4
cmp ebx, eax
jne 0x52f580
jmp 0x52f59c
lea eax, [ebp - 0x50]
push eax
push ecx
push edx
call fcn.0052dc80
mov ecx, dword [ebp - 0x4c]
add esp, 0xc
lea eax, [edi - 1]
mov dword [ecx + 0x1c], edi
mov dword [ecx + 0x18], eax
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x52f6f4
mov edi, dword [ecx + 0xc]
mov ebx, 0x811c9dc5
mov edx, dword [edx]
mov dword [ebp - 0x3c], edx
lea eax, [edi + edi]
xor edi, edi
mov dword [ebp - 0x44], eax
test eax, eax
je 0x52f5e9
mov edx, dword [ecx + 8]
mov esi, eax
movzx eax, byte [edi + edx]
inc edi
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edi, esi
jb 0x52f5d2
mov edx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
and ebx, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
lea ebx, [eax + ebx*8]
mov eax, dword [ebx]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], eax
cmp eax, esi
jne 0x52f60b
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
jmp 0x52f6ea
mov eax, dword [ebx + 4]
mov ebx, dword [ecx + 0xc]
cmp ebx, dword [eax + 0xc]
jne 0x52f67c
mov edi, dword [ecx + 0xc]
mov ebx, dword [eax + 8]
mov dword [ebp - 0x3c], edi
test edi, edi
je 0x52f64a
mov edi, dword [ecx + 8]
sub edi, ebx
mov dword [ebp - 0x40], edi
nop dword [eax + eax]
mov di, word [edi + ebx]
cmp di, word [ebx]
jne 0x52f679
mov edi, dword [ebp - 0x3c]
add ebx, 2
dec edi
mov dword [ebp - 0x3c], edi
test edi, edi
mov edi, dword [ebp - 0x40]
jne 0x52f630
mov eax, dword [eax]
mov dword [ebp - 0x40], eax
cmp eax, ecx
je 0x52f671
mov ebx, dword [ecx + 4]
mov esi, dword [ebp - 0x40]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp - 0x50]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x44]
mov dword [eax + 4], ecx
jmp 0x52f6ea
mov ebx, dword [ecx + 0xc]
mov edi, dword [ebp - 0x48]
cmp edi, eax
je 0x52f6c7
mov eax, dword [eax + 4]
cmp ebx, dword [eax + 0xc]
jne 0x52f6c3
mov edi, dword [eax + 8]
mov dword [ebp - 0x3c], ebx
test ebx, ebx
je 0x52f712
mov ebx, dword [ecx + 8]
sub ebx, edi
mov dword [ebp - 0x40], ebx
mov bx, word [ebx + edi]
cmp bx, word [edi]
jne 0x52f6bd
mov ebx, dword [ebp - 0x3c]
add edi, 2
dec ebx
mov dword [ebp - 0x3c], ebx
test ebx, ebx
je 0x52f712
mov ebx, dword [ebp - 0x40]
jmp 0x52f6a1
mov ebx, dword [ecx + 0xc]
mov edi, dword [ebp - 0x48]
cmp edi, eax
jne 0x52f683
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x40], ebx
mov dword [ebx], 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 [ebp - 0x40]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x44]
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ecx, edx
cmp edx, esi
jne 0x52f5b4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b26e6
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp - 0x40], eax
mov esi, eax
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp - 0x50]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x52f6ea
push str.invalid_hash_bucket_count
call fcn.004f573e
call fcn.004f5701
call fcn.004f5701
int3