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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
mov eax, dword [0x100c2380]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [0x1012fff4]
push esi
push edi
cmp eax, 0xffffffff
je 0x1008ca12
lea eax, [eax + eax*2]
mov al, byte [eax*4 + 0x10138c18]
test al, al
jne 0x1008ce6e
mov ecx, dword [0x10141348]
test ecx, ecx
je 0x1008ce6e
cmp byte [0x1014134c], 0
je 0x1008ce6e
cmp byte [0x101281d3], 0
je 0x1008ce6e
mov eax, dword [0x1013bea0]
add eax, 0xffffffc6
mov byte [0x101281d3], 0
xor eax, 0x280eb30d
test byte [eax + ecx], 1
je 0x1008ce6e
mov eax, dword [0x1013bf58]
add eax, 0xffffff98
xor eax, 0x280eb33b
mov eax, dword [eax + ecx]
mov ecx, dword [0x1013bc10]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
mov esi, eax
test esi, esi
je 0x1008ce6e
mov ecx, dword [esi]
mov edx, dword [ecx + 0x6f8]
mov ecx, esi
call edx
test eax, eax
je 0x1008ce6e
mov ecx, dword [0x1013bf9c]
add ecx, 0xffffff87
xor ecx, 0x280eb34c
cmp dword [ecx + esi], 0
jne 0x1008cab7
movss xmm0, dword [eax + 0x12c]
jmp 0x1008cabf
movss xmm0, dword [eax + 0x130]
mov eax, dword [0x1013be58]
add eax, 0xffffffd8
movss dword [esp + 0xc], xmm0
xor eax, 0x280eb2fb
add eax, dword [0x10141348]
movq xmm0, qword [eax]
movq qword [esp + 0x1c], xmm0
movss xmm1, dword [esp + 0x20]
movss xmm0, dword [esp + 0x1c]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.100205a0
mov eax, dword [0x10146920]
movss dword [esp + 0x10], xmm0
test al, 1
jne 0x1008cb7e
or eax, 1
mov dword [0x10146920], eax
mov eax, dword [0x1013bc08]
mov eax, dword [eax + 0x30]
mov dword [esp + 8], eax
test eax, eax
je 0x1008cb68
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [edi + ecx], 0
jne 0x1008cb30
xor edx, edx
test ecx, ecx
je 0x1008cb5d
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1008cb40
cmp esi, 0xe01f2035
je 0x1008cb72
mov eax, dword [esp + 8]
mov eax, dword [eax + 4]
mov dword [esp + 8], eax
test eax, eax
jne 0x1008cb26
xor ecx, ecx
mov dword [0x1014691c], ecx
jmp 0x1008cb84
mov ecx, dword [esp + 8]
mov dword [0x1014691c], ecx
jmp 0x1008cb84
mov ecx, dword [0x1014691c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
mov ecx, dword [0x1013bcd4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
movss xmm5, dword [esp + 0xc]
fstp st(0)
mulss xmm5, dword [0x100b8170]
movss xmm2, dword [esp + 0x10]
comiss xmm2, xmm5
jbe 0x1008ce04
xorps xmm0, xmm0
mov dword [esp + 0x28], 0
comiss xmm2, xmm0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
movss dword [esp + 8], xmm0
jbe 0x1008cc16
movss xmm1, dword [esp + 0x1c]
movss xmm0, dword [esp + 0x20]
call fcn.10020550
mulss xmm0, dword [0x100b82a4]
movaps xmm1, xmm2
movss dword [esp + 8], xmm0
movss xmm0, dword [0x100b8370]
call fcn.10020550
mulss xmm0, dword [0x100b81c8]
jmp 0x1008cc1e
movss xmm0, dword [0x100b81e0]
mov ecx, dword [0x1013bc0c]
lea edx, [esp + 0x28]
push edx
movss dword [esp + 0x10], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
call eax
movss xmm0, dword [esp + 0xc]
call fcn.10020580
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 0x2c]
subss xmm0, dword [esp + 8]
mulss xmm0, dword [0x100b811c]
movss dword [esp + 0x10], xmm0
call fcn.10020580
mulss xmm0, dword [esp + 0xc]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x10]
call fcn.10020590
mulss xmm0, dword [esp + 0xc]
mov ecx, dword [0x10146920]
movss dword [esp + 0x14], xmm0
test cl, 2
jne 0x1008cd18
or ecx, 2
mov dword [0x10146920], ecx
mov eax, dword [0x1013bc08]
mov eax, dword [eax + 0x30]
mov dword [esp + 8], eax
test eax, eax
je 0x1008ccfe
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax + eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x1008ccc0
xor edx, edx
test ecx, ecx
je 0x1008cced
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1008ccd0
mov eax, dword [esp + 8]
cmp edi, 0x7939b3a7
je 0x1008cd0b
mov eax, dword [eax + 4]
mov dword [esp + 8], eax
test eax, eax
jne 0x1008ccb1
mov ecx, dword [0x10146920]
xor eax, eax
mov dword [esp + 8], eax
mov dword [0x10146924], eax
jmp 0x1008cd21
mov ecx, dword [0x10146920]
mov dword [0x10146924], eax
jmp 0x1008cd21
mov eax, dword [0x10146924]
mov dword [esp + 8], eax
test cl, 4
jne 0x1008cd8f
or ecx, 4
mov dword [0x10146920], ecx
mov eax, dword [0x1013bc08]
mov eax, dword [eax + 0x30]
mov dword [esp + 0xc], eax
test eax, eax
je 0x1008cd88
nop
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x1008cd50
xor edx, edx
test ecx, ecx
je 0x1008cd7d
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1008cd60
mov eax, dword [esp + 0xc]
cmp edi, 0xda6a172f
je 0x1008cd8a
mov eax, dword [eax + 4]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x1008cd40
xor eax, eax
mov dword [0x10146928], eax
mov ecx, dword [esp + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x10], eax
call dword [esp + 0x10]
mov ecx, dword [0x10146928]
fstp dword [esp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x10], eax
call dword [esp + 0x10]
movss xmm0, dword [esp + 0xc]
mulss xmm0, dword [esp + 0x18]
mov eax, dword [0x10143318]
fmul dword [esp + 0x14]
xorps xmm0, xmmword [0x100b8430]
movss dword [eax + 0x24], xmm0
mov eax, dword [0x10143318]
fstp dword [esp + 0x14]
movss xmm2, dword [esp + 0x14]
xorps xmm2, xmmword [0x100b8430]
movss dword [eax + 0x28], xmm2
pop edi
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.100a2d7c
mov esp, ebp
pop ebp
ret
mov eax, dword [0x10143318]
xorps xmm2, xmm2
movss xmm3, dword [eax + 0x28]
movss xmm4, dword [eax + 0x24]
movaps xmm0, xmm3
movaps xmm1, xmm4
mulss xmm0, xmm3
and dword [eax + 0x30], 0xfffdffff
mulss xmm1, xmm4
addss xmm1, xmm0
sqrtss xmm2, xmm1
comiss xmm2, dword [0x100b8278]
jbe 0x1008ce6e
comiss xmm2, xmm5
jbe 0x1008ce6e
movss xmm1, dword [0x100b81cc]
divss xmm1, xmm2
minss xmm2, xmm5
movaps xmm0, xmm1
mulss xmm1, xmm3
mulss xmm0, xmm4
mulss xmm1, xmm2
mulss xmm0, xmm2
movss dword [eax + 0x28], xmm1
movss dword [eax + 0x24], xmm0
mov ecx, dword [esp + 0x34]
pop edi
pop esi
xor ecx, esp
call fcn.100a2d7c
mov esp, ebp
pop ebp
ret