Function at 0x10030ea0
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 0x101d3d83
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x108
mov eax, dword [0x1021b380]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x98], eax
mov byte [eax + 3], 0
cmp byte [0x1029fd74], 0
jne 0x100313ae
cmp byte [0x1029fc30], 0
je 0x100313ae
mov eax, dword [0x1070020c]
add eax, 0x5eba160d
xor eax, 0xa5d9832d
cmp dword [eax + 4], 3
jl 0x100313ae
cmp byte [0x1029fc54], 0
jne 0x100313ae
cmp byte [0x1029fc78], 0
jne 0x100313ae
cmp byte [0x1029fc9c], 0
jne 0x100313ae
mov eax, dword [0x107001f0]
movss xmm0, dword [0x10207b78]
add eax, 0xd5bd03c9
xor eax, 0xde9a561b
movss dword [ebp - 0x90], xmm0
movss dword [ebp - 0x7c], xmm0
mov ecx, dword [eax + 0x14c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x107001f0]
mov edx, eax
add ecx, 0xd5bd03c9
mov dword [ebp - 0x88], edx
xor ecx, 0xde9a561b
mov eax, dword [ecx + 0x14c]
mov ecx, dword [0x102b7028]
mov dword [ebp - 0x8c], eax
test cl, 1
jne 0x10031114
or ecx, 1
mov dword [0x102b7028], ecx
mov dword [ebp - 4], 0
mov eax, dword [0x102b3e88]
mov dword [ebp - 0x78], eax
cmp eax, dword [0x102b3e8c]
je 0x1003101a
nop dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x74], ecx
test ecx, ecx
je 0x1003100c
mov edi, dword [ecx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [edi + ecx], 0
jne 0x10030fe3
xor edx, edx
test ecx, ecx
je 0x1003100c
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10030ff0
cmp esi, 0x4e9f1122
je 0x10031033
mov eax, dword [ebp - 0x78]
add eax, 4
mov dword [ebp - 0x78], eax
cmp eax, dword [0x102b3e8c]
jne 0x10030fd0
mov edx, dword [ebp - 0x88]
xor eax, eax
mov dword [0x102b6fe8], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10031119
mov eax, dword [ebp - 0x74]
xor edi, edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x80], edi
cmp dword [eax + 4], edi
jle 0x100310de
xor ecx, ecx
mov dword [ebp - 0x84], ecx
nop
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x94], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10031087
cmp dword [ecx + 4], 0
jle 0x10031087
push 0
mov edx, 0x4cdd3467
call fcn.1012aec0
add esp, 4
test eax, eax
je 0x10031084
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x78], edi
mov eax, dword [ebp - 0x74]
mov edi, dword [esi]
xor ecx, ecx
mov esi, 0x811c9dc5
inc ecx
cmp byte [edi + ecx], 0
jne 0x10031090
xor edx, edx
test ecx, ecx
je 0x100310bc
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100310a0
cmp esi, 0x4cdd3467
je 0x100310f4
mov eax, dword [ebp - 0x74]
mov edx, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x84]
inc edx
mov edi, dword [ebp - 0x78]
add ecx, 0x3c
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x84], ecx
cmp edx, dword [eax + 4]
jl 0x10031050
mov edx, dword [ebp - 0x88]
mov eax, edi
mov dword [0x102b6fe8], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10031119
mov eax, dword [ebp - 0x94]
mov edx, dword [ebp - 0x88]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x78]
mov dword [0x102b6fe8], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10031119
mov eax, dword [0x102b6fe8]
mov ecx, dword [ebp - 0x8c]
movss xmm2, dword [edx + 4]
movss xmm1, dword [edx]
movss dword [ebp - 0x80], xmm2
movss xmm0, dword [ecx + eax + 8]
mulss xmm0, dword [0x102077ec]
movss dword [ebp - 0xac], xmm2
xorps xmm2, xmm2
movss dword [ebp - 0x84], xmm1
addss xmm0, dword [edx + 8]
movss dword [ebp - 0xb0], xmm1
movss dword [ebp - 0x74], xmm2
movss dword [ebp - 0x88], xmm0
movss dword [ebp - 0xa8], xmm0
movss dword [ebp - 0x9c], xmm0
movaps xmm0, xmm2
call fcn.1002d510
mulss xmm0, dword [0x102079d4]
movss dword [ebp - 0x8c], xmm0
movss xmm0, dword [ebp - 0x74]
call fcn.1002d530
mulss xmm0, dword [0x102079d4]
push 1
movss xmm2, dword [ebp - 0x84]
movss xmm1, dword [ebp - 0x80]
addss xmm2, dword [ebp - 0x8c]
addss xmm1, xmm0
mov dword [ebp - 0xbc], 0x10201878
movss dword [ebp - 0xa4], xmm2
movss dword [ebp - 0xa0], xmm1
call fcn.101d08e6
mov ecx, dword [0x107001f0]
xorps xmm0, xmm0
add ecx, 0xd5bd03c9
mov dword [ebp - 0xb4], eax
xor ecx, 0xde9a561b
add esp, 4
mov eax, dword [ecx + 0x14c]
mov dword [ebp - 0xb8], eax
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x50], 0
movups xmmword [ebp - 0x60], xmm0
mov edi, dword [ecx + 0x110]
lea ecx, [ebp - 0x110]
mov eax, dword [edi]
mov esi, dword [eax + 0x14]
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.1002d560
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0xbc]
push ecx
push 9
push eax
mov ecx, edi
call esi
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x10031279
mov eax, dword [ecx]
mov eax, dword [eax + 0x278]
call eax
test al, al
jne 0x1003131f
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx]
mov eax, dword [eax + 0x298]
call eax
test al, al
jne 0x1003131f
movss xmm0, dword [0x1020785c]
comiss xmm0, dword [ebp - 0x44]
jbe 0x1003131f
movss xmm0, dword [ebp - 0x64]
subss xmm0, dword [ebp - 0x84]
movss xmm1, dword [0x102078a8]
call fcn.1002d520
movss xmm1, dword [0x102078a8]
movss dword [ebp - 0x78], xmm0
movss xmm0, dword [ebp - 0x60]
subss xmm0, dword [ebp - 0x80]
call fcn.1002d520
movss xmm1, dword [ebp - 0x78]
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x5c]
subss xmm0, dword [ebp - 0x88]
movss dword [ebp - 0x78], xmm1
movss xmm1, dword [0x102078a8]
call fcn.1002d520
addss xmm0, dword [ebp - 0x78]
call fcn.1000d600
movss xmm1, dword [ebp - 0x90]
comiss xmm1, xmm0
movss xmm2, dword [ebp - 0x74]
jbe 0x10031324
movaps xmm1, xmm2
movss dword [ebp - 0x90], xmm0
mulss xmm1, dword [0x10207a0c]
movss dword [ebp - 0x7c], xmm1
jmp 0x10031329
movss xmm2, dword [ebp - 0x74]
movss xmm1, dword [ebp - 0x7c]
addss xmm2, dword [0x102077b4]
movsd xmm3, qword [0x102078d0]
cvtps2pd xmm0, xmm2
movss dword [ebp - 0x74], xmm2
comisd xmm3, xmm0
jae 0x10031178
ucomiss xmm1, dword [0x10207b78]
lahf
test ah, 0x44
jnp 0x100313ae
cmp dword [0x1029c7d4], 0
movss xmm2, dword [0x10207ab0]
jle 0x1003136d
subss xmm1, xmm2
mov eax, dword [ebp - 0x98]
movss xmm3, dword [0x10207c1c]
comiss xmm3, xmm1
mov byte [eax + 3], 1
movss xmm0, dword [0x10207afc]
jbe 0x10031399
nop dword [eax]
addss xmm1, xmm0
comiss xmm3, xmm1
ja 0x10031390
comiss xmm1, xmm2
jbe 0x100313a9
nop
subss xmm1, xmm0
comiss xmm1, xmm2
ja 0x100313a0
movss dword [eax + 0x18], xmm1
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.101d03f8
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret