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

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x101293bc]
sub esp, 0x10
xorps xmm2, xmm2
push ebx
push esi
push edi
test cl, 1
jne 0x10031542
or ecx, 1
xorps xmm0, xmm0
mov dword [0x101293bc], ecx
xorps xmm1, xmm1
movss dword [0x101293d0], xmm0
movss dword [0x101293d4], xmm1
mov dword [0x101293d8], 0
jmp 0x10031552
movss xmm1, dword [0x101293d4]
movss xmm0, dword [0x101293d0]
mov esi, dword [ebp + 8]
movss xmm3, dword [esi + 0xc]
subss xmm3, xmm0
movss xmm0, dword [esi + 0x10]
subss xmm0, xmm1
movss dword [ebp - 8], xmm3
movss dword [ebp - 4], xmm0
test cl, 2
jne 0x100315e1
or ecx, 2
mov dword [0x101293bc], ecx
mov ebx, dword [0x10123348]
mov ebx, dword [ebx + 0x30]
test ebx, ebx
je 0x100315d9
nop dword [eax]
mov esi, dword [ebx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x100315a0
xor edx, edx
test ecx, ecx
je 0x100315c9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100315b0
cmp edi, 0x7c2d100c
je 0x10031606
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x10031590
mov ecx, dword [0x101293bc]
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [0x101293b8], ebx
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jnp 0x100316ea
test cl, 4
jne 0x10031658
or ecx, 4
mov dword [0x101293bc], ecx
mov eax, dword [0x10123348]
mov ebx, dword [eax + 0x30]
jmp 0x1003164c
mov ecx, dword [0x101293bc]
mov esi, dword [ebp + 8]
jmp 0x100315db
mov esi, dword [ebx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x10031620
xor edx, edx
test ecx, ecx
je 0x10031649
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10031630
cmp edi, 0x12ac36d1
je 0x10031650
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x10031611
mov dword [0x101293c0], ebx
jmp 0x1003165e
mov ebx, dword [0x101293c0]
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x30]
mov dword [ebp - 0xc], eax
call dword [ebp - 0xc]
movss xmm0, dword [ebp - 8]
mov ecx, dword [0x101293b8]
fstp dword [ebp - 0xc]
divss xmm0, dword [ebp - 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x10], eax
movss dword [ebp - 8], xmm0
call dword [ebp - 0x10]
movss xmm0, dword [ebp - 8]
movss dword [ebp - 0x10], xmm0
fdivr dword [ebp - 0x10]
fstp dword [ebp - 0x10]
cvttss2si eax, dword [ebp - 0x10]
cmp eax, 0x7fff
jg 0x100316d6
cmp eax, 0xffff8000
jl 0x100316cf
cmp eax, 1
jge 0x100316c1
test eax, eax
js 0x100316c1
mov eax, 1
jmp 0x100316db
cmp eax, 0xffffffff
jle 0x100316db
test eax, eax
jg 0x100316db
or eax, 0xffffffff
jmp 0x100316db
mov eax, 0x8000
jmp 0x100316db
mov eax, 0x7fff
mov esi, dword [ebp + 8]
xorps xmm2, xmm2
movss xmm0, dword [ebp - 4]
mov word [esi + 0x46], ax
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x100317ef
mov eax, dword [0x101293bc]
test al, 8
jne 0x10031768
or eax, 8
mov dword [0x101293bc], eax
mov eax, dword [0x10123348]
mov ebx, dword [eax + 0x30]
test ebx, ebx
je 0x10031753
mov esi, dword [ebx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x10031720
xor edx, edx
test ecx, ecx
je 0x10031749
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10031730
cmp edi, 0x53453c88
je 0x1003175d
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x10031714
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [0x101293c8], ebx
jmp 0x1003176e
mov esi, dword [ebp + 8]
mov dword [0x101293c8], ebx
jmp 0x1003176e
mov ebx, dword [0x101293c8]
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x30]
mov dword [ebp + 8], eax
call dword [ebp + 8]
movss xmm0, dword [ebp - 4]
mov ecx, dword [0x101293b8]
fstp dword [ebp + 8]
divss xmm0, dword [ebp + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x10], eax
movss dword [ebp - 4], xmm0
call dword [ebp - 0x10]
movss xmm0, dword [ebp - 4]
movss dword [ebp + 8], xmm0
fdivr dword [ebp + 8]
fstp dword [ebp + 8]
cvttss2si eax, dword [ebp + 8]
cmp eax, 0x7fff
jg 0x100317e6
cmp eax, 0xffff8000
jl 0x100317df
cmp eax, 1
jge 0x100317d1
test eax, eax
js 0x100317d1
mov eax, 1
jmp 0x100317eb
cmp eax, 0xffffffff
jle 0x100317eb
test eax, eax
jg 0x100317eb
or eax, 0xffffffff
jmp 0x100317eb
mov eax, 0x8000
jmp 0x100317eb
mov eax, 0x7fff
mov word [esi + 0x44], ax
movss xmm0, dword [esi + 0xc]
movss dword [0x101293d0], xmm0
movss xmm0, dword [esi + 0x10]
pop edi
movss dword [0x101293d4], xmm0
movss xmm0, dword [esi + 0x14]
pop esi
movss dword [0x101293d8], xmm0
pop ebx
mov esp, ebp
pop ebp
ret 4