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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xffffffe0
sub esp, 0x80
mov ecx, dword [ebp + 8]
mov eax, dword [0x1017f528]
xor eax, ebp
mov dword [esp + 0x68], eax
vxorps xmm0, xmm0, xmm0
vmovups ymmword [esp + 0x2c], ymm0
vmovaps ymmword [esp + 0x20], ymm0
mov eax, dword [ecx]
mov edi, dword [eax]
mov eax, dword [0x1017f71c]
test al, 1
je 0x100645b2
mov esi, dword [0x1017f718]
mov eax, dword [esi + 4]
mov eax, dword [eax + edi]
mov dword [esp + 0x14], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xc]
mov ebx, dword [ecx + 0x10]
cmp eax, ebx
je 0x100642f0
mov dword [esp + 8], ebx
jmp 0x100641df
mov dword [esp + edx*4 + 0x20], eax
add eax, 0x34
cmp eax, ebx
je 0x100642f0
cmp byte [eax + 0x21], 0
je 0x100641d4
mov esi, dword [eax + 0x10]
test esi, esi
jle 0x100641d4
mov edx, dword [eax + 0x2c]
cmp edx, 0xb
jae 0x100645a6
mov edi, dword [esp + edx*4 + 0x20]
test edi, edi
je 0x100641d0
mov ebx, dword [eax + 0x24]
mov ecx, dword [edi + 0x24]
cmp ebx, ecx
jne 0x1006425f
cmp byte [eax + 0x20], 0
je 0x100642cb
mov ebx, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
mov dword [esp + 0xc], ecx
mov ecx, dword [eax + 0x1c]
cmp ebx, dword [eax + 0x18]
mov ebx, dword [esp + 8]
jne 0x10064230
cmp dword [esp + 0xc], ecx
je 0x100641d0
mov edi, dword [edi + 0x10]
cmp dword [esp + 0xc], ecx
jne 0x1006424d
mov ecx, edi
sub ecx, esi
mov ebx, ecx
neg ebx
cmovs ebx, ecx
cmp ebx, 2
mov ebx, dword [esp + 8]
jb 0x100641d0
mov ecx, dword [esp + 0x14]
cmp edi, ecx
jle 0x100642d2
cmp esi, ecx
jg 0x100641d0
jmp 0x100642d2
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ebx
mov ebx, dword [edi + 0x18]
mov dword [esp + 0x10], ebx
mov ebx, dword [edi + 0x1c]
mov dword [esp + 0xc], ebx
mov ecx, dword [eax + 0x1c]
mov ebx, dword [esp + 0x10]
cmp ebx, dword [eax + 0x18]
jne 0x10064287
cmp dword [esp + 0xc], ecx
je 0x100642b4
mov edi, dword [edi + 0x10]
cmp dword [esp + 0xc], ecx
jne 0x100642a8
mov ebx, edi
sub ebx, esi
mov dword [esp + 0xc], edi
mov edi, ebx
neg edi
cmovs edi, ebx
cmp edi, 2
mov edi, dword [esp + 0xc]
jb 0x100642b4
cmp edi, dword [esp + 0x14]
jle 0x100642df
cmp esi, dword [esp + 0x14]
jle 0x100642df
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x18], ecx
mov ebx, dword [esp + 8]
jg 0x100641d0
jmp 0x100641d4
mov edi, dword [edi + 0x10]
mov ebx, dword [esp + 8]
cmp esi, edi
jg 0x100641d0
jmp 0x100641d4
cmp edi, esi
mov ebx, dword [esp + 8]
jl 0x100641d0
jmp 0x100641d4
mov eax, dword [ebp + 8]
lea esi, [eax + 0xc]
vxorps xmm0, xmm0, xmm0
vmovlps qword [esp + 0x50], xmm0
mov dword [esp + 0x58], 0
xor ebx, ebx
lea edi, [esp + 0x50]
jmp 0x10064322
mov ecx, edi
push edx
push eax
vzeroupper
call fcn.1006bb00
inc ebx
cmp ebx, 0xb
je 0x1006434f
mov edx, dword [esp + ebx*4 + 0x20]
test edx, edx
je 0x1006431c
mov eax, dword [esp + 0x54]
cmp eax, dword [esp + 0x58]
je 0x10064310
vmovups ymm0, ymmword [edx]
vmovups ymm1, ymmword [edx + 0x14]
vmovups ymmword [eax + 0x14], ymm1
vmovups ymmword [eax], ymm0
add eax, 0x34
mov dword [esp + 0x54], eax
jmp 0x1006431c
cmp esi, edi
je 0x1006441e
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
mov dword [esp + 8], eax
sub edi, eax
mov eax, edi
sar eax, 2
imul ebx, eax, 0xc4ec4ec5
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x14]
sub ecx, eax
sar ecx, 2
imul ecx, ecx, 0xc4ec4ec5
cmp ecx, ebx
jae 0x100643ac
mov ecx, esi
push ebx
vzeroupper
call fcn.1006bc60
mov eax, dword [esi]
push edi
push dword [esp + 0xc]
push eax
mov edi, eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
imul esi, ebx, 0x34
add esi, edi
jmp 0x10064418
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 0x10]
sub esi, eax
mov ecx, esi
sar ecx, 2
imul edx, ecx, 0xc4ec4ec5
mov ecx, ebx
mov dword [esp + 0xc], edx
sub ecx, edx
jbe 0x10064402
push esi
mov ebx, dword [esp + 0xc]
push ebx
push eax
mov dword [esp + 0x1c], ecx
vzeroupper
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
imul eax, dword [esp + 0xc], 0x34
add eax, ebx
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx + 0x10]
sub edi, esi
push edi
push eax
push ebx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
imul esi, dword [esp + 0x10], 0x34
add esi, ebx
jmp 0x10064418
imul esi, ebx, 0x34
add esi, eax
push edi
push dword [esp + 0xc]
push eax
vzeroupper
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], esi
mov ecx, dword [esp + 0x50]
test ecx, ecx
mov esi, dword [ebp + 8]
je 0x10064459
mov eax, dword [esp + 0x58]
sub eax, ecx
cmp eax, 0x1000
jb 0x1006444c
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x10064619
add eax, 0x23
mov ecx, edx
push eax
push ecx
vzeroupper
call fcn.100d7fd2
add esp, 8
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], ecx
cmp eax, ecx
je 0x10064581
mov ebx, dword [esi + 0x18]
mov edx, dword [esp + 0x18]
jmp 0x10064490
mov dword [esi + 0x1c], edx
add edx, 0x34
cmp edx, dword [esp + 0xc]
je 0x10064581
test ebx, ebx
je 0x100644ed
mov eax, dword [edx + 0x24]
mov ecx, dword [ebx + 0x24]
cmp eax, ecx
mov dword [esp + 8], ebx
jne 0x100644b0
mov eax, ebx
mov ebx, dword [edx + 0x10]
mov edi, dword [eax + 0x10]
cmp ebx, edi
jmp 0x100644e7
mov ebx, dword [ebx + 0x10]
mov edi, dword [edx + 0x10]
mov esi, ebx
mov dword [esp + 0x10], edi
sub esi, edi
mov edi, esi
neg edi
cmovs edi, esi
mov esi, dword [ebp + 8]
cmp edi, 2
jb 0x100644e5
mov edi, dword [esp + 0x14]
cmp dword [esp + 0x10], edi
jle 0x10064566
cmp ebx, edi
mov edi, ebx
mov ebx, dword [esp + 0x10]
jle 0x10064562
cmp eax, ecx
mov ebx, dword [esp + 8]
jle 0x100644f2
mov dword [esi + 0x18], edx
mov ebx, edx
mov eax, dword [edx + 0x2c]
and eax, 0xfffffffe
cmp eax, 2
jne 0x10064483
mov edi, dword [esi + 0x1c]
test edi, edi
je 0x10064480
mov dword [esp + 8], ebx
mov eax, dword [edx + 0x24]
mov ecx, dword [edi + 0x24]
cmp eax, ecx
jne 0x10064520
mov ebx, dword [edx + 0x10]
mov edi, dword [edi + 0x10]
cmp ebx, edi
jmp 0x10064553
mov ebx, dword [edi + 0x10]
mov esi, dword [edx + 0x10]
mov edi, ebx
mov dword [esp + 0x10], esi
sub edi, esi
mov esi, edi
neg esi
cmovs esi, edi
cmp esi, 2
mov esi, dword [ebp + 8]
jb 0x10064551
mov edi, dword [esp + 0x14]
cmp dword [esp + 0x10], edi
jle 0x10064577
cmp ebx, edi
mov edi, ebx
mov ebx, dword [esp + 0x10]
jle 0x10064573
cmp eax, ecx
mov ebx, dword [esp + 8]
jg 0x10064480
jmp 0x10064483
cmp ebx, edi
jmp 0x100644e7
mov edi, ebx
mov ebx, dword [esp + 0x10]
cmp ebx, edi
jmp 0x100644e7
cmp ebx, edi
jmp 0x10064553
mov edi, ebx
mov ebx, dword [esp + 0x10]
cmp ebx, edi
jmp 0x10064553
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x18], eax
setne bl
mov ecx, dword [esp + 0x68]
xor ecx, ebp
vzeroupper
call fcn.100d7fe0
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
lea ecx, [esp + 0x20]
vzeroupper
call fcn.1006b870
or eax, 1
mov dword [0x1017f71c], eax
mov eax, dword [0x1017f5c4]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x50]
mov dword [esp + 0xc], ecx
push str.CBasePlayer__m_iHealth
vzeroupper
call fcn.10005ce0
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
cmp dword [esp + 0x64], 0x10
jb 0x100645ef
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc], eax
cmp dword [esp + 8], 0
je 0x10064612
mov eax, dword [esp + 8]
lea ecx, [eax - 1]
and eax, 3
mov dword [esp + 0x10], eax
cmp ecx, 3
jae 0x10064622
mov ecx, 0x811c9dc5
xor edx, edx
jmp 0x1006466e
mov ecx, 0x811c9dc5
jmp 0x1006468e
vzeroupper
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov esi, dword [esp + 8]
and esi, 0xfffffffc
mov ecx, 0x811c9dc5
xor edx, edx
mov eax, dword [esp + 0xc]
movzx ebx, byte [eax + edx]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 1]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 2]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 3]
xor ebx, ecx
imul ecx, ebx, 0x1000193
add edx, 4
cmp esi, edx
jne 0x10064634
cmp dword [esp + 0x10], 0
je 0x1006468e
add edx, dword [esp + 0xc]
xor esi, esi
movzx ebx, byte [edx + esi]
xor ebx, ecx
imul ecx, ebx, 0x1000193
inc esi
cmp dword [esp + 0x10], esi
jne 0x1006467b
mov edx, dword [esp + 0x14]
and ecx, dword [edx + 0x18]
mov eax, dword [edx + 0xc]
mov esi, dword [eax + ecx*8 + 4]
cmp esi, dword [edx + 4]
je 0x100646f2
add ecx, ecx
mov ebx, dword [eax + ecx*4]
mov eax, dword [esp + 8]
cmp eax, dword [esi + 0x18]
jne 0x100646d2
cmp dword [esi + 0x1c], 0x10
jb 0x100646ba
mov eax, dword [esi + 8]
jmp 0x100646bd
lea eax, [esi + 8]
push dword [esp + 8]
push eax
push dword [esp + 0x14]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x100646db
cmp esi, ebx
je 0x100646f2
mov esi, dword [esi + 4]
jmp 0x100646a6
add esi, 0x20
lea ecx, [esp + 0x50]
call fcn.100026e0
mov dword [0x1017f718], esi
jmp 0x100641a4
push 0x1016ba76
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__
int3