Function at 0x4b2fc0
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 0x4b31c0
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.00491eb0
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 0x4b3190
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 0x4b3093
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 0x4b3060
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 0x4b30b9
mov dword [edx], edi
mov dword [edx + 4], edi
jmp 0x4b317d
mov esi, dword [edx + 4]
mov ecx, dword [esi + 0xc]
cmp dword [edi + 0xc], ecx
jne 0x4b310d
mov eax, dword [edi + 8]
push ecx
push dword [esi + 8]
mov dword [ebp - 8], eax
push eax
call fcn.00493370
add esp, 0xc
test eax, eax
mov eax, dword [ebp + 8]
jne 0x4b3112
mov ecx, dword [esi]
mov dword [ebp - 0x10], ecx
cmp ecx, edi
je 0x4b3105
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 0x4b317a
mov ecx, dword [edi + 8]
jmp 0x4b3115
mov ecx, dword [ebp - 8]
mov edx, dword [edi + 8]
mov dword [ebp - 0xc], esi
cmp dword [ebp - 0x10], esi
je 0x4b3154
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 0x4b314a
push eax
push dword [esi + 8]
push ecx
call fcn.00493370
add esp, 0xc
test eax, eax
je 0x4b3198
mov ecx, dword [ebp - 8]
mov edx, dword [edi + 8]
jmp 0x4b314c
mov ecx, edx
cmp dword [ebp - 0x10], esi
jne 0x4b3120
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 0x4b3030
nop word [eax + eax]
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 0x4b317a
push str.invalid_hash_bucket_count
call fcn.006ea2aa
int3