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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
mov dword [ebp - 8], ebx
mov edx, esi
cmp dword [esi + 0x14], 0x10
jb 0x102c371b
mov edx, dword [esi]
xor ecx, ecx
mov edi, 0x811c9dc5
cmp dword [esi + 0x10], ecx
jbe 0x102c3739
movzx eax, byte [ecx + edx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, dword [esi + 0x10]
jb 0x102c3727
push edi
push esi
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.102c35a0
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x102c375f
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 8], 0x71c71c7
je 0x102c3941
push 0x24
call fcn.1001ded0
mov ebx, eax
add esp, 4
lea ecx, [ebx + 8]
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
cmp dword [esi + 0x14], 0x10
mov eax, dword [esi + 0x10]
mov dword [ebp + 0xc], eax
jb 0x102c379d
mov esi, dword [esi]
cmp eax, 0x10
jae 0x102c37af
movups xmm0, xmmword [esi]
mov eax, 0xf
movups xmmword [ecx], xmm0
jmp 0x102c3819
or eax, 0xf
mov ecx, 0x7fffffff
cmp eax, ecx
cmova eax, ecx
mov dword [ebp - 4], eax
inc eax
cmp eax, 0x1000
jb 0x102c37ee
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x102c394b
push ecx
call fcn.1001ded0
add esp, 4
test eax, eax
je 0x102c3950
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x102c3801
test eax, eax
je 0x102c37ff
push eax
call fcn.1001ded0
add esp, 4
mov ecx, eax
jmp 0x102c3801
xor ecx, ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebx + 8], ecx
push eax
push esi
push ecx
call fcn.10425d60
mov eax, dword [ebp - 4]
lea ecx, [ebx + 8]
add esp, 0xc
mov esi, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], 0
mov eax, dword [esi + 8]
inc eax
movss xmm3, dword [esi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1122e340]
mov eax, dword [esi + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x1122e340]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x102c38de
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x10], xmm0
fld qword [ebp - 0x10]
fstp qword [esp]
call fcn.1043f960
fstp qword [ebp - 0x10]
movsd xmm0, qword [ebp - 0x10]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.10451080
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [esi + 0x1c]
cmp eax, ecx
jae 0x102c38c2
cmp eax, 0x200
jae 0x102c38c0
shl eax, 3
cmp eax, ecx
jae 0x102c38c2
mov eax, ecx
push eax
mov ecx, esi
call fcn.102c47c0
push edi
lea eax, [ebx + 8]
mov ecx, esi
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.102c35a0
mov edx, dword [eax]
jmp 0x102c38e1
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
inc dword [esi + 8]
mov dword [ebx + 4], eax
mov dword [ebx], edx
mov dword [eax], ebx
mov dword [edx + 4], ebx
mov ecx, dword [esi + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x18]
and eax, edi
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi + 4]
jne 0x102c3909
mov dword [ecx + eax*8], ebx
jmp 0x102c392b
cmp edi, edx
jne 0x102c3922
mov dword [ecx + eax*8], ebx
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [eax + 4], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x102c392f
mov dword [ecx + eax*8 + 4], ebx
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword [eax], ebx
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x10458050
call fcn.1045064c
call fcn.100e1e10
call fcn.1043a1e8
int3