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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b84dd
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x4f6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x2c], ebx
mov eax, 0x1fffffff
mov edi, 1
bsr ecx, eax
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x418240
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
mov dword [ebp - 0x10], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
mov dword [ebp - 0x30], ecx
lea eax, [edi + edi]
push eax
call fcn.004088c0
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x41821e
nop
mov edi, dword [ecx + 0x1c]
lea eax, [ecx + 8]
mov edx, dword [edx]
mov ebx, dword [eax + 0x10]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edi
cmp edi, 7
jbe 0x418044
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
lea edi, [ebx + ebx]
mov eax, 0x811c9dc5
mov dword [ebp - 0x18], edi
xor edi, edi
cmp dword [ebp - 0x18], edi
jbe 0x418089
mov ebx, dword [ebp - 0x20]
mov esi, eax
mov edx, dword [ebp - 0x18]
nop
movzx eax, byte [edi + ebx]
inc edi
xor eax, esi
imul esi, eax, 0x1000193
cmp edi, edx
jb 0x418060
mov edx, dword [ecx + 0x1c]
mov ebx, dword [ecx + 0x18]
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], edx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x14], ebx
mov edi, dword [ebp - 0x2c]
mov edi, dword [edi + 0x18]
and edi, eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
lea eax, [eax + edi*8]
mov dword [ebp - 0x1c], eax
cmp dword [eax], esi
jne 0x4180aa
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x418214
mov eax, dword [eax + 4]
cmp dword [eax + 0x1c], 7
lea edi, [eax + 8]
mov ebx, dword [edi + 0x10]
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], edi
jbe 0x4180c7
mov edi, dword [edi]
mov dword [ebp - 0x20], edi
cmp dword [ebp - 0x24], 7
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x18], esi
mov esi, dword [ebp - 0x10]
jbe 0x4180df
mov esi, dword [ecx + 8]
mov dword [ebp - 0x18], esi
mov esi, dword [ebp - 0x10]
cmp ebx, dword [ebp - 0x28]
jne 0x418142
test ebx, ebx
je 0x418113
mov ebx, dword [ebp - 0x18]
sub ebx, edi
mov dword [ebp - 0x18], ebx
movzx ebx, word [edi + ebx]
movzx edi, word [edi]
cmp bx, di
jne 0x418142
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
dec ebx
add edi, 2
mov dword [ebp - 0x14], ebx
test ebx, ebx
mov dword [ebp - 0x20], edi
mov ebx, dword [ebp - 0x18]
jne 0x4180f0
mov eax, dword [eax]
cmp eax, ecx
je 0x418137
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x34], 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 - 0x34]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], ecx
jmp 0x418214
mov edi, dword [ebp - 0x1c]
cmp dword [edi], eax
je 0x4181f1
mov esi, dword [ecx + 0x1c]
lea ebx, [ecx + 8]
mov dword [ebp - 0x34], esi
mov esi, dword [ebx + 0x10]
mov dword [ebp - 0x24], esi
nop dword [eax]
mov eax, dword [eax + 4]
cmp dword [eax + 0x1c], 7
lea edi, [eax + 8]
mov esi, dword [edi + 0x10]
mov dword [ebp - 0x28], esi
jbe 0x418174
mov edi, dword [edi]
cmp dword [ebp - 0x34], 7
jbe 0x41817d
mov ebx, dword [ecx + 8]
mov esi, dword [ebp - 0x24]
cmp esi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x10]
jne 0x4181c3
mov esi, dword [ebp - 0x24]
test esi, esi
mov dword [ebp - 0x20], esi
mov esi, dword [ebp - 0x10]
je 0x4181cf
sub ebx, edi
mov dword [ebp - 0x18], ebx
nop word [eax + eax]
movzx ebx, word [ebx + edi]
mov dword [ebp - 0x28], ebx
movzx ebx, word [edi]
cmp word [ebp - 0x28], bx
jne 0x4181c3
mov ebx, dword [ebp - 0x20]
add edi, 2
dec ebx
mov dword [ebp - 0x20], ebx
test ebx, ebx
je 0x4181cf
mov ebx, dword [ebp - 0x18]
jmp 0x4181a0
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], eax
je 0x4181f1
lea ebx, [ecx + 8]
jmp 0x418160
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp - 0x34], 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 - 0x34]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
jmp 0x418214
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x34], 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 - 0x34]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ecx, edx
cmp edx, esi
jne 0x418020
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.invalid_hash_bucket_count
call fcn.0046f007
int3