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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10195dc1
mov eax, dword fs:[0]
push eax
mov eax, 0x18ec
call fcn.10193b30
mov eax, dword [0x102480b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ecx, 0x1028ab99
mov esi, dword [ebp + 8]
mov dword [ebp - 0x181c], esi
mov dword [ebp - 0x1838], eax
mov dword [ebp - 0x1894], 0
call fcn.10193940
mov ecx, dword [0x10264844]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
mov dword [ebp - 0x189c], esi
test esi, esi
je 0x1005ab3c
mov ecx, dword [esi]
mov edx, dword [ecx + 0x260]
mov ecx, esi
call edx
test al, al
je 0x1005ab3c
mov eax, dword [0x1027d6ec]
add eax, 0xffffffcb
xor eax, 0x7d97e690
cmp dword [eax + esi], 0
jne 0x1005ab3c
mov eax, dword [0x102649fc]
mov al, byte [eax + esi]
test al, al
jne 0x1005ab3c
mov edx, dword [0x1027d6c4]
mov eax, dword [0x1025d258]
add edx, 0xffffffd5
xor edx, 0x7d97e686
mov ecx, dword [edx + esi]
cmp ecx, dword [edx + eax]
jne 0x1005a411
mov ecx, dword [0x10264914]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x1005ab3c
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10264840]
lea esi, [ebp - 0x168]
push esi
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
call edx
test al, al
je 0x1005a6b5
lea eax, [ebp - 0x1811]
mov byte [ebp - 0x188d], 0
push 8
mov dword [ebp - 0x18d4], 0
mov dword [ebp - 0x18d0], 0
mov dword [ebp - 0x18c0], 0
mov dword [ebp - 0x18bc], 0
mov dword [ebp - 0x1820], eax
call fcn.10191600
lea ecx, [ebp - 0x18d4]
mov dword [ebp - 0x1824], eax
add esp, 4
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp - 0x18d4], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x18c0], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x18bc], 0xf
mov byte [ebp - 0x18d0], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005a4c4
sub ecx, edx
lea eax, [ebp - 0x158]
push ecx
push eax
lea ecx, [ebp - 0x18d4]
call fcn.100425a0
mov dword [ebp - 0x1824], 0
push 0x10
push 0
lea eax, [ebp - 0x188c]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x18d4]
call fcn.10042130
lea ecx, [ebp - 0x18d4]
mov byte [ebp - 4], 3
call fcn.1002f6d0
mov esi, dword [ebp - 0x18bc]
cmp esi, 0x10
jb 0x1005a57e
mov edi, dword [ebp - 0x18d0]
inc esi
test edi, edi
jne 0x1005a575
test esi, esi
je 0x1005a575
push str.null_pointer_cannot_point_to_a_block_of_non_zero_size
push 0x101ad5ac
push edi
push 0x33c
push 0x101ad5b0
push 2
call dword [sym.imp.ucrtbased.dll__CrtDbgReport]
add esp, 0x18
cmp eax, 1
jne 0x1005a556
int3
push 0
push 0x33c
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.32.31326includexmemory
push 0x101ad6dc
push str._null_pointer_cannot_point_to_a_block_of_non_zero_size_
call dword [sym.imp.ucrtbased.dll__invalid_parameter]
add esp, 0x14
mov edx, esi
mov ecx, edi
call fcn.10049fa0
mov eax, dword [ebp - 0x18d4]
push 8
push eax
mov dword [ebp - 0x18c0], 0
mov dword [ebp - 0x18bc], 0xf
mov byte [ebp - 0x18d0], 0
mov dword [ebp - 0x18d4], 0
call fcn.10191ec0
mov esi, dword [0x10264a0c]
add esp, 8
mov edi, dword [0x10264a10]
cmp esi, edi
je 0x1005a67b
nop dword [eax + eax]
push esi
lea ecx, [ebp - 0x1870]
call fcn.100429a0
cmp dword [ebp - 0x1874], 0x10
lea edx, [ebp - 0x1888]
mov eax, dword [ebp - 0x185c]
lea ecx, [ebp - 0x186c]
cmovae edx, dword [ebp - 0x1888]
cmp dword [ebp - 0x1858], 0x10
cmovae ecx, dword [ebp - 0x186c]
cmp eax, dword [ebp - 0x1878]
jne 0x1005a61f
push eax
call fcn.1004b380
add esp, 4
test eax, eax
je 0x1005a64e
lea ecx, [ebp - 0x1870]
call fcn.10045430
mov eax, dword [ebp - 0x1870]
push 8
push eax
mov dword [ebp - 0x1870], 0
call fcn.10191ec0
add esi, 0x1c
add esp, 8
cmp esi, edi
jne 0x1005a5d0
jmp 0x1005a67b
lea ecx, [ebp - 0x1870]
mov byte [ebp - 0x188d], 1
call fcn.10045430
mov eax, dword [ebp - 0x1870]
push 8
push eax
mov dword [ebp - 0x1870], 0
call fcn.10191ec0
add esp, 8
lea ecx, [ebp - 0x188c]
mov dword [ebp - 4], 0xffffffff
call fcn.10045430
mov eax, dword [ebp - 0x188c]
push 8
push eax
mov dword [ebp - 0x188c], 0
call fcn.10191ec0
add esp, 8
cmp byte [ebp - 0x188d], 0
jne 0x1005ab3c
mov esi, dword [ebp - 0x181c]
dec esi
cmp esi, 0x40
jb 0x1005a707
push str.array_subscript_out_of_range
push 0x101ad5ac
push 0
push 0x22f
push 0x101ade30
push 2
call dword [sym.imp.ucrtbased.dll__CrtDbgReport]
add esp, 0x18
cmp eax, 1
jne 0x1005a6e8
int3
push 0
push 0x22f
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.32.31326include_array
push 0x101ad6dc
push str._array_subscript_out_of_range_
call dword [sym.imp.ucrtbased.dll__invalid_parameter]
add esp, 0x14
imul esi, esi, 0x4d8
add esi, 0x1024883c
je 0x1005ab3c
mov eax, dword [esi + 0x18]
add esi, 8
mov dword [ebp - 0x18a0], esi
test eax, eax
je 0x1005ab3c
cmp eax, 2
jb 0x1005ab3c
mov ecx, dword [0x10264840]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x1818], eax
test eax, eax
je 0x1005ab3c
mov ecx, dword fs:[0x2c]
mov edx, dword [0x102486f4]
mov edx, dword [ecx + edx*4]
mov ecx, dword [0x10283ce8]
cmp ecx, dword [edx + 4]
jle 0x1005a80a
push 0x10283ce8
call fcn.10191490
add esp, 4
cmp dword [0x10283ce8], 0xffffffff
jne 0x1005a80a
mov eax, dword [0x1026483c]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1898], eax
test eax, eax
je 0x1005a7f6
nop
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x1005a7b0
xor edx, edx
test ecx, ecx
je 0x1005a7e3
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1005a7c0
mov eax, dword [ebp - 0x1898]
cmp esi, 0x8c8dc452
je 0x1005a86c
mov eax, dword [eax + 4]
mov dword [ebp - 0x1898], eax
test eax, eax
jne 0x1005a7a0
mov esi, dword [ebp - 0x18a0]
xor eax, eax
push 0x10283ce8
mov dword [0x10283ce4], eax
call fcn.10191440
add esp, 4
mov ecx, dword [0x10283ce4]
test ecx, ecx
je 0x1005a82b
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x181c], eax
call dword [ebp - 0x181c]
fstp dword [0x102480c4]
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x1848]
add eax, dword [esi + 0xc]
mov edi, dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::_Lockit::constructor_int_]
push 3
mov dword [ebp - 0x18ac], 0
mov dword [ebp - 0x18a8], 0
mov dword [ebp - 0x18a4], eax
call edi
test esi, esi
jne 0x1005a874
lea ecx, [ebp - 0x18ac]
call fcn.1002f5b0
jmp 0x1005a8a7
mov esi, dword [ebp - 0x18a0]
jmp 0x1005a7f8
mov esi, dword [esi]
mov eax, dword [ebp - 0x18ac]
cmp eax, esi
je 0x1005a8a7
test eax, eax
je 0x1005a88f
lea ecx, [ebp - 0x18ac]
call fcn.1002f5b0
mov eax, dword [esi + 4]
mov dword [ebp - 0x18a8], eax
lea eax, [ebp - 0x18ac]
mov dword [esi + 4], eax
mov dword [ebp - 0x18ac], esi
mov esi, dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
lea ecx, [ebp - 0x1848]
call esi
lea eax, [ebp - 0x18ac]
mov dword [ebp - 0x1834], 0
push eax
lea ecx, [ebp - 0x1834]
mov dword [ebp - 0x1830], 0
call fcn.1002f280
mov eax, dword [ebp - 0x18a4]
lea ecx, [ebp - 0x184c]
push 3
mov dword [ebp - 0x182c], eax
call edi
lea ecx, [ebp - 0x18ac]
call fcn.1002f5b0
lea ecx, [ebp - 0x184c]
call esi
mov ecx, dword [ebp - 0x18a0]
lea eax, [ebp - 0x18b8]
push eax
mov dword [ebp - 4], 4
call fcn.1005da60
push eax
lea ecx, [ebp - 0x1834]
call fcn.1005eed0
push 3
lea ecx, [ebp - 0x181c]
mov byte [ebp - 0x1811], al
call edi
lea ecx, [ebp - 0x18b8]
call fcn.1002f5b0
lea ecx, [ebp - 0x181c]
call esi
cmp byte [ebp - 0x1811], 0
jne 0x1005ab1f
nop dword [eax]
lea ecx, [ebp - 0x1834]
call fcn.1005d5b0
mov ecx, dword [ebp - 0x18a0]
mov eax, dword [eax]
mov dword [ebp - 0x1898], eax
lea eax, [ebp - 0x18f8]
push eax
call fcn.1005da60
mov esi, eax
lea eax, [ebp - 0x18ec]
push ecx
push eax
lea ecx, [ebp - 0x1834]
call fcn.1005d390
push esi
mov ecx, eax
call fcn.1005eed0
push 3
lea ecx, [ebp - 0x1850]
mov byte [ebp - 0x188d], al
call edi
lea ecx, [ebp - 0x18ec]
call fcn.1002f5b0
mov esi, dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
lea ecx, [ebp - 0x1850]
call esi
push 3
lea ecx, [ebp - 0x1854]
call edi
lea ecx, [ebp - 0x18f8]
call fcn.1002f5b0
lea ecx, [ebp - 0x1854]
call esi
mov eax, dword [ebp - 0x1898]
test eax, eax
je 0x1005aa33
mov ecx, eax
call fcn.10059ce0
test al, al
je 0x1005aa33
cmp byte [ebp - 0x188d], 0
jne 0x1005aa33
push ecx
lea eax, [ebp - 0x18e0]
push eax
lea ecx, [ebp - 0x1834]
call fcn.1005d390
or dword [ebp - 0x1894], 1
mov ecx, eax
call fcn.1005d5b0
mov byte [ebp - 0x1811], 1
cmp dword [eax], 0
jne 0x1005aa3a
mov byte [ebp - 0x1811], 0
mov eax, dword [ebp - 0x1894]
test al, 1
je 0x1005aa6a
and eax, 0xfffffffe
lea ecx, [ebp - 0x1828]
push 3
mov dword [ebp - 0x1894], eax
call edi
lea ecx, [ebp - 0x18e0]
call fcn.1002f5b0
lea ecx, [ebp - 0x1828]
call esi
cmp byte [ebp - 0x1811], 0
jne 0x1005ab5b
lea eax, [ebp - 0x1834]
mov dword [ebp - 0x1844], 0
push eax
lea ecx, [ebp - 0x1844]
mov dword [ebp - 0x1840], 0
call fcn.1002f280
mov eax, dword [ebp - 0x182c]
lea ecx, [ebp - 0x1834]
mov dword [ebp - 0x183c], eax
call fcn.1005e310
push 3
lea ecx, [ebp - 0x1820]
call edi
lea ecx, [ebp - 0x1844]
call fcn.1002f5b0
lea ecx, [ebp - 0x1820]
call esi
mov ecx, dword [ebp - 0x18a0]
lea eax, [ebp - 0x18b8]
push eax
call fcn.1005da60
push eax
lea ecx, [ebp - 0x1834]
call fcn.1005eed0
push 3
lea ecx, [ebp - 0x181c]
mov byte [ebp - 0x1811], al
call edi
lea ecx, [ebp - 0x18b8]
call fcn.1002f5b0
lea ecx, [ebp - 0x181c]
call esi
cmp byte [ebp - 0x1811], 0
je 0x1005a960
push 3
lea ecx, [ebp - 0x1818]
call edi
lea ecx, [ebp - 0x1834]
call fcn.1002f5b0
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.101912d0
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x189c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [ebp - 0x1898]
movss xmm1, dword [ecx + 0x2c]
movss xmm0, dword [ecx + 0x30]
subss xmm0, dword [eax + 4]
subss xmm1, dword [eax]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.1002ecc0
movss xmm1, dword [0x1023223c]
comiss xmm1, xmm0
jbe 0x1005abab
mov byte [ebp - 0x1811], 0
jmp 0x1005aed9
cmp byte [ebp - 0x188d], 0
je 0x1005abc3
mov ecx, dword [ebp - 0x189c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
jmp 0x1005abf1
push ecx
lea eax, [ebp - 0x18e0]
push eax
lea ecx, [ebp - 0x1834]
call fcn.1005d390
mov ecx, dword [ebp - 0x1894]
or ecx, 2
mov dword [ebp - 0x1894], ecx
mov ecx, eax
call fcn.1005d5b0
mov eax, dword [eax]
add eax, 0x2c
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x18b0], eax
mov eax, dword [ebp - 0x1894]
movq qword [ebp - 0x18b8], xmm0
test al, 2
je 0x1005ac36
and eax, 0xfffffffd
lea ecx, [ebp - 0x1820]
push 3
mov dword [ebp - 0x1894], eax
call edi
lea ecx, [ebp - 0x18e0]
call fcn.1002f5b0
lea ecx, [ebp - 0x1820]
call esi
cmp byte [ebp - 0x188d], 0
je 0x1005ac59
mov eax, dword [0x1027d720]
mov ecx, dword [ebp - 0x189c]
add eax, 0xffffffbe
xor eax, 0x7d97e69d
movss xmm0, dword [eax + ecx]
jmp 0x1005ac81
push ecx
lea eax, [ebp - 0x18e0]
push eax
lea ecx, [ebp - 0x1834]
call fcn.1005d390
or dword [ebp - 0x1894], 4
mov ecx, eax
call fcn.1005d5b0
mov eax, dword [eax]
movss xmm0, dword [eax + 0x20]
mov ecx, dword [ebp - 0x1894]
movss dword [ebp - 0x189c], xmm0
test cl, 4
je 0x1005acb1
push 3
lea ecx, [ebp - 0x1820]
call edi
lea ecx, [ebp - 0x18e0]
call fcn.1002f5b0
lea ecx, [ebp - 0x1820]
call esi
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 - 0x1820]
push 1
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x1818], eax
call dword [ebp - 0x1818]
fadd dword [ebp - 0x1820]
push 0x102480c4
lea edx, [ebp - 0x1818]
mov dword [ebp - 0x1818], 0
lea ecx, [ebp - 0x181c]
fstp dword [ebp - 0x181c]
call fcn.1005e9f0
mov esi, dword [ebp - 0x1898]
add esp, 4
cmp byte [ebp - 0x188d], 0
movss xmm1, dword [eax]
movss dword [ebp - 0x181c], xmm1
addss xmm1, dword [0x1025d700]
je 0x1005ad43
movss xmm0, dword [0x1023223c]
jmp 0x1005ad50
movss xmm0, dword [ebp - 0x189c]
subss xmm0, dword [esi + 0x20]
addss xmm1, dword [esi + 0x20]
mov eax, dword [0x1026489c]
lea edx, [ebp - 0x1820]
lea ecx, [ebp - 0x1828]
mov dword [ebp - 0x1818], 0x3f800000
mov dword [ebp - 0x1820], 0
addss xmm1, xmm0
subss xmm1, dword [eax + 0x10]
lea eax, [ebp - 0x1818]
push eax
divss xmm1, xmm0
movss dword [ebp - 0x1828], xmm1
call fcn.1005e9f0
movss xmm3, dword [0x1023223c]
movq xmm0, qword [esi + 0x2c]
movq qword [ebp - 0x1844], xmm0
movss xmm1, dword [eax]
mov eax, dword [esi + 0x34]
subss xmm3, xmm1
mov esi, dword [esi + 0x3dc]
movaps xmm2, xmm1
mulss xmm2, dword [ebp - 0x1844]
mov dword [ebp - 0x183c], eax
lea eax, [ebp - 0x1810]
push 0x1800
movaps xmm0, xmm3
mulss xmm0, dword [ebp - 0x18b8]
push esi
push eax
addss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [ebp - 0x18b4]
mulss xmm3, dword [ebp - 0x18b0]
movss dword [ebp - 0x1820], xmm2
movaps xmm2, xmm1
mulss xmm2, dword [ebp - 0x1840]
mulss xmm1, dword [ebp - 0x183c]
addss xmm2, xmm0
addss xmm1, xmm3
movss dword [ebp - 0x1828], xmm2
movss dword [ebp - 0x1818], xmm1
call sub.VCRUNTIME140D.dll_memcpy
mov ecx, dword [ebp - 0x1898]
lea eax, [ebp - 0x17f4]
movss xmm3, dword [ebp - 0x1818]
add esp, 0x10
movss xmm4, dword [ebp - 0x1820]
add esi, 0x1c
movss xmm5, dword [ebp - 0x1828]
mov edx, 0x80
movss xmm6, dword [ecx + 0x2c]
movss xmm7, dword [ecx + 0x30]
movss xmm2, dword [esi - 0x10]
movss xmm1, dword [esi]
subss xmm2, xmm6
movss xmm0, dword [esi + 0x10]
subss xmm1, xmm7
subss xmm0, dword [ecx + 0x34]
add esi, 0x30
addss xmm2, xmm4
addss xmm1, xmm5
addss xmm0, xmm3
movss dword [eax - 0x10], xmm2
movss dword [eax], xmm1
movss dword [eax + 0x10], xmm0
add eax, 0x30
sub edx, 1
jne 0x1005ae72
push 0x1800
lea eax, [ebp - 0x1810]
push eax
push dword [ebp - 0x1838]
call sub.VCRUNTIME140D.dll_memcpy
mov esi, dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
add esp, 0xc
mov byte [ebp - 0x1811], 1
push 3
lea ecx, [ebp - 0x1838]
call edi
lea ecx, [ebp - 0x1834]
call fcn.1002f5b0
lea ecx, [ebp - 0x1838]
call esi
mov al, byte [ebp - 0x1811]
jmp 0x1005ab3e