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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1027b181
mov eax, dword fs:[0]
push eax
mov eax, 0x18e8
call fcn.10274f60
mov eax, dword [0x1036413c]
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, 0x10478ba8
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1820], esi
mov dword [ebp - 0x1828], eax
mov dword [ebp - 0x1894], 0
call fcn.102758d0
cmp byte [0x1044b338], 0
je 0x1006500c
mov ecx, dword [0x10452c1c]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
mov dword [ebp - 0x181c], esi
test esi, esi
je 0x1006500c
mov ecx, dword [esi]
mov edx, dword [ecx + 0x260]
mov ecx, esi
call edx
test al, al
je 0x1006500c
mov eax, dword [0x1046bab4]
add eax, 0xffffffcb
xor eax, 0xe316c6cf
cmp dword [eax + esi], 0
jne 0x1006500c
mov eax, dword [0x10452dd4]
mov al, byte [eax + esi]
test al, al
jne 0x1006500c
mov edx, dword [0x1046ba8c]
mov eax, dword [0x1044b320]
add edx, 0xffffffd5
xor edx, 0xe316c6c5
mov ecx, dword [edx + esi]
cmp ecx, dword [edx + eax]
jne 0x100648de
mov ecx, dword [0x10452cec]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x1006500c
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10452c18]
lea esi, [ebp - 0x168]
push esi
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
call edx
test al, al
je 0x10064b79
lea eax, [ebp - 0x1811]
mov byte [ebp - 0x188d], 0
push 8
mov dword [ebp - 0x18d0], 0
mov dword [ebp - 0x18cc], 0
mov dword [ebp - 0x18bc], 0
mov dword [ebp - 0x18b8], 0
mov dword [ebp - 0x1898], eax
call fcn.101d5af0
lea ecx, [ebp - 0x18d0]
mov dword [ebp - 0x189c], eax
add esp, 4
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp - 0x18d0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x18bc], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x18b8], 0xf
mov byte [ebp - 0x18cc], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10064991
sub ecx, edx
lea eax, [ebp - 0x158]
push ecx
push eax
lea ecx, [ebp - 0x18d0]
call fcn.10047dd0
mov dword [ebp - 0x189c], 0
push 0x10
push 0
lea eax, [ebp - 0x188c]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x18d0]
call fcn.10047840
lea ecx, [ebp - 0x18d0]
mov byte [ebp - 4], 3
call fcn.10030300
mov esi, dword [ebp - 0x18b8]
cmp esi, 0x10
jb 0x10064a4a
mov edi, dword [ebp - 0x18cc]
inc esi
test edi, edi
jne 0x10064a40
test esi, esi
je 0x10064a40
push str.null_pointer_cannot_point_to_a_block_of_non_zero_size
push 0x102bdb00
push edi
push 0x33c
push 0x102bdb08
push 2
call fcn.101ebf50
add esp, 0x18
cmp eax, 1
jne 0x10064a22
int3
push 0
push 0x33c
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.32.31326includexmemory
push 0x102bdc34
push str._null_pointer_cannot_point_to_a_block_of_non_zero_size_
call fcn.101ece00
add esp, 0x14
push esi
push edi
call fcn.10053c10
add esp, 8
mov eax, dword [ebp - 0x18d0]
push 8
push eax
mov dword [ebp - 0x18bc], 0
mov dword [ebp - 0x18b8], 0xf
mov byte [ebp - 0x18cc], 0
mov dword [ebp - 0x18d0], 0
call fcn.101d63b0
mov esi, dword [0x10452de8]
add esp, 8
mov edi, dword [0x10452dec]
cmp esi, edi
je 0x10064b3f
push esi
lea ecx, [ebp - 0x1870]
call fcn.10048510
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 0x10064ae3
push eax
call fcn.10055720
add esp, 4
test eax, eax
je 0x10064b12
lea ecx, [ebp - 0x1870]
call fcn.1004c8e0
mov eax, dword [ebp - 0x1870]
push 8
push eax
mov dword [ebp - 0x1870], 0
call fcn.101d63b0
add esi, 0x1c
add esp, 8
cmp esi, edi
jne 0x10064a94
jmp 0x10064b3f
lea ecx, [ebp - 0x1870]
mov byte [ebp - 0x188d], 1
call fcn.1004c8e0
mov eax, dword [ebp - 0x1870]
push 8
push eax
mov dword [ebp - 0x1870], 0
call fcn.101d63b0
add esp, 8
lea ecx, [ebp - 0x188c]
mov dword [ebp - 4], 0xffffffff
call fcn.1004c8e0
mov eax, dword [ebp - 0x188c]
push 8
push eax
mov dword [ebp - 0x188c], 0
call fcn.101d63b0
add esp, 8
cmp byte [ebp - 0x188d], 0
jne 0x1006500c
mov esi, dword [ebp - 0x1820]
dec esi
cmp esi, 0x40
jb 0x10064bc9
push str.array_subscript_out_of_range
push 0x102bdb00
push 0
push 0x22f
push 0x102be388
push 2
call fcn.101ebf50
add esp, 0x18
cmp eax, 1
jne 0x10064bab
int3
push 0
push 0x22f
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.32.31326include_array
push 0x102bdc34
push str._array_subscript_out_of_range_
call fcn.101ece00
add esp, 0x14
imul esi, esi, 0x3834
add esi, 0x10367a24
je 0x1006500c
mov eax, dword [esi + 0x18]
add esi, 8
mov dword [ebp - 0x1820], esi
test eax, eax
je 0x1006500c
cmp eax, 2
jb 0x1006500c
mov ecx, dword [0x10452c18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x1898], eax
test eax, eax
je 0x1006500c
mov ecx, dword fs:[0x2c]
mov edx, dword [0x103666ac]
mov edx, dword [ecx + edx*4]
mov ecx, dword [0x10472a3c]
cmp ecx, dword [edx + 4]
jle 0x10064cca
push 0x10472a3c
call fcn.101d5980
add esp, 4
cmp dword [0x10472a3c], 0xffffffff
jne 0x10064cca
mov eax, dword [0x10452c14]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1818], eax
test eax, eax
je 0x10064cb6
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + edi], 0
jne 0x10064c70
xor edx, edx
test ecx, ecx
je 0x10064ca3
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10064c80
mov eax, dword [ebp - 0x1818]
cmp esi, 0x8c8dc452
je 0x10064d29
mov eax, dword [eax + 4]
mov dword [ebp - 0x1818], eax
test eax, eax
jne 0x10064c64
mov esi, dword [ebp - 0x1820]
xor eax, eax
push 0x10472a3c
mov dword [0x10472a38], eax
call fcn.101d5930
add esp, 4
mov ecx, dword [0x10472a38]
test ecx, ecx
je 0x10064ceb
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1818], eax
call dword [ebp - 0x1818]
fstp dword [0x10364bf8]
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x1844]
add eax, dword [esi + 0xc]
push 3
mov dword [ebp - 0x18a8], 0
mov dword [ebp - 0x18a4], 0
mov dword [ebp - 0x18a0], eax
call fcn.101a61c0
test esi, esi
jne 0x10064d31
lea ecx, [ebp - 0x18a8]
call fcn.100301f0
jmp 0x10064d64
mov esi, dword [ebp - 0x1820]
jmp 0x10064cb8
mov edi, dword [esi]
mov eax, dword [ebp - 0x18a8]
cmp eax, edi
je 0x10064d64
test eax, eax
je 0x10064d4c
lea ecx, [ebp - 0x18a8]
call fcn.100301f0
mov eax, dword [edi + 4]
mov dword [ebp - 0x18a4], eax
lea eax, [ebp - 0x18a8]
mov dword [edi + 4], eax
mov dword [ebp - 0x18a8], edi
lea ecx, [ebp - 0x1844]
call fcn.101a62b0
lea eax, [ebp - 0x18a8]
mov dword [ebp - 0x1834], 0
push eax
lea ecx, [ebp - 0x1834]
mov dword [ebp - 0x1830], 0
call fcn.1002fee0
mov eax, dword [ebp - 0x18a0]
lea ecx, [ebp - 0x1848]
push 3
mov dword [ebp - 0x182c], eax
call fcn.101a61c0
lea ecx, [ebp - 0x18a8]
call fcn.100301f0
lea ecx, [ebp - 0x1848]
call fcn.101a62b0
lea eax, [ebp - 0x18b4]
mov dword [ebp - 4], 4
push eax
mov ecx, esi
call fcn.10068e60
push eax
lea ecx, [ebp - 0x1834]
call fcn.10069ce0
push 3
lea ecx, [ebp - 0x1818]
mov byte [ebp - 0x1811], al
call fcn.101a61c0
lea ecx, [ebp - 0x18b4]
call fcn.100301f0
lea ecx, [ebp - 0x1818]
call fcn.101a62b0
cmp byte [ebp - 0x1811], 0
jne 0x10064fe9
nop dword [eax + eax]
lea ecx, [ebp - 0x1834]
call fcn.100689b0
mov ecx, esi
mov edi, dword [eax]
lea eax, [ebp - 0x18f4]
push eax
call fcn.10068e60
mov esi, eax
lea eax, [ebp - 0x18e8]
push ecx
push eax
lea ecx, [ebp - 0x1834]
call fcn.100688a0
push esi
mov ecx, eax
call fcn.10069ce0
push 3
lea ecx, [ebp - 0x184c]
mov byte [ebp - 0x188d], al
call fcn.101a61c0
lea ecx, [ebp - 0x18e8]
call fcn.100301f0
lea ecx, [ebp - 0x184c]
call fcn.101a62b0
push 3
lea ecx, [ebp - 0x1850]
call fcn.101a61c0
lea ecx, [ebp - 0x18f4]
call fcn.100301f0
lea ecx, [ebp - 0x1850]
call fcn.101a62b0
test edi, edi
je 0x10064ee9
mov ecx, edi
call fcn.10063f50
test al, al
je 0x10064ee9
cmp byte [ebp - 0x188d], 0
jne 0x10064ee9
push ecx
lea eax, [ebp - 0x18dc]
push eax
lea ecx, [ebp - 0x1834]
call fcn.100688a0
or dword [ebp - 0x1894], 1
mov ecx, eax
call fcn.100689b0
mov byte [ebp - 0x1811], 1
cmp dword [eax], 0
jne 0x10064ef0
mov byte [ebp - 0x1811], 0
mov eax, dword [ebp - 0x1894]
test al, 1
je 0x10064f26
and eax, 0xfffffffe
lea ecx, [ebp - 0x1854]
push 3
mov dword [ebp - 0x1894], eax
call fcn.101a61c0
lea ecx, [ebp - 0x18dc]
call fcn.100301f0
lea ecx, [ebp - 0x1854]
call fcn.101a62b0
cmp byte [ebp - 0x1811], 0
jne 0x1006502b
lea eax, [ebp - 0x1834]
mov dword [ebp - 0x1840], 0
push eax
lea ecx, [ebp - 0x1840]
mov dword [ebp - 0x183c], 0
call fcn.1002fee0
mov eax, dword [ebp - 0x182c]
lea ecx, [ebp - 0x1834]
mov dword [ebp - 0x1838], eax
call fcn.10069440
push 3
lea ecx, [ebp - 0x1824]
call fcn.101a61c0
lea ecx, [ebp - 0x1840]
call fcn.100301f0
lea ecx, [ebp - 0x1824]
call fcn.101a62b0
mov esi, dword [ebp - 0x1820]
lea eax, [ebp - 0x18b4]
push eax
mov ecx, esi
call fcn.10068e60
push eax
lea ecx, [ebp - 0x1834]
call fcn.10069ce0
push 3
lea ecx, [ebp - 0x1818]
mov byte [ebp - 0x1811], al
call fcn.101a61c0
lea ecx, [ebp - 0x18b4]
call fcn.100301f0
lea ecx, [ebp - 0x1818]
call fcn.101a62b0
cmp byte [ebp - 0x1811], 0
je 0x10064e20
push 3
lea ecx, [ebp - 0x1828]
call fcn.101a61c0
lea ecx, [ebp - 0x1834]
call fcn.100301f0
lea ecx, [ebp - 0x1828]
call fcn.101a62b0
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.101d57a0
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp - 0x181c]
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
call eax
movss xmm1, dword [edi + 0x370]
movss xmm0, dword [edi + 0x374]
subss xmm0, dword [eax + 4]
subss xmm1, dword [eax]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.1002f810
movss xmm1, dword [0x10342b34]
comiss xmm1, xmm0
jbe 0x1006507d
mov byte [ebp - 0x1811], 0
jmp 0x100653b4
cmp byte [ebp - 0x188d], 0
je 0x10065091
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x28]
call eax
jmp 0x100650c1
push ecx
lea eax, [ebp - 0x18dc]
push eax
lea ecx, [ebp - 0x1834]
call fcn.100688a0
mov ecx, dword [ebp - 0x1894]
or ecx, 2
mov dword [ebp - 0x1894], ecx
mov ecx, eax
call fcn.100689b0
mov eax, dword [eax]
add eax, 0x370
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x18ac], eax
mov eax, dword [ebp - 0x1894]
movq qword [ebp - 0x18b4], xmm0
test al, 2
je 0x1006510c
and eax, 0xfffffffd
lea ecx, [ebp - 0x181c]
push 3
mov dword [ebp - 0x1894], eax
call fcn.101a61c0
lea ecx, [ebp - 0x18dc]
call fcn.100301f0
lea ecx, [ebp - 0x181c]
call fcn.101a62b0
cmp byte [ebp - 0x188d], 0
je 0x10065129
mov eax, dword [0x1046bae8]
add eax, 0xffffffbe
xor eax, 0xe316c6dc
movss xmm0, dword [eax + esi]
jmp 0x10065154
push ecx
lea eax, [ebp - 0x18dc]
push eax
lea ecx, [ebp - 0x1834]
call fcn.100688a0
or dword [ebp - 0x1894], 4
mov ecx, eax
call fcn.100689b0
mov eax, dword [eax]
movss xmm0, dword [eax + 0x364]
mov ecx, dword [ebp - 0x1894]
movss dword [ebp - 0x1818], xmm0
test cl, 4
je 0x1006518a
push 3
lea ecx, [ebp - 0x181c]
call fcn.101a61c0
lea ecx, [ebp - 0x18dc]
call fcn.100301f0
lea ecx, [ebp - 0x181c]
call fcn.101a62b0
mov esi, dword [ebp - 0x1898]
mov ecx, esi
push 0
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x1898], eax
call dword [ebp - 0x1898]
mov eax, dword [esi]
mov ecx, esi
fstp dword [ebp - 0x181c]
push 1
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x1898], eax
call dword [ebp - 0x1898]
fadd dword [ebp - 0x181c]
push 0x10364bf8
lea edx, [ebp - 0x1898]
mov dword [ebp - 0x1898], 0
lea ecx, [ebp - 0x1820]
fstp dword [ebp - 0x1820]
call fcn.100697e0
movss xmm1, dword [ebp - 0x1820]
add esp, 4
cmp byte [ebp - 0x188d], 0
addss xmm1, dword [0x1044baa0]
je 0x10065212
movss xmm0, dword [0x10342b34]
jmp 0x10065222
movss xmm0, dword [ebp - 0x1818]
subss xmm0, dword [edi + 0x364]
addss xmm1, dword [edi + 0x364]
mov eax, dword [0x10452c74]
lea edx, [ebp - 0x181c]
lea ecx, [ebp - 0x1824]
mov dword [ebp - 0x1898], 0x3f800000
mov dword [ebp - 0x181c], 0
addss xmm1, xmm0
subss xmm1, dword [eax + 0x10]
lea eax, [ebp - 0x1898]
push eax
divss xmm1, xmm0
movss dword [ebp - 0x1824], xmm1
call fcn.100697e0
movss xmm3, dword [0x10342b34]
movq xmm0, qword [edi + 0x370]
movq qword [ebp - 0x1840], xmm0
movss xmm1, dword [eax]
mov eax, dword [edi + 0x378]
subss xmm3, xmm1
movaps xmm2, xmm1
mov dword [ebp - 0x1838], eax
mulss xmm2, dword [ebp - 0x1840]
lea eax, [edi + 0x72c]
push 0x1800
push eax
movaps xmm0, xmm3
lea eax, [ebp - 0x1810]
mulss xmm0, dword [ebp - 0x18b4]
push eax
addss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [ebp - 0x18b0]
mulss xmm3, dword [ebp - 0x18ac]
movss dword [ebp - 0x181c], xmm2
movaps xmm2, xmm1
mulss xmm2, dword [ebp - 0x183c]
mulss xmm1, dword [ebp - 0x1838]
addss xmm2, xmm0
addss xmm1, xmm3
movss dword [ebp - 0x1824], xmm2
movss dword [ebp - 0x1898], xmm1
call fcn.101d8af0
movss xmm6, dword [edi + 0x370]
lea eax, [ebp - 0x17f4]
movss xmm7, dword [edi + 0x374]
lea ecx, [edi + 0x748]
movss xmm3, dword [ebp - 0x1898]
add esp, 0x10
movss xmm4, dword [ebp - 0x181c]
mov edx, 0x80
movss xmm5, dword [ebp - 0x1824]
movss xmm2, dword [ecx - 0x10]
movss xmm1, dword [ecx]
subss xmm2, xmm6
movss xmm0, dword [ecx + 0x10]
subss xmm1, xmm7
subss xmm0, dword [edi + 0x378]
add ecx, 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 0x10065350
push 0x1800
lea eax, [ebp - 0x1810]
push eax
push dword [ebp - 0x1828]
call fcn.101d8af0
add esp, 0xc
mov byte [ebp - 0x1811], 1
push 3
lea ecx, [ebp - 0x1828]
call fcn.101a61c0
lea ecx, [ebp - 0x1834]
call fcn.100301f0
lea ecx, [ebp - 0x1828]
call fcn.101a62b0
mov al, byte [ebp - 0x1811]
jmp 0x1006500e