Function at 0x10066d64
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, 0x28
mov dword [esp + 0xc], edx
mov edx, dword [ebp + 8]
xorpd xmm1, xmm1
mov dword [esp], ecx
mov ecx, 0xfffffff9
movsd xmm0, qword [edx]
cmpeqsd xmm1, xmm0
andnpd xmm1, xmm0
movsd qword [esp + 0x10], xmm1
movsd qword [esp + 0x18], xmm1
movzx eax, byte [esp + 0x18]
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
movzx esi, byte [esp + ecx + 0x18]
xor esi, eax
imul eax, esi, 0x1000193
inc ecx
jne 0x10066dac
mov ecx, dword [esp]
and eax, dword [ecx + 0x18]
mov edi, dword [ecx + 0xc]
mov esi, dword [ecx + 4]
mov ecx, dword [edi + eax*8]
add eax, eax
mov dword [esp + 8], esi
cmp ecx, esi
je 0x10066de4
lea esi, [eax*4]
or esi, 4
mov esi, dword [edi + esi]
mov esi, dword [esi]
mov dword [esp + 4], edi
cmp ecx, esi
je 0x10066e2a
mov esi, dword [esi + 4]
mov ebx, dword [edx]
mov edi, dword [edx + 4]
xor ebx, dword [esi + 8]
xor edi, dword [esi + 0xc]
or edi, ebx
jne 0x10066de8
mov eax, dword [ebp + 0xc]
mov edx, eax
mov eax, dword [eax]
mov ecx, dword [edx + 4]
mov dword [ecx], eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [esp]
dec dword [ecx + 8]
push 0x18
push edx
call fcn.1018304e
add esp, 8
xor ebx, ebx
jmp 0x10066f4c
mov esi, dword [ebp + 0xc]
mov edi, dword [esp + 4]
mov ebx, dword [esp + 8]
mov edx, dword [esi]
cmp edx, ecx
je 0x10066e67
mov ebx, esi
mov esi, dword [esi + 4]
mov dword [esi], edx
mov esi, dword [edx + 4]
mov dword [esi], ecx
mov esi, dword [ecx + 4]
mov dword [esi], ebx
mov edi, dword [edx + 4]
mov esi, dword [ecx + 4]
mov dword [ecx + 4], edi
mov edi, dword [ebx + 4]
mov dword [edx + 4], edi
mov dword [ebx + 4], esi
mov esi, dword [esp]
mov ebx, dword [esi + 4]
mov edi, dword [esi + 0xc]
lea edx, [edi + eax*4]
mov esi, dword [edx]
cmp esi, ebx
je 0x10066e9c
cmp esi, ecx
je 0x10066eb1
or eax, 1
mov esi, dword [ebp + 0xc]
mov ecx, dword [edi + eax*4]
mov ecx, dword [ecx]
mov dword [edi + eax*4], ecx
cmp ecx, esi
mov ecx, dword [esp]
je 0x10066ebb
mov ecx, dword [esp]
mov ecx, dword [ecx + 0xc]
lea edx, [ecx + eax*4]
mov ecx, dword [esp]
mov eax, dword [edx]
mov eax, dword [eax + 4]
jmp 0x10066eb9
mov esi, dword [ebp + 0xc]
mov ecx, dword [esp]
shl eax, 2
or eax, 4
mov dword [edx], esi
add eax, dword [ecx + 0xc]
mov edx, eax
jmp 0x10066eb7
mov esi, dword [ebp + 0xc]
mov ecx, dword [esp]
mov eax, esi
mov dword [edx], eax
movss xmm0, dword [ecx + 8]
movsd xmm1, qword [0x101d4490]
movss xmm2, dword [ecx + 0x1c]
mov bl, 1
orpd xmm0, xmm1
orpd xmm2, xmm1
subsd xmm0, xmm1
subsd xmm2, xmm1
cvtsd2ss xmm0, xmm0
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm2
divss xmm0, xmm1
ucomiss xmm0, dword [ecx]
jbe 0x10066f4c
mov edi, dword [ecx + 0x1c]
mov esi, ecx
mov cl, 3
cmp edi, 0x1fffffff
setb al
cmp edi, 0x200
jb 0x10066f0d
mov ecx, eax
shl edi, cl
lea ecx, [esi + 0xc]
lea eax, [edi + edi]
mov dword [esp + 4], ecx
mov dword [esp], eax
push eax
call fcn.10044d54
mov eax, dword [esi + 4]
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
mov dword [edx], eax
push edx
push dword [esp + 4]
call fcn.10044d78
lea eax, [edi - 1]
mov ecx, esi
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edi
call fcn.10066f5e
mov esi, dword [ebp + 0xc]
mov eax, dword [esp + 0xc]
mov dword [eax], esi
mov byte [eax + 4], bl
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret