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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019643d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x102480b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x1028ab99
call fcn.10193940
mov ecx, 0x1027d638
call fcn.100726e0
mov ecx, dword [0x10264838]
test ecx, ecx
je 0x100643d9
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
mov ebx, eax
test ebx, ebx
je 0x100643d9
nop word [eax + eax]
mov eax, dword [ebx + 0x14]
mov esi, 0x811c9dc5
mov edi, dword [ebx + 8]
xor ecx, ecx
mov dword [ebp - 0x30], eax
inc ecx
cmp byte [ecx + edi], 0
jne 0x100643a0
xor edx, edx
test ecx, ecx
je 0x100643c1
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100643b0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], esi
push eax
call fcn.10072590
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov ebx, dword [ebx + 0x10]
test ebx, ebx
jne 0x10064390
mov ecx, dword [0x10264840]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x10264844]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov dword [0x1025d258], eax
call fcn.1017ad40
mov ecx, 0x1027f140
call fcn.10148b00
mov ecx, 0x1025d77c
call fcn.10073d90
mov ecx, dword [0x10264840]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov edi, eax
mov dword [0x102648a8], edi
test edi, edi
je 0x10064638
mov eax, dword [0x1027e7bc]
mov dword [0x1027e7bc], 0
test eax, eax
je 0x10064477
push 0x10030990
lea esi, [eax - 4]
mov dword [ebp - 4], 0
push dword [esi]
push 4
push eax
call fcn.10191670
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.101912e0
mov edi, dword [0x102648a8]
add esp, 8
mov eax, dword [0x1027e7b4]
test eax, eax
je 0x1006448e
mov ecx, dword [0x1027e7b8]
mov dword [eax], ecx
mov edi, dword [0x102648a8]
mov dword [0x1027e7b8], 0
mov dword [0x1027e7c0], 0
mov byte [0x1027e7c4], 0
mov dword [ebp - 0x34], edi
mov dword [ebp - 4], 1
mov dword [0x1027e7b4], edi
mov eax, dword [edi]
mov dword [0x1027e7b8], eax
test eax, eax
jne 0x100644d0
mov dword [ebp - 4], 0xffffffff
jmp 0x100645e1
xor esi, esi
mov eax, dword [0x1027e7b8]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x10064501
mov eax, dword [0x1024872c]
lea edx, [ebp - 0x2c]
push 0x1c
push edx
push ecx
call eax
test eax, eax
je 0x10064501
mov eax, dword [ebp - 0x18]
test al, 1
jne 0x10064501
test eax, 0x100
jne 0x10064501
inc esi
jmp 0x100644d2
mov dword [0x1027e7c0], esi
test esi, esi
je 0x100645cc
lea edx, [esi + 1]
lea ecx, [ebp - 0x30]
call fcn.10076d40
cmp eax, 0x1027e7bc
je 0x10064561
mov ecx, dword [eax]
mov dword [eax], 0
mov eax, dword [0x1027e7bc]
mov dword [0x1027e7bc], ecx
test eax, eax
je 0x10064561
push 0x10030990
lea esi, [eax - 4]
mov byte [ebp - 4], 2
push dword [esi]
push 4
push eax
call fcn.10191670
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.101912e0
add esp, 8
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10064592
push 0x10030990
mov byte [ebp - 4], 3
lea esi, [ebx - 4]
push dword [esi]
push 4
push ebx
call fcn.10191670
mov eax, dword [ebx - 4]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.101912e0
add esp, 8
cmp dword [0x1027e7bc], 0
je 0x100645cc
mov eax, dword [0x1027e7c0]
mov esi, dword [0x1027e7bc]
lea eax, [eax*4 + 4]
push eax
mov eax, dword [0x1027e7b8]
add eax, 0xfffffffc
push eax
push esi
call sub.VCRUNTIME140D.dll_memcpy
add esp, 0xc
add esi, 4
mov dword [edi], esi
mov byte [0x1027e7c4], 1
mov dword [ebp - 4], 0xffffffff
mov eax, 0x2a
cmp byte [0x1027e7c4], 0
jne 0x100645e6
mov eax, 0x29
cmp dword [0x1027e7b8], 0
je 0x10064608
mov ecx, dword [0x1027e7bc]
test ecx, ecx
je 0x10064608
cmp eax, dword [0x1027e7c0]
ja 0x10064608
mov dword [ecx + eax*4], 0x101608d0
xor eax, eax
cmp byte [0x1027e7c4], al
setne al
add eax, 0x30
cmp dword [0x1027e7b8], 0
je 0x10064638
mov ecx, dword [0x1027e7bc]
test ecx, ecx
je 0x10064638
cmp eax, dword [0x1027e7c0]
ja 0x10064638
mov dword [ecx + eax*4], 0x10160860
mov eax, dword [0x1026489c]
mov edi, 1
cmp dword [eax + 0x18], edi
jl 0x100646e7
mov ebx, dword [sym.imp.ucrtbased.dll__invalid_parameter]
mov esi, 0x10248878
mov ecx, dword [0x10264844]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test eax, eax
je 0x100646d2
mov ecx, dword [0x102649fc]
cmp byte [ecx + eax], 0
jne 0x100646d2
lea eax, [edi - 1]
cmp eax, 0x40
jb 0x100646be
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 0x100646a3
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 ebx
add esp, 0x14
mov eax, dword [esi - 4]
cmp eax, dword [esi]
je 0x100646d2
lea ecx, [esi - 8]
call fcn.1002f6d0
mov eax, dword [esi - 4]
mov dword [esi], eax
mov eax, dword [0x1026489c]
inc edi
add esi, 0x4d8
cmp edi, dword [eax + 0x18]
jle 0x10064656
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101912d0
mov esp, ebp
pop ebp
ret