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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 8], esi
cmp dword [esi + 0xc], 0
je 0x1002e64c
cmp dword [esi + 0x408], 0
je 0x1002e64c
mov ecx, dword [0x101a50bc]
xorps xmm2, xmm2
test cl, 1
jne 0x1002e30e
or ecx, 1
xorps xmm0, xmm0
mov dword [0x101a50bc], ecx
xorps xmm1, xmm1
movss dword [0x101a50f0], xmm0
movss dword [0x101a50f4], xmm1
mov dword [0x101a50f8], 0
jmp 0x1002e31e
movss xmm1, dword [0x101a50f4]
movss xmm0, dword [0x101a50f0]
mov eax, dword [esi + 0x408]
movss xmm3, dword [eax + 0xc]
subss xmm3, xmm0
movss xmm0, dword [eax + 0x10]
subss xmm0, xmm1
minss xmm3, dword [0x100ae248]
minss xmm0, dword [0x100ae280]
maxss xmm3, dword [0x100ae308]
maxss xmm0, dword [0x100ae310]
movss dword [ebp - 0x14], xmm3
movss dword [ebp - 0x10], xmm0
test cl, 2
jne 0x1002e3e4
or ecx, 2
mov dword [0x101a50bc], ecx
mov ebx, dword [0x1019f304]
mov ebx, dword [ebx + 0x30]
test ebx, ebx
je 0x1002e3c9
nop dword [eax + eax]
mov esi, dword [ebx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x1002e390
xor edx, edx
test ecx, ecx
je 0x1002e3b9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1002e3a0
cmp edi, 0x7c2d100c
je 0x1002e3d3
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x1002e380
mov ecx, dword [0x101a50bc]
mov esi, dword [ebp - 8]
xor ebx, ebx
mov dword [0x101a50cc], ebx
jmp 0x1002e3ea
mov ecx, dword [0x101a50bc]
mov esi, dword [ebp - 8]
mov dword [0x101a50cc], ebx
jmp 0x1002e3ea
mov ebx, dword [0x101a50cc]
test ebx, ebx
je 0x1002e64c
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jnp 0x1002e50a
test cl, 4
jne 0x1002e468
or ecx, 4
mov dword [0x101a50bc], ecx
mov eax, dword [0x1019f304]
mov ebx, dword [eax + 0x30]
jmp 0x1002e45c
mov esi, dword [ebx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x1002e430
xor edx, edx
test ecx, ecx
je 0x1002e459
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1002e440
cmp edi, 0x12ac36d1
je 0x1002e460
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x1002e420
mov dword [0x101a50c0], ebx
jmp 0x1002e46e
mov ebx, dword [0x101a50c0]
test ebx, ebx
je 0x1002e64c
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 - 0x14]
mov ecx, dword [0x101a50cc]
fstp dword [ebp - 0xc]
divss xmm0, dword [ebp - 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 4], eax
movss dword [ebp - 0x14], xmm0
call dword [ebp - 4]
movss xmm0, dword [ebp - 0x14]
movss dword [ebp - 4], xmm0
fdivr dword [ebp - 4]
fstp dword [ebp - 4]
cvttss2si ecx, dword [ebp - 4]
cmp ecx, 0x7fff
jg 0x1002e4f0
cmp ecx, 0xffff8000
jl 0x1002e4e9
cmp ecx, 1
jge 0x1002e4db
test ecx, ecx
js 0x1002e4db
mov ecx, 1
jmp 0x1002e4f5
cmp ecx, 0xffffffff
jle 0x1002e4f5
test ecx, ecx
jg 0x1002e4f5
or ecx, 0xffffffff
jmp 0x1002e4f5
mov ecx, 0x8000
jmp 0x1002e4f5
mov ecx, 0x7fff
mov esi, dword [ebp - 8]
xorps xmm2, xmm2
movss xmm0, dword [ebp - 0x10]
mov eax, dword [esi + 0x408]
mov word [eax + 0x44], cx
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1002e61f
mov eax, dword [0x101a50bc]
test al, 8
jne 0x1002e588
or eax, 8
mov dword [0x101a50bc], eax
mov eax, dword [0x1019f304]
mov ebx, dword [eax + 0x30]
test ebx, ebx
je 0x1002e573
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + edi], 0
jne 0x1002e540
xor edx, edx
test ecx, ecx
je 0x1002e569
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1002e550
cmp esi, 0x53453c88
je 0x1002e57d
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x1002e534
mov esi, dword [ebp - 8]
xor ebx, ebx
mov dword [0x101a50b8], ebx
jmp 0x1002e58e
mov esi, dword [ebp - 8]
mov dword [0x101a50b8], ebx
jmp 0x1002e58e
mov ebx, dword [0x101a50b8]
test ebx, ebx
je 0x1002e64c
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x30]
mov dword [ebp - 4], eax
call dword [ebp - 4]
movss xmm0, dword [ebp - 0x10]
mov ecx, dword [0x101a50cc]
fstp dword [ebp - 4]
divss xmm0, dword [ebp - 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0xc], eax
movss dword [ebp - 0x10], xmm0
call dword [ebp - 0xc]
movss xmm0, dword [ebp - 0x10]
movss dword [ebp - 4], xmm0
fdivr dword [ebp - 4]
fstp dword [ebp - 4]
cvttss2si ecx, dword [ebp - 4]
cmp ecx, 0x7fff
jg 0x1002e610
cmp ecx, 0xffff8000
jl 0x1002e609
cmp ecx, 1
jge 0x1002e5fb
test ecx, ecx
js 0x1002e5fb
mov ecx, 1
jmp 0x1002e615
cmp ecx, 0xffffffff
jle 0x1002e615
test ecx, ecx
jg 0x1002e615
or ecx, 0xffffffff
jmp 0x1002e615
mov ecx, 0x8000
jmp 0x1002e615
mov ecx, 0x7fff
mov eax, dword [esi + 0x408]
mov word [eax + 0x44], cx
mov eax, dword [esi + 0x408]
movss xmm0, dword [eax + 0xc]
movss dword [0x101a50f0], xmm0
movss xmm0, dword [eax + 0x10]
movss dword [0x101a50f4], xmm0
movss xmm0, dword [eax + 0x14]
movss dword [0x101a50f8], xmm0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret