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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100caa30
mov eax, dword fs:[0]
push eax
mov eax, 0x189c
call fcn.100c9900
mov eax, dword [0x100ed380]
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 [0x101c3410]
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 0x100423fb
mov ecx, dword [esi]
mov edx, dword [ecx + 0x260]
mov ecx, esi
call edx
test al, al
je 0x100423fb
mov eax, dword [0x101c3634]
add eax, 0xffffffcc
xor eax, 0xd5b8f0f
cmp dword [eax + esi], 0
jne 0x100423fb
mov eax, dword [0x101c359c]
cmp byte [eax + esi], 0
jne 0x100423fb
mov edx, dword [0x101c360c]
mov eax, dword [0x10162100]
add edx, 0xffffffd6
xor edx, 0xd5b8f05
mov ecx, dword [edx + esi]
cmp ecx, dword [edx + eax]
jne 0x10041f20
mov ecx, dword [0x101c34e0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x100423fb
lea esi, [edi - 1]
cmp esi, 0x40
jb 0x10041f6e
push str.array_subscript_out_of_range
push 0x100d5f90
push 0
push 0x215
push 0x100d67f0
push 2
call dword [sym.imp.ucrtbased.dll__CrtDbgReport]
add esp, 0x18
cmp eax, 1
jne 0x10041f4f
int3
push 0
push 0x215
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.40.33807include_array
push 0x100d60c4
push str._array_subscript_out_of_range_
call dword [sym.imp.ucrtbased.dll__invalid_parameter]
add esp, 0x14
imul esi, esi, 0x12c8
add esi, 0x10172e7c
mov dword [ebp - 0x186c], esi
je 0x100423fb
mov eax, dword [esi + 0x18]
test eax, eax
je 0x100423fb
cmp eax, 2
jb 0x100423fb
mov ecx, dword [0x101c340c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x1818], eax
test eax, eax
je 0x100423fb
mov ecx, dword [0x101c98ac]
test cl, 1
jne 0x10042050
or ecx, 1
mov dword [0x101c98ac], ecx
mov eax, dword [0x101c3408]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1868], eax
test eax, eax
je 0x10042032
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x10041ff0
xor edx, edx
test ecx, ecx
je 0x1004201f
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10042000
cmp esi, 0x8c8dc452
je 0x1004203c
mov eax, dword [ebp - 0x1868]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1868], eax
test eax, eax
jne 0x10041fe2
mov esi, dword [ebp - 0x186c]
xor ecx, ecx
mov dword [0x101c98a8], ecx
jmp 0x10042056
mov ecx, dword [ebp - 0x1868]
mov esi, dword [ebp - 0x186c]
mov dword [0x101c98a8], ecx
jmp 0x10042056
mov ecx, dword [0x101c98a8]
test ecx, ecx
je 0x10042071
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x181c], eax
call dword [ebp - 0x181c]
fstp dword [0x10171d84]
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 0x100420d5
test eax, eax
je 0x100420bd
lea ecx, [ebp - 0x1828]
call fcn.1001c4c0
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.1001c430
mov eax, dword [ebp - 0x1820]
lea ecx, [ebp - 0x181c]
push 3
mov dword [ebp - 0x1840], eax
call edi
lea ecx, [ebp - 0x1828]
call fcn.1001c4c0
lea ecx, [ebp - 0x181c]
call esi
mov ecx, dword [ebp - 0x186c]
lea eax, [ebp - 0x1884]
push eax
mov dword [ebp - 4], 0
lea ecx, [ecx + 8]
call fcn.100434e0
push eax
lea ecx, [ebp - 0x1848]
call fcn.10043730
push 3
lea ecx, [ebp - 0x181c]
mov byte [ebp - 0x185d], al
call edi
lea ecx, [ebp - 0x1884]
call fcn.1001c4c0
lea ecx, [ebp - 0x181c]
call esi
cmp byte [ebp - 0x185d], 0
jne 0x100423de
nop word [eax + eax]
lea eax, [ebp - 0x1848]
push eax
lea ecx, [ebp - 0x1828]
call fcn.1001c430
mov eax, dword [ebp - 0x1840]
lea ecx, [ebp - 0x1828]
mov dword [ebp - 0x1820], eax
call fcn.10043590
lea ecx, [ebp - 0x1828]
call fcn.10043650
push 3
lea ecx, [ebp - 0x1854]
mov esi, eax
call edi
lea ecx, [ebp - 0x1828]
call fcn.1001c4c0
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 - 0x18a8]
push eax
call fcn.100434e0
mov esi, eax
lea eax, [ebp - 0x189c]
push ecx
push eax
lea ecx, [ebp - 0x1848]
call fcn.100433b0
push esi
mov ecx, eax
call fcn.10043730
push 3
lea ecx, [ebp - 0x1858]
mov byte [ebp - 0x185e], al
call edi
lea ecx, [ebp - 0x189c]
call fcn.1001c4c0
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 - 0x18a8]
call fcn.1001c4c0
lea ecx, [ebp - 0x185c]
call esi
mov eax, dword [ebp - 0x1868]
test eax, eax
je 0x100422f5
mov ecx, eax
call fcn.10041d00
test al, al
je 0x100422f5
cmp byte [ebp - 0x185e], 0
jne 0x100422f5
push ecx
lea eax, [ebp - 0x1878]
push eax
lea ecx, [ebp - 0x1848]
call fcn.100433b0
or dword [ebp - 0x1864], 1
lea ecx, [ebp - 0x1834]
mov esi, eax
push esi
call fcn.1001c430
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x1834]
mov dword [ebp - 0x182c], eax
call fcn.10043590
lea ecx, [ebp - 0x1834]
call fcn.10043650
push 3
lea ecx, [ebp - 0x184c]
mov esi, eax
call edi
lea ecx, [ebp - 0x1834]
call fcn.1001c4c0
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 0x100422fc
mov byte [ebp - 0x185d], 0
mov eax, dword [ebp - 0x1864]
test al, 1
je 0x10042334
and eax, 0xfffffffe
lea ecx, [ebp - 0x183c]
push 3
mov dword [ebp - 0x1864], eax
call edi
lea ecx, [ebp - 0x1878]
call fcn.1001c4c0
mov esi, dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
lea ecx, [ebp - 0x183c]
call esi
jmp 0x1004233a
mov esi, dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp byte [ebp - 0x185d], 0
jne 0x1004241a
lea eax, [ebp - 0x1848]
push eax
lea ecx, [ebp - 0x1890]
call fcn.1001c430
mov eax, dword [ebp - 0x1840]
lea ecx, [ebp - 0x1848]
mov dword [ebp - 0x1888], eax
call fcn.10043590
push 3
lea ecx, [ebp - 0x1814]
call edi
lea ecx, [ebp - 0x1890]
call fcn.1001c4c0
lea ecx, [ebp - 0x1814]
call esi
mov ecx, dword [ebp - 0x186c]
lea eax, [ebp - 0x1884]
push eax
lea ecx, [ecx + 8]
call fcn.100434e0
push eax
lea ecx, [ebp - 0x1848]
call fcn.10043730
push 3
lea ecx, [ebp - 0x181c]
mov byte [ebp - 0x185d], al
call edi
lea ecx, [ebp - 0x1884]
call fcn.1001c4c0
lea ecx, [ebp - 0x181c]
call esi
cmp byte [ebp - 0x185d], 0
je 0x10042180
push 3
lea ecx, [ebp - 0x1818]
call edi
lea ecx, [ebp - 0x1848]
call fcn.1001c4c0
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.100c6d50
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.1001c2a0
movss xmm1, dword [0x100e0a18]
comiss xmm1, xmm0
jbe 0x1004246c
mov byte [ebp - 0x185d], 0
jmp 0x10042851
cmp byte [ebp - 0x185e], 0
je 0x10042480
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x28]
call eax
jmp 0x100424fe
push ecx
lea eax, [ebp - 0x1878]
push eax
lea ecx, [ebp - 0x1848]
call fcn.100433b0
mov esi, eax
lea ecx, [ebp - 0x1834]
mov eax, dword [ebp - 0x1864]
or eax, 2
push esi
mov dword [ebp - 0x1864], eax
call fcn.1001c430
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x1834]
mov dword [ebp - 0x182c], eax
call fcn.10043590
lea ecx, [ebp - 0x1834]
call fcn.10043650
push 3
lea ecx, [ebp - 0x1814]
mov esi, eax
call edi
lea ecx, [ebp - 0x1834]
call fcn.1001c4c0
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 0x10042547
and eax, 0xfffffffd
lea ecx, [ebp - 0x1814]
push 3
mov dword [ebp - 0x1864], eax
call edi
lea ecx, [ebp - 0x1878]
call fcn.1001c4c0
lea ecx, [ebp - 0x1814]
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp byte [ebp - 0x185e], 0
je 0x10042564
mov eax, dword [0x101c3678]
add eax, 0xffffffbb
xor eax, 0xd5b8f20
movss xmm0, dword [eax + esi]
jmp 0x100425d5
push ecx
lea eax, [ebp - 0x1878]
push eax
lea ecx, [ebp - 0x1848]
call fcn.100433b0
or dword [ebp - 0x1864], 4
lea ecx, [ebp - 0x1834]
mov esi, eax
push esi
call fcn.1001c430
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x1834]
mov dword [ebp - 0x182c], eax
call fcn.10043590
lea ecx, [ebp - 0x1834]
call fcn.10043650
push 3
lea ecx, [ebp - 0x1814]
mov esi, eax
call edi
lea ecx, [ebp - 0x1834]
call fcn.1001c4c0
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 0x10042608
push 3
lea ecx, [ebp - 0x1814]
call edi
lea ecx, [ebp - 0x1878]
call fcn.1001c4c0
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 0x10171d84
call fcn.10037ad0
movss xmm1, dword [ebp - 0x1838]
add esp, 8
cmp byte [ebp - 0x185e], 0
addss xmm1, dword [0x101621cc]
mov esi, dword [ebp - 0x1868]
je 0x100426a3
movss xmm0, dword [0x100e0a18]
jmp 0x100426b0
movss xmm0, dword [ebp - 0x181c]
subss xmm0, dword [esi + 0x14]
addss xmm1, dword [esi + 0x14]
mov eax, dword [0x101c346c]
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.10037ad0
movss xmm3, dword [0x100e0a18]
movq xmm0, qword [esi + 0x20]
movq qword [ebp - 0x1834], xmm0
movss xmm1, dword [eax]
movss xmm2, dword [ebp - 0x1834]
subss xmm3, xmm1
movss xmm0, dword [ebp - 0x1828]
mov eax, dword [esi + 0x28]
mulss xmm2, xmm1
mov esi, dword [esi + 0x3c8]
mulss xmm0, xmm3
mov dword [ebp - 0x182c], eax
lea eax, [ebp - 0x1810]
push 0x1800
push esi
addss xmm2, xmm0
movss xmm0, dword [ebp - 0x1824]
mulss xmm0, xmm3
push eax
movss dword [ebp - 0x1818], xmm2
movss xmm2, dword [ebp - 0x1830]
mulss xmm2, xmm1
addss xmm2, xmm0
movss xmm0, dword [ebp - 0x1820]
mulss xmm0, xmm3
movss dword [ebp - 0x1814], xmm2
movss xmm2, dword [ebp - 0x182c]
mulss xmm2, xmm1
addss xmm2, xmm0
movss dword [ebp - 0x183c], xmm2
call sub.VCRUNTIME140D.dll_memcpy
mov ecx, 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 edx, 0x80
movss xmm6, dword [ecx + 0x20]
movss xmm7, dword [ecx + 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 [ecx + 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 edx, 1
jne 0x100427f0
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.1001c4c0
lea ecx, [ebp - 0x1850]
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov al, byte [ebp - 0x185d]
jmp 0x100423fd