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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x102a601c]
push ebx
push esi
push edi
push 0x10
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x64], 0
call fcn.101e2257
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov ecx, dword [0x102a6034]
push eax
mov dword [ebp - 0x68], eax
mov eax, dword [0x102a602c]
sub eax, dword [0x102a6028]
mov dword [ebp - 0x54], ecx
mov ecx, dword [0x102a6038]
sar eax, 2
mov dword [ebp - 0x50], ecx
lea ecx, [ebp - 0x60]
push eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
call fcn.10003810
mov edi, dword [0x102a6020]
mov esi, dword [edi]
cmp esi, edi
je 0x1016bbce
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x6c]
call fcn.10071920
mov esi, dword [esi]
cmp esi, edi
jne 0x1016bbb8
push 0x102a5e1c
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x6c]
call fcn.10006340
push 0x102a5e40
lea ecx, [ebp - 0x6c]
mov eax, dword [eax]
mov dword [eax + 0xc], str.models_weapons_v_ct_knife_anim.mdl
lea eax, [ebp - 0x30]
push eax
call fcn.10006340
mov eax, dword [eax]
mov dword [eax + 0xc], str.models_weapons_v_t_knife_anim.mdl
mov edi, dword [ebp - 0x68]
mov dword [ebp - 0x4c], edi
mov esi, dword [edi]
mov dword [ebp - 0x28], esi
cmp esi, edi
je 0x1016bf43
nop word [eax + eax]
mov edx, dword [esi + 0xc]
mov ecx, edx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
lea ebx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1016bc40
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x48]
call fcn.1000d310
cmp dword [ebp - 0x34], 0x10
lea ecx, [ebp - 0x48]
mov ebx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x38]
cmovae ecx, ebx
push 5
push str._anim
push 0
setae byte [ebp - 5]
call fcn.100504b0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x1016bca9
cmp byte [ebp - 5], 0
lea ecx, [ebp - 0x48]
mov edx, dword [ebp - 0x38]
push str._anim
push 4
push str..mdl
cmovne ecx, ebx
push 0
call fcn.100504b0
add esp, 0xc
lea ecx, [ebp - 0x48]
push eax
call fcn.100214c0
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x24]
call fcn.1012e050
mov ebx, dword [ebp - 0x24]
cmp ebx, dword [ebp - 0x20]
jne 0x1016bcc9
test ebx, ebx
je 0x1016bf06
jmp 0x1016bec8
test ebx, ebx
je 0x1016bf06
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov ecx, dword [ebx + 0xbc]
test ecx, ecx
je 0x1016bd0b
cmp ecx, 0x9249249
ja 0x1016bf57
push ecx
lea ecx, [ebp - 0x14]
call fcn.1016c250
mov ecx, dword [ebx + 0xbc]
xor edx, edx
mov dword [ebp - 4], edx
test ecx, ecx
je 0x1016be3d
xor eax, eax
nop word [eax + eax]
test eax, eax
js 0x1016bd28
cmp eax, ecx
jl 0x1016bd2a
xor eax, eax
imul eax, eax, 0xd4
add eax, dword [ebx + 0xc0]
add eax, ebx
je 0x1016be28
mov edx, dword [eax + 4]
add edx, eax
je 0x1016be28
mov eax, edx
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
lea ecx, [eax + 1]
mov dword [ebp - 0x18], ecx
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1016bd70
sub eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x84]
push eax
push edx
call fcn.1000d310
movups xmm0, xmmword [ebp - 0x84]
mov eax, dword [ebp - 0x10]
movq xmm1, qword [ebp - 0x74]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xa0], ecx
movups xmmword [ebp - 0x9c], xmm0
movq qword [ebp - 0x8c], xmm1
cmp eax, dword [ebp - 0xc]
je 0x1016bdde
mov dword [eax], ecx
mov edx, 0xf
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
movups xmmword [eax + 4], xmm0
mov byte [ebp - 0x9c], 0
movq qword [eax + 0x14], xmm1
add dword [ebp - 0x10], 0x1c
jmp 0x1016bdf4
lea ecx, [ebp - 0xa0]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.1016c3e0
mov edx, dword [ebp - 0x88]
cmp edx, 0x10
jb 0x1016be28
mov ecx, dword [ebp - 0x9c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1016be1e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1016bf52
push edx
push ecx
call fcn.101e1f2f
add esp, 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebx + 0xbc]
inc eax
mov dword [ebp - 4], eax
cmp eax, ecx
jb 0x1016bd20
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0x811c9dc5
test eax, eax
jne 0x1016be55
mov eax, 0x811c9dc5
jmp 0x1016be93
mov ecx, eax
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1016be60
sub ecx, edx
mov edx, 0
je 0x1016be90
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 0x18]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1016be76
mov esi, dword [ebp - 0x28]
mov dword [ebp - 4], edi
mov edi, dword [ebp - 0x4c]
mov eax, dword [ebp - 4]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.1016c540
mov ecx, dword [eax]
lea eax, [ebp - 0x14]
add ecx, 0xc
cmp ecx, eax
je 0x1016bec0
push dword [ebp - 0x2c]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.1016cdb0
lea ecx, [ebp - 0x14]
call fcn.10138b50
mov ecx, dword [ebp - 0x1c]
mov eax, ebx
sub ecx, ebx
cmp ecx, 0x1000
jb 0x1016bee7
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1016bf52
push ecx
push ebx
call fcn.101e1f2f
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x1016bf36
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1016bf2c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1016bf52
push edx
push ecx
call fcn.101e1f2f
add esp, 8
mov esi, dword [esi]
mov dword [ebp - 0x28], esi
cmp esi, edi
jne 0x1016bc20
lea ecx, [ebp - 0x6c]
call fcn.10003780
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.101e6db2
call fcn.10006740
int3