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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov dword [ebp - 0x18], ecx
mov esi, dword [ebp + 0xc]
xorps xmm0, xmm0
movsd qword [ebp - 0x20], xmm0
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
push esi
call fcn.00406010
add esp, 4
test eax, eax
js 0x40130c
mov edi, eax
cmp eax, 0xf
ja 0x4012af
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
push edi
push esi
push eax
call fcn.004043b0
add esp, 0xc
add edi, ebp
add edi, 0xffffffd0
mov byte [edi], 0
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
lea esi, [ebp - 0x30]
cmovae esi, eax
test edi, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x38], ecx
je 0x40117c
mov eax, edi
and eax, 3
cmp edi, 4
jae 0x401183
mov ecx, 0x811c9dc5
xor edx, edx
jmp 0x4011ca
mov ecx, 0x811c9dc5
jmp 0x4011f1
and edi, 0xfffffffc
mov ecx, 0x811c9dc5
xor edx, edx
nop dword [eax]
movzx ebx, byte [esi + edx]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [esi + edx + 1]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [esi + edx + 2]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [esi + edx + 3]
xor ebx, ecx
imul ecx, ebx, 0x1000193
add edx, 4
cmp edi, edx
jne 0x401190
test eax, eax
je 0x4011f1
add edx, esi
xor edi, edi
nop word cs:[eax + eax]
movzx ebx, byte [edx + edi]
xor ebx, ecx
imul ecx, ebx, 0x1000193
inc edi
cmp eax, edi
jne 0x4011e0
mov eax, dword [ebp - 0x18]
and ecx, dword [eax + 0x18]
mov edx, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov ebx, dword [eax + ecx*8 + 4]
xor edi, edi
mov dword [ebp - 0x34], edx
cmp ebx, edx
je 0x401263
add ecx, ecx
mov edi, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x10]
cmp dword [ebx + 0x1c], 0x10
jae 0x401230
nop dword [eax + eax]
lea eax, [ebx + 8]
cmp ecx, dword [ebx + 0x18]
jne 0x401238
jmp 0x401247
mov eax, dword [ebx + 8]
cmp ecx, dword [ebx + 0x18]
je 0x401247
cmp ebx, edi
je 0x401261
mov ebx, dword [ebx + 4]
cmp dword [ebx + 0x1c], 0x10
jb 0x401220
jmp 0x401230
test ecx, ecx
je 0x40125d
push ecx
push eax
push esi
call fcn.00402fde
mov ecx, dword [ebp - 0x10]
add esp, 0xc
test eax, eax
jne 0x401238
mov edi, ebx
jmp 0x401263
xor edi, edi
test edi, edi
mov ecx, dword [ebp - 0x34]
cmove edi, ecx
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jae 0x401290
mov eax, dword [ebp + 8]
cmp edi, ecx
je 0x401280
movups xmm0, xmmword [edi + 0x20]
jmp 0x401283
xorps xmm0, xmm0
movups xmmword [eax], xmm0
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret 8
lea ecx, [edx + 1]
cmp ecx, 0x1000
jae 0x401311
push ecx
push dword [ebp - 0x14]
call fcn.0040184f
add esp, 8
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
jmp 0x401273
mov eax, edi
or eax, 0xf
cmp eax, 0x17
mov ecx, 0x16
cmovae ecx, eax
cmp eax, 0xfff
mov dword [ebp - 0x10], ecx
jae 0x4012f5
lea eax, [ecx + 1]
push eax
call fcn.0040181a
add esp, 4
mov ebx, eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x20], edi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
push edi
push esi
push ebx
call fcn.004043b0
add esp, 0xc
add edi, ebx
jmp 0x401147
lea eax, [ecx + 0x24]
push eax
call fcn.0040181a
add esp, 4
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x4012d7
call fcn.0040f3b0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, eax
cmp ecx, 0x20
jae 0x40132e
mov ecx, edx
add ecx, 0x24
mov dword [ebp - 0x14], eax
jmp 0x40129b
call fcn.00405ab9
int3