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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x101294a4]
sub esp, 0x10
push ebx
push esi
push edi
test al, 1
jne 0x100c2b3d
or eax, 1
mov dword [0x101294a4], eax
mov ebx, dword [0x10123348]
mov ebx, dword [ebx + 0x30]
test ebx, ebx
je 0x100c2b35
nop word [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 0x100c2b00
xor edx, edx
test ecx, ecx
je 0x100c2b29
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100c2b10
cmp esi, 0x172ab01a
je 0x100c2b53
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x100c2af0
mov eax, dword [0x101294a4]
xor ebx, ebx
mov dword [0x1012948c], ebx
test al, 2
jne 0x100c2ba6
or eax, 2
mov dword [0x101294a4], eax
mov eax, dword [0x10123348]
mov ebx, dword [eax + 0x30]
jmp 0x100c2b9c
mov eax, dword [0x101294a4]
jmp 0x100c2b37
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x100c2b70
xor edx, edx
test ecx, ecx
je 0x100c2b99
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100c2b80
cmp esi, 0xad8af3df
je 0x100c2ba0
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x100c2b60
mov dword [0x10129490], ebx
mov ecx, dword [0x10123674]
mov eax, dword [0x100f5024]
add ecx, 0xffffff9e
xor ecx, 0x920a4915
mov eax, dword [ecx + eax]
mov ecx, dword [0x10123350]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
test eax, eax
je 0x100c2cf7
movss xmm0, dword [ebp + 0x90]
movss xmm1, dword [ebp + 0x94]
mulss xmm0, xmm0
mov dword [ebp + 0x98], 0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.1001da00
comiss xmm0, dword [0x100e9b0c]
movss dword [ebp - 8], xmm0
jb 0x100c2cce
mov ecx, dword [0x10129490]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 4], eax
call dword [ebp - 4]
mov ecx, dword [0x10123624]
mov eax, dword [0x100f5024]
add ecx, 0xffffffb2
xor ecx, 0x920a4901
fstp dword [ebp - 4]
movss xmm0, dword [ebp - 4]
mulss xmm0, dword [ecx + eax]
mov ecx, dword [0x10129490]
movss dword [ebp - 0xc], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 4], eax
call dword [ebp - 4]
movss xmm2, dword [ebp - 8]
mov eax, dword [0x101233ac]
movaps xmm1, xmm2
fstp dword [ebp - 4]
movss xmm0, dword [ebp - 4]
maxss xmm0, xmm2
mulss xmm0, dword [ebp - 0xc]
mulss xmm0, dword [eax + 0x20]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm1, xmm0
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jnp 0x100c2cce
divss xmm1, xmm2
movss xmm0, dword [ebp + 0x90]
mulss xmm0, xmm1
movss dword [ebp + 0x90], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [ebp + 0x94]
mulss xmm1, dword [ebp + 0x98]
movss dword [ebp + 0x94], xmm0
movss dword [ebp + 0x98], xmm1
lea eax, [ebp + 0x90]
push eax
lea eax, [ebp + 0x84]
push eax
lea eax, [ebp + 0x78]
push eax
lea eax, [ebp + 0x6c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.100c2800
mov dword [ebp + 0x98], 0
mov ecx, dword [0x1012948c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0xc], eax
call dword [ebp - 0xc]
pop edi
pop esi
fstp st(0)
pop ebx
mov esp, ebp
pop ebp
ret 0x94