Function at 0x41f560
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 0x20
bsr ecx, eax
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x41f7ea
lea eax, [ecx - 1]
mov esi, dword [0x4e6094]
or eax, edi
mov dword [ebp - 0x14], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x4e609c
lea eax, [edi + edi]
push eax
call fcn.004053d0
mov ecx, dword [0x4e6094]
lea eax, [edi - 1]
mov dword [0x4e60a8], eax
mov dword [0x4e60ac], edi
mov ecx, dword [ecx]
mov edx, ecx
mov dword [ebp - 0x18], ecx
cmp ecx, esi
je 0x41f7b7
nop dword [eax]
cmp dword [ecx + 0x1c], 8
lea eax, [ecx + 8]
mov edx, dword [edx]
mov edi, dword [eax + 0x10]
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], eax
jb 0x41f5ef
mov eax, dword [eax]
mov dword [ebp - 4], eax
add edi, edi
mov eax, 0x811c9dc5
mov dword [ebp - 0x1c], edi
xor edi, edi
cmp dword [ebp - 0x1c], edi
jbe 0x41f628
mov edx, dword [ebp - 4]
mov esi, eax
mov ecx, dword [ebp - 0x1c]
movzx eax, byte [edi + edx]
inc edi
xor eax, esi
imul esi, eax, 0x1000193
cmp edi, ecx
jb 0x41f608
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xc], esi
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
and eax, dword [0x4e60a8]
mov dword [ebp - 0xc], eax
mov eax, dword [0x4e609c]
mov edi, dword [ebp - 0xc]
lea eax, [eax + edi*8]
mov dword [ebp - 0x1c], eax
cmp dword [eax], esi
jne 0x41f64d
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x41f7aa
mov eax, dword [eax + 4]
cmp dword [eax + 0x1c], 8
lea edi, [eax + 8]
mov ecx, dword [edi + 0x10]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0xc], edi
jb 0x41f66a
mov edi, dword [edi]
mov dword [ebp - 0xc], edi
cmp dword [ecx + 0x1c], 8
lea esi, [ecx + 8]
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x14]
jb 0x41f684
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x20]
cmp edi, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
jne 0x41f706
mov ecx, dword [ebp - 0x20]
test ecx, ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x18]
je 0x41f6cb
sub dword [ebp - 0x10], edi
nop
mov ecx, dword [ebp - 0x10]
movzx edi, word [edi + ecx]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 8], edi
mov edi, dword [ebp - 0xc]
movzx edi, word [edi]
cmp word [ebp - 8], di
jne 0x41f706
mov edi, dword [ebp - 0xc]
dec dword [ebp - 4]
add edi, 2
cmp dword [ebp - 4], 0
mov dword [ebp - 0xc], edi
ja 0x41f6a0
mov eax, dword [eax]
mov dword [ebp - 4], eax
cmp eax, ecx
je 0x41f6fb
mov eax, dword [ecx + 4]
mov esi, dword [ebp - 4]
mov dword [ebp - 8], eax
mov dword [eax], edx
mov edi, dword [edx + 4]
mov eax, dword [ebp - 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0x14]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], ecx
jmp 0x41f7aa
mov edi, dword [ebp - 0x1c]
cmp dword [edi], eax
je 0x41f77e
nop dword [eax]
mov eax, dword [eax + 4]
cmp dword [eax + 0x1c], 8
lea edi, [eax + 8]
mov esi, dword [edi + 0x10]
mov dword [ebp - 8], esi
jb 0x41f724
mov edi, dword [edi]
cmp dword [ecx + 0x1c], 8
lea esi, [ecx + 8]
mov dword [ebp - 0x10], esi
jb 0x41f736
mov esi, dword [ecx + 8]
mov dword [ebp - 0x10], esi
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
jne 0x41f777
mov ecx, dword [ebp - 0x20]
test ecx, ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x18]
je 0x41f7bf
mov esi, dword [ebp - 0x10]
sub esi, edi
mov dword [ebp - 0x10], esi
movzx esi, word [esi + edi]
mov dword [ebp - 8], esi
movzx esi, word [edi]
cmp word [ebp - 8], si
jne 0x41f777
dec dword [ebp - 4]
add edi, 2
cmp dword [ebp - 4], 0
jbe 0x41f7bf
mov esi, dword [ebp - 0x10]
jmp 0x41f756
mov edi, dword [ebp - 0x1c]
cmp dword [edi], eax
jne 0x41f710
mov esi, dword [ecx + 4]
mov dword [ebp - 4], esi
mov dword [esi], edx
mov edi, dword [edx + 4]
mov dword [ebp - 8], edi
mov esi, dword [ebp - 8]
mov dword [edi], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], esi
mov eax, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov esi, dword [ebp - 0x14]
mov ecx, edx
mov dword [ebp - 0x18], ecx
cmp edx, esi
jne 0x41f5d0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [eax]
mov dword [ebp - 4], eax
mov eax, dword [ecx + 4]
mov esi, dword [ebp - 4]
mov dword [ebp - 8], eax
mov dword [eax], edx
mov edi, dword [edx + 4]
mov eax, dword [ebp - 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov edi, dword [ebp - 8]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
jmp 0x41f7a7
push str.invalid_hash_bucket_count
call fcn.0047c57f
int3