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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov ecx, dword [0x1016a1f4]
mov eax, dword [0x1016a3e4]
add eax, 0xffffffd0
xor eax, 0x6f3ae9c7
movss xmm0, dword [ecx + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [ecx]
movss dword [ebp - 0x10], xmm0
mov eax, dword [eax + esi]
movss xmm0, dword [ecx + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [0x1016a43c]
add eax, 0xffffffba
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [ecx + 8]
xor eax, 0x6f3ae9dd
movss dword [ebp - 0x18], xmm0
push edi
movss xmm0, dword [eax + esi]
divss xmm0, dword [ecx + 0x20]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [0x1016f8c4]
addss xmm0, dword [0x100cb000]
cvttss2si edi, xmm0
mov dword [ebp - 4], edi
test al, 1
jne 0x1003004e
or eax, 1
mov dword [0x1016f8c4], eax
mov eax, dword [0x1016a190]
mov ebx, dword [eax + 0x30]
test ebx, ebx
je 0x10030036
nop dword [eax + eax]
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x10030000
xor edx, edx
test ecx, ecx
je 0x10030029
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10030010
cmp esi, 0x731ec79a
je 0x10030040
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x1002fff0
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 4]
xor ebx, ebx
mov dword [0x1016f8c8], ebx
jmp 0x10030054
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 4]
mov dword [0x1016f8c8], ebx
jmp 0x10030054
mov ebx, dword [0x1016f8c8]
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x10030070
mov ecx, dword [0x1016f8c8]
push 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x1016a43c]
add eax, 0xffffffba
xor eax, 0x6f3ae9dd
mov ecx, dword [eax + esi]
mov eax, dword [0x1016a1f4]
mov dword [eax + 0x10], ecx
mov eax, dword [0x1016a43c]
add eax, 0xffffffba
xor eax, 0x6f3ae9dd
mov ecx, dword [eax + esi]
mov eax, dword [0x1016a1f4]
mov dword [eax], ecx
mov ecx, dword [0x1016a1f4]
mov eax, dword [ecx + 0x20]
mov dword [ecx + 0x14], eax
mov ecx, dword [0x1016a1f4]
mov eax, dword [ecx + 0x20]
mov dword [ecx + 8], eax
mov eax, dword [0x1016a1f4]
mov dword [eax + 4], edi
mov eax, dword [0x1016a1f4]
mov dword [eax + 0x1c], edi
mov eax, dword [0x1016a3e4]
add eax, 0xffffffd0
xor eax, 0x6f3ae9c7
cmp byte [ebp + 0x10], 0
jne 0x100300e0
or dword [eax + esi], 8
jmp 0x100300e4
and dword [eax + esi], 0xfffffff7
mov eax, dword [0x1016a1f4]
lea ecx, [esi + 4]
push ecx
movss xmm0, dword [eax + 0x10]
mov eax, dword [ecx]
movss dword [esp], xmm0
push 0x7ff00
push 0x80
push dword [ebp + 0xc]
mov eax, dword [eax + 0x34]
call eax
mov ecx, dword [0x1016a3e4]
mov dl, al
mov eax, dword [ebp - 8]
add ecx, 0xffffffd0
movss xmm0, dword [ebp - 0xc]
xor ecx, 0x6f3ae9c7
pop edi
mov dword [ecx + esi], eax
mov ecx, dword [0x1016a1f4]
pop esi
pop ebx
movss dword [ecx + 0x10], xmm0
mov ecx, dword [0x1016a1f4]
movss xmm0, dword [ebp - 0x10]
movss dword [ecx], xmm0
mov eax, dword [0x1016a1f4]
movss xmm0, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
movss dword [eax + 0x14], xmm0
mov eax, dword [0x1016a1f4]
movss xmm0, dword [ebp - 0x18]
movss dword [eax + 8], xmm0
mov eax, dword [0x1016a1f4]
mov dword [eax + 4], ecx
mov eax, dword [0x1016a1f4]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x1c], ecx
mov al, dl
mov esp, ebp
pop ebp
ret 0xc