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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
mov eax, dword [0x100af00c]
xor eax, esp
mov dword [esp + 0x2c], eax
push esi
mov esi, dword [0x100dd894]
push edi
test esi, esi
je 0x1007c5df
cmp dword [0x100dd88c], 0
je 0x1007c5df
cmp dword [0x100dd890], 0x1f
je 0x1007c5df
mov edi, dword [0x100dd4e0]
test edi, edi
je 0x1007c5df
cmp byte [0x100dd4e4], 0
je 0x1007c5df
test byte [0x100dd8f4], 2
jne 0x1007c5df
test byte [0x100dd4e8], 1
je 0x1007c5df
cmp byte [0x100dfc54], 0
je 0x1007c5df
mov eax, dword [0x100dfd08]
mov ecx, eax
mov edx, dword [0x100dfd0c]
cmp ecx, edx
je 0x1007c21d
cmp dword [ecx], 0
je 0x1007c242
add ecx, 4
cmp ecx, edx
jne 0x1007c211
cmp eax, edx
je 0x1007c5df
cmp dword [eax], 1
je 0x1007c25c
add eax, 4
cmp eax, edx
jne 0x1007c225
pop edi
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.10095741
mov esp, ebp
pop ebp
ret
cmp ecx, edx
je 0x1007c21d
call fcn.1007bf10
pop edi
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.10095741
mov esp, ebp
pop ebp
ret
cmp eax, edx
je 0x1007c5df
mov eax, dword [0x100f56b0]
add eax, 0xffffffb7
xor eax, 0x8d9bebb3
cmp byte [eax + edi], 0
jbe 0x1007c281
movss xmm0, dword [esi + 0x130]
jmp 0x1007c289
movss xmm0, dword [esi + 0x12c]
mulss xmm0, dword [0x100a5330]
call fcn.1002b0f0
mov ecx, dword [0x100f5628]
movaps xmm4, xmm0
lea eax, [ecx - 0x27]
xor eax, 0x8d9beb91
movss xmm1, dword [eax + edi + 4]
movss xmm0, dword [eax + edi]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.1001e880
comiss xmm4, xmm0
jbe 0x1007c33c
mov eax, dword [0x100dd8e8]
movss xmm3, dword [eax + 0x28]
movss xmm2, dword [eax + 0x24]
movaps xmm0, xmm3
movaps xmm1, xmm2
mulss xmm0, xmm3
and dword [eax + 0x30], 0xfffdffff
mulss xmm1, xmm2
addss xmm1, xmm0
sqrtss xmm1, xmm1
comiss xmm1, dword [0x100a5480]
jbe 0x1007c5df
comiss xmm1, xmm4
jbe 0x1007c5df
divss xmm2, xmm1
divss xmm3, xmm1
movaps xmm0, xmm1
minss xmm0, xmm4
mulss xmm2, xmm0
mulss xmm3, xmm0
movss dword [eax + 0x24], xmm2
movss dword [eax + 0x28], xmm3
pop edi
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.10095741
mov esp, ebp
pop ebp
ret
lea eax, [ecx - 0x27]
xor eax, 0x8d9beb91
movq xmm0, qword [eax + edi]
mov eax, dword [eax + edi + 8]
movq qword [esp + 0x1c], xmm0
movss xmm3, dword [esp + 0x1c]
movss xmm4, dword [esp + 0x20]
mov dword [esp + 0x24], eax
movaps xmm1, xmm4
mov eax, dword [0x100dd8e8]
mulss xmm1, xmm4
movq xmm0, qword [eax + 0xc]
movq qword [esp + 0x28], xmm0
movaps xmm0, xmm3
mov eax, dword [eax + 0x14]
mulss xmm0, xmm3
mov dword [esp + 0x30], eax
addss xmm0, xmm1
call fcn.1001e880
movaps xmm2, xmm0
xorps xmm1, xmm1
comiss xmm2, xmm1
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x10], xmm1
jbe 0x1007c3e0
xorps xmm0, xmmword [0x100a5650]
movaps xmm1, xmm2
call fcn.1001e810
mulss xmm0, dword [0x100a54b8]
movaps xmm1, xmm3
movss dword [esp + 0xc], xmm0
movaps xmm0, xmm4
call fcn.1001e810
mulss xmm0, dword [0x100a54b8]
movss dword [esp + 0x10], xmm0
jmp 0x1007c3fd
comiss xmm0, xmm1
jbe 0x1007c3ef
movss xmm0, dword [0x100a55cc]
jmp 0x1007c3f7
movss xmm0, dword [0x100a54e4]
movss dword [esp + 0xc], xmm0
mov ecx, dword [0x100f5408]
lea edx, [esp + 0x28]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
call eax
movss xmm0, dword [esp + 0xc]
mulss xmm0, dword [0x100a52c0]
call fcn.1001e840
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 0x2c]
subss xmm0, dword [esp + 0x10]
mulss xmm0, dword [0x100a52c0]
movss dword [esp + 0x10], xmm0
call fcn.1001e840
mulss xmm0, dword [esp + 0xc]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x10]
call fcn.1001e870
mulss xmm0, dword [esp + 0xc]
mov ecx, dword [0x100fadd4]
movss dword [esp + 0x14], xmm0
test cl, 1
jne 0x1007c4f8
or ecx, 1
mov dword [0x100fadd4], ecx
mov eax, dword [0x100f5404]
mov eax, dword [eax + 0x30]
mov dword [esp + 0xc], eax
test eax, eax
je 0x1007c4de
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x1007c4a0
xor edx, edx
test ecx, ecx
je 0x1007c4cd
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1007c4b0
mov eax, dword [esp + 0xc]
cmp esi, 0x7939b3a7
je 0x1007c4eb
mov eax, dword [eax + 4]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x1007c492
mov ecx, dword [0x100fadd4]
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [0x100fadc8], eax
jmp 0x1007c501
mov ecx, dword [0x100fadd4]
mov dword [0x100fadc8], eax
jmp 0x1007c501
mov eax, dword [0x100fadc8]
mov dword [esp + 0xc], eax
test cl, 2
jne 0x1007c56f
or ecx, 2
mov dword [0x100fadd4], ecx
mov eax, dword [0x100f5404]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x10], eax
test eax, eax
je 0x1007c568
nop
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x1007c530
xor edx, edx
test ecx, ecx
je 0x1007c55d
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1007c540
mov eax, dword [esp + 0x10]
cmp esi, 0xda6a172f
je 0x1007c56a
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1007c520
xor eax, eax
mov dword [0x100fadd0], eax
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x10], eax
call dword [esp + 0x10]
mov ecx, dword [0x100fadd0]
fstp dword [esp + 0x10]
movss xmm0, dword [esp + 0x10]
xorps xmm0, xmmword [0x100a5650]
mov eax, dword [ecx]
movss dword [esp + 0xc], xmm0
mov eax, dword [eax + 0x30]
mov dword [esp + 0x10], eax
call dword [esp + 0x10]
movss xmm1, dword [esp + 0x18]
mov eax, dword [0x100dd8e8]
fmul dword [esp + 0x14]
mulss xmm1, dword [esp + 0xc]
movss dword [eax + 0x24], xmm1
mov eax, dword [0x100dd8e8]
fstp dword [esp + 0x14]
movss xmm0, dword [esp + 0x14]
xorps xmm0, xmmword [0x100a5650]
movss dword [eax + 0x28], xmm0
mov ecx, dword [esp + 0x34]
pop edi
pop esi
xor ecx, esp
call fcn.10095741
mov esp, ebp
pop ebp
ret