Function at 0x4591e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
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 - 0x14], edi
shl eax, cl
cmp edx, eax
ja 0x4593a7
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]
lea eax, [esi + esi]
push eax
call fcn.00437310
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
cmp edi, ecx
je 0x459377
mov edx, dword [edi + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x18], edx
lea esi, [edx + edx]
mov dword [ebp + 8], eax
xor edx, edx
mov dword [ebp - 8], 0x811c9dc5
mov dword [ebp - 0x10], esi
test esi, esi
je 0x45928b
mov ecx, dword [edi + 8]
mov eax, dword [ebp - 8]
nop dword [eax + eax]
movzx esi, byte [ecx + edx]
inc edx
xor esi, eax
imul eax, esi, 0x1000193
cmp edx, dword [ebp - 0x10]
jb 0x459270
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
mov esi, dword [edx + 0x18]
and esi, dword [ebp - 8]
mov edx, dword [edx + 0xc]
lea edx, [edx + esi*8]
mov esi, dword [edx]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], esi
cmp esi, ecx
jne 0x4592b0
mov dword [edx], edi
mov dword [edx + 4], edi
jmp 0x45936d
mov esi, dword [edx + 4]
mov edx, dword [edi + 0xc]
cmp edx, dword [esi + 0xc]
jne 0x459300
push edx
push dword [esi + 8]
push dword [edi + 8]
call fcn.0043fdc0
add esp, 0xc
test eax, eax
mov eax, dword [ebp + 8]
jne 0x459300
mov ecx, dword [esi]
mov dword [ebp - 0xc], ecx
cmp ecx, edi
je 0x4592f8
mov esi, dword [edi + 4]
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 - 0x10]
mov dword [ecx + 4], edi
jmp 0x45936a
mov ecx, esi
mov dword [ebp - 8], ecx
cmp dword [ebp - 0xc], esi
je 0x459347
mov ecx, dword [edi + 8]
mov eax, ecx
nop
mov esi, dword [esi + 4]
mov edx, dword [edi + 0xc]
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], esi
cmp edx, dword [esi + 0xc]
jne 0x45933a
push edx
push dword [esi + 8]
push eax
call fcn.0043fdc0
add esp, 0xc
test eax, eax
je 0x45937f
mov eax, dword [ebp - 0x18]
mov ecx, dword [edi + 8]
jmp 0x45933c
mov eax, ecx
cmp dword [ebp - 0xc], esi
jne 0x459310
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov esi, dword [edi + 4]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov eax, dword [ebp - 8]
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 - 0x10]
mov dword [ecx], edi
mov ecx, dword [ebp - 4]
mov edi, eax
cmp eax, ecx
jne 0x459244
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 0x45936a
push str.invalid_hash_bucket_count
call fcn.007fc90d
int3