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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1848
call fcn.100b4c10
mov eax, dword [0x100d400c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x1010c3ec]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x183c], eax
push esi
mov eax, dword [ecx]
mov esi, dword [ebp + 8]
push edi
push esi
mov eax, dword [eax + 0xc]
call eax
mov edi, eax
mov dword [ebp - 0x182c], edi
test edi, edi
je 0x1003199e
mov ecx, dword [edi]
mov edx, dword [ecx + 0x260]
mov ecx, edi
call edx
test al, al
je 0x1003199e
mov eax, dword [0x1010c614]
add eax, 0xffffffc9
xor eax, 0x358f6f8
cmp dword [eax + edi], 0
jne 0x1003199e
mov eax, dword [0x1010c5a4]
cmp byte [eax + edi], 0
jne 0x1003199e
mov edx, dword [0x1010c5ec]
mov eax, dword [0x101136b8]
add edx, 0xffffffd3
xor edx, 0x358f6ee
mov ecx, dword [edx + edi]
cmp ecx, dword [edx + eax]
jne 0x1003137e
mov ecx, dword [0x1010c4bc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x1003199e
imul eax, esi, 0x4f4
lea eax, [eax + 0x100d3de8]
mov dword [ebp - 0x1824], eax
test eax, eax
je 0x1003199e
mov eax, dword [eax + 0x18]
test eax, eax
je 0x1003199e
cmp eax, 2
jb 0x1003199e
mov ecx, dword [0x1010c3e8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x1808], eax
test eax, eax
je 0x1003199e
mov ecx, dword [0x101157f8]
test cl, 1
jne 0x10031454
or ecx, 1
mov dword [0x101157f8], ecx
mov eax, dword [0x1010c3e4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1820], eax
test eax, eax
je 0x1003143c
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + edi], 0
jne 0x10031400
xor edx, edx
test ecx, ecx
je 0x1003142f
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10031410
cmp esi, 0x8c8dc452
je 0x10031446
mov eax, dword [ebp - 0x1820]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1820], eax
test eax, eax
jne 0x100313f4
xor ecx, ecx
mov dword [0x101157f4], ecx
jmp 0x1003145a
mov ecx, dword [ebp - 0x1820]
mov dword [0x101157f4], ecx
jmp 0x1003145a
mov ecx, dword [0x101157f4]
test ecx, ecx
je 0x10031475
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x181c], eax
call dword [ebp - 0x181c]
fstp dword [0x10100460]
mov ecx, dword [ebp - 0x1824]
xor edi, edi
mov eax, dword [ecx + 0x18]
add eax, dword [ecx + 0x14]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x1820], eax
test edx, edx
je 0x1003149c
mov edi, dword [edx]
test edi, edi
je 0x1003149a
mov edi, dword [edi]
jmp 0x1003149c
xor edi, edi
lea esi, [eax - 1]
nop
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1828], ecx
cmp eax, ecx
je 0x1003199e
test edi, edi
je 0x100314c5
mov eax, dword [edi]
test eax, eax
je 0x100314c5
mov ecx, dword [eax]
test ecx, ecx
je 0x100314c5
mov ecx, dword [ecx]
jmp 0x100314c7
xor ecx, ecx
mov eax, dword [ecx + 8]
mov edx, esi
dec eax
shr edx, 1
and edx, eax
mov eax, dword [ecx + 4]
mov ecx, esi
and ecx, 1
mov eax, dword [eax + edx*4]
mov eax, dword [eax + ecx*8]
mov dword [ebp - 0x1834], eax
test eax, eax
je 0x1003163e
mov ecx, dword [0x1010c640]
mov eax, dword [0x101136b8]
add ecx, 0xffffffbe
xor ecx, 0x358f703
push 1
mov eax, dword [ecx + eax]
sub eax, dword [0x101136c0]
mov ecx, dword [0x1010c450]
movd xmm0, eax
mov eax, dword [0x1010c444]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
mov eax, dword [ecx]
movss dword [ebp - 0x1838], xmm0
movss xmm0, dword [0x10115580]
addss xmm0, dword [0x1011557c]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x181c], eax
movss dword [ebp - 0x1830], xmm0
call dword [ebp - 0x181c]
mov ecx, dword [0x1010c48c]
fadd dword [ebp - 0x1830]
mov eax, dword [ecx]
fstp dword [ebp - 0x1830]
movss xmm0, dword [ebp - 0x1830]
mov eax, dword [eax + 0x30]
movss dword [ebp - 0x180c], xmm0
mov dword [ebp - 0x181c], eax
call dword [ebp - 0x181c]
movss xmm0, dword [ebp - 0x1830]
lea eax, [ebp - 0x181c]
fstp dword [ebp - 0x181c]
comiss xmm0, dword [ebp - 0x181c]
lea ecx, [ebp - 0x180c]
xorps xmm1, xmm1
cmovbe eax, ecx
movss xmm0, dword [eax]
mov eax, dword [ebp - 0x1834]
maxss xmm0, xmm1
movss xmm1, dword [ebp - 0x1838]
subss xmm1, dword [eax + 0x14]
subss xmm0, xmm1
call fcn.10030e90
movss xmm1, dword [0x100c8fb0]
comiss xmm1, xmm0
jbe 0x1003163e
cmp esi, dword [ebp - 0x1828]
je 0x1003163e
test edi, edi
je 0x1003161f
mov eax, dword [edi]
test eax, eax
je 0x1003161f
mov eax, dword [eax]
test eax, eax
je 0x1003161f
mov eax, dword [eax]
test eax, eax
je 0x1003161f
mov eax, dword [eax]
test eax, eax
je 0x1003161f
mov eax, dword [eax]
test eax, eax
je 0x1003161f
mov eax, dword [eax]
test eax, eax
je 0x1003161f
mov eax, dword [eax]
test eax, eax
je 0x1003161f
mov ecx, dword [eax]
test ecx, ecx
je 0x1003161f
mov ecx, dword [ecx]
jmp 0x10031621
xor ecx, ecx
mov eax, dword [ecx + 8]
lea edx, [esi - 1]
dec eax
shr edx, 1
and edx, eax
mov eax, dword [ecx + 4]
lea ecx, [esi - 1]
and ecx, 1
mov eax, dword [eax + edx*4]
cmp dword [eax + ecx*8], 0
jne 0x10031657
mov eax, dword [ebp - 0x1820]
mov ecx, dword [ebp - 0x1824]
dec eax
mov dword [ebp - 0x1820], eax
dec esi
jmp 0x100314a0
mov ecx, dword [ebp - 0x182c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov esi, dword [ebp - 0x1834]
movss xmm1, dword [esi + 0x20]
movss xmm0, dword [esi + 0x24]
subss xmm0, dword [eax + 4]
subss xmm1, dword [eax]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.10021e60
movss xmm1, dword [0x100c9040]
comiss xmm1, xmm0
ja 0x1003199e
xor eax, eax
test edi, edi
je 0x100316b1
mov eax, dword [edi]
test eax, eax
je 0x100316af
mov eax, dword [eax]
jmp 0x100316b1
xor eax, eax
xor ecx, ecx
xor edx, edx
test eax, eax
je 0x100316c7
mov ecx, dword [eax]
test ecx, ecx
je 0x100316c3
mov ecx, dword [ecx]
jmp 0x100316c5
xor ecx, ecx
mov edx, ecx
xor eax, eax
test edx, edx
je 0x100316d9
mov eax, dword [ecx]
test eax, eax
je 0x100316d7
mov eax, dword [eax]
jmp 0x100316d9
xor eax, eax
xor ecx, ecx
test eax, eax
je 0x100316e7
mov ecx, dword [eax]
test ecx, ecx
je 0x100316fa
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x1820]
add edx, 0xfffffffe
mov eax, edx
test ecx, ecx
je 0x10031705
mov ecx, dword [ecx]
jmp 0x10031707
mov edx, dword [ebp - 0x1820]
add edx, 0xfffffffe
mov eax, edx
xor ecx, ecx
and eax, 1
mov dword [ebp - 0x1824], ecx
mov ecx, dword [ecx + 8]
mov dword [ebp - 0x181c], eax
dec ecx
mov eax, dword [ebp - 0x1824]
shr edx, 1
and ecx, edx
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x181c]
mov eax, dword [eax + ecx*8]
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax + 0x28]
movq qword [ebp - 0x1848], xmm0
mov dword [ebp - 0x1840], eax
test edi, edi
je 0x1003178d
mov eax, dword [edi]
test eax, eax
je 0x10031757
mov eax, dword [eax]
jmp 0x10031759
xor eax, eax
test eax, eax
je 0x1003178d
mov eax, dword [eax]
test eax, eax
je 0x10031767
mov eax, dword [eax]
jmp 0x10031769
xor eax, eax
test eax, eax
je 0x1003178d
mov eax, dword [eax]
test eax, eax
je 0x10031777
mov eax, dword [eax]
jmp 0x10031779
xor eax, eax
test eax, eax
je 0x1003178d
mov eax, dword [eax]
test eax, eax
je 0x1003178d
mov eax, dword [eax]
test eax, eax
je 0x1003178d
mov eax, dword [eax]
jmp 0x1003178f
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
mov edi, dword [ebp - 0x1808]
and ecx, edx
push 0
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x181c]
mov eax, dword [eax + ecx*8]
mov ecx, edi
movss xmm0, dword [eax + 0x14]
mov eax, dword [edi]
movss dword [ebp - 0x1828], xmm0
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x1808], eax
call dword [ebp - 0x1808]
mov eax, dword [edi]
mov ecx, edi
fstp dword [ebp - 0x182c]
push 1
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x1808], eax
call dword [ebp - 0x1808]
fadd dword [ebp - 0x182c]
mov eax, dword [0x1010c444]
movss xmm2, dword [esi + 0x14]
movss xmm1, dword [ebp - 0x1828]
fstp dword [ebp - 0x1808]
movss xmm0, dword [ebp - 0x1808]
subss xmm1, xmm2
addss xmm0, dword [0x1011557c]
addss xmm2, xmm0
addss xmm2, xmm1
subss xmm2, dword [eax + 0x10]
divss xmm2, xmm1
movss xmm1, dword [0x100c9040]
comiss xmm2, xmm1
jbe 0x1003183c
movaps xmm2, xmm1
jmp 0x10031843
xorps xmm0, xmm0
maxss xmm2, xmm0
movq xmm0, qword [esi + 0x20]
subss xmm1, xmm2
mov eax, dword [esi + 0x28]
movaps xmm3, xmm2
movq qword [ebp - 0x1818], xmm0
lea esi, [ebp - 0x1804]
mulss xmm3, dword [ebp - 0x1818]
mov edi, 0x80
mov dword [ebp - 0x1810], eax
movaps xmm0, xmm1
mulss xmm0, dword [ebp - 0x1848]
addss xmm3, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [ebp - 0x1844]
mulss xmm1, dword [ebp - 0x1840]
movss dword [ebp - 0x182c], xmm3
movaps xmm3, xmm2
mulss xmm3, dword [ebp - 0x1814]
mulss xmm2, dword [ebp - 0x1810]
addss xmm3, xmm0
addss xmm2, xmm1
movss dword [ebp - 0x1828], xmm3
movss dword [ebp - 0x1808], xmm2
mov ecx, esi
call fcn.100224e0
add esi, 0x30
sub edi, 1
jne 0x100318c8
mov edi, dword [ebp - 0x1834]
lea eax, [ebp - 0x1804]
push 0x1800
mov esi, dword [edi + 0x404]
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
movss xmm6, dword [edi + 0x20]
lea eax, [ebp - 0x17e8]
movss xmm7, dword [edi + 0x24]
add esp, 0xc
movss xmm3, dword [ebp - 0x1808]
add esi, 0x1c
movss xmm4, dword [ebp - 0x182c]
mov ecx, 0x80
movss xmm5, dword [ebp - 0x1828]
nop dword [eax + eax]
movss xmm2, dword [esi - 0x10]
movss xmm1, dword [esi]
subss xmm2, xmm6
movss xmm0, dword [esi + 0x10]
subss xmm1, xmm7
subss xmm0, dword [edi + 0x28]
add esi, 0x30
addss xmm2, xmm4
addss xmm1, xmm5
addss xmm0, xmm3
movss dword [eax - 0x10], xmm2
movss dword [eax], xmm1
movss dword [eax + 0x10], xmm0
add eax, 0x30
sub ecx, 1
jne 0x10031930
push 0x1800
lea eax, [ebp - 0x1804]
push eax
push dword [ebp - 0x183c]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b38c5
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.100b38c5
mov esp, ebp
pop ebp
ret 8