Function at 0x4980d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55b535
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
mov eax, dword [0x5ec3c8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], ecx
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
push 0x5fef28
mov dword [ebp - 0x1c], 0x5fef28
mov byte [ebp - 0x18], 0
call fcn.004f3843
add esp, 4
test eax, eax
jne 0x4982d5
mov byte [ebp - 0x18], 1
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x3c]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x2c], eax
push 0x5cc38c
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x28], eax
call fcn.00419c40
mov eax, dword [ebp - 0x2c]
lea esi, [ebp - 0x3c]
cmp dword [ebp - 0x28], 8
mov edx, 0x811c9dc5
cmovae esi, dword [ebp - 0x3c]
xor ecx, ecx
lea edi, [eax + eax]
test edi, edi
je 0x498189
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x498178
push edx
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00498790
mov esi, dword [0x5ffadc]
lea ecx, [ebp - 0x3c]
mov eax, dword [eax + 4]
test eax, eax
cmovne esi, eax
call fcn.004196c0
mov dword [ebp - 0x20], 0
cmp dword [0x5ffadc], esi
jne 0x49826c
push 0
push 0
push 0x5cc38c
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
mov esi, eax
test esi, esi
jne 0x4982a6
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x44], esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x2c], eax
push 0x5cc38c
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x28], eax
call fcn.00419c40
xorps xmm0, xmm0
mov dword [ebp - 0x4c], esi
movups xmmword [ebp - 0x64], xmm0
xor eax, eax
movups xmm0, xmmword [ebp - 0x3c]
mov word [ebp - 0x3c], ax
mov dword [ebp - 0x44], eax
movups xmmword [ebp - 0x64], xmm0
movq xmm0, qword [ebp - 0x2c]
movq qword [ebp - 0x54], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00498370
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x498257
push 0
push eax
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
lea ecx, [ebp - 0x64]
call fcn.004196c0
lea ecx, [ebp - 0x3c]
call fcn.004196c0
mov eax, dword [ebp - 0x20]
jmp 0x498272
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x20], eax
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.bcrypt.dll_BCryptCreateHash]
mov esi, eax
test esi, esi
jne 0x4982a6
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x24]
mov ecx, dword [edx + 4]
mov dword [edx + 4], eax
test ecx, ecx
je 0x4982a4
push ecx
call dword [sym.imp.bcrypt.dll_BCryptDestroyHash]
xor esi, esi
push 0x5fef28
call fcn.004f3868
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0050a47b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
push eax
call fcn.004f3949
int3