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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x68
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ecx, dword [esi]
xor ecx, 2
or ecx, dword [esi + 4]
jne 0x1006591f
mov edx, dword [esi + 8]
mov edi, edx
xor edi, 0x70736575
lea ecx, [esp + 0x20]
mov dword [ecx], edi
mov edi, dword [esi + 0xc]
mov ebx, edi
xor ebx, 0x736f6d65
mov dword [ecx + 4], ebx
mov ebx, edx
xor ebx, 0x6e657261
mov dword [ecx + 8], ebx
mov ebx, edi
xor ebx, 0x6c796765
mov dword [ecx + 0xc], ebx
mov eax, dword [esi + 0x10]
mov ebx, eax
xor ebx, 0x6e646f6d
mov dword [ecx + 0x10], ebx
mov esi, dword [esi + 0x14]
mov ebx, esi
xor ebx, 0x646f7261
mov dword [ecx + 0x14], ebx
mov ebx, eax
xor ebx, 0x79746573
mov dword [ecx + 0x18], ebx
mov ebx, esi
xor ebx, 0x74656462
mov dword [ecx + 0x1c], ebx
mov dword [ecx + 0x20], edx
mov dword [ecx + 0x24], edi
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], esi
xorps xmm0, xmm0
movups xmmword [ecx + 0x30], xmm0
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
mov edi, dword [esi]
xor eax, eax
test edi, edi
setne al
lea edx, [esp + 0x1c]
mov dword [edx], eax
push 4
call fcn.1003524e
add esp, 4
test edi, edi
je 0x100659c3
mov edx, dword [esi + 4]
lea ecx, [esp + 0x20]
push dword [esi + 8]
jmp 0x100659d3
mov edi, 0x1b3
mov eax, dword [eax]
mov dword [esp + 4], eax
mov ecx, dword [eax]
xor eax, eax
mov dword [esp + 8], ecx
test ecx, ecx
setne al
mov dword [esp + 0x20], eax
mov ebx, 0xcbf29ce4
mov eax, 0x84222325
xor esi, esi
movzx ecx, byte [esp + esi + 0x20]
xor ecx, eax
mov eax, ecx
mul edi
imul ebx, edi
add ebx, edx
mov edx, 0x100
imul ecx, edx
add ebx, ecx
inc esi
cmp esi, 4
jne 0x10065947
cmp dword [esp + 8], 0
je 0x10065b94
mov ecx, dword [esp + 4]
mov edx, dword [ecx + 8]
test edx, edx
je 0x10065bc2
mov ecx, dword [ecx + 4]
mov dword [esp + 4], ecx
xor esi, esi
mov dword [esp + 8], edx
mov edi, 0x1b3
mov ecx, dword [esp + 4]
movzx ecx, byte [ecx + esi]
xor ecx, eax
mov eax, ecx
mov edx, 0x1b3
mul edx
imul ebx, edi
add ebx, edx
mov edx, 0x100
imul ecx, edx
mov edx, dword [esp + 8]
add ebx, ecx
inc esi
cmp edx, esi
jne 0x10065993
jmp 0x10065bc2
movzx eax, byte [esi + 4]
lea edx, [esp + 0x1c]
mov dword [edx], eax
lea ecx, [esp + 0x20]
push 4
call fcn.1003524e
add esp, 4
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x58]
shl edx, 0x18
or edx, dword [esp + 0x54]
mov dword [esp + 0x18], edx
mov edi, dword [esp + 0x50]
mov dword [esp + 0x14], edi
mov ecx, dword [esp + 0x3c]
xor ecx, edx
mov esi, dword [esp + 0x38]
xor esi, edi
mov edx, dword [esp + 0x20]
add edx, eax
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x24]
adc ebx, edx
mov dword [esp + 4], ebx
mov edi, eax
shld edi, edx, 0xd
shld edx, eax, 0xd
xor edx, ebx
mov ebx, dword [esp + 0xc]
xor edi, ebx
mov eax, dword [esp + 0x28]
add eax, esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
adc eax, ecx
mov dword [esp + 0x10], eax
mov eax, esi
shld eax, ecx, 0x10
shrd esi, ecx, 0x10
xor esi, dword [esp + 0x10]
xor eax, dword [esp + 8]
add dword [esp + 4], eax
adc ebx, esi
mov ecx, eax
shld ecx, esi, 0x15
shrd eax, esi, 0xb
xor eax, ebx
xor ecx, dword [esp + 4]
add dword [esp + 8], edi
adc dword [esp + 0x10], edx
mov esi, edi
shld esi, edx, 0x11
shrd edi, edx, 0xf
mov edx, ebx
xor edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
xor dword [esp + 4], ebx
mov ebx, dword [esp + 0x10]
xor edi, ebx
xor esi, dword [esp + 8]
xor ebx, 0xff
add dword [esp + 4], esi
adc edx, edi
mov dword [esp + 0xc], edx
mov edx, esi
shld edx, edi, 0xd
shrd esi, edi, 0x13
xor esi, dword [esp + 0xc]
xor edx, dword [esp + 4]
add ebx, ecx
adc dword [esp + 8], eax
mov edi, ecx
shld edi, eax, 0x10
shrd ecx, eax, 0x10
xor ecx, dword [esp + 8]
xor edi, ebx
add dword [esp + 0xc], edi
adc dword [esp + 4], ecx
mov eax, edi
shld eax, ecx, 0x15
shrd edi, ecx, 0xb
xor edi, dword [esp + 4]
xor eax, dword [esp + 0xc]
add ebx, edx
adc dword [esp + 8], esi
mov ecx, edx
shld ecx, esi, 0x11
shrd edx, esi, 0xf
xor edx, dword [esp + 8]
xor ecx, ebx
add dword [esp + 0xc], ecx
adc dword [esp + 4], edx
mov esi, ecx
shld esi, edx, 0xd
shrd ecx, edx, 0x13
xor ecx, dword [esp + 4]
xor esi, dword [esp + 0xc]
add dword [esp + 8], eax
adc ebx, edi
mov edx, eax
shld edx, edi, 0x10
shrd eax, edi, 0x10
xor eax, ebx
xor edx, dword [esp + 8]
add dword [esp + 4], edx
adc dword [esp + 0xc], eax
mov edi, edx
shld edi, eax, 0x15
shrd edx, eax, 0xb
xor edx, dword [esp + 0xc]
xor edi, dword [esp + 4]
add dword [esp + 8], esi
adc ebx, ecx
mov eax, esi
shld eax, ecx, 0x11
shrd esi, ecx, 0xf
xor esi, ebx
xor eax, dword [esp + 8]
add dword [esp + 4], eax
adc dword [esp + 0xc], esi
mov ecx, eax
shld ecx, esi, 0xd
xor ecx, dword [esp + 4]
shrd eax, esi, 0x13
xor eax, dword [esp + 0xc]
add ebx, edi
mov esi, dword [esp + 8]
adc esi, edx
shrd edi, edx, 0x10
xor edi, esi
shr edi, 0xb
add ebx, ecx
adc esi, eax
shr eax, 0xf
xor eax, edi
xor eax, esi
xor eax, ebx
jmp 0x10065bc2
mov ecx, dword [esp + 4]
movzx ecx, byte [ecx + 4]
mov dword [esp + 0x20], ecx
xor esi, esi
movzx ecx, byte [esp + esi + 0x20]
xor ecx, eax
mov eax, ecx
mul edi
imul ebx, edi
add ebx, edx
mov edx, 0x100
imul ecx, edx
add ebx, ecx
inc esi
cmp esi, 4
jne 0x10065ba2
and eax, 0x7fff
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret