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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1848
call fcn.100b62b0
mov eax, dword [0x100cb00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x100ee6cc]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x183c], eax
push esi
mov eax, dword [ecx]
push edi
mov edi, dword [ebp + 8]
push edi
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
mov dword [ebp - 0x182c], esi
test esi, esi
je 0x1002275e
mov ecx, dword [esi]
mov edx, dword [ecx + 0x260]
mov ecx, esi
call edx
test al, al
je 0x1002275e
mov eax, dword [0x100ee8cc]
add eax, 0xffffffcc
xor eax, 0xf010412
cmp dword [eax + esi], 0
jne 0x1002275e
mov eax, dword [0x100ee858]
cmp byte [eax + esi], 0
jne 0x1002275e
mov edx, dword [0x100ee8a4]
mov eax, dword [0x100dd5d0]
add edx, 0xffffffd6
xor edx, 0xf010408
mov ecx, dword [edx + esi]
cmp ecx, dword [edx + eax]
jne 0x1002223e
mov ecx, dword [0x100ee79c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x1002275e
imul eax, edi, 0x44c
lea eax, [eax + str.roundf]
mov dword [ebp - 0x1824], eax
test eax, eax
je 0x1002275e
mov eax, dword [eax + 0x18]
test eax, eax
je 0x1002275e
cmp eax, 2
jb 0x1002275e
mov ecx, dword [0x100ee6c8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x1808], eax
test eax, eax
je 0x1002275e
mov ecx, dword [0x100f366c]
test cl, 1
jne 0x10022314
or ecx, 1
mov dword [0x100f366c], ecx
mov eax, dword [0x100ee6c4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1820], eax
test eax, eax
je 0x100222fc
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + edi], 0
jne 0x100222c0
xor edx, edx
test ecx, ecx
je 0x100222ef
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100222d0
cmp esi, 0x8c8dc452
je 0x10022306
mov eax, dword [ebp - 0x1820]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1820], eax
test eax, eax
jne 0x100222b4
xor ecx, ecx
mov dword [0x100f3668], ecx
jmp 0x1002231a
mov ecx, dword [ebp - 0x1820]
mov dword [0x100f3668], ecx
jmp 0x1002231a
mov ecx, dword [0x100f3668]
test ecx, ecx
je 0x10022335
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x181c], eax
call dword [ebp - 0x181c]
fstp dword [0x100cb014]
mov ecx, dword [ebp - 0x1824]
mov eax, dword [ecx + 0x18]
add eax, dword [ecx + 0x14]
mov edi, dword [ecx + 8]
lea esi, [eax - 1]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1820], eax
mov dword [ebp - 0x1828], ecx
cmp eax, ecx
je 0x1002275e
test edi, edi
je 0x10022366
mov ecx, dword [edi]
jmp 0x10022368
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 0x100224a7
mov ecx, dword [0x100ee8f4]
mov eax, dword [0x100dd5d0]
add ecx, 0xffffffc2
xor ecx, 0xf01041c
push 1
movd xmm0, dword [ecx + eax]
mov eax, dword [0x100ee724]
mov ecx, dword [0x100ee730]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
mov eax, dword [ecx]
movss dword [ebp - 0x1838], xmm0
movss xmm0, dword [0x100dd690]
addss xmm0, dword [0x100dd68c]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x181c], eax
movss dword [ebp - 0x1830], xmm0
call dword [ebp - 0x181c]
mov ecx, dword [0x100ee76c]
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.10021ec0
movss xmm1, dword [0x100c14ac]
comiss xmm1, xmm0
jbe 0x100224a7
cmp esi, dword [ebp - 0x1828]
je 0x100224a7
test edi, edi
je 0x10022488
mov ecx, dword [edi]
jmp 0x1002248a
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 0x100224ba
mov eax, dword [ebp - 0x1820]
mov ecx, dword [ebp - 0x1824]
dec eax
dec esi
jmp 0x10022347
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.10017320
movss xmm1, dword [0x100c151c]
comiss xmm1, xmm0
ja 0x1002275e
mov edx, dword [ebp - 0x1820]
add edx, 0xfffffffe
test edi, edi
je 0x10022513
mov eax, dword [edi]
jmp 0x10022515
xor eax, eax
mov ecx, edx
and edx, 1
shr ecx, 1
mov dword [ebp - 0x1824], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [ebp - 0x1824]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + edx*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 0x10022553
mov eax, dword [edi]
jmp 0x10022555
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [ebp - 0x1824]
mov edi, dword [ebp - 0x1808]
push 0
mov eax, dword [eax + ecx*4]
mov ecx, edi
mov eax, dword [eax + edx*8]
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 [0x100ee724]
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 [0x100dd68c]
addss xmm2, xmm0
addss xmm2, xmm1
subss xmm2, dword [eax + 0x10]
divss xmm2, xmm1
movss xmm1, dword [0x100c151c]
comiss xmm2, xmm1
jbe 0x10022600
movaps xmm2, xmm1
jmp 0x10022607
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
nop dword [eax]
mov ecx, esi
call fcn.100179a0
add esi, 0x30
sub edi, 1
jne 0x10022690
mov edi, dword [ebp - 0x1834]
lea eax, [ebp - 0x1804]
push 0x1800
mov esi, dword [edi + 0x3c4]
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]
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 0x100226f0
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.100b5059
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.100b5059
mov esp, ebp
pop ebp
ret 8