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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x184c
call fcn.100af0a0
mov eax, dword [0x100cc380]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x10208878]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1840], eax
push esi
mov eax, dword [ecx]
push edi
mov edi, dword [ebp + 8]
mov eax, dword [eax + 0x6c]
call eax
test al, al
je 0x10031890
mov ecx, dword [0x10208878]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x10031890
cmp dword [0x101dffec], 0
je 0x10031890
mov ecx, dword [0x1020887c]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
test esi, esi
je 0x10031890
mov ecx, dword [esi]
mov edx, dword [ecx + 0x260]
mov ecx, esi
call edx
test al, al
je 0x10031890
mov eax, dword [0x1020e9fc]
add eax, 0xffffffd2
xor eax, 0xc9557fb6
cmp dword [eax + esi], 0
jne 0x10031890
mov eax, dword [0x10208a44]
cmp byte [eax + esi], 0
jne 0x10031890
mov edx, dword [0x1020e9d4]
mov eax, dword [0x101dffec]
add edx, 0xffffffdc
xor edx, 0xc9557fac
mov ecx, dword [edx + esi]
cmp ecx, dword [edx + eax]
jne 0x1003111f
mov ecx, dword [0x1020895c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x10031890
imul eax, edi, 0x1ca0
lea edi, [eax + 0x1010aad0]
mov dword [ebp - 0x1828], edi
test edi, edi
je 0x10031890
mov esi, dword [edi + 0x18]
test esi, esi
je 0x10031890
mov edx, dword [edi + 0x14]
mov ecx, edx
mov eax, dword [edi + 0x10]
and edx, 1
dec eax
shr ecx, 1
and ecx, eax
mov eax, dword [edi + 0xc]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + edx*8]
movss xmm1, dword [eax + 0x24]
movss xmm2, dword [eax + 0x28]
subss xmm2, dword [eax + 0x34]
subss xmm1, dword [eax + 0x30]
movss xmm0, dword [eax + 0x2c]
subss xmm0, dword [eax + 0x38]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
comiss xmm2, dword [0x100c1e2c]
ja 0x10031890
cmp esi, 3
jb 0x10031890
mov ecx, dword [0x10208878]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x10031890
mov eax, dword [0x10212f5c]
test al, 1
jne 0x10031250
or eax, 1
mov dword [0x10212f5c], eax
mov eax, dword [0x10208874]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x182c], eax
test eax, eax
je 0x10031232
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + edi], 0
jne 0x100311f0
xor edx, edx
test ecx, ecx
je 0x1003121f
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10031200
cmp esi, 0x8c8dc452
je 0x1003123c
mov eax, dword [ebp - 0x182c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x182c], eax
test eax, eax
jne 0x100311e4
mov edi, dword [ebp - 0x1828]
xor ecx, ecx
mov dword [0x10212f58], ecx
jmp 0x10031256
mov ecx, dword [ebp - 0x182c]
mov edi, dword [ebp - 0x1828]
mov dword [0x10212f58], ecx
jmp 0x10031256
mov ecx, dword [0x10212f58]
test ecx, ecx
je 0x10031263
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
fstp st(0)
mov ecx, dword [edi + 0x14]
mov esi, dword [edi + 8]
lea eax, [ecx + 1]
mov dword [ebp - 0x182c], eax
mov eax, dword [edi + 0x18]
add eax, dword [edi + 0x14]
mov dword [ebp - 0x183c], ecx
cmp ecx, eax
je 0x10031890
test esi, esi
je 0x1003128e
mov eax, dword [esi]
jmp 0x10031290
xor eax, eax
mov edx, ecx
and ecx, 1
mov dword [ebp - 0x1838], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
shr edx, 1
and ecx, edx
mov dword [ebp - 0x1834], edx
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x1838]
mov eax, dword [eax + ecx*8]
mov ecx, dword [0x10208878]
mov dword [ebp - 0x1830], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x10031699
cmp dword [0x101dffec], 0
je 0x10031699
mov eax, dword [ebp - 0x1830]
cmp byte [eax + 0x3b8], 0
je 0x10031699
cmp byte [eax + 0x1bc0], 0
jne 0x10031699
mov ecx, dword [0x10208878]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x1824], eax
test eax, eax
je 0x10031453
cmp dword [0x101dffec], 0
je 0x10031453
mov ecx, dword [eax]
push 0
mov ecx, dword [ecx + 0x24]
mov dword [ebp - 0x1808], ecx
mov ecx, eax
call dword [ebp - 0x1808]
mov ecx, dword [ebp - 0x1824]
fstp dword [ebp - 0x1808]
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x1824], eax
call dword [ebp - 0x1824]
mov ecx, dword [0x1020892c]
fstp dword [ebp - 0x1824]
movss xmm0, dword [ebp - 0x1824]
addss xmm0, dword [ebp - 0x1808]
mov eax, dword [ecx]
addss xmm0, dword [0x101e1ccc]
mov eax, dword [eax + 0x30]
movss dword [ebp - 0x180c], xmm0
movss dword [ebp - 0x1808], xmm0
call eax
movss xmm1, dword [ebp - 0x180c]
lea eax, [ebp - 0x1808]
comiss xmm1, dword [0x100c1b34]
lea ecx, [ebp - 0x1824]
fstp dword [ebp - 0x1824]
movss xmm0, dword [ebp - 0x1824]
cmovae ecx, eax
movss dword [ebp - 0x1820], xmm0
comiss xmm0, xmm1
lea eax, [ebp - 0x1820]
mov dword [ebp - 0x1824], 0
cmovae eax, ecx
mov ecx, dword [0x101dffec]
movss xmm1, dword [eax]
mov eax, dword [0x1020e9fc]
add eax, 0xffffffd2
xor eax, 0xc9557fb6
cmp dword [eax + ecx], 0
jne 0x10031425
mov eax, dword [0x1020ea24]
add eax, 0xffffffc8
xor eax, 0xc9557fc0
movd xmm0, dword [eax + ecx]
mov eax, dword [0x102088d8]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
jmp 0x1003142f
mov eax, dword [0x102088d8]
movss xmm0, dword [eax + 0x10]
mov eax, dword [ebp - 0x1830]
subss xmm0, dword [eax + 0x18]
subss xmm1, xmm0
movaps xmm0, xmm1
call fcn.10030950
comiss xmm0, dword [0x100c1bd8]
ja 0x10031699
mov eax, dword [edi + 0x18]
add eax, dword [edi + 0x14]
mov ecx, dword [ebp - 0x182c]
cmp ecx, eax
je 0x10031699
test esi, esi
je 0x1003146f
mov eax, dword [esi]
jmp 0x10031471
xor eax, eax
mov edi, ecx
mov edx, ecx
mov ecx, dword [eax + 8]
and edx, 1
mov eax, dword [eax + 4]
dec ecx
shr edi, 1
and ecx, edi
mov dword [ebp - 0x1810], edx
mov eax, dword [eax + ecx*4]
mov ecx, dword [0x10208878]
mov eax, dword [eax + edx*8]
mov dword [ebp - 0x1830], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x10031627
cmp dword [0x101dffec], 0
je 0x10031627
mov eax, dword [ebp - 0x1830]
cmp byte [eax + 0x3b8], 0
je 0x10031627
cmp byte [eax + 0x1bc0], 0
jne 0x10031627
mov ecx, dword [0x10208878]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x180c], eax
test eax, eax
je 0x10031693
cmp dword [0x101dffec], 0
je 0x10031693
mov ecx, dword [eax]
push 0
mov ecx, dword [ecx + 0x24]
mov dword [ebp - 0x1820], ecx
mov ecx, eax
call dword [ebp - 0x1820]
mov ecx, dword [ebp - 0x180c]
fstp dword [ebp - 0x1824]
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x1820], eax
call dword [ebp - 0x1820]
mov ecx, dword [0x1020892c]
fstp dword [ebp - 0x1820]
movss xmm0, dword [ebp - 0x1820]
addss xmm0, dword [ebp - 0x1824]
mov eax, dword [ecx]
addss xmm0, dword [0x101e1ccc]
mov eax, dword [eax + 0x30]
movss dword [ebp - 0x1824], xmm0
movss dword [ebp - 0x180c], xmm0
call eax
movss xmm1, dword [ebp - 0x1824]
lea eax, [ebp - 0x180c]
xorps xmm6, xmm6
lea ecx, [ebp - 0x1820]
comiss xmm1, xmm6
fstp dword [ebp - 0x1820]
movss xmm0, dword [ebp - 0x1820]
cmovae ecx, eax
movss dword [ebp - 0x1808], xmm0
comiss xmm0, xmm1
lea eax, [ebp - 0x1808]
mov dword [ebp - 0x1820], 0
cmovae eax, ecx
mov ecx, dword [0x101dffec]
movss xmm1, dword [eax]
mov eax, dword [0x1020e9fc]
add eax, 0xffffffd2
xor eax, 0xc9557fb6
cmp dword [eax + ecx], 0
jne 0x100315fb
mov eax, dword [0x1020ea24]
add eax, 0xffffffc8
xor eax, 0xc9557fc0
movd xmm0, dword [eax + ecx]
mov eax, dword [0x102088d8]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
jmp 0x10031605
mov eax, dword [0x102088d8]
movss xmm0, dword [eax + 0x10]
mov eax, dword [ebp - 0x1830]
subss xmm0, dword [eax + 0x18]
subss xmm1, xmm0
movaps xmm0, xmm1
call fcn.10030950
comiss xmm0, dword [0x100c1bd8]
jbe 0x10031693
jmp 0x1003162a
xorps xmm6, xmm6
test esi, esi
je 0x10031632
mov eax, dword [esi]
jmp 0x10031634
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
mov edx, dword [ebp - 0x1810]
and ecx, edi
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + edx*8]
cmp byte [eax + 0xc], 0
jne 0x10031693
test esi, esi
je 0x10031657
mov eax, dword [esi]
jmp 0x10031659
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, edi
mov eax, dword [eax + ecx*4]
mov edi, dword [eax + edx*8]
test esi, esi
je 0x10031670
mov eax, dword [esi]
jmp 0x10031672
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [ebp - 0x1834]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x1838]
mov ecx, dword [eax + ecx*8]
test edi, edi
je 0x10031693
test ecx, ecx
jne 0x100316ab
mov edi, dword [ebp - 0x1828]
mov ecx, dword [ebp - 0x183c]
inc ecx
inc dword [ebp - 0x182c]
jmp 0x10031272
mov eax, dword [ecx + 0x2c]
movq xmm0, qword [ecx + 0x24]
movss xmm5, dword [ecx + 0x18]
movss xmm4, dword [ecx + 0x1bf4]
mov dword [ebp - 0x1844], eax
mov eax, dword [0x102088d8]
movq qword [ebp - 0x184c], xmm0
movaps xmm0, xmm5
subss xmm0, dword [edi + 0x18]
movss xmm3, dword [0x100c1c5c]
movss xmm2, dword [eax + 0x10]
movaps xmm1, xmm2
subss xmm1, xmm4
divss xmm1, xmm0
movaps xmm0, xmm3
subss xmm0, xmm1
comiss xmm6, xmm0
ja 0x10031704
comiss xmm0, xmm3
jbe 0x1003170f
movss dword [ecx + 0x1bf4], xmm2
movaps xmm4, xmm2
subss xmm5, dword [edi + 0x18]
subss xmm2, xmm4
mov dword [ebp - 0x1820], 0x3f800000
movaps xmm0, xmm3
mov dword [ebp - 0x1834], 0
lea eax, [ebp - 0x1810]
lea ecx, [ebp - 0x1834]
push 0x1800
divss xmm2, xmm5
subss xmm0, xmm2
comiss xmm0, xmm6
movss dword [ebp - 0x1810], xmm0
cmovae ecx, eax
lea eax, [ebp - 0x1820]
comiss xmm3, xmm0
movq xmm0, qword [edi + 0x24]
movq qword [ebp - 0x181c], xmm0
cmovae eax, ecx
movss xmm1, dword [eax]
mov eax, dword [edi + 0x2c]
subss xmm3, xmm1
movaps xmm2, xmm1
mov dword [ebp - 0x1814], eax
mulss xmm2, dword [ebp - 0x181c]
lea eax, [edi + 0x3c0]
push eax
lea eax, [ebp - 0x1804]
movaps xmm0, xmm3
mulss xmm0, dword [ebp - 0x184c]
push eax
addss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [ebp - 0x1848]
mulss xmm3, dword [ebp - 0x1844]
movss dword [ebp - 0x1810], xmm2
movaps xmm2, xmm1
mulss xmm2, dword [ebp - 0x1818]
mulss xmm1, dword [ebp - 0x1814]
addss xmm2, xmm0
addss xmm1, xmm3
movss dword [ebp - 0x1820], xmm2
movss dword [ebp - 0x1834], xmm1
call sub.VCRUNTIME140.dll_memcpy
movss xmm3, dword [ebp - 0x1834]
lea eax, [ebp - 0x17e8]
movss xmm4, dword [ebp - 0x1810]
lea ecx, [edi + 0x3dc]
movss xmm5, dword [ebp - 0x1820]
add esp, 0xc
mov edx, 0x80
nop
movss xmm2, dword [ecx - 0x10]
movss xmm1, dword [ecx]
movss xmm0, dword [ecx + 0x10]
add ecx, 0x30
subss xmm2, dword [edi + 0x24]
subss xmm1, dword [edi + 0x28]
subss xmm0, dword [edi + 0x2c]
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 edx, 1
jne 0x10031820
push 0x1800
lea eax, [ebp - 0x1804]
push eax
push dword [ebp - 0x1840]
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.100ad1bc
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.100ad1bc
mov esp, ebp
pop ebp
ret 8