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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x184c
call fcn.100ae5c0
mov eax, dword [0x100d99c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x100f69a0]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1840], 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 - 0x1824], esi
test esi, esi
je 0x1002d051
mov ecx, dword [esi]
mov edx, dword [ecx + 0x260]
mov ecx, esi
call edx
test al, al
je 0x1002d051
mov eax, dword [0x100f6c04]
add eax, 0xffffffcc
xor eax, 0x920a48e6
cmp dword [eax + esi], 0
jne 0x1002d051
mov eax, dword [0x100f6b74]
cmp byte [eax + esi], 0
jne 0x1002d051
mov edx, dword [0x100f6bdc]
mov eax, dword [0x100c712c]
add edx, 0xffffffd6
xor edx, 0x920a48dc
mov ecx, dword [edx + esi]
cmp ecx, dword [edx + eax]
jne 0x1002cb4e
mov ecx, dword [0x100f6a7c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x1002d051
imul eax, edi, 0x544
lea eax, [eax + 0x100d9700]
mov dword [ebp - 0x182c], eax
test eax, eax
je 0x1002d051
mov eax, dword [eax + 0x18]
test eax, eax
je 0x1002d051
cmp eax, 2
jb 0x1002d051
mov ecx, dword [0x100f699c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x1808], eax
test eax, eax
je 0x1002d051
mov ecx, dword [0x100eff48]
test cl, 1
jne 0x1002cc24
or ecx, 1
mov dword [0x100eff48], ecx
mov eax, dword [0x100f6998]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x181c], eax
test eax, eax
je 0x1002cc0c
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + edi], 0
jne 0x1002cbd0
xor edx, edx
test ecx, ecx
je 0x1002cbff
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1002cbe0
cmp esi, 0x8c8dc452
je 0x1002cc16
mov eax, dword [ebp - 0x181c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x181c], eax
test eax, eax
jne 0x1002cbc4
xor ecx, ecx
mov dword [0x100eff44], ecx
jmp 0x1002cc2a
mov ecx, dword [ebp - 0x181c]
mov dword [0x100eff44], ecx
jmp 0x1002cc2a
mov ecx, dword [0x100eff44]
test ecx, ecx
je 0x1002cc45
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1818], eax
call dword [ebp - 0x1818]
fstp dword [0x100c70b4]
mov eax, dword [ebp - 0x182c]
mov edi, dword [eax + 0x18]
mov esi, dword [eax + 8]
add edi, dword [eax + 0x14]
mov dword [ebp - 0x1828], esi
nop word [eax + eax]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x1830], eax
cmp edi, eax
je 0x1002d051
dec edi
test esi, esi
je 0x1002cc7a
mov ecx, dword [esi]
jmp 0x1002cc7c
xor ecx, ecx
mov eax, dword [ecx + 8]
mov edx, edi
dec eax
shr edx, 1
and edx, eax
mov eax, dword [ecx + 4]
mov ecx, edi
and ecx, 1
mov eax, dword [eax + edx*4]
mov eax, dword [eax + ecx*8]
mov dword [ebp - 0x181c], eax
test eax, eax
je 0x1002cdd9
mov ecx, dword [0x100f699c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x1002cdd9
mov ecx, dword [0x100c712c]
test ecx, ecx
je 0x1002cdd9
mov eax, dword [0x100f6c2c]
add eax, 0xffffffc2
xor eax, 0x920a48f0
push 1
movd xmm0, dword [eax + ecx]
mov eax, dword [0x100f69fc]
mov ecx, dword [0x100f6a08]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
mov eax, dword [ecx]
movss dword [ebp - 0x183c], xmm0
movss xmm0, dword [0x100c74c8]
addss xmm0, dword [0x100c74c4]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x1818], eax
movss dword [ebp - 0x1820], xmm0
call dword [ebp - 0x1818]
mov ecx, dword [0x100f6a44]
fadd dword [ebp - 0x1820]
mov eax, dword [ecx]
fstp dword [ebp - 0x1818]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1820], eax
call dword [ebp - 0x1820]
movss xmm1, dword [ebp - 0x1818]
fstp dword [ebp - 0x1820]
movss xmm0, dword [ebp - 0x1820]
comiss xmm1, xmm0
ja 0x1002cd64
movss xmm0, xmm1
jmp 0x1002cd68
movss xmm0, xmm0
mov eax, dword [ebp - 0x181c]
xorps xmm1, xmm1
maxss xmm0, xmm1
movss xmm1, dword [ebp - 0x183c]
subss xmm1, dword [eax + 0x1c]
subss xmm0, xmm1
movss xmm1, dword [0x100bb9f4]
andps xmm0, xmmword [0x100bba00]
comiss xmm1, xmm0
seta al
test al, al
je 0x1002cdd9
cmp edi, dword [ebp - 0x1830]
je 0x1002cdd9
lea edx, [edi - 1]
test esi, esi
je 0x1002cdb2
mov eax, dword [esi]
jmp 0x1002cdb4
xor eax, eax
mov ecx, dword [eax + 8]
mov dword [ebp - 0x1818], eax
dec ecx
mov eax, edx
and edx, 1
shr eax, 1
and ecx, eax
mov eax, dword [ebp - 0x1818]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
cmp dword [eax + edx*8], 0
jne 0x1002cde4
mov eax, dword [ebp - 0x182c]
jmp 0x1002cc60
mov ecx, dword [ebp - 0x1824]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [ebp - 0x181c]
movss xmm1, dword [ecx + 0x28]
movss xmm0, dword [ecx + 0x2c]
subss xmm1, dword [eax]
subss xmm0, dword [eax + 4]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm0, xmm1
movss xmm1, dword [0x100bb590]
comiss xmm1, xmm0
ja 0x1002d051
lea ecx, [ebp - 0x1838]
mov dword [ebp - 0x1834], 0
mov dword [ebp - 0x1838], esi
mov dword [ebp - 0x1830], edi
call fcn.1002c870
lea ecx, [ebp - 0x184c]
mov dword [ebp - 0x1848], 0
mov dword [ebp - 0x1844], edi
mov eax, dword [eax]
movq xmm0, qword [eax + 0x28]
mov esi, dword [eax + 0x30]
mov eax, dword [ebp - 0x1828]
movq qword [ebp - 0x1834], xmm0
mov dword [ebp - 0x184c], eax
call fcn.1002c870
mov edi, dword [ebp - 0x1808]
mov ecx, edi
push 0
mov eax, dword [eax]
movss xmm0, dword [eax + 0x1c]
mov eax, dword [edi]
movss dword [ebp - 0x1824], 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 - 0x1828]
push 1
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x1808], eax
call dword [ebp - 0x1808]
fadd dword [ebp - 0x1828]
mov edi, dword [ebp - 0x181c]
lea ecx, [ebp - 0x1808]
mov eax, dword [0x100f69fc]
movss xmm2, dword [ebp - 0x1824]
movss xmm1, dword [edi + 0x1c]
fstp dword [ebp - 0x1808]
movss xmm0, dword [ebp - 0x1808]
subss xmm2, xmm1
addss xmm0, dword [0x100c74c4]
mov dword [ebp - 0x1824], 0x3f800000
mov dword [ebp - 0x1808], 0
addss xmm1, xmm0
xorps xmm0, xmm0
addss xmm1, xmm2
subss xmm1, dword [eax + 0x10]
lea eax, [ebp - 0x1828]
divss xmm1, xmm2
comiss xmm1, xmm0
movss xmm0, dword [0x100bb590]
movss dword [ebp - 0x1828], xmm1
cmovae ecx, eax
lea eax, [ebp - 0x1824]
comiss xmm0, xmm1
cmovae eax, ecx
sub esp, 0x10
mov ecx, esp
movss xmm0, dword [eax]
mov eax, dword [edi + 0x30]
movss dword [esp + 0xc], xmm0
sub esp, 0xc
movq xmm0, qword [edi + 0x28]
movq qword [ecx], xmm0
movq xmm0, qword [ebp - 0x1834]
mov dword [ecx + 8], eax
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], esi
lea eax, [ebp - 0x1814]
push eax
call fcn.100973f0
mov esi, dword [edi + 0x3e8]
lea eax, [ebp - 0x1804]
push 0x1800
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
movss xmm3, dword [edi + 0x28]
add esp, 0x2c
movss xmm4, dword [edi + 0x2c]
lea eax, [ebp - 0x17e8]
movss xmm5, dword [edi + 0x30]
add esi, 0x1c
movss xmm6, dword [ebp - 0x180c]
mov ecx, 0x80
movss xmm7, dword [ebp - 0x1810]
nop word [eax + eax]
movss xmm2, dword [esi - 0x10]
movss xmm1, dword [esi]
subss xmm2, xmm3
movss xmm0, dword [esi + 0x10]
subss xmm1, xmm4
subss xmm0, xmm5
add esi, 0x30
addss xmm2, dword [ebp - 0x1814]
addss xmm1, xmm7
addss xmm0, xmm6
movss dword [eax - 0x10], xmm2
movss dword [eax], xmm1
movss dword [eax + 0x10], xmm0
add eax, 0x30
sub ecx, 1
jne 0x1002cfe0
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.100ae337
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.100ae337
mov esp, ebp
pop ebp
ret 8