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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006b4fd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xe8
mov eax, dword [0x10085050]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 8]
lea eax, [ebp - 0x4c]
push 0x30
push 0
push eax
mov dword [ebp - 0x8c], esi
call fcn.10041930
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
add esp, 0xc
movups xmmword [ebp - 0x70], xmm0
movups xmmword [ebp - 0x60], xmm0
test esi, esi
je 0x10033981
cmp dword [0x1008faf0], 0
je 0x10033981
mov eax, dword [0x1008fd0c]
mov edi, dword [esi + 8]
test al, 1
jne 0x100330b1
or eax, 1
mov dword [0x1008fd0c], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.1001c970
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1008fd10
call fcn.1001ce10
add esp, 4
push 0x1006c460
call fcn.1004010d
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x1008fd10]
call eax
mov esi, eax
mov dword [ebp - 0x90], esi
test edi, edi
je 0x1003314c
test esi, esi
je 0x1003314c
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x88], ecx
test ecx, ecx
je 0x1003314c
nop dword [eax]
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, esi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x10033129
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x10033100
xor edx, edx
test ecx, ecx
je 0x10033129
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10033110
cmp edi, 0x11ab48ff
je 0x10033144
mov ecx, dword [ebp - 0x88]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x88], ecx
test ecx, ecx
je 0x1003314c
mov esi, dword [ebp - 0x90]
jmp 0x100330e0
mov ecx, dword [ebp - 0x88]
jmp 0x1003314e
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1003315c.2
jmp dword [eax*4 + 0x100339a4]
push dword [ecx + 4]
call fcn.1004e72a
add esp, 4
mov edx, eax
jmp 0x100331dd
push dword [ecx + 8]
call fcn.1004e707
add esp, 4
mov edx, eax
jmp 0x100331dd
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x1007c428]
movaps xmm0, xmm4
movss xmm2, dword [0x1007c420]
andps xmm3, xmm4
xorps xmm0, xmm3
movaps xmm1, xmm4
cmpltss xmm0, xmm2
andps xmm2, xmm0
orps xmm2, xmm3
addss xmm1, xmm2
subss xmm1, xmm2
movss xmm2, dword [0x1007c398]
movaps xmm0, xmm1
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm2
subss xmm1, xmm0
cvttss2si edx, xmm1
jmp 0x100331dd
xor edx, edx
jmp 0x100331dd
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x1008b440]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov esi, dword [0x1008b440]
mov edi, eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x30]
mov ecx, esi
call edx
cmp edi, eax
jne 0x10033981
mov edi, dword [ebp - 0x8c]
mov eax, dword [0x1008fd0c]
mov edi, dword [edi + 8]
test al, 1
jne 0x1003325a
or eax, 1
mov dword [0x1008fd0c], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x7c]
call fcn.1001c970
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1008fd10
call fcn.1001ce10
add esp, 4
push 0x1006c460
call fcn.1004010d
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x1008fd10]
call eax
mov esi, eax
mov dword [ebp - 0x90], esi
test edi, edi
je 0x100332ed
test esi, esi
je 0x100332ed
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x88], ecx
test ecx, ecx
je 0x100332ed
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, esi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x100332ca
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x100332a4
xor edx, edx
test ecx, ecx
je 0x100332ca
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100332b1
cmp edi, 0xfd0c5087
je 0x100332e5
mov ecx, dword [ebp - 0x88]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x88], ecx
test ecx, ecx
je 0x100332ed
mov esi, dword [ebp - 0x90]
jmp 0x10033286
mov ecx, dword [ebp - 0x88]
jmp 0x100332ef
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x100332f9.4
jmp dword [eax*4 + 0x100339c0]
push dword [ecx + 4]
call fcn.1004ecd6
fstp dword [ebp - 0x88]
movss xmm0, dword [ebp - 0x88]
add esp, 4
jmp 0x1003335d
push dword [ecx + 8]
call fcn.1004ecc3
fstp dword [ebp - 0x88]
movss xmm0, dword [ebp - 0x88]
add esp, 4
jmp 0x1003335d
movss xmm0, dword [ecx + 0xc]
jmp 0x1003335d
movd xmm0, dword [ecx + 0xc]
cvtdq2ps xmm0, xmm0
jmp 0x1003335d
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.10066360
cvtsd2ss xmm0, xmm0
jmp 0x1003335d
xorps xmm0, xmm0
mov eax, dword [ebp - 0x8c]
movss dword [ebp - 0x94], xmm0
mov edi, dword [eax + 8]
mov eax, dword [0x1008fd0c]
test al, 1
jne 0x100333bb
or eax, 1
mov dword [0x1008fd0c], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x7c]
call fcn.1001c970
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1008fd10
call fcn.1001ce10
add esp, 4
push 0x1006c460
call fcn.1004010d
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x1008fd10]
call eax
mov esi, eax
mov dword [ebp - 0x90], esi
test edi, edi
je 0x1003344e
test esi, esi
je 0x1003344e
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x88], ecx
test ecx, ecx
je 0x1003344e
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, esi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x1003342b
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10033405
xor edx, edx
test ecx, ecx
je 0x1003342b
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10033412
cmp edi, 0xfc0c4ef4
je 0x10033446
mov ecx, dword [ebp - 0x88]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x88], ecx
test ecx, ecx
je 0x1003344e
mov esi, dword [ebp - 0x90]
jmp 0x100333e7
mov ecx, dword [ebp - 0x88]
jmp 0x10033450
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1003345a.4
jmp dword [eax*4 + 0x100339dc]
push dword [ecx + 4]
call fcn.1004ecd6
fstp dword [ebp - 0x88]
movss xmm0, dword [ebp - 0x88]
add esp, 4
jmp 0x100334be
push dword [ecx + 8]
call fcn.1004ecc3
fstp dword [ebp - 0x88]
movss xmm0, dword [ebp - 0x88]
add esp, 4
jmp 0x100334be
movss xmm0, dword [ecx + 0xc]
jmp 0x100334be
movd xmm0, dword [ecx + 0xc]
cvtdq2ps xmm0, xmm0
jmp 0x100334be
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.10066360
cvtsd2ss xmm0, xmm0
jmp 0x100334be
xorps xmm0, xmm0
mov eax, dword [ebp - 0x8c]
movss dword [ebp - 0x90], xmm0
mov edi, dword [eax + 8]
mov eax, dword [0x1008fd0c]
test al, 1
jne 0x1003351c
or eax, 1
mov dword [0x1008fd0c], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x7c]
call fcn.1001c970
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1008fd10
call fcn.1001ce10
add esp, 4
push 0x1006c460
call fcn.1004010d
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x1008fd10]
call eax
mov esi, eax
mov dword [ebp - 0x88], esi
test edi, edi
je 0x100335bc
test esi, esi
je 0x100335bc
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x8c], ecx
test ecx, ecx
je 0x100335bc
nop dword [eax]
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, esi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x10033599
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x10033570
xor edx, edx
test ecx, ecx
je 0x10033599
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10033580
cmp edi, 0xff0c53ad
je 0x100335b4
mov ecx, dword [ebp - 0x8c]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x8c], ecx
test ecx, ecx
je 0x100335bc
mov esi, dword [ebp - 0x88]
jmp 0x10033550
mov ecx, dword [ebp - 0x8c]
jmp 0x100335be
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x100335c8.4
jmp dword [eax*4 + 0x100339f8]
push dword [ecx + 4]
call fcn.1004ecd6
fstp dword [ebp - 0x8c]
movss xmm2, dword [ebp - 0x8c]
add esp, 4
jmp 0x1003362f
push dword [ecx + 8]
call fcn.1004ecc3
fstp dword [ebp - 0x8c]
movss xmm2, dword [ebp - 0x8c]
add esp, 4
jmp 0x1003362f
movss xmm2, dword [ecx + 0xc]
jmp 0x1003362f
movd xmm2, dword [ecx + 0xc]
cvtdq2ps xmm2, xmm2
jmp 0x1003362f
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.10066360
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm0
jmp 0x1003362f
xorps xmm2, xmm2
mov ecx, dword [0x1008b674]
mov eax, dword [0x1008faf0]
add ecx, 0xffffffc2
xor ecx, 0x99fdc925
movss dword [ebp - 0x88], xmm2
movd xmm4, dword [ecx + eax]
mov eax, dword [0x1008b49c]
cvtdq2ps xmm4, xmm4
mulss xmm4, dword [eax + 0x20]
mov eax, dword [0x1008bf28]
test eax, eax
je 0x10033981
mov ecx, dword [0x1008bf24]
xor edi, edi
movss xmm3, dword [0x1007c424]
lea edx, [eax + ecx]
mov dword [ebp - 0x8c], edx
cmp ecx, edx
je 0x10033981
mov esi, dword [0x1008bf20]
movss xmm2, dword [0x1007c398]
nop dword [eax]
mov edx, dword [0x1008bf1c]
lea eax, [esi - 1]
and eax, ecx
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 0x8c]
cmp byte [eax + 0x1c], 0
jne 0x100336df
movss xmm1, dword [eax + 8]
movaps xmm0, xmm4
addss xmm1, dword [eax + 4]
subss xmm0, xmm1
call fcn.1002ed40
comiss xmm0, xmm2
ja 0x100336df
comiss xmm3, xmm0
jbe 0x100336df
movaps xmm3, xmm0
mov edi, eax
inc ecx
cmp ecx, edx
jne 0x100336a0
movss xmm2, dword [ebp - 0x88]
test edi, edi
je 0x10033981
movss xmm0, dword [ebp - 0x94]
mov byte [edi + 0x1c], 1
mov ecx, dword [0x1008b674]
mov eax, dword [0x1008faf0]
add ecx, 0xffffffc2
xor ecx, 0x99fdc925
movss dword [ebp - 0x7c], xmm0
movss xmm0, dword [ebp - 0x90]
mov dword [ebp - 0x84], edi
movss dword [ebp - 0x78], xmm0
mov eax, dword [ecx + eax]
mov ecx, dword [0x1008bf40]
mov dword [ebp - 0x80], eax
mov eax, dword [0x1008bf48]
inc eax
movss dword [ebp - 0x74], xmm2
cmp ecx, eax
ja 0x10033758
push ecx
mov ecx, 0x1008bf38
call fcn.10034bf0
mov ecx, dword [0x1008bf40]
lea eax, [ecx - 1]
mov esi, eax
and esi, dword [0x1008bf44]
mov dword [0x1008bf44], esi
cmove esi, ecx
mov ecx, dword [0x1008bf3c]
dec esi
and eax, esi
mov dword [ebp - 0x8c], eax
cmp dword [ecx + eax*4], 0
jne 0x100337a2
push 0x14
call fcn.1003fcc3
mov ecx, dword [0x1008bf3c]
add esp, 4
mov edx, dword [ebp - 0x8c]
mov dword [ecx + edx*4], eax
mov eax, edx
mov ecx, dword [0x1008bf3c]
mov ecx, dword [ecx + eax*4]
movups xmm0, xmmword [ebp - 0x84]
mov eax, dword [ebp - 0x74]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov eax, dword [0x1008bf48]
inc eax
mov dword [0x1008bf44], esi
mov dword [0x1008bf48], eax
cmp eax, 0x80
jbe 0x100337ed
nop dword [eax]
sub eax, 1
mov ecx, 0
cmove esi, ecx
cmp eax, 0x80
ja 0x100337d0
mov dword [0x1008bf44], esi
mov dword [0x1008bf48], eax
mov edx, dword [edi]
test edx, edx
je 0x10033981
mov eax, dword [0x1008b64c]
add eax, 0xffffffcc
xor eax, 0x99fdc91b
cmp dword [eax + edx], 0
jne 0x10033981
movss xmm4, dword [ebp - 0x94]
movss xmm3, dword [ebp - 0x90]
movss xmm5, dword [edi + 0x10]
movss xmm6, dword [edi + 0x14]
subss xmm4, xmm5
movss xmm2, dword [ebp - 0x88]
subss xmm3, xmm6
movss xmm7, dword [edi + 0x18]
subss xmm2, xmm7
movaps xmm1, xmm4
movaps xmm0, xmm3
mulss xmm1, xmm4
mulss xmm0, xmm3
addss xmm0, xmm1
movaps xmm1, xmm2
mulss xmm1, xmm2
addss xmm0, xmm1
call fcn.10025d10
addss xmm0, dword [0x1007c358]
movss xmm1, dword [0x1007c41c]
mov dword [ebp - 0xd4], 0
mov byte [ebp - 0xab], 1
divss xmm3, xmm0
divss xmm4, xmm0
divss xmm2, xmm0
mulss xmm3, xmm1
mulss xmm4, xmm1
addss xmm3, xmm6
mulss xmm2, xmm1
addss xmm4, xmm5
addss xmm2, xmm7
subss xmm3, xmm6
subss xmm4, xmm5
subss xmm2, xmm7
movss dword [ebp - 0xdc], xmm3
mulss xmm3, xmm3
movss dword [ebp - 0xe0], xmm4
mulss xmm4, xmm4
movss dword [ebp - 0xd8], xmm2
mulss xmm2, xmm2
addss xmm3, xmm4
addss xmm3, xmm2
ucomiss xmm3, dword [0x1007c348]
lahf
test ah, 0x44
jp 0x100338f4
mov byte [ebp - 0xab], 0
mov ecx, dword [0x1008b45c]
lea esi, [ebp - 0x70]
push esi
mov dword [ebp - 0xb0], 0
mov byte [ebp - 0xac], 1
movss dword [ebp - 0xf0], xmm5
movss dword [ebp - 0xec], xmm6
movss dword [ebp - 0xe8], xmm7
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xc0], 0
mov eax, dword [ecx]
push edx
push 0x4600400b
lea edx, [ebp - 0xf0]
mov eax, dword [eax + 0xc]
push edx
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1003fca7
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4