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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ae420
mov eax, dword fs:[0]
push eax
mov eax, 0x18a8
call fcn.100ad8f0
mov eax, dword [0x100cc040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [0x100f65ac]
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1850], eax
mov eax, dword [ecx]
push edi
mov dword [ebp - 0x1864], 0
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
mov dword [ebp - 0x1838], esi
test esi, esi
je 0x1002d1d8
mov ecx, dword [esi]
mov edx, dword [ecx + 0x260]
mov ecx, esi
call edx
test al, al
je 0x1002d1d8
mov eax, dword [0x100f67c4]
add eax, 0xffffffcc
xor eax, 0x981170fc
cmp dword [eax + esi], 0
jne 0x1002d1d8
mov eax, dword [0x100f673c]
cmp byte [eax + esi], 0
jne 0x1002d1d8
mov edx, dword [0x100f679c]
mov eax, dword [0x100cc0b8]
add edx, 0xffffffd6
xor edx, 0x981170f2
mov ecx, dword [edx + esi]
cmp ecx, dword [edx + eax]
jne 0x1002cc50
mov ecx, dword [0x100f6678]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x1002d1d8
lea esi, [edi - 1]
cmp esi, 0x40
jb 0x1002cc9e
push str.array_subscript_out_of_range
push 0x100b8568
push 0
push 0x215
push 0x100b92b8
push 2
call dword [sym.imp.ucrtbased.dll__CrtDbgReport]
add esp, 0x18
cmp eax, 1
jne 0x1002cc7f
int3
push 0
push 0x215
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.40.33807include_array
push 0x100b869c
push str._array_subscript_out_of_range_
call dword [sym.imp.ucrtbased.dll__invalid_parameter]
add esp, 0x14
imul esi, esi, 0x554
add esi, 0x100de104
mov dword [ebp - 0x186c], esi
je 0x1002d1d8
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1002d1d8
cmp eax, 2
jb 0x1002d1d8
mov ecx, dword [0x100f65a8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x1818], eax
test eax, eax
je 0x1002d1d8
mov ecx, dword [0x100fc9ec]
test cl, 1
jne 0x1002cd80
or ecx, 1
mov dword [0x100fc9ec], ecx
mov eax, dword [0x100f65a4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1868], eax
test eax, eax
je 0x1002cd62
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x1002cd20
xor edx, edx
test ecx, ecx
je 0x1002cd4f
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1002cd30
cmp esi, 0x8c8dc452
je 0x1002cd6c
mov eax, dword [ebp - 0x1868]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1868], eax
test eax, eax
jne 0x1002cd12
mov esi, dword [ebp - 0x186c]
xor ecx, ecx
mov dword [0x100fc9e8], ecx
jmp 0x1002cd86
mov ecx, dword [ebp - 0x1868]
mov esi, dword [ebp - 0x186c]
mov dword [0x100fc9e8], ecx
jmp 0x1002cd86
mov ecx, dword [0x100fc9e8]
test ecx, ecx
je 0x1002cda1
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x181c], eax
call dword [ebp - 0x181c]
fstp dword [0x100cc0a4]
mov eax, dword [esi + 0x18]
lea ecx, [ebp - 0x181c]
add eax, dword [esi + 0x14]
mov edi, dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::_Lockit::constructor_int_]
push 3
mov dword [ebp - 0x1828], 0
mov dword [ebp - 0x1824], 0
mov dword [ebp - 0x1820], eax
call edi
mov esi, dword [esi + 8]
mov eax, dword [ebp - 0x1828]
cmp eax, esi
je 0x1002ce05
test eax, eax
je 0x1002cded
lea ecx, [ebp - 0x1828]
call fcn.1001b290
mov eax, dword [esi + 4]
mov dword [ebp - 0x1824], eax
lea eax, [ebp - 0x1828]
mov dword [esi + 4], eax
mov dword [ebp - 0x1828], esi
mov esi, dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
lea ecx, [ebp - 0x181c]
call esi
lea eax, [ebp - 0x1828]
push eax
lea ecx, [ebp - 0x1848]
call fcn.1001b200
mov eax, dword [ebp - 0x1820]
lea ecx, [ebp - 0x181c]
push 3
mov dword [ebp - 0x1840], eax
call edi
lea ecx, [ebp - 0x1828]
call fcn.1001b290
lea ecx, [ebp - 0x181c]
call esi
mov ecx, dword [ebp - 0x186c]
lea eax, [ebp - 0x1890]
push eax
mov dword [ebp - 4], 0
lea ecx, [ecx + 8]
call fcn.1002f340
push eax
lea ecx, [ebp - 0x1848]
call fcn.1002f6c0
push 3
lea ecx, [ebp - 0x181c]
mov byte [ebp - 0x185d], al
call edi
lea ecx, [ebp - 0x1890]
call fcn.1001b290
lea ecx, [ebp - 0x181c]
call esi
cmp byte [ebp - 0x185d], 0
jne 0x1002d1bb
nop word [eax + eax]
lea eax, [ebp - 0x1848]
push eax
lea ecx, [ebp - 0x1828]
call fcn.1001b200
mov eax, dword [ebp - 0x1840]
lea ecx, [ebp - 0x1828]
mov dword [ebp - 0x1820], eax
call fcn.1002f500
lea ecx, [ebp - 0x1828]
call fcn.1002f5c0
push 3
lea ecx, [ebp - 0x1854]
mov esi, eax
call edi
lea ecx, [ebp - 0x1828]
call fcn.1001b290
mov eax, dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
lea ecx, [ebp - 0x1854]
call eax
mov eax, dword [esi]
mov ecx, dword [ebp - 0x186c]
mov dword [ebp - 0x1868], eax
add ecx, 8
lea eax, [ebp - 0x18b4]
push eax
call fcn.1002f340
mov esi, eax
lea eax, [ebp - 0x18a8]
push ecx
push eax
lea ecx, [ebp - 0x1848]
call fcn.1002f210
push esi
mov ecx, eax
call fcn.1002f6c0
push 3
lea ecx, [ebp - 0x1858]
mov byte [ebp - 0x185e], al
call edi
lea ecx, [ebp - 0x18a8]
call fcn.1001b290
mov esi, dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
lea ecx, [ebp - 0x1858]
call esi
push 3
lea ecx, [ebp - 0x185c]
call edi
lea ecx, [ebp - 0x18b4]
call fcn.1001b290
lea ecx, [ebp - 0x185c]
call esi
mov esi, dword [ebp - 0x1868]
test esi, esi
je 0x1002d0d2
mov ecx, dword [0x100f67ec]
mov eax, dword [0x100cc0b8]
add ecx, 0xffffffc2
xor ecx, 0x98117106
push 1
movd xmm0, dword [ecx + eax]
mov eax, dword [0x100f6604]
mov ecx, dword [0x100f6610]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
mov eax, dword [ecx]
movss dword [ebp - 0x1878], xmm0
movss xmm0, dword [0x100cc454]
addss xmm0, dword [0x100cc450]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x1870], eax
movss dword [ebp - 0x1874], xmm0
call dword [ebp - 0x1870]
mov ecx, dword [0x100f6648]
fadd dword [ebp - 0x1874]
mov eax, dword [ecx]
fstp dword [ebp - 0x1874]
mov eax, dword [eax + 0x30]
call eax
movss xmm0, dword [ebp - 0x1874]
xorps xmm1, xmm1
fstp dword [ebp - 0x1870]
minss xmm0, dword [ebp - 0x1870]
maxss xmm0, xmm1
movss xmm1, dword [ebp - 0x1878]
subss xmm1, dword [esi + 0x14]
subss xmm0, xmm1
call fcn.1002c5e0
movss xmm1, dword [0x100c122c]
comiss xmm1, xmm0
jbe 0x1002d0d2
cmp byte [ebp - 0x185e], 0
jne 0x1002d0d2
push ecx
lea eax, [ebp - 0x1884]
push eax
lea ecx, [ebp - 0x1848]
call fcn.1002f210
or dword [ebp - 0x1864], 1
lea ecx, [ebp - 0x1834]
mov esi, eax
push esi
call fcn.1001b200
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x1834]
mov dword [ebp - 0x182c], eax
call fcn.1002f500
lea ecx, [ebp - 0x1834]
call fcn.1002f5c0
push 3
lea ecx, [ebp - 0x184c]
mov esi, eax
call edi
lea ecx, [ebp - 0x1834]
call fcn.1001b290
mov eax, dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
lea ecx, [ebp - 0x184c]
call eax
cmp dword [esi], 0
mov byte [ebp - 0x185d], 1
jne 0x1002d0d9
mov byte [ebp - 0x185d], 0
mov eax, dword [ebp - 0x1864]
test al, 1
je 0x1002d111
and eax, 0xfffffffe
lea ecx, [ebp - 0x183c]
push 3
mov dword [ebp - 0x1864], eax
call edi
lea ecx, [ebp - 0x1884]
call fcn.1001b290
mov esi, dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
lea ecx, [ebp - 0x183c]
call esi
jmp 0x1002d117
mov esi, dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp byte [ebp - 0x185d], 0
jne 0x1002d1f7
lea eax, [ebp - 0x1848]
push eax
lea ecx, [ebp - 0x189c]
call fcn.1001b200
mov eax, dword [ebp - 0x1840]
lea ecx, [ebp - 0x1848]
mov dword [ebp - 0x1894], eax
call fcn.1002f500
push 3
lea ecx, [ebp - 0x1814]
call edi
lea ecx, [ebp - 0x189c]
call fcn.1001b290
lea ecx, [ebp - 0x1814]
call esi
mov ecx, dword [ebp - 0x186c]
lea eax, [ebp - 0x1890]
push eax
lea ecx, [ecx + 8]
call fcn.1002f340
push eax
lea ecx, [ebp - 0x1848]
call fcn.1002f6c0
push 3
lea ecx, [ebp - 0x181c]
mov byte [ebp - 0x185d], al
call edi
lea ecx, [ebp - 0x1890]
call fcn.1001b290
lea ecx, [ebp - 0x181c]
call esi
cmp byte [ebp - 0x185d], 0
je 0x1002ceb0
push 3
lea ecx, [ebp - 0x1818]
call edi
lea ecx, [ebp - 0x1848]
call fcn.1001b290
lea ecx, [ebp - 0x1818]
call esi
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100abb10
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp - 0x1838]
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [ebp - 0x1868]
movss xmm1, dword [ecx + 0x20]
movss xmm0, dword [ecx + 0x24]
subss xmm0, dword [eax + 4]
subss xmm1, dword [eax]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.1001b070
movss xmm1, dword [0x100c12a8]
comiss xmm1, xmm0
jbe 0x1002d249
mov byte [ebp - 0x185d], 0
jmp 0x1002d631
cmp byte [ebp - 0x185e], 0
je 0x1002d25d
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x28]
call eax
jmp 0x1002d2db
push ecx
lea eax, [ebp - 0x1884]
push eax
lea ecx, [ebp - 0x1848]
call fcn.1002f210
mov esi, eax
lea ecx, [ebp - 0x1834]
mov eax, dword [ebp - 0x1864]
or eax, 2
push esi
mov dword [ebp - 0x1864], eax
call fcn.1001b200
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x1834]
mov dword [ebp - 0x182c], eax
call fcn.1002f500
lea ecx, [ebp - 0x1834]
call fcn.1002f5c0
push 3
lea ecx, [ebp - 0x1814]
mov esi, eax
call edi
lea ecx, [ebp - 0x1834]
call fcn.1001b290
mov eax, dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
lea ecx, [ebp - 0x1814]
call eax
mov eax, dword [esi]
mov esi, dword [ebp - 0x1838]
add eax, 0x20
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x1820], eax
mov eax, dword [ebp - 0x1864]
movq qword [ebp - 0x1828], xmm0
test al, 2
je 0x1002d324
and eax, 0xfffffffd
lea ecx, [ebp - 0x1814]
push 3
mov dword [ebp - 0x1864], eax
call edi
lea ecx, [ebp - 0x1884]
call fcn.1001b290
lea ecx, [ebp - 0x1814]
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp byte [ebp - 0x185e], 0
je 0x1002d341
mov eax, dword [0x100f67f8]
add eax, 0xffffffbf
xor eax, 0x98117109
movss xmm0, dword [eax + esi]
jmp 0x1002d3b2
push ecx
lea eax, [ebp - 0x1884]
push eax
lea ecx, [ebp - 0x1848]
call fcn.1002f210
or dword [ebp - 0x1864], 4
lea ecx, [ebp - 0x1834]
mov esi, eax
push esi
call fcn.1001b200
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x1834]
mov dword [ebp - 0x182c], eax
call fcn.1002f500
lea ecx, [ebp - 0x1834]
call fcn.1002f5c0
push 3
lea ecx, [ebp - 0x1814]
mov esi, eax
call edi
lea ecx, [ebp - 0x1834]
call fcn.1001b290
lea ecx, [ebp - 0x1814]
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov eax, dword [esi]
movss xmm0, dword [eax + 0x14]
mov eax, dword [ebp - 0x1864]
movss dword [ebp - 0x181c], xmm0
test al, 4
je 0x1002d3e5
push 3
lea ecx, [ebp - 0x1814]
call edi
lea ecx, [ebp - 0x1884]
call fcn.1001b290
lea ecx, [ebp - 0x1814]
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov esi, dword [ebp - 0x1818]
mov ecx, esi
push 0
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x1818], eax
call dword [ebp - 0x1818]
mov eax, dword [esi]
mov ecx, esi
fstp dword [ebp - 0x1814]
push 1
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x1818], eax
call dword [ebp - 0x1818]
fadd dword [ebp - 0x1814]
mov byte [ebp - 0x1818], 0
lea edx, [ebp - 0x1814]
lea ecx, [ebp - 0x1838]
mov dword [ebp - 0x1814], 0
push dword [ebp - 0x1818]
fstp dword [ebp - 0x1838]
push 0x100cc0a4
call fcn.1002f740
movss xmm1, dword [ebp - 0x1838]
add esp, 8
cmp byte [ebp - 0x185e], 0
addss xmm1, dword [0x100cc450]
mov esi, dword [ebp - 0x1868]
je 0x1002d480
movss xmm0, dword [0x100c12a8]
jmp 0x1002d48d
movss xmm0, dword [ebp - 0x181c]
subss xmm0, dword [esi + 0x14]
addss xmm1, dword [esi + 0x14]
mov eax, dword [0x100f6604]
lea edx, [ebp - 0x183c]
mov byte [ebp - 0x1818], 0
lea ecx, [ebp - 0x184c]
push dword [ebp - 0x1818]
mov dword [ebp - 0x1814], 0x3f800000
addss xmm1, xmm0
mov dword [ebp - 0x183c], 0
subss xmm1, dword [eax + 0x10]
lea eax, [ebp - 0x1814]
push eax
divss xmm1, xmm0
movss dword [ebp - 0x184c], xmm1
call fcn.1002f740
movss xmm3, dword [0x100c12a8]
movq xmm0, qword [esi + 0x20]
movss xmm2, dword [ebp - 0x1828]
movss xmm1, dword [eax]
mov eax, dword [esi + 0x28]
subss xmm3, xmm1
movq qword [ebp - 0x1834], xmm0
movss xmm0, dword [ebp - 0x1834]
mulss xmm0, xmm1
mov esi, dword [esi + 0x3d8]
mulss xmm2, xmm3
mov dword [ebp - 0x182c], eax
lea eax, [ebp - 0x1810]
push 0x1800
push esi
addss xmm2, xmm0
movss xmm0, dword [ebp - 0x1830]
mulss xmm0, xmm1
push eax
movss dword [ebp - 0x1818], xmm2
movss xmm2, dword [ebp - 0x1824]
mulss xmm2, xmm3
addss xmm2, xmm0
movss xmm0, dword [ebp - 0x182c]
mulss xmm0, xmm1
movss dword [ebp - 0x1814], xmm2
movss xmm2, dword [ebp - 0x1820]
mulss xmm2, xmm3
addss xmm2, xmm0
movss dword [ebp - 0x183c], xmm2
call sub.VCRUNTIME140D.dll_memcpy
mov edx, dword [ebp - 0x1868]
lea eax, [ebp - 0x17f4]
movss xmm3, dword [ebp - 0x1818]
add esp, 0x14
movss xmm4, dword [ebp - 0x1814]
add esi, 0x1c
movss xmm5, dword [ebp - 0x183c]
mov ecx, 0x80
movss xmm6, dword [edx + 0x20]
movss xmm7, dword [edx + 0x24]
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 [edx + 0x28]
add esi, 0x30
addss xmm2, xmm3
addss xmm1, xmm4
addss xmm0, xmm5
movss dword [eax - 0x10], xmm2
movss dword [eax], xmm1
movss dword [eax + 0x10], xmm0
add eax, 0x30
sub ecx, 1
jne 0x1002d5d0
push 0x1800
lea eax, [ebp - 0x1810]
push eax
push dword [ebp - 0x1850]
call sub.VCRUNTIME140D.dll_memcpy
add esp, 0xc
mov byte [ebp - 0x185d], 1
push 3
lea ecx, [ebp - 0x1850]
call edi
lea ecx, [ebp - 0x1848]
call fcn.1001b290
lea ecx, [ebp - 0x1850]
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov al, byte [ebp - 0x185d]
jmp 0x1002d1da