Function at 0x52abf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push esi
push edi
mov edi, ecx
mov esi, 1
bsr ecx, eax
mov eax, esi
mov dword [ebp - 0x1c], edi
shl eax, cl
cmp edx, eax
ja 0x52adea
lea eax, [edx - 1]
or eax, esi
bsr ecx, eax
mov eax, dword [edi + 4]
push eax
mov dword [ebp - 4], eax
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [edi + 0xc]
mov dword [ebp - 0x20], ecx
lea eax, [esi + esi]
push eax
call fcn.00481400
mov ecx, dword [ebp - 4]
lea eax, [esi - 1]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], esi
mov edi, dword [edi + 4]
mov edi, dword [edi]
mov eax, edi
mov dword [ebp - 0x18], edi
cmp edi, ecx
je 0x52adba
nop word [eax + eax]
mov edx, dword [edi + 0xc]
mov esi, dword [edi + 8]
mov eax, dword [eax]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x10], edx
add edx, esi
mov dword [ebp - 0xc], edx
xor edx, edx
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], edx
cmp esi, dword [ebp - 0xc]
je 0x52acc3
mov eax, dword [ebp - 8]
mov edx, esi
mov edi, dword [ebp - 0xc]
nop
mov esi, eax
shl esi, 6
mov dword [ebp - 0x10], esi
mov esi, eax
mov ecx, dword [ebp - 0x10]
shr esi, 2
add ecx, esi
movsx esi, byte [edx]
add esi, 0x9e3779b9
inc edx
add esi, ecx
xor eax, esi
cmp edx, edi
jne 0x52ac90
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov esi, dword [ebp - 0x1c]
mov esi, dword [esi + 0x18]
and esi, edx
mov edx, dword [ebp - 0x20]
mov edx, dword [edx]
lea edx, [edx + esi*8]
mov esi, dword [edx]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], esi
cmp esi, ecx
jne 0x52ace9
mov dword [edx], edi
mov dword [edx + 4], edi
jmp 0x52adad
mov esi, dword [edx + 4]
mov ecx, dword [esi + 0xc]
cmp dword [edi + 0xc], ecx
jne 0x52ad3d
mov eax, dword [edi + 8]
push ecx
push dword [esi + 8]
mov dword [ebp - 8], eax
push eax
call fcn.00482800
add esp, 0xc
test eax, eax
mov eax, dword [ebp + 8]
jne 0x52ad42
mov ecx, dword [esi]
mov dword [ebp - 0x10], ecx
cmp ecx, edi
je 0x52ad35
mov esi, dword [edi + 4]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov dword [edx], ecx
mov ecx, dword [ecx + 4]
mov dword [ecx], edi
mov dword [eax + 4], edx
mov eax, dword [ebp + 8]
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 4], edi
jmp 0x52adaa
mov ecx, dword [edi + 8]
jmp 0x52ad45
mov ecx, dword [ebp - 8]
mov edx, dword [edi + 8]
mov dword [ebp - 0xc], esi
cmp dword [ebp - 0x10], esi
je 0x52ad84
mov esi, dword [esi + 4]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], esi
mov eax, dword [esi + 0xc]
cmp dword [edi + 0xc], eax
jne 0x52ad7a
push eax
push dword [esi + 8]
push ecx
call fcn.00482800
add esp, 0xc
test eax, eax
je 0x52adc2
mov ecx, dword [ebp - 8]
mov edx, dword [edi + 8]
jmp 0x52ad7c
mov ecx, edx
cmp dword [ebp - 0x10], esi
jne 0x52ad50
mov eax, dword [ebp + 8]
mov esi, dword [edi + 4]
mov ecx, dword [ebp - 0xc]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0xc]
mov dword [edx], ecx
mov ecx, dword [ecx + 4]
mov dword [ecx], edi
mov dword [eax + 4], edx
mov eax, dword [ebp + 8]
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0x18]
mov dword [ecx], edi
mov ecx, dword [ebp - 4]
mov edi, eax
mov dword [ebp - 0x18], edi
cmp eax, ecx
jne 0x52ac60
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi]
mov esi, dword [edi + 4]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
mov dword [esi], eax
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x18]
mov dword [edx], ecx
mov ecx, dword [ecx + 4]
mov dword [ecx], edi
mov dword [eax + 4], edx
mov eax, dword [ebp + 8]
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
jmp 0x52adaa
push str.invalid_hash_bucket_count
call fcn.006ab32d
int3