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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3100
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x4e54fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x8c], eax
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x88], 0x14
mov ecx, dword [eax]
mov eax, dword [0x4ff8c8]
cmp eax, dword [ecx + 0xc]
jg 0x40c76c
mov ecx, esi
mov dword [ebp - 0x68], 0
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x78], xmm0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c560
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x78]
call fcn.00402a10
mov dword [ebp - 4], 3
lea eax, [ebp - 0x78]
mov ecx, dword [ebp - 0x68]
inc ecx
cmp dword [ebp - 0x64], 8
push ecx
cmovae eax, dword [ebp - 0x78]
push eax
call fcn.0048cf45
xorps xmm0, xmm0
movlpd qword [ebp - 0x80], xmm0
push 0x4fd8f0
mov dword [ebp - 0x80], 0x4fd8f0
mov byte [ebp - 0x7c], 1
call fcn.0047d7ee
add esp, 0xc
mov byte [ebp - 4], 4
lea esi, [ebp - 0x78]
mov eax, dword [ebp - 0x68]
mov edx, 0x811c9dc5
cmp dword [ebp - 0x64], 8
cmovae esi, dword [ebp - 0x78]
xor ecx, ecx
lea edi, [eax + eax]
test edi, edi
je 0x40c5e7
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x40c5d6
push edx
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.0040f4b0
mov eax, dword [eax + 4]
test eax, eax
je 0x40c641
cmp eax, dword [0x4ff8d4]
je 0x40c641
mov esi, dword [ebp - 0x8c]
add eax, 0x20
cmp esi, eax
je 0x40c628
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x40c61f
mov eax, dword [eax]
push ecx
push eax
mov ecx, esi
call fcn.00402740
push 0x4fd8f0
call fcn.0047d80a
add esp, 4
mov byte [ebp - 0x81], 1
jmp 0x40c711
push 0x4fd8f0
mov byte [ebp - 4], 3
call fcn.0047d80a
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x60]
push eax
push ecx
mov ecx, dword [ebp - 0x90]
call fcn.0041cc90
add esp, 0x10
test eax, eax
js 0x40c70a
cmp dword [ebp - 0x88], 0
jbe 0x40c70a
mov edx, dword [ebp - 0x60]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c686
sub ecx, esi
mov esi, dword [ebp - 0x8c]
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00402740
push 0x4fd8f0
mov dword [ebp - 0x90], 0x4fd8f0
call fcn.0047d7e0
add esp, 4
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x40]
call fcn.0040f130
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.0040f130
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.0040ee00
lea ecx, [ebp - 0x40]
call fcn.0040c820
push 0x4fd8f0
call fcn.0047d7fc
add esp, 4
mov byte [ebp - 0x81], 1
jmp 0x40c711
mov byte [ebp - 0x81], 0
mov ecx, dword [ebp - 0x64]
cmp ecx, 8
jb 0x40c74b
mov edx, dword [ebp - 0x78]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40c741
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c811
push ecx
push edx
call fcn.0047dc2a
add esp, 8
mov al, byte [ebp - 0x81]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047df69
mov esp, ebp
pop ebp
ret
push 0x4ff8c8
call fcn.0047df05
add esp, 4
cmp dword [0x4ff8c8], 0xffffffff
jne 0x40c542
push 0x38
mov dword [ebp - 4], 0
call fcn.0047dbfa
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [0x4ff8d4], eax
mov dword [0x4ff8dc], 0
mov dword [0x4ff8e0], 0
mov dword [0x4ff8e4], 0
mov byte [ebp - 4], 2
mov ecx, 0x4ff8dc
push eax
push 0x10
mov dword [0x4ff8e8], 7
mov dword [0x4ff8ec], 8
mov dword [0x4ff8d0], 0x3f800000
call fcn.0040ebd0
push 0x4b2580
call fcn.0047de74
push 0x4ff8c8
mov dword [ebp - 4], 0xffffffff
call fcn.0047deb4
add esp, 8
jmp 0x40c542
call fcn.00482fbf
int3