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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov byte [ebp - 0xd], dl
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x49efd5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 0xd], 0
je 0x49ee29
lea eax, [ebp - 4]
xor edx, edx
call fcn.004070b4
call fcn.0047eeb0
mov eax, dword [eax + 0x10]
call fcn.00487e74
mov edi, eax
dec edi
test edi, edi
jl 0x49ee42
inc edi
xor esi, esi
call fcn.0047eeb0
mov eax, dword [eax + 0x10]
mov edx, esi
call fcn.0048d938
mov eax, dword [eax + 0x38]
cmp dword [eax + 0x54], 0
je 0x49ee23
cmp dword [ebp - 4], 0
je 0x49ee06
lea eax, [ebp - 4]
mov edx, 0x49eff0
call fcn.004070b4
jmp 0x49ee42
call fcn.0047eeb0
mov eax, dword [eax + 0x10]
mov edx, esi
call fcn.0048d938
mov eax, dword [eax + 0x38]
mov edx, dword [eax + 0x54]
lea eax, [ebp - 4]
call fcn.004070b4
inc esi
dec edi
jne 0x49edd9
jmp 0x49ee42
call fcn.0047eeb0
mov eax, dword [eax + 0xa4]
mov eax, dword [eax + 0x38]
mov edx, dword [eax + 0x50]
lea eax, [ebp - 4]
call fcn.004070b4
cmp dword [ebp - 4], 0
je 0x49efad
call fcn.0047eeb0
mov eax, dword [eax + 0xa4]
mov eax, dword [eax + 0x38]
call fcn.0047062c
imul bx, ax, 0x64
call fcn.0047eeb0
mov eax, dword [eax + 0xa4]
mov eax, dword [eax + 0x38]
add bx, word [eax + 0x28]
mov word [ebp - 0x24], bx
mov word [ebp - 0x22], 1
call fcn.0047eeb0
mov eax, dword [eax + 0xa4]
mov eax, dword [eax + 0x78]
cmp byte [eax + 0x7b], 0
jne 0x49eeae
call fcn.0047eeb0
mov eax, dword [eax + 0xa4]
mov eax, dword [eax + 0x78]
mov edx, dword [eax + 0xc]
lea eax, [ebp - 8]
call fcn.004070b4
jmp 0x49eeb8
lea eax, [ebp - 8]
xor edx, edx
call fcn.004070b4
cmp dword [ebp - 8], 0
je 0x49ef22
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 8]
call fcn.00410770
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 8]
call fcn.004070b4
mov ebx, 0x811c9dc5
mov eax, dword [ebp - 8]
test eax, eax
je 0x49eef6
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x49eef6
lea eax, [ebp - 8]
mov edx, dword [ebp - 8]
call fcn.00406470
test eax, eax
je 0x49eeff
sub eax, 4
mov eax, dword [eax]
mov edi, eax
test edi, edi
jle 0x49ef24
mov esi, 1
mov eax, dword [ebp - 8]
movzx eax, byte [eax + esi*2 - 2]
xor ebx, eax
imul eax, ebx, 0x1000193
mov ebx, eax
inc esi
dec edi
jne 0x49ef0a
jmp 0x49ef24
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x48]
mov dword [ebp - 0x18], edx
mov edx, dword [eax + 0x4c]
mov dword [ebp - 0x14], edx
mov esi, 8
lea ecx, [ebp - 0x20]
movzx eax, byte [ebp - 0x18]
and al, 0xff
mov byte [ecx], al
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
shrd eax, edx, 8
shr edx, 8
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
inc ecx
dec esi
jne 0x49ef3e
lea eax, [ebp - 0x30]
push eax
lea edx, [ebp - 0x34]
lea eax, [ebp - 0x28]
call fcn.00423bc0
mov eax, dword [ebp - 0x34]
mov ecx, 0x24
mov edx, 2
call fcn.00407834
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 4]
call fcn.00407468
cmp byte [ebp - 0xd], 0
je 0x49efa5
call fcn.0049ec60
test al, al
je 0x49efa5
lea eax, [ebp - 4]
mov edx, 0x49f06c
call fcn.00407468
mov eax, dword [ebp - 4]
call fcn.00499800
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49efdc
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00407058
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407058
ret