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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100af440
mov eax, dword fs:[0]
push eax
mov eax, 0x18a8
call fcn.100ae8d0
mov eax, dword [0x100cd040]
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 [0x101050cc]
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 0x1002d4d8
mov ecx, dword [esi]
mov edx, dword [ecx + 0x260]
mov ecx, esi
call edx
test al, al
je 0x1002d4d8
mov eax, dword [0x101052f4]
add eax, 0xffffffcc
xor eax, 0x765c4d5
cmp dword [eax + esi], 0
jne 0x1002d4d8
mov eax, dword [0x10105268]
cmp byte [eax + esi], 0
jne 0x1002d4d8
mov edx, dword [0x101052cc]
mov eax, dword [0x100cd0b8]
add edx, 0xffffffd6
xor edx, 0x765c4cb
mov ecx, dword [edx + esi]
cmp ecx, dword [edx + eax]
jne 0x1002cf50
mov ecx, dword [0x10105198]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x1002d4d8
lea esi, [edi - 1]
cmp esi, 0x40
jb 0x1002cf9e
push str.array_subscript_out_of_range
push 0x100b9568
push 0
push 0x215
push 0x100ba210
push 2
call dword [sym.imp.ucrtbased.dll__CrtDbgReport]
add esp, 0x18
cmp eax, 1
jne 0x1002cf7f
int3
push 0
push 0x215
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.40.33807include_array
push 0x100b969c
push str._array_subscript_out_of_range_
call dword [sym.imp.ucrtbased.dll__invalid_parameter]
add esp, 0x14
imul esi, esi, 0x8b4
add esi, 0x100df424
mov dword [ebp - 0x186c], esi
je 0x1002d4d8
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1002d4d8
cmp eax, 2
jb 0x1002d4d8
mov ecx, dword [0x101050c8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x1818], eax
test eax, eax
je 0x1002d4d8
mov ecx, dword [0x1010b4f0]
test cl, 1
jne 0x1002d080
or ecx, 1
mov dword [0x1010b4f0], ecx
mov eax, dword [0x101050c4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1868], eax
test eax, eax
je 0x1002d062
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x1002d020
xor edx, edx
test ecx, ecx
je 0x1002d04f
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1002d030
cmp esi, 0x8c8dc452
je 0x1002d06c
mov eax, dword [ebp - 0x1868]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1868], eax
test eax, eax
jne 0x1002d012
mov esi, dword [ebp - 0x186c]
xor ecx, ecx
mov dword [0x1010b4ec], ecx
jmp 0x1002d086
mov ecx, dword [ebp - 0x1868]
mov esi, dword [ebp - 0x186c]
mov dword [0x1010b4ec], ecx
jmp 0x1002d086
mov ecx, dword [0x1010b4ec]
test ecx, ecx
je 0x1002d0a1
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x181c], eax
call dword [ebp - 0x181c]
fstp dword [0x100cd0a4]
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 0x1002d105
test eax, eax
je 0x1002d0ed
lea ecx, [ebp - 0x1828]
call fcn.1001b180
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.1001b0f0
mov eax, dword [ebp - 0x1820]
lea ecx, [ebp - 0x181c]
push 3
mov dword [ebp - 0x1840], eax
call edi
lea ecx, [ebp - 0x1828]
call fcn.1001b180
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.1002f640
push eax
lea ecx, [ebp - 0x1848]
call fcn.1002f9c0
push 3
lea ecx, [ebp - 0x181c]
mov byte [ebp - 0x185d], al
call edi
lea ecx, [ebp - 0x1890]
call fcn.1001b180
lea ecx, [ebp - 0x181c]
call esi
cmp byte [ebp - 0x185d], 0
jne 0x1002d4bb
nop word [eax + eax]
lea eax, [ebp - 0x1848]
push eax
lea ecx, [ebp - 0x1828]
call fcn.1001b0f0
mov eax, dword [ebp - 0x1840]
lea ecx, [ebp - 0x1828]
mov dword [ebp - 0x1820], eax
call fcn.1002f800
lea ecx, [ebp - 0x1828]
call fcn.1002f8c0
push 3
lea ecx, [ebp - 0x1854]
mov esi, eax
call edi
lea ecx, [ebp - 0x1828]
call fcn.1001b180
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.1002f640
mov esi, eax
lea eax, [ebp - 0x18a8]
push ecx
push eax
lea ecx, [ebp - 0x1848]
call fcn.1002f510
push esi
mov ecx, eax
call fcn.1002f9c0
push 3
lea ecx, [ebp - 0x1858]
mov byte [ebp - 0x185e], al
call edi
lea ecx, [ebp - 0x18a8]
call fcn.1001b180
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.1001b180
lea ecx, [ebp - 0x185c]
call esi
mov esi, dword [ebp - 0x1868]
test esi, esi
je 0x1002d3d2
mov ecx, dword [0x1010531c]
mov eax, dword [0x100cd0b8]
add ecx, 0xffffffc2
xor ecx, 0x765c4df
push 1
movd xmm0, dword [ecx + eax]
mov eax, dword [0x10105124]
mov ecx, dword [0x10105130]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
mov eax, dword [ecx]
movss dword [ebp - 0x1878], xmm0
movss xmm0, dword [0x100cd454]
addss xmm0, dword [0x100cd450]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x1870], eax
movss dword [ebp - 0x1874], xmm0
call dword [ebp - 0x1870]
mov ecx, dword [0x10105168]
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.1002c8e0
movss xmm1, dword [0x100c262c]
comiss xmm1, xmm0
jbe 0x1002d3d2
cmp byte [ebp - 0x185e], 0
jne 0x1002d3d2
push ecx
lea eax, [ebp - 0x1884]
push eax
lea ecx, [ebp - 0x1848]
call fcn.1002f510
or dword [ebp - 0x1864], 1
lea ecx, [ebp - 0x1834]
mov esi, eax
push esi
call fcn.1001b0f0
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x1834]
mov dword [ebp - 0x182c], eax
call fcn.1002f800
lea ecx, [ebp - 0x1834]
call fcn.1002f8c0
push 3
lea ecx, [ebp - 0x184c]
mov esi, eax
call edi
lea ecx, [ebp - 0x1834]
call fcn.1001b180
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 0x1002d3d9
mov byte [ebp - 0x185d], 0
mov eax, dword [ebp - 0x1864]
test al, 1
je 0x1002d411
and eax, 0xfffffffe
lea ecx, [ebp - 0x183c]
push 3
mov dword [ebp - 0x1864], eax
call edi
lea ecx, [ebp - 0x1884]
call fcn.1001b180
mov esi, dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
lea ecx, [ebp - 0x183c]
call esi
jmp 0x1002d417
mov esi, dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp byte [ebp - 0x185d], 0
jne 0x1002d4f7
lea eax, [ebp - 0x1848]
push eax
lea ecx, [ebp - 0x189c]
call fcn.1001b0f0
mov eax, dword [ebp - 0x1840]
lea ecx, [ebp - 0x1848]
mov dword [ebp - 0x1894], eax
call fcn.1002f800
push 3
lea ecx, [ebp - 0x1814]
call edi
lea ecx, [ebp - 0x189c]
call fcn.1001b180
lea ecx, [ebp - 0x1814]
call esi
mov ecx, dword [ebp - 0x186c]
lea eax, [ebp - 0x1890]
push eax
lea ecx, [ecx + 8]
call fcn.1002f640
push eax
lea ecx, [ebp - 0x1848]
call fcn.1002f9c0
push 3
lea ecx, [ebp - 0x181c]
mov byte [ebp - 0x185d], al
call edi
lea ecx, [ebp - 0x1890]
call fcn.1001b180
lea ecx, [ebp - 0x181c]
call esi
cmp byte [ebp - 0x185d], 0
je 0x1002d1b0
push 3
lea ecx, [ebp - 0x1818]
call edi
lea ecx, [ebp - 0x1848]
call fcn.1001b180
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.100acaf0
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.1001af60
movss xmm1, dword [0x100c26b8]
comiss xmm1, xmm0
jbe 0x1002d549
mov byte [ebp - 0x185d], 0
jmp 0x1002d931
cmp byte [ebp - 0x185e], 0
je 0x1002d55d
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x28]
call eax
jmp 0x1002d5db
push ecx
lea eax, [ebp - 0x1884]
push eax
lea ecx, [ebp - 0x1848]
call fcn.1002f510
mov esi, eax
lea ecx, [ebp - 0x1834]
mov eax, dword [ebp - 0x1864]
or eax, 2
push esi
mov dword [ebp - 0x1864], eax
call fcn.1001b0f0
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x1834]
mov dword [ebp - 0x182c], eax
call fcn.1002f800
lea ecx, [ebp - 0x1834]
call fcn.1002f8c0
push 3
lea ecx, [ebp - 0x1814]
mov esi, eax
call edi
lea ecx, [ebp - 0x1834]
call fcn.1001b180
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 0x1002d624
and eax, 0xfffffffd
lea ecx, [ebp - 0x1814]
push 3
mov dword [ebp - 0x1864], eax
call edi
lea ecx, [ebp - 0x1884]
call fcn.1001b180
lea ecx, [ebp - 0x1814]
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp byte [ebp - 0x185e], 0
je 0x1002d641
mov eax, dword [0x10105328]
add eax, 0xffffffbf
xor eax, 0x765c4e2
movss xmm0, dword [eax + esi]
jmp 0x1002d6b2
push ecx
lea eax, [ebp - 0x1884]
push eax
lea ecx, [ebp - 0x1848]
call fcn.1002f510
or dword [ebp - 0x1864], 4
lea ecx, [ebp - 0x1834]
mov esi, eax
push esi
call fcn.1001b0f0
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x1834]
mov dword [ebp - 0x182c], eax
call fcn.1002f800
lea ecx, [ebp - 0x1834]
call fcn.1002f8c0
push 3
lea ecx, [ebp - 0x1814]
mov esi, eax
call edi
lea ecx, [ebp - 0x1834]
call fcn.1001b180
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 0x1002d6e5
push 3
lea ecx, [ebp - 0x1814]
call edi
lea ecx, [ebp - 0x1884]
call fcn.1001b180
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 0x100cd0a4
call fcn.1002fa40
movss xmm1, dword [ebp - 0x1838]
add esp, 8
cmp byte [ebp - 0x185e], 0
addss xmm1, dword [0x100cd450]
mov esi, dword [ebp - 0x1868]
je 0x1002d780
movss xmm0, dword [0x100c26b8]
jmp 0x1002d78d
movss xmm0, dword [ebp - 0x181c]
subss xmm0, dword [esi + 0x14]
addss xmm1, dword [esi + 0x14]
mov eax, dword [0x10105124]
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.1002fa40
movss xmm3, dword [0x100c26b8]
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 + 0x6bc]
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 0x1002d8d0
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.1001b180
lea ecx, [ebp - 0x1850]
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov al, byte [ebp - 0x185d]
jmp 0x1002d4da