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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cc030
mov eax, dword fs:[0]
push eax
mov eax, 0x189c
call fcn.100caed0
mov eax, dword [0x100f0380]
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 [0x101c6440]
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 0x100423db
mov ecx, dword [esi]
mov edx, dword [ecx + 0x260]
mov ecx, esi
call edx
test al, al
je 0x100423db
mov eax, dword [0x101c666c]
add eax, 0xffffffcc
xor eax, 0x9ad088d4
cmp dword [eax + esi], 0
jne 0x100423db
mov eax, dword [0x101c65d0]
cmp byte [eax + esi], 0
jne 0x100423db
mov edx, dword [0x101c6644]
mov eax, dword [0x101650f8]
add edx, 0xffffffd6
xor edx, 0x9ad088ca
mov ecx, dword [edx + esi]
cmp ecx, dword [edx + eax]
jne 0x10041f00
mov ecx, dword [0x101c6514]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x100423db
lea esi, [edi - 1]
cmp esi, 0x40
jb 0x10041f4e
push str.array_subscript_out_of_range
push 0x100d7fd0
push 0
push 0x215
push 0x100d8708
push 2
call dword [sym.imp.ucrtbased.dll__CrtDbgReport]
add esp, 0x18
cmp eax, 1
jne 0x10041f2f
int3
push 0
push 0x215
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.41.34120include_array
push 0x100d8104
push str._array_subscript_out_of_range_
call dword [sym.imp.ucrtbased.dll__invalid_parameter]
add esp, 0x14
imul esi, esi, 0x12c8
add esi, 0x10175eac
mov dword [ebp - 0x186c], esi
je 0x100423db
mov eax, dword [esi + 0x18]
test eax, eax
je 0x100423db
cmp eax, 2
jb 0x100423db
mov ecx, dword [0x101c643c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x1818], eax
test eax, eax
je 0x100423db
mov ecx, dword [0x101cc8ec]
test cl, 1
jne 0x10042030
or ecx, 1
mov dword [0x101cc8ec], ecx
mov eax, dword [0x101c6438]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1868], eax
test eax, eax
je 0x10042012
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x10041fd0
xor edx, edx
test ecx, ecx
je 0x10041fff
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10041fe0
cmp esi, 0x8c8dc452
je 0x1004201c
mov eax, dword [ebp - 0x1868]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1868], eax
test eax, eax
jne 0x10041fc2
mov esi, dword [ebp - 0x186c]
xor ecx, ecx
mov dword [0x101cc8e8], ecx
jmp 0x10042036
mov ecx, dword [ebp - 0x1868]
mov esi, dword [ebp - 0x186c]
mov dword [0x101cc8e8], ecx
jmp 0x10042036
mov ecx, dword [0x101cc8e8]
test ecx, ecx
je 0x10042051
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x181c], eax
call dword [ebp - 0x181c]
fstp dword [0x10174d74]
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 0x100420b5
test eax, eax
je 0x1004209d
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.100434c0
push eax
lea ecx, [ebp - 0x1848]
call fcn.10043710
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 0x100423be
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.10043570
lea ecx, [ebp - 0x1828]
call fcn.10043630
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.100434c0
mov esi, eax
lea eax, [ebp - 0x189c]
push ecx
push eax
lea ecx, [ebp - 0x1848]
call fcn.10043390
push esi
mov ecx, eax
call fcn.10043710
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 0x100422d5
mov ecx, eax
call fcn.10041ce0
test al, al
je 0x100422d5
cmp byte [ebp - 0x185e], 0
jne 0x100422d5
push ecx
lea eax, [ebp - 0x1878]
push eax
lea ecx, [ebp - 0x1848]
call fcn.10043390
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.10043570
lea ecx, [ebp - 0x1834]
call fcn.10043630
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 0x100422dc
mov byte [ebp - 0x185d], 0
mov eax, dword [ebp - 0x1864]
test al, 1
je 0x10042314
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 0x1004231a
mov esi, dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp byte [ebp - 0x185d], 0
jne 0x100423fa
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.10043570
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.100434c0
push eax
lea ecx, [ebp - 0x1848]
call fcn.10043710
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 0x10042160
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.100c8320
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 [0x100e2bb0]
comiss xmm1, xmm0
jbe 0x1004244c
mov byte [ebp - 0x185d], 0
jmp 0x10042831
cmp byte [ebp - 0x185e], 0
je 0x10042460
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x28]
call eax
jmp 0x100424de
push ecx
lea eax, [ebp - 0x1878]
push eax
lea ecx, [ebp - 0x1848]
call fcn.10043390
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.10043570
lea ecx, [ebp - 0x1834]
call fcn.10043630
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 0x10042527
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 0x10042544
mov eax, dword [0x101c66b0]
add eax, 0xffffffbb
xor eax, 0x9ad088e5
movss xmm0, dword [eax + esi]
jmp 0x100425b5
push ecx
lea eax, [ebp - 0x1878]
push eax
lea ecx, [ebp - 0x1848]
call fcn.10043390
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.10043570
lea ecx, [ebp - 0x1834]
call fcn.10043630
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 0x100425e8
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 0x10174d74
call fcn.10037ac0
movss xmm1, dword [ebp - 0x1838]
add esp, 8
cmp byte [ebp - 0x185e], 0
addss xmm1, dword [0x101651c4]
mov esi, dword [ebp - 0x1868]
je 0x10042683
movss xmm0, dword [0x100e2bb0]
jmp 0x10042690
movss xmm0, dword [ebp - 0x181c]
subss xmm0, dword [esi + 0x14]
addss xmm1, dword [esi + 0x14]
mov eax, dword [0x101c649c]
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.10037ac0
movss xmm3, dword [0x100e2bb0]
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 0x100427d0
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 0x100423dd