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

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x1013bf4c]
sub esp, 0x10
xorps xmm3, xmm3
push ebx
push esi
push edi
test cl, 1
jne 0x10031db2
or ecx, 1
xorps xmm0, xmm0
mov dword [0x1013bf4c], ecx
xorps xmm1, xmm1
movss dword [0x1013bf5c], xmm0
movss dword [0x1013bf60], xmm1
mov dword [0x1013bf64], 0
jmp 0x10031dc2
movss xmm1, dword [0x1013bf60]
movss xmm0, dword [0x1013bf5c]
mov esi, dword [ebp + 8]
movss xmm2, dword [esi + 0xc]
subss xmm2, xmm0
movss xmm0, dword [esi + 0x10]
subss xmm0, xmm1
movss dword [ebp - 0x10], xmm2
movss dword [ebp - 4], xmm0
test cl, 2
jne 0x10031e51
or ecx, 2
mov dword [0x1013bf4c], ecx
mov ebx, dword [0x10131660]
mov ebx, dword [ebx + 0x30]
test ebx, ebx
je 0x10031e49
nop dword [eax]
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x10031e10
xor edx, edx
test ecx, ecx
je 0x10031e39
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10031e20
cmp esi, 0x7c2d100c
je 0x10031e76
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x10031e00
mov ecx, dword [0x1013bf4c]
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [0x1013bf48], ebx
ucomiss xmm2, xmm3
lahf
test ah, 0x44
jnp 0x10031f31
test cl, 4
jne 0x10031ec8
or ecx, 4
mov dword [0x1013bf4c], ecx
mov eax, dword [0x10131660]
mov ebx, dword [eax + 0x30]
jmp 0x10031ebc
mov ecx, dword [0x1013bf4c]
mov esi, dword [ebp + 8]
jmp 0x10031e4b
mov esi, dword [ebx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x10031e90
xor edx, edx
test ecx, ecx
je 0x10031eb9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10031ea0
cmp edi, 0x12ac36d1
je 0x10031ec0
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x10031e81
mov dword [0x1013bf50], ebx
jmp 0x10031ece
mov ebx, dword [0x1013bf50]
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x30]
mov dword [ebp - 8], eax
call dword [ebp - 8]
mov ecx, dword [0x1013bf48]
fstp dword [ebp - 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 8], eax
call dword [ebp - 8]
fmul dword [ebp - 0xc]
fdivr dword [ebp - 0x10]
fstp dword [ebp - 0x10]
cvttss2si eax, dword [ebp - 0x10]
cmp eax, 0x7fff
jg 0x10031f1d
cmp eax, 0xffff8000
jl 0x10031f16
test eax, eax
jne 0x10031f22
mov eax, 1
jmp 0x10031f22
mov eax, 0x8000
jmp 0x10031f22
mov eax, 0x7fff
mov esi, dword [ebp + 8]
xorps xmm3, xmm3
movss xmm0, dword [ebp - 4]
mov word [esi + 0x46], ax
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x10032016
mov eax, dword [0x1013bf4c]
test al, 8
jne 0x10031fb8
or eax, 8
mov dword [0x1013bf4c], eax
mov eax, dword [0x10131660]
mov ebx, dword [eax + 0x30]
test ebx, ebx
je 0x10031fa3
nop dword [eax + eax]
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x10031f70
xor edx, edx
test ecx, ecx
je 0x10031f99
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10031f80
cmp esi, 0x53453c88
je 0x10031fad
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x10031f60
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [0x1013bf54], ebx
jmp 0x10031fbe
mov esi, dword [ebp + 8]
mov dword [0x1013bf54], ebx
jmp 0x10031fbe
mov ebx, dword [0x1013bf54]
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x30]
mov dword [ebp + 8], eax
call dword [ebp + 8]
mov ecx, dword [0x1013bf48]
fstp dword [ebp - 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp + 8], eax
call dword [ebp + 8]
fmul dword [ebp - 0x10]
fdivr dword [ebp - 4]
fstp dword [ebp + 8]
cvttss2si eax, dword [ebp + 8]
cmp eax, 0x7fff
jg 0x1003200d
cmp eax, 0xffff8000
jl 0x10032006
test eax, eax
jne 0x10032012
mov eax, 1
jmp 0x10032012
mov eax, 0x8000
jmp 0x10032012
mov eax, 0x7fff
mov word [esi + 0x44], ax
movss xmm0, dword [esi + 0xc]
movss dword [0x1013bf5c], xmm0
movss xmm0, dword [esi + 0x10]
pop edi
movss dword [0x1013bf60], xmm0
movss xmm0, dword [esi + 0x14]
pop esi
movss dword [0x1013bf64], xmm0
pop ebx
mov esp, ebp
pop ebp
ret 4