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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov eax, dword [0x1017f528]
xor eax, ebp
mov dword [esp + 0x88], eax
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x10091ad2
mov esi, ecx
mov ecx, dword [ebp + 8]
cmp eax, 2
je 0x10091760
vmovss xmm1, dword [ecx + 0x24]
vxorps xmm0, xmm0, xmm0
vucomiss xmm1, xmm0
jne 0x10091ad2
jp 0x10091ad2
vmovss xmm1, dword [ecx + 0x28]
vucomiss xmm1, xmm0
jne 0x10091ad2
jp 0x10091ad2
mov eax, dword [0x1017f608]
mov edi, dword [eax]
mov eax, dword [0x1017f714]
test al, 1
je 0x10091aea
mov ebx, dword [0x1017f710]
mov eax, dword [ebx + 4]
test byte [eax + edi], 1
jne 0x10091ad2
mov eax, dword [0x1017f608]
mov edi, dword [eax]
mov eax, dword [0x10184e84]
test al, 1
je 0x10091b5d
mov ebx, dword [0x10184e80]
mov ebx, dword [ebx + 4]
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x6c], eax
vmovsd xmm0, qword [ecx + 0xc]
vmovsd qword [esp + 0x64], xmm0
cmp dword [esi + 0x14], 2
jne 0x10091867
vmovss xmm0, dword [ecx + 0x24]
vmovss xmm1, dword [ecx + 0x28]
vxorps xmm2, xmm2, xmm2
vucomiss xmm0, xmm2
jne 0x100917e2
jp 0x100917e2
vucomiss xmm1, xmm2
jne 0x100917e2
jnp 0x10091867
vmovss xmm2, dword [esp + 0x68]
vmovss dword [esp + 0x20], xmm2
vcvtss2sd xmm1, xmm1, xmm1
vcvtss2sd xmm0, xmm0, xmm0
vmovsd qword [esp + 8], xmm1
vmovsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2
fstp dword [esp + 0x54]
vmovss xmm0, dword [esp + 0x54]
vmulss xmm0, xmm0, dword [0x10131fb8]
vaddss xmm0, xmm0, dword [0x10132000]
vmovss dword [esp], xmm0
mov dword [esp + 4], 0x43b40000
mov dword [esp + 0x10], esi
mov esi, edi
mov edi, dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_remainderf]
call edi
fstp dword [esp + 0x50]
vmovss xmm0, dword [esp + 0x20]
vaddss xmm0, xmm0, dword [esp + 0x50]
vmovss dword [esp], xmm0
mov dword [esp + 4], 0x43b40000
call edi
mov edi, esi
mov esi, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
fstp dword [esp + 0x68]
vxorps xmm0, xmm0, xmm0
vmovlps qword [ecx + 0x24], xmm0
vmovss xmm0, dword [edi + ebx]
vmovss xmm1, dword [edi + ebx + 4]
vmulss xmm1, xmm1, xmm1
vfmadd231ss xmm1, xmm0, xmm0
vcvtss2sd xmm0, xmm1, xmm1
vxorps xmm1, xmm1, xmm1
vucomisd xmm0, xmm1
jb 0x10091898
vsqrtsd xmm0, xmm0, xmm0
jmp 0x100918ac
vmovsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
fstp qword [esp + 0x58]
vmovsd xmm0, qword [esp + 0x58]
vcvtsd2ss xmm0, xmm0, xmm0
vmovss xmm1, dword [0x10132410]
vmovss dword [esp + 0x14], xmm0
vdivss xmm0, xmm1, xmm0
vcvtss2sd xmm0, xmm0, xmm0
vmovsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_asin
fstp dword [esp + 0x4c]
vmovss xmm0, dword [esp + 0x4c]
vmulss xmm0, xmm0, dword [0x10131fb8]
vmovss dword [esp + 0x20], xmm0
movzx eax, byte [esi + 0x39]
test al, al
sete byte [esp + 0x1c]
xor al, 1
mov byte [esi + 0x39], al
vmovss xmm0, dword [esp + 0x68]
vmovss dword [esp + 0x10], xmm0
vsubss xmm0, xmm0, dword [esi + 0x44]
vmovss dword [esp], xmm0
mov dword [esp + 4], 0x43b40000
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_remainderf]
fstp dword [esp + 0x48]
vmovss xmm0, dword [esp + 0x48]
vxorps xmm1, xmm1, xmm1
vucomiss xmm0, xmm1
mov ecx, dword [ebp + 8]
jne 0x10091935
jnp 0x1009194c
xor eax, eax
vucomiss xmm1, xmm0
seta al
vmovss xmm1, dword [eax*4 + 0x10132418]
vmovss dword [ecx + 0x28], xmm1
vmovss xmm1, dword [esp + 0x20]
vminss xmm2, xmm1, dword [0x10131fbc]
vbroadcastss xmm1, dword [0x1012978c]
vandps xmm0, xmm0, xmm1
vucomiss xmm0, dword [0x101320ec]
jae 0x1009197b
vucomiss xmm2, xmm0
jb 0x10091ad2
vmovss xmm0, dword [edi + ebx]
vmovss xmm1, dword [edi + ebx + 4]
vcvtss2sd xmm0, xmm0, xmm0
vcvtss2sd xmm1, xmm1, xmm1
vmovsd qword [esp + 8], xmm0
vmovsd qword [esp], xmm1
vmovaps xmmword [esp + 0x20], xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2
fstp dword [esp + 0x44]
vmovss xmm0, dword [esp + 0x44]
vmulss xmm1, xmm0, dword [0x10131fb8]
vmovss xmm0, dword [esp + 0x10]
vmovss dword [esp + 0x18], xmm1
vsubss xmm0, xmm0, xmm1
vmovss dword [esp], xmm0
mov dword [esp + 4], 0x43b40000
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_remainderf]
vmovaps xmm3, xmmword [esp + 0x20]
fstp dword [esp + 0x40]
vmovss xmm0, dword [esp + 0x40]
vmovss xmm1, dword [esp + 0x14]
vmovss xmm2, dword [0x10132410]
vucomiss xmm2, xmm1
jae 0x10091a15
vucomiss xmm3, xmm0
jae 0x10091a15
mov edx, dword [ebp + 8]
mov dword [edx + 0x28], 0xc3e10000
vaddss xmm3, xmm3, dword [esp + 0x18]
jmp 0x10091a6a
vucomiss xmm2, xmm1
mov edx, dword [ebp + 8]
jae 0x10091a44
vbroadcastss xmm1, dword [0x10129734]
vxorps xmm1, xmm3, xmm1
vucomiss xmm0, xmm1
jae 0x10091a44
mov dword [edx + 0x28], 0x43e10000
vmovss xmm0, dword [esp + 0x18]
vsubss xmm3, xmm0, xmm3
jmp 0x10091a6a
xor eax, eax
movzx ecx, byte [esp + 0x1c]
mov al, cl
vmovss xmm0, dword [eax*4 + 0x10129890]
vmulss xmm1, xmm0, dword [0x10132380]
vmovss dword [edx + 0x28], xmm1
vfmadd213ss xmm3, xmm0, dword [esp + 0x10]
vmovss dword [esp + 0x68], xmm3
mov eax, dword [0x1017f608]
mov edi, dword [eax]
mov eax, dword [0x10184e34]
test al, 1
je 0x10091cc5
mov ebx, dword [0x10184e30]
mov ecx, edi
mov eax, dword [ebx + 4]
movzx eax, byte [eax + edi]
mov byte [esp + 0x20], al
mov eax, dword [0x1017f714]
test al, 1
je 0x10091d38
mov ebx, dword [0x1017f710]
mov eax, dword [ebx + 4]
mov eax, dword [eax + ecx]
movzx ecx, byte [esp + 0x20]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
lea eax, [esp + 0x64]
mov dword [esp + 4], eax
mov dword [esp], edx
mov ecx, esi
call fcn.100920a0
sub esp, 0x10
mov ecx, dword [esp + 0x88]
xor ecx, ebp
call fcn.100d7fe0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
or eax, 1
mov dword [0x1017f714], eax
mov eax, dword [0x1017f5c4]
mov dword [esp + 0x18], eax
mov dword [esp], str.CBasePlayer__m_fFlags
lea ecx, [esp + 0x70]
mov dword [esp + 0x14], ecx
call fcn.10005ce0
sub esp, 4
mov eax, dword [esp + 0x80]
mov dword [esp + 0x20], eax
cmp dword [esp + 0x84], 0x10
jb 0x10091b2f
mov eax, dword [esp + 0x70]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x20], 0
je 0x10091bd0
mov eax, dword [esp + 0x20]
lea ecx, [eax - 1]
and eax, 3
mov dword [esp + 0x10], eax
cmp ecx, 3
jae 0x10091bd7
mov ecx, 0x811c9dc5
xor edx, edx
jmp 0x10091c29
or eax, 1
mov dword [0x10184e84], eax
mov eax, dword [0x1017f5c4]
mov dword [esp + 0x18], eax
mov dword [esp], str.CBasePlayer__m_vecVelocity_0_
lea ecx, [esp + 0x70]
mov dword [esp + 0x14], ecx
call fcn.10005ce0
sub esp, 4
mov eax, dword [esp + 0x80]
mov dword [esp + 0x20], eax
cmp dword [esp + 0x84], 0x10
jb 0x10091ba2
mov eax, dword [esp + 0x70]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x20], 0
je 0x10091daf
mov eax, dword [esp + 0x20]
lea ecx, [eax - 1]
and eax, 3
mov dword [esp + 0x10], eax
cmp ecx, 3
jae 0x10091db6
mov ecx, 0x811c9dc5
xor edx, edx
jmp 0x10091e08
mov ecx, 0x811c9dc5
jmp 0x10091c49
mov eax, dword [esp + 0x20]
and eax, 0xfffffffc
mov dword [esp + 0x1c], eax
mov ecx, 0x811c9dc5
xor edx, edx
mov ebx, dword [esp + 0x14]
movzx eax, byte [ebx + edx]
xor eax, ecx
imul eax, eax, 0x1000193
movzx ecx, byte [ebx + edx + 1]
xor ecx, eax
imul eax, ecx, 0x1000193
movzx ecx, byte [ebx + edx + 2]
xor ecx, eax
imul eax, ecx, 0x1000193
movzx ecx, byte [ebx + edx + 3]
xor ecx, eax
imul ecx, ecx, 0x1000193
add edx, 4
cmp dword [esp + 0x1c], edx
jne 0x10091bed
cmp dword [esp + 0x10], 0
je 0x10091c49
add edx, dword [esp + 0x14]
xor ebx, ebx
movzx eax, byte [edx + ebx]
xor eax, ecx
imul ecx, eax, 0x1000193
inc ebx
cmp dword [esp + 0x10], ebx
jne 0x10091c36
mov edx, dword [esp + 0x18]
and ecx, dword [edx + 0x18]
mov eax, dword [edx + 0xc]
mov ebx, dword [eax + ecx*8 + 4]
cmp ebx, dword [edx + 4]
je 0x10092088
add ecx, ecx
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
cmp eax, dword [ebx + 0x18]
jne 0x10091c9c
cmp dword [ebx + 0x1c], 0x10
jb 0x10091c7d
mov eax, dword [ebx + 8]
jmp 0x10091c80
lea eax, [ebx + 8]
mov ecx, dword [esp + 0x20]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x10091cab
cmp ebx, dword [esp + 0x10]
je 0x10092088
mov ebx, dword [ebx + 4]
jmp 0x10091c69
add ebx, 0x20
lea ecx, [esp + 0x70]
call fcn.100026e0
mov dword [0x1017f710], ebx
mov ecx, dword [ebp + 8]
jmp 0x1009177a
or eax, 1
mov dword [0x10184e34], eax
mov eax, dword [0x1017f5c4]
mov dword [esp + 0x18], eax
mov dword [esp], str.m_MoveType
lea ecx, [esp + 0x70]
mov dword [esp + 0x14], ecx
call fcn.10005ce0
sub esp, 4
mov eax, dword [esp + 0x80]
mov dword [esp + 0x20], eax
cmp dword [esp + 0x84], 0x10
jb 0x10091d0a
mov eax, dword [esp + 0x70]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x20], 0
je 0x10091ea4
mov eax, dword [esp + 0x20]
lea ecx, [eax - 1]
and eax, 3
mov dword [esp + 0x10], eax
cmp ecx, 3
jae 0x10091eb5
mov ecx, 0x811c9dc5
xor edx, edx
jmp 0x10091f07
mov dword [esp + 0x3c], ecx
or eax, 1
mov dword [0x1017f714], eax
mov eax, dword [0x1017f5c4]
mov dword [esp + 0x18], eax
mov dword [esp], str.CBasePlayer__m_fFlags
lea ecx, [esp + 0x70]
mov dword [esp + 0x14], ecx
call fcn.10005ce0
sub esp, 4
mov eax, dword [esp + 0x80]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x84], 0x10
jb 0x10091d81
mov eax, dword [esp + 0x70]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x10], 0
je 0x10091eab
mov eax, dword [esp + 0x10]
lea ecx, [eax - 1]
and eax, 3
mov dword [esp + 0x1c], eax
cmp ecx, 3
jae 0x10091faa
mov ecx, 0x811c9dc5
xor edx, edx
jmp 0x10091ff6
mov ecx, 0x811c9dc5
jmp 0x10091e28
mov eax, dword [esp + 0x20]
and eax, 0xfffffffc
mov dword [esp + 0x1c], eax
mov ecx, 0x811c9dc5
xor edx, edx
mov ebx, dword [esp + 0x14]
movzx eax, byte [ebx + edx]
xor eax, ecx
imul eax, eax, 0x1000193
movzx ecx, byte [ebx + edx + 1]
xor ecx, eax
imul eax, ecx, 0x1000193
movzx ecx, byte [ebx + edx + 2]
xor ecx, eax
imul eax, ecx, 0x1000193
movzx ecx, byte [ebx + edx + 3]
xor ecx, eax
imul ecx, ecx, 0x1000193
add edx, 4
cmp dword [esp + 0x1c], edx
jne 0x10091dcc
cmp dword [esp + 0x10], 0
je 0x10091e28
add edx, dword [esp + 0x14]
xor ebx, ebx
movzx eax, byte [edx + ebx]
xor eax, ecx
imul ecx, eax, 0x1000193
inc ebx
cmp dword [esp + 0x10], ebx
jne 0x10091e15
mov edx, dword [esp + 0x18]
and ecx, dword [edx + 0x18]
mov eax, dword [edx + 0xc]
mov ebx, dword [eax + ecx*8 + 4]
cmp ebx, dword [edx + 4]
je 0x10092088
add ecx, ecx
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
cmp eax, dword [ebx + 0x18]
jne 0x10091e7b
cmp dword [ebx + 0x1c], 0x10
jb 0x10091e5c
mov eax, dword [ebx + 8]
jmp 0x10091e5f
lea eax, [ebx + 8]
mov ecx, dword [esp + 0x20]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x10091e8a
cmp ebx, dword [esp + 0x10]
je 0x10092088
mov ebx, dword [ebx + 4]
jmp 0x10091e48
add ebx, 0x20
lea ecx, [esp + 0x70]
call fcn.100026e0
mov dword [0x10184e80], ebx
mov ecx, dword [ebp + 8]
jmp 0x100917a1
mov ecx, 0x811c9dc5
jmp 0x10091f27
mov ecx, 0x811c9dc5
jmp 0x10092016
mov eax, dword [esp + 0x20]
and eax, 0xfffffffc
mov dword [esp + 0x1c], eax
mov ecx, 0x811c9dc5
xor edx, edx
mov ebx, dword [esp + 0x14]
movzx eax, byte [ebx + edx]
xor eax, ecx
imul eax, eax, 0x1000193
movzx ecx, byte [ebx + edx + 1]
xor ecx, eax
imul eax, ecx, 0x1000193
movzx ecx, byte [ebx + edx + 2]
xor ecx, eax
imul eax, ecx, 0x1000193
movzx ecx, byte [ebx + edx + 3]
xor ecx, eax
imul ecx, ecx, 0x1000193
add edx, 4
cmp dword [esp + 0x1c], edx
jne 0x10091ecb
cmp dword [esp + 0x10], 0
je 0x10091f27
add edx, dword [esp + 0x14]
xor ebx, ebx
movzx eax, byte [edx + ebx]
xor eax, ecx
imul ecx, eax, 0x1000193
inc ebx
cmp dword [esp + 0x10], ebx
jne 0x10091f14
mov edx, dword [esp + 0x18]
and ecx, dword [edx + 0x18]
mov eax, dword [edx + 0xc]
mov ebx, dword [eax + ecx*8 + 4]
cmp ebx, dword [edx + 4]
je 0x10092088
add ecx, ecx
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
cmp eax, dword [ebx + 0x18]
jne 0x10091f7a
cmp dword [ebx + 0x1c], 0x10
jb 0x10091f5b
mov eax, dword [ebx + 8]
jmp 0x10091f5e
lea eax, [ebx + 8]
mov ecx, dword [esp + 0x20]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x10091f89
cmp ebx, dword [esp + 0x10]
je 0x10092088
mov ebx, dword [ebx + 4]
jmp 0x10091f47
add ebx, 0x20
lea ecx, [esp + 0x70]
call fcn.100026e0
mov dword [0x10184e30], ebx
mov eax, dword [0x1017f608]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
jmp 0x10091a8c
mov edi, dword [esp + 0x10]
and edi, 0xfffffffc
mov ecx, 0x811c9dc5
xor edx, edx
mov eax, dword [esp + 0x14]
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 edi, edx
jne 0x10091fbc
cmp dword [esp + 0x1c], 0
je 0x10092016
add edx, dword [esp + 0x14]
xor edi, edi
movzx ebx, byte [edx + edi]
xor ebx, ecx
imul ecx, ebx, 0x1000193
inc edi
cmp dword [esp + 0x1c], edi
jne 0x10092003
mov edx, dword [esp + 0x18]
and ecx, dword [edx + 0x18]
mov eax, dword [edx + 0xc]
mov ebx, dword [eax + ecx*8 + 4]
cmp ebx, dword [edx + 4]
je 0x10092088
add ecx, ecx
mov edi, dword [eax + ecx*4]
mov eax, dword [esp + 0x10]
cmp eax, dword [ebx + 0x18]
jne 0x10092061
cmp dword [ebx + 0x1c], 0x10
jb 0x10092042
mov eax, dword [ebx + 8]
jmp 0x10092045
lea eax, [ebx + 8]
mov ecx, dword [esp + 0x10]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1009206a
cmp ebx, edi
je 0x10092088
mov ebx, dword [ebx + 4]
jmp 0x1009202e
add ebx, 0x20
lea ecx, [esp + 0x70]
call fcn.100026e0
mov dword [0x1017f710], ebx
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x3c]
jmp 0x10091aaa
mov dword [esp], 0x1016ba76
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__
int3