Function at 0x41cc80
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 0x4661cd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x38
mov eax, dword [0x4a6c1c]
mov dword [ebp - 0x14], 0
push esi
mov esi, dword [ebx + 8]
push edi
test eax, eax
je 0x41cea1
cmp eax, 6
ja 0x41cce2
jb 0x41cea1
cmp dword [0x4a6c20], 2
ja 0x41cce2
jb 0x41cea1
call fcn.0040d0d0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x18], eax
jb 0x41ccf2
mov esi, dword [esi]
xorps xmm0, xmm0
push 0x20
movups xmmword [ebp - 0x44], xmm0
call fcn.00441881
movups xmm0, xmmword [0x494930]
mov edi, eax
mov dword [ebp - 0x34], 0x14
add esp, 4
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x30], 0x1f
movups xmmword [edi], xmm0
mov eax, dword [0x494940]
mov dword [edi + 0x10], eax
mov byte [edi + 0x14], 0
mov dword [ebp - 4], 0
call fcn.004230a0
mov eax, dword [ebp - 0x18]
add eax, 0x20
push eax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, 0x811c9dc5
xor ecx, ecx
nop
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, 0x14
jb 0x41cd50
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x44]
push edx
push eax
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.0040d930
mov eax, dword [eax + 4]
test eax, eax
je 0x41cda3
cmp eax, dword [edi + 4]
je 0x41cda3
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x1c], eax
lea eax, [edi + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push eax
call edi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41cdaf
push esi
lea ecx, [ebp - 0x24]
push ecx
call eax
jmp 0x41cdaf
mov eax, dword [ebp - 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push eax
call edi
mov dword [ebp - 4], 0xffffffff
push 0x20
push dword [ebp - 0x44]
call fcn.004418b1
call fcn.0040d0d0
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
push 0x20
movups xmmword [ebp - 0x44], xmm0
call fcn.00441881
movups xmm0, xmmword [0x494948]
mov esi, eax
mov dword [ebp - 0x34], 0x14
add esp, 0xc
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x30], 0x1f
movups xmmword [esi], xmm0
mov eax, dword [0x494958]
mov dword [esi + 0x10], eax
mov byte [esi + 0x14], 0
mov dword [ebp - 4], 1
call fcn.004230a0
mov eax, dword [ebp - 0x18]
add eax, 0x20
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, 0x811c9dc5
xor ecx, ecx
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, 0x14
jb 0x41ce22
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x44]
push edx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0040d930
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax + 4]
test eax, eax
je 0x41ce88
cmp eax, dword [ecx + 4]
je 0x41ce88
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x1c], eax
lea eax, [ecx + 0x20]
push eax
call edi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41ce8e
lea ecx, [ebp - 0x14]
push ecx
push 0
push 1
lea ecx, [ebp - 0x24]
push ecx
call eax
push 0x20
push esi
call fcn.004418b1
mov eax, dword [ebp - 0x14]
add esp, 8
jmp 0x41cfc3
lea eax, [ecx + 0x20]
push eax
call edi
push 0x20
push esi
call fcn.004418b1
mov eax, dword [ebp - 0x14]
add esp, 8
jmp 0x41cfc3
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x41ceb2
mov ecx, dword [esi]
mov edx, ecx
mov dword [ebp - 0x18], ecx
jmp 0x41ceb7
mov dword [ebp - 0x18], esi
mov edx, esi
mov eax, dword [esi + 0x10]
lea eax, [edx + eax*2]
mov dword [ebp - 0x20], eax
cmp ecx, eax
je 0x41cfc1
call fcn.0040d0d0
mov edi, eax
xorps xmm0, xmm0
push 0x20
mov dword [ebp - 0x1c], edi
movups xmmword [ebp - 0x44], xmm0
call fcn.00441881
movups xmm0, xmmword [0x494960]
mov esi, eax
mov dword [ebp - 0x34], 0x14
add esp, 4
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x30], 0x1f
movups xmmword [esi], xmm0
mov eax, dword [0x494970]
mov dword [esi + 0x10], eax
mov byte [esi + 0x14], 0
mov dword [ebp - 4], 2
call fcn.004230a0
lea eax, [edi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, 0x14
jb 0x41cf30
push edx
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0040d930
mov ecx, dword [ebp - 0x1c]
mov edi, dword [eax + 4]
test edi, edi
je 0x41cf80
cmp edi, dword [ecx + 4]
je 0x41cf80
mov edi, dword [edi + 0x20]
lea eax, [ecx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x41cf8a
mov eax, dword [ebp - 0x18]
movzx eax, word [eax]
push eax
call edi
movzx eax, ax
jmp 0x41cf8c
lea eax, [ecx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
movzx eax, ax
imul eax, eax, 0x1003f
push 0x20
push esi
add dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
call fcn.004418b1
mov edi, dword [ebp - 0x18]
add esp, 8
add edi, 2
mov dword [ebp - 0x18], edi
cmp edi, dword [ebp - 0x20]
jne 0x41cec8
mov eax, dword [ebp - 0x14]
jmp 0x41cfc3
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4